/*
 *             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.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
import{Plugin as _0x4ac504,Command as _0x1110b9,ContextPlugin as _0x90c2d8,Editor as _0x2f9368,PendingActions as _0xdf428,Context as _0x30e7b9,ElementApiMixin as _0x16b6a1}from'ckeditor5';import{uid as _0x288d30,CKEditorError as _0x1976e8,ObservableMixin as _0x266f1a,global as _0x81fd87,isVisible as _0x2f9433,Rect as _0x20d411,Collection as _0xe4e0d0,FocusTracker as _0xc1a0cc,KeystrokeHandler as _0x3c1644,first as _0x254002,logWarning as _0x2e934f,logError as _0x74de25,toArray as _0x5be7db,EmitterMixin as _0x5544ae,scrollViewportToShowTarget as _0xe93d68,scrollAncestorsToShowTarget as _0x5be5fe,ResizeObserver as _0x3af96d,_isMotionReduced as _0x23edb8,getConstrainedViewportRect as _0x1d8150,DomEmitterMixin as _0x3b006d,diff as _0x39ff12,priorities as _0x31e080,getEnvKeystrokeText as _0xfc7c08,toUnit as _0x3196f3,keyCodes as _0x2e23e1,diffToChanges as _0x2d42c6,collectStylesheets as _0x1e8944,createElement as _0x2d330b,env as _0x1036b5,version as _0xb681d8,ElementReplacer as _0x2dd87d,formatHtml as _0x5a7fc8,insertToPriorityArray as _0x4ac94a,getAncestors as _0xba0311}from'ckeditor5';import{ToolbarView as _0x2c1653,ButtonView as _0x13bcd9,View as _0x268b55,SpinnerView as _0x513369,IconView as _0x2b9920,AutocompleteView as _0xd41a04,ListView as _0xb67f93,ListItemGroupView as _0x447ccc,ListItemView as _0x3c0063,ButtonLabelView as _0x288660,FocusCycler as tt,createLabeledTextarea as et,Dialog as it,createDropdown as st,addMenuToDropdown as nt,MenuBarMenuView as rt,MenuBarMenuListItemButtonView as ot,DialogViewPosition as at,MenuBarMenuListView as ct,MenuBarMenuListItemView as lt,DropdownButtonView as ht,isViewWithFocusCycler as ut,BodyCollection as dt,BalloonPanelView as ft,clickOutsideHandler as mt,addListToDropdown as gt,UIModel as pt,submitHandler as Ot,LabeledFieldView as wt,createLabeledInputText as bt,FormHeaderView as yt,HighlightedTextView as _t,ViewCollection as vt,FileDialogButtonView as Tt,InputTextView as Et,SearchTextView as At,ListItemButtonView as St,ButtonLabelWithHighlightView as It,DropdownMenuPanelPositioningFunctions as Ct,BalloonToolbar as kt,FormRowView as xt,TextareaView as Rt,EditorUIView as Pt,InlineEditableUIView as Mt,EditorUI as Nt,focusChildOnDropdownOpen as Lt,ContextualBalloon as Dt,Notification as Qt,addKeyboardHandlingForGrid as $t,CollapsibleView as Vt,createLabeledInputNumber as Ut,SplitButtonView as Bt,MenuBarMenuListItemFileDialogButtonView as Ft,filterGroupAndItemNames as jt,LabelWithHighlightView as Ht,InputNumberView as Gt,LabelView as Zt,CssTransitionDisablerMixin as Xt,ToolbarSeparatorView as qt,normalizeToolbarConfig as Wt,BoxedEditorUIView as zt,StickyPanelView as Yt,normalizeColorOptions as Kt,ListSeparatorView as Jt}from'ckeditor5';import{IconCopy as te,IconCheck as _0x424b4d,IconError as _0x36c010,IconSubmit as _0x55f40f,IconAIHistory as _0x55c7b3,IconMagicWand as _0x5d4294,IconRobotPencil as _0x40013a,IconMaximize as _0x5c94d6,IconMinimize as _0x37f7bd,IconNotification as _0x3f8612,IconCancel as _0x288b7f,IconShowChangesOn as _0x45bc94,IconShowChangesOff as _0xb69449,IconDocument as _0x18cd8b,IconBoxWithCross as _0x2376d0,IconBoxWithCheck as _0x760a6a,IconBoxWithMarker as _0x568cef,IconInfo as _0x355e1c,IconLoupe as _0x63a8cb,IconStop as _0x5a16c4,IconAIChat as _0x29038e,IconPlus as _0x9fced7,IconPin as _0x144108,IconThreeHorizontalDots as _0x38053d,IconChevronDown as _0x404565,IconChevronUp as _0x32e715,IconOutdated as _0x3d6de1,IconEye as _0x2972c7,IconEyeCrossedOut as _0x26d6a8,IconChevronRight as _0x1e5bd5,IconAIReview as _0x1c84b3,IconAITranslate as _0x8c6146,IconCaseChange as _0x2a01e0,IconUndo as _0xcf6dc,IconPencil as _0x1e0fe2,IconRemoveComment as _0x2e6244,IconThreeVerticalDots as _0x44c2a3,IconAddComment as _0x492626,IconCommentsArchive as _0x2a0c90,IconTableOfContents as _0x298ad3,IconExportPdf as _0x56ba00,IconExportWord as _0x5c7da1,IconFootnote as _0x304f3a,IconListStyleDecimal as _0x5cccd8,IconListStyleDecimalLeadingZero as _0x492b80,IconListStyleLowerRoman as _0x5a5b5f,IconListStyleUpperRoman as _0x487f8,IconListStyleLowerLatin as _0x2e7c41,IconListStyleUpperLatin as _0x85fd01,IconPaintRoller as _0x17c89c,IconImportWord as _0x15a742,IconLineHeight as _0x337b30,IconMultiLevelList as _0x5a71c2,IconWarning as _0xd3f5fb,IconInsertMergeField as ti,IconPreviewMergeFields as _0x3a3897,IconArrowDown as _0x1544dc,IconArrowUp as _0xe035f,IconHistory as _0x16c9d6,IconUser as _0xf2de5e,IconQuote as _0x281d1f,IconBulletedList as _0x2a86ab,IconCodeBlock as _0x34c034,IconBrowseFiles as _0x3eb834,IconEmoji as _0x44ae95,IconHeading1 as _0x284469,IconHeading2 as _0x4c45df,IconHeading3 as _0x1652aa,IconHeading4 as _0x21eec3,IconHeading5 as _0x2295e1,IconHeading6 as _0x77b65d,IconHorizontalLine as _0x4f6024,IconHtml as _0x1ff5e8,IconIndent as _0x4eebc6,IconTable as _0x1aa250,IconNumberedList as _0x159f89,IconOutdent as _0xb6624e,IconParagraph as _0x3274d4,IconTodoList as _0x33c115,IconPlay as _0x411b78,IconSource as _0x43f98f,IconTemplateGeneric as _0x13bd6a,IconTemplate as _0x49002d,IconTrackChanges as _0x5d1602,IconOneDrive as _0xe3f326,IconGooglePhotos as _0x2dca0c,IconGoogleDrive as _0x39a86b,IconFacebook as _0x387d30,IconDropbox as _0x43d826,IconUploadcareLink as _0x211508,IconUploadcareImageUpload as _0x1f6870,IconUploadcareImageEdit as _0x4cf505}from'ckeditor5';import{setHighlightHandling as _0x450e57,toWidget as _0x4b80d1,Widget as _0x505afd,isWidget as _0x13c975,toWidgetEditable as _0x3df3e1,WidgetToolbarRepository as _0x496ff4,findOptimalInsertionRange as _0x16e2ca,viewToModelPositionOutsideModelElement as _0x792ea8}from'ckeditor5';import{ViewDocumentDomEventData as _0xcfb534,ViewDataTransfer as _0x3a691a,ViewUpcastWriter as _0x2ad35e,Matcher as _0x1d18d6,InsertOperation as _0x1120cd,MoveOperation as _0x3903b3,ModelPosition as _0x551298,ModelRange as _0x41f7a7,MarkerOperation as ts,MergeOperation as _0x4e1f2c,SplitOperation as _0x302af4,RenameOperation as _0x1ea698,AttributeOperation as _0x4973c6,ModelTreeWalker as _0x515c2,ModelText as _0x4ed4ec,_DetachOperation as _0x194b32,_insertIntoModelNodeList as _0x539deb,_removeFromModelNodeList as _0x26d547,transformOperationSets as _0x180d0d,ViewDowncastWriter as _0x21b52e,ModelDocumentFragment as _0x2d8c8e,disableViewPlaceholder as _0x2f6ace,enableViewPlaceholder as _0x33c83b,MouseObserver as _0x817dbf,StylesMap as _0x13eec7,addMarginStylesRules as _0x7bf268,addPaddingStylesRules as _0x1e5541,PointerObserver as _0xc69b7,ClickObserver as _0x3cd15a,isPercentageStyleValue as _0x467de0,ViewDocument as _0x45da6e,ViewDomConverter as _0x56e8de,ModelLiveRange as _0x4131d3,History as _0x84f9e3,NoOperation as _0x10cdd5,RootAttributeOperation as _0x201c84,OperationFactory as _0x4f153,ViewContainerElement as _0x2ab73e,ViewAttributeElement as _0x5ecf7b,ViewEmptyElement as _0x105c58,ViewRawElement as _0x2ba5e7,ViewUIElement as _0x2eed8c,ViewDocumentFragment as _0x31dacb,ViewText as _0x2bf9d2,ViewElement as _0x56af19,ModelElement as _0x49cf73,ModelLivePosition as _0x152b8d}from'ckeditor5';import{ClipboardPipeline as _0x3ecbd1,ClipboardMarkersUtils as _0x193c37,Clipboard as _0x1fe1e7}from'ckeditor5';import{Enter as _0x3163ab,ShiftEnter as _0x41c1e8}from'ckeditor5';import{SelectAll as _0x117f60}from'ckeditor5';import{Typing as _0x4ca18e,Delete as _0x441fca,Input as _0x40ec8a}from'ckeditor5';import{Undo as _0x289777}from'ckeditor5';import{Paragraph as _0x5a1aa0}from'ckeditor5';import{PasteFromOfficeMSWordNormalizer as _0x3668a6,parsePasteOfficeHtml as _0x38e2dc}from'ckeditor5';import{MarkdownGfmMdToHtml as _0x57c373}from'ckeditor5';import{IconWeb as _0x4fd4b1,IconClose as tn,IconDocument as _0x470dc5,IconSelection as _0x4c8c62,IconFileUpload as _0x2b2bb8,IconLink as _0x1d13d1,IconBulb as _0x293dfe,IconAI as _0x3a679f,IconPreviousArrow as _0xdffb48,IconCheck as _0x339869,IconDocumentOutline as _0x4a9db9,IconPaperClip as _0x102fde,IconBrowseFiles as _0x390755,IconDropdownArrow as _0x473336,IconAIChat as _0x4f7daa,IconAIReview as _0x14ee79,IconAITranslate as _0x3c547a,IconAIAskAI as _0x260b26,IconThumbUp as _0x889361,IconThumbDown as _0xd53e83,IconCopy as _0x134fe4,IconShowChangesOff as _0x111689,IconShowChangesOn as _0x482ef6,IconAIQuickActions as _0x7d0de9,IconAIChatCommands as _0x55ad45,IconAIImproveWriting as _0x1f9391,IconAIContinueWriting as _0x39c0fb,IconAIGrammarCheck as _0x3d755b,IconAIAdjustLength as _0x17df0e,IconAIChangeTone as _0x30cb6b,IconAIOther as _0xd8c12d,IconRefresh as _0x543aed,IconNextArrow as _0x106d04}from'ckeditor5';import{EmitterMixin as _0x21ae0,ObservableMixin as _0x376b6b,priorities as _0xe250a5,global as _0x430a62,Collection as _0x7f5a19}from'ckeditor5';import{FileRepository as _0x256dca}from'ckeditor5';const Vn='_ungrouppedCommands';function Un(_0x4d5e5a,_0x305e43){const _0x1dad06=(0x0,_0x305e43['t'])('Other');return _0x4d5e5a['length']?'groupId'in _0x4d5e5a[0x0]?_0x4d5e5a:[{'groupId':Vn,'groupLabel':_0x1dad06,'order':0x1/0x0,'commands':_0x4d5e5a}]:[{'groupId':Vn,'groupLabel':_0x1dad06,'order':0x1/0x0,'commands':[]}];}const Bn=globalThis['DataTransfer'],Fn='ai-ui';class AIAssistantEditing extends _0x4ac504{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x94458d}=this,_0x54574b=['ck-fake-ai-selection'];_0x94458d['config']['get']('ai.assistant.useTheme')&&_0x54574b['push']('ck-ai-assistant-ui_theme'),_0x94458d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Fn,'view':{'classes':_0x54574b,'priority':0xc}}),_0x94458d['conversion']['for']('editingDowncast')['markerToElement']({'model':Fn,'view':(_0x44ace3,{writer:_0x389d45})=>{if(!_0x44ace3['markerRange']['isCollapsed'])return null;const _0x18c304=_0x389d45['createUIElement']('span');return _0x389d45['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x18c304),_0x18c304;}});}['afterInit'](){!async function(_0x3dc33e){const _0xdc4efe=_0x289d17([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]),_0x378608=0x3dffc4e1,_0x2bc020=0x3df84e89^_0x378608,_0x21ff59=window[_0x289d17([0x44,0x61,0x74,0x65])][_0x289d17([0x6e,0x6f,0x77])](),_0xa2e8f6=_0x3dc33e[_0x289d17([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3bc1a6=new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x516da5=>{_0xa2e8f6[_0x289d17([0x6f,0x6e,0x63,0x65])](_0x289d17([0x72,0x65,0x61,0x64,0x79]),_0x516da5);}),_0x44b413={[_0x289d17([0x6b,0x74,0x79])]:_0x289d17([0x45,0x43]),[_0x289d17([0x75,0x73,0x65])]:_0x289d17([0x73,0x69,0x67]),[_0x289d17([0x63,0x72,0x76])]:_0x289d17([0x50,0x2d,0x32,0x35,0x36]),[_0x289d17([0x78])]:_0x289d17([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]),[_0x289d17([0x79])]:_0x289d17([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]),[_0x289d17([0x61,0x6c,0x67])]:_0x289d17([0x45,0x53,0x32,0x35,0x36])},_0xde6ed6=_0xa2e8f6[_0x289d17([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x289d17([0x67,0x65,0x74])](_0x289d17([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33fc90(){let _0xbd2128,_0x1def3f=null,_0xc2a0c8=null;try{if(_0xde6ed6==_0x289d17([0x47,0x50,0x4c]))return _0x289d17([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbd2128=_0x2e9419(),!_0xbd2128)return _0x289d17([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbd2128[_0x289d17([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc2a0c8=_0x2c4d89(_0xbd2128[_0x289d17([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbd2128[_0x289d17([0x6a,0x74,0x69])])),await _0x4ecc3d()?_0x438e23()?_0x88ffc()?_0x289d17([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x263231()?(_0xbd2128[_0x289d17([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x289d17([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1def3f=_0x94a4c6(_0x289d17([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35ee79()):_0x289d17([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x289d17([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x289d17([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x289d17([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x88ffc(){const _0x2d9fcf=[_0x289d17([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x289d17([0x74,0x72,0x69,0x61,0x6c])][_0x289d17([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbd2128[_0x289d17([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21ff59/0x3e8:0xe10*_0x2bc020;return _0xbd2128[_0x289d17([0x65,0x78,0x70])]<_0x2d9fcf;}function _0x438e23(){const _0x5722be=_0xbd2128[_0x289d17([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5722be&&(!!_0x5722be[_0x289d17([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289d17([0x2a]))||!!_0x5722be[_0x289d17([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289d17([0x41,0x49])));}function _0x263231(){const _0x5e5606=_0xbd2128[_0x289d17([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e5606||0x0==_0x5e5606[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x538349}=new URL(window[_0x289d17([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e5606[_0x289d17([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x538349))return!0x0;const _0x2ed5f7=_0x538349[_0x289d17([0x73,0x70,0x6c,0x69,0x74])](_0x289d17([0x2e]));return _0x5e5606[_0x289d17([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x547b76=>_0x547b76[_0x289d17([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289d17([0x2a])))[_0x289d17([0x6d,0x61,0x70])](_0x332ddb=>_0x332ddb[_0x289d17([0x73,0x70,0x6c,0x69,0x74])](_0x289d17([0x2e])))[_0x289d17([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43517c=>_0x43517c[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ed5f7[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x289d17([0x6d,0x61,0x70])](_0x125196=>Array(_0x2ed5f7[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x125196[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x289d17([0x66,0x69,0x6c,0x6c])](_0x125196[0x0]===_0x289d17([0x2a])?_0x289d17([0x2a]):'')[_0x289d17([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x125196))[_0x289d17([0x73,0x6f,0x6d,0x65])](_0x529f85=>_0x2ed5f7[_0x289d17([0x65,0x76,0x65,0x72,0x79])]((_0x408702,_0x4b5827)=>_0x529f85[_0x4b5827]===_0x408702||_0x529f85[_0x4b5827]===_0x289d17([0x2a])));}function _0x35ee79(){return _0x1def3f&&_0xc2a0c8?new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3622d0,_0x57ffa4)=>{_0x1def3f[_0x289d17([0x74,0x68,0x65,0x6e])](_0x3622d0,_0x57ffa4),_0xc2a0c8[_0x289d17([0x74,0x68,0x65,0x6e])](_0x25ab64=>{_0x25ab64!=_0x289d17([0x56,0x61,0x6c,0x69,0x64])&&_0x3622d0(_0x25ab64);},_0x57ffa4);}):_0x1def3f||_0xc2a0c8||_0x289d17([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c4d89(_0x23f659,_0x497f35){return new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x335137=>{if(_0x2d6683())return _0x335137(_0x289d17([0x56,0x61,0x6c,0x69,0x64]));_0x1060f0(),_0xa2e8f6[_0x289d17([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x289d17([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f2114=!0x1;const _0x5f11da=_0x288d30();function _0x14e157(_0x427d7e){return!!_0x427d7e&&(typeof _0x427d7e===_0x289d17([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x427d7e===_0x289d17([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x427d7e[_0x289d17([0x74,0x68,0x65,0x6e])]===_0x289d17([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x427d7e[_0x289d17([0x63,0x61,0x74,0x63,0x68])]===_0x289d17([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x363d66(_0x64065a){_0x14a907(_0x64065a)[_0x289d17([0x74,0x68,0x65,0x6e])](_0x28c8eb=>{if(!_0x28c8eb||_0x28c8eb[_0x289d17([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x289d17([0x6f,0x6b]))return _0x289d17([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c4a62(_0x19bd96(_0x5f11da+_0x497f35))!=_0x28c8eb[_0x289d17([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x289d17([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x289d17([0x56,0x61,0x6c,0x69,0x64]);})[_0x289d17([0x74,0x68,0x65,0x6e])](_0x14dc03=>(_0x125612(),_0x14dc03),()=>{const _0x4a31e5=_0x469bd0();return null==_0x4a31e5?(_0x125612(),_0x289d17([0x56,0x61,0x6c,0x69,0x64])):_0x289d17(_0x21ff59-_0x4a31e5>(0x19f340e1^_0x378608)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x289d17([0x74,0x68,0x65,0x6e])](_0x335137)[_0x289d17([0x63,0x61,0x74,0x63,0x68])](()=>{_0x335137(_0x289d17([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46fc3e=0x3dc92a61^_0x378608;function _0x125612(){const _0x55915e=_0x289d17([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c4a62(_0x19bd96(_0x23f659)),_0x1351c2=_0x116cdc(_0x5c4a62(window[_0x289d17([0x4d,0x61,0x74,0x68])][_0x289d17([0x63,0x65,0x69,0x6c])](_0x21ff59/_0x46fc3e)));window[_0x289d17([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x289d17([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55915e,_0x1351c2);}function _0x469bd0(){const _0x5c1ca6=_0x289d17([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c4a62(_0x19bd96(_0x23f659)),_0x47872d=window[_0x289d17([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x289d17([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c1ca6);return _0x47872d?window[_0x289d17([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x116cdc(_0x47872d),0x10)*_0x46fc3e:null;}function _0x14a907(_0x1bb3f0){return new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x374a0b,_0x279370)=>{_0x1bb3f0[_0x289d17([0x74,0x68,0x65,0x6e])](_0x374a0b,_0x279370),window[_0x289d17([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x279370,0x3dfe1021^_0x378608);});}}_0xa2e8f6[_0x289d17([0x6f,0x6e])](_0x289d17([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dfad1,_0x1e6950)=>{if(_0x1e6950[0x0]!=_0x23f659)return _0x335137(_0x289d17([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e6950[0x1]={..._0x1e6950[0x1],[_0x289d17([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f11da};},{[_0x289d17([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x289d17([0x68,0x69,0x67,0x68])}),_0xa2e8f6[_0x289d17([0x6f,0x6e])](_0x289d17([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x268830=>{_0x14e157(_0x268830[_0x289d17([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f2114=!0x0,_0x363d66(_0x268830[_0x289d17([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x289d17([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x289d17([0x6c,0x6f,0x77])}),_0x3bc1a6[_0x289d17([0x74,0x68,0x65,0x6e])](()=>{_0x1f2114||_0x335137(_0x289d17([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d6683(){return _0xa2e8f6[_0x289d17([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x289d17([0x76,0x69,0x65,0x77])][_0x289d17([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x289d17([0x61,0x75,0x74,0x6f]);}function _0x1060f0(){_0xa2e8f6[_0x289d17([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x289d17([0x76,0x69,0x65,0x77])][_0x289d17([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x289d17([0x61,0x75,0x74,0x6f]);}}function _0x94a4c6(_0x31d184){const _0x328ca4=[new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd38c57=>setTimeout(_0xd38c57,0x3df6fa2d^_0x378608)),_0x3bc1a6[_0x289d17([0x74,0x68,0x65,0x6e])](()=>new window[(_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x78f6f2=>{let _0x25120b=0x0;_0xa2e8f6[_0x289d17([0x6d,0x6f,0x64,0x65,0x6c])][_0x289d17([0x6f,0x6e])](_0x289d17([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4454a7,_0x7235f0)=>{_0x7235f0[0x0][_0x289d17([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25120b++,_0x25120b==(0x3dffc109^_0x378608)&&(_0x78f6f2(),_0x4454a7[_0x289d17([0x6f,0x66,0x66])]());});}))];return window[_0x289d17([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x289d17([0x72,0x61,0x63,0x65])](_0x328ca4)[_0x289d17([0x74,0x68,0x65,0x6e])](()=>_0x31d184);}async function _0x49682b(){await _0x3bc1a6,_0xa2e8f6[_0x289d17([0x6d,0x6f,0x64,0x65,0x6c])][_0x289d17([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34bfb2,_0xa2e8f6[_0x289d17([0x6d,0x6f,0x64,0x65,0x6c])][_0x289d17([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34bfb2,_0xa2e8f6[_0x289d17([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x289d17([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dde85(_0x268469){const _0x742e40=_0x540718();_0xa2e8f6[_0x742e40]=_0x289d17([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x268469,_0x268469!=_0x289d17([0x56,0x61,0x6c,0x69,0x64])&&_0x49682b();}function _0x540718(){const _0x169e00=window[_0x289d17([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x289d17([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x289d17([0x6e,0x6f,0x77])]())[_0x289d17([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x289d17([0x2e]),'');let _0x4869d3=_0x289d17([0x6e]);for(let _0x2c3268=0x0;_0x2c3268<_0x169e00[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c3268+=0x2){let _0x40d073=window[_0x289d17([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x169e00[_0x289d17([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3268,_0x2c3268+0x2));_0x40d073>=_0xdc4efe[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40d073-=_0xdc4efe[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4869d3+=_0xdc4efe[_0x40d073];}return _0x4869d3;}function _0x2e9419(){const _0x245dda=_0xde6ed6[_0x289d17([0x73,0x70,0x6c,0x69,0x74])](_0x289d17([0x2e]));if(0x3!=_0x245dda[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x461654(_0x245dda[0x1]);function _0x461654(_0x93d37c){const _0x3f2a3d=_0x3d98a8(_0x93d37c);return _0x3f2a3d&&_0x1b6742()?_0x3f2a3d:null;function _0x1b6742(){const _0x39e5ae=_0x3f2a3d[_0x289d17([0x6a,0x74,0x69])],_0x2e5153=window[_0x289d17([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e5ae[_0x289d17([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39e5ae[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ed519={..._0x3f2a3d,[_0x289d17([0x6a,0x74,0x69])]:_0x39e5ae[_0x289d17([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39e5ae[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ed519[_0x289d17([0x76,0x63])],_0x19bd96(_0x2ed519)==_0x2e5153;}}}async function _0x4ecc3d(){let _0x5622ed=!0x0;try{const _0x2a6c74=_0xde6ed6[_0x289d17([0x73,0x70,0x6c,0x69,0x74])](_0x289d17([0x2e])),[_0x4b1367,_0x2a56a6,_0x10b5d5]=_0x2a6c74;return _0x5d855b(_0x4b1367),await _0x5de386(_0x4b1367,_0x2a56a6,_0x10b5d5),_0x5622ed;}catch{return!0x1;}function _0x5d855b(_0x355495){const _0x5bc61e=_0x3d98a8(_0x355495);_0x5bc61e&&_0x5bc61e[_0x289d17([0x61,0x6c,0x67])]==_0x289d17([0x45,0x53,0x32,0x35,0x36])||(_0x5622ed=!0x1);}async function _0x5de386(_0x3fb9be,_0x3d263f,_0x188b04){const _0x12f1ce=window[_0x289d17([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x289d17([0x66,0x72,0x6f,0x6d])](_0x483206(_0x188b04),_0x227500=>_0x227500[_0x289d17([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf53469=new window[(_0x289d17([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x289d17([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fb9be+_0x289d17([0x2e])+_0x3d263f),_0x575d87=window[_0x289d17([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x289d17([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x575d87)return;const _0x50990e=await _0x575d87[_0x289d17([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x289d17([0x6a,0x77,0x6b]),_0x44b413,{[_0x289d17([0x6e,0x61,0x6d,0x65])]:_0x289d17([0x45,0x43,0x44,0x53,0x41]),[_0x289d17([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x289d17([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x289d17([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x575d87[_0x289d17([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x289d17([0x6e,0x61,0x6d,0x65])]:_0x289d17([0x45,0x43,0x44,0x53,0x41]),[_0x289d17([0x68,0x61,0x73,0x68])]:{[_0x289d17([0x6e,0x61,0x6d,0x65])]:_0x289d17([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50990e,_0x12f1ce,_0xf53469)||(_0x5622ed=!0x1);}}function _0x3d98a8(_0x257cd2){return _0x257cd2[_0x289d17([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x289d17([0x65,0x79]))?JSON[_0x289d17([0x70,0x61,0x72,0x73,0x65])](_0x483206(_0x257cd2)):null;}function _0x483206(_0x2d2a3e){return window[_0x289d17([0x61,0x74,0x6f,0x62])](_0x2d2a3e[_0x289d17([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x289d17([0x2b]))[_0x289d17([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x289d17([0x2f])));}function _0x19bd96(_0x463f0e){let _0x3b55f3=0x1505;function _0x5ecbe0(_0x1d3cf4){for(let _0x42d13d=0x0;_0x42d13d<_0x1d3cf4[_0x289d17([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42d13d++){const _0x266245=_0x1d3cf4[_0x289d17([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42d13d);_0x3b55f3=(_0x3b55f3<<0x5)+_0x3b55f3+_0x266245,_0x3b55f3&=_0x3b55f3;}}function _0x2e2fd7(_0x133acb){Array[_0x289d17([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x133acb)?_0x133acb[_0x289d17([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e2fd7):_0x133acb&&typeof _0x133acb==_0x289d17([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x289d17([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x133acb)[_0x289d17([0x73,0x6f,0x72,0x74])]()[_0x289d17([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f65b5,_0x464fbd])=>{_0x5ecbe0(_0x4f65b5),_0x2e2fd7(_0x464fbd);}):_0x5ecbe0(window[_0x289d17([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x133acb));}return _0x2e2fd7(_0x463f0e),_0x3b55f3>>>0x0;}function _0x5c4a62(_0x34be49){return _0x34be49[_0x289d17([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x289d17([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x289d17([0x30]));}function _0x116cdc(_0x19412f){return _0x19412f[_0x289d17([0x73,0x70,0x6c,0x69,0x74])]('')[_0x289d17([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x289d17([0x6a,0x6f,0x69,0x6e])]('');}function _0x34bfb2(){}function _0x289d17(_0x2d9333){return _0x2d9333['map'](_0x33a0b0=>String['fromCharCode'](_0x33a0b0))['join']('');}_0x3dde85(await _0x33fc90());}(this);}['showFakeVisualSelection'](){const _0x3d9175=this['editor']['model'];_0x3d9175['change'](_0x2acb85=>{const _0x520de4=_0x3d9175['document']['selection']['getRanges']();let _0x3b4b2c=0x0;for(const _0x2321fa of _0x520de4){const _0x20f151=Fn+':'+_0x3b4b2c;if(_0x3d9175['markers']['has'](_0x20f151))_0x2acb85['updateMarker'](_0x20f151,{'range':_0x2321fa});else{if(_0x2321fa['start']['isAtEnd']){const _0x36efbe=_0x2321fa['start']['getLastMatchingPosition'](({item:_0x78e4d7})=>!_0x3d9175['schema']['isContent'](_0x78e4d7),{'boundaries':_0x2321fa});_0x2acb85['addMarker'](_0x20f151,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2acb85['createRange'](_0x36efbe,_0x2321fa['end'])});}else _0x2acb85['addMarker'](_0x20f151,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2321fa});}_0x3b4b2c++;}});}['hideFakeVisualSelection'](){const _0x5c5514=this['editor']['model'],_0x1461be=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](Fn));_0x1461be['length']&&_0x5c5514['change'](_0x43b094=>{_0x1461be['forEach'](_0x329ea6=>{_0x43b094['removeMarker'](_0x329ea6);});});}['insertContent'](_0x2f736f,_0x9aad98){const _0x5d586e=this['_getAISelection'](),_0x5cc88e=_0x9aad98||_0x5d586e['getFirstRange']();this['editor']['model']['canEditAt'](_0x5cc88e)&&this['editor']['model']['change'](_0x4d047b=>{this['hideFakeVisualSelection'](),_0x9aad98||this['_resetContentOfSelectedTableCells'](_0x4d047b,_0x5d586e),this['_pasteHTMLUsingClipboard']({'insertAt':_0x5cc88e,'writer':_0x4d047b,'html':_0x2f736f});});}['insertContentBelow'](_0x522c31){const {model:_0x443bb8}=this['editor'],_0x1e0b2d=this['_getAISelection']();_0x443bb8['change'](()=>{const _0x1f0c54=this['_prepareTableInsertBelowPosition'](_0x522c31,_0x1e0b2d)||this['_getDefaultInsertBelowPosition'](_0x1e0b2d);this['insertContent'](_0x522c31,_0x1f0c54);});}['_getAISelection'](){const _0x8b0ec2=this['editor']['model'],_0x6cbef3=Array['from'](_0x8b0ec2['markers']['getMarkersGroup'](Fn))['map'](_0x54393c=>_0x54393c['getRange']());return _0x8b0ec2['createSelection'](_0x6cbef3);}['_pasteHTMLUsingClipboard']({writer:_0x46baed,html:_0x1b2feb,insertAt:_0x37c525}){const {view:_0x4c9e63}=this['editor']['editing'],_0x54ac14=this['editor']['plugins']['get'](_0x3ecbd1),_0x2ff224=new Bn();_0x2ff224['setData']('text/html',_0x1b2feb);const _0x3b544c=new ClipboardEvent('paste',{'clipboardData':_0x2ff224}),_0x2d58a6=new _0xcfb534(_0x4c9e63,_0x3b544c,{'dataTransfer':new _0x3a691a(_0x2ff224)});_0x46baed['setSelection'](_0x37c525);const _0x3acca0=(_0x22e048,_0x27739e)=>{_0x27739e['resultRange']&&_0x46baed['setSelection'](_0x27739e['resultRange']);};_0x54ac14['once']('contentInsertion',_0x3acca0,{'priority':'lowest'}),_0x4c9e63['document']['fire']('paste',_0x2d58a6),_0x54ac14['off']('contentInsertion',_0x3acca0);}['_getDefaultInsertBelowPosition'](_0x8739a5){const {model:_0x2b63ad}=this['editor'],_0x32e212=Array['from'](_0x8739a5['getSelectedBlocks']());return _0x32e212['length']?_0x2b63ad['createPositionAfter'](_0x32e212['pop']()):_0x8739a5['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x10cf95,_0xf2e423){const {model:_0x42ab6c,plugins:_0x530429}=this['editor'];if(_0x530429['has']('TableUtils')){const _0x450bda=_0x530429['get']('TableUtils')['getSelectedTableCells'](_0xf2e423);if(_0x450bda['length']){const _0x4fee43=this['_getTableRowCountFromContent'](_0x10cf95),_0x41a1af=this['_createEmptyTableRows'](_0x450bda,_0x4fee43);return _0x42ab6c['createPositionAt'](_0x41a1af,0x0);}}return null;}['_getTableRowCountFromContent'](_0x1c6f22){const _0x492858=this['editor']['plugins']['get']('TableUtils'),_0x969408=this['editor']['data']['parse'](_0x1c6f22),_0x3b02c0=Array['from'](_0x969408['getChildren']())['filter'](_0x4a5dff=>_0x4a5dff['is']('element','table'));let _0x4fc24f=0x0;return _0x3b02c0['forEach'](_0x139023=>{_0x4fc24f+=_0x492858['getRows'](_0x139023);}),_0x4fc24f;}['_createEmptyTableRows'](_0x541141,_0x5d8608){const _0x19c0f6=this['editor']['plugins']['get']('TableUtils'),_0x2a9f92=_0x19c0f6['getRowIndexes'](_0x541141),_0x3f7740=_0x19c0f6['getColumnIndexes'](_0x541141),_0x5dda6c=_0x2a9f92['last']+0x1,_0x1f05d2=_0x3f7740['first'],_0x455ed9=_0x541141[0x0]['findAncestor']('table');for(let _0x42d62c=0x0;_0x42d62c<_0x5d8608;_0x42d62c++)_0x19c0f6['insertRows'](_0x455ed9,{'at':_0x5dda6c});return _0x455ed9['getChild'](_0x5dda6c)['getChild'](_0x1f05d2);}['_resetContentOfSelectedTableCells'](_0x5660c7,_0x419a50){const {plugins:_0x3084dd}=this['editor'],{model:_0xadf39f}=_0x5660c7;if(!_0x3084dd['has']('TableUtils'))return;_0x3084dd['get']('TableUtils')['getSelectedTableCells'](_0x419a50)['length']&&_0xadf39f['deleteContent'](_0x419a50);}}class AIAdapter extends _0x4ac504{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x1976e8('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x4ac423){super(_0x4ac423),this['name']='AIRequestError';}}function jn(_0x58d219,_0x43aa59,_0x48cb3f){const t=_0x58d219['t'];switch(_0x43aa59){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',_0x48cb3f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48cb3f);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'},_0x48cb3f);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 _0x43aa59;}}class ShowAIAssistantCommand extends _0x1110b9{['_commandDefinitions'];constructor(_0x26b47c,_0xdcd798){super(_0x26b47c),this['_commandDefinitions']=_0xdcd798,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x410893,_0x39ebc4,_0x515040)=>{this['isEnabled']&&(this['enabledCommandsIds']=Hn(this['_commandDefinitions'],_0x515040));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x2adc02,_0x26a0e8,_0x3b5e9b)=>{this['enabledCommandsIds']=_0x3b5e9b?Hn(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x3d0047=this['editor']['model'];this['_hasContext']=function(_0x4a6a67){const _0xe32239=_0x4a6a67['document']['selection'];return _0xe32239['isCollapsed']?0x0!==[..._0xe32239['getSelectedBlocks']()]['length']&&![..._0xe32239['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x4a6a67['hasContent'](_0xe32239['getFirstRange']());}(_0x3d0047);const _0x168c69=_0x3d0047['document']['selection'],_0x25c910=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x1000f5 of _0x168c69['getRanges']())for(const _0x3eca6d of _0x1000f5['getItems']())if(_0x3eca6d['is']('element')&&_0x25c910['includes'](_0x3eca6d['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x194db0='',_0x4cdedc='',_0x1a5bed='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x194db0,_0x4cdedc,_0x1a5bed);}}function Hn(_0x6b42ab,_0x2d3e35){const _0x31effb=new Set();for(const _0x562857 of _0x6b42ab['values']())(_0x2d3e35||!0x1===_0x562857['requiresContent'])&&_0x31effb['add'](_0x562857['id']);return Array['from'](_0x31effb);}const Gn=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x266f1a(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x4b6a7b,_0x14871f,_0x45b2bc){super(),this['editor']=_0x4b6a7b,this['textAdapter']=_0x14871f,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x45b2bc,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x207813,_0xc96a73,_0x259f20)=>{this['view']['value']=this['_sanitizeHTML'](_0x259f20);}),this['listenTo'](this['view'],'submitPrompt',(_0x9c6ead,_0x28c113)=>{const _0x35bf13=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x28c113,_0x35bf13,'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:_0x1aa8dc,query:_0x4e48d1,htmlContent:_0x2e9977,label:_0x4b3626,mainActionLabel:_0xed02e8}){this['view']['prompt']=_0x4b3626,this['view']['mainAction']=_0xed02e8,this['initialContext']=_0x2e9977,_0x4e48d1&&(this['view']['isRendered']?this['_handleQuery'](_0x4e48d1,_0x2e9977,_0x1aa8dc,_0x4b3626):this['view']['once']('render',()=>{this['_handleQuery'](_0x4e48d1,_0x2e9977,_0x1aa8dc,_0x4b3626);}));}['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'](_0x379452,_0x94c71f,_0x5c8fc5,_0x5c31db){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x94c71f,this['previousQuery']=_0x379452,this['previousLabel']=_0x5c31db||_0x379452,this['previousActionId']=_0x5c8fc5,new Promise(_0x4ebbb5=>{this['textAdapter']['makeRequest']({'query':_0x379452,'context':_0x94c71f,'onData':_0x5c8f3a=>{this['currentResponse']=_0x5c8f3a,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x5c8fc5})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x292bdd=>{_0x292bdd instanceof AIRequestError?this['view']['handleError'](_0x292bdd['message']):this['view']['handleError'](),_0x4ebbb5();})['finally'](()=>{this['stopProcessing'](),_0x4ebbb5();});});}['_parseAndNormalizeContent'](_0x31390d,_0xb4c3ef=!0x1){const _0x1e75a4=Gn['exec'](_0x31390d);_0x31390d=_0x1e75a4?_0x31390d['substring'](_0x1e75a4[0x1]['length']):_0x31390d['length']<0x64&&!_0xb4c3ef?'':this['_stripMarkdownSyntax'](_0x31390d);const _0x5f0b34=this['_domParser']['parseFromString'](_0x31390d,'text/html');if(_0x1e75a4){const _0x20a573=Array['from'](_0x5f0b34['body']['childNodes']);_0x20a573['reverse']();for(const _0x2e306b of _0x20a573){if(_0x2e306b['nodeType']==Node['ELEMENT_NODE'])break;_0x2e306b['remove']();}}const _0x1b2720=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x5f0b34['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x1b2720);const _0x6684aa=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x578b32=this['editor']['data']['toModel'](_0x1b2720);return _0x6684aa||_0x578b32['markers']['clear'](),this['editor']['data']['stringify'](_0x578b32);}['_normalizeResponseHeadings'](_0x252cf5){const _0x476bd3=new _0x2ad35e(this['editor']['editing']['view']['document']),_0x2e1e5d=new _0x1d18d6({'name':/^h[1-5]$/}),_0x31d855=[];let _0x1d2c6d=!0x1;for(const _0x13a479 of _0x252cf5)_0x13a479['is']('element')&&_0x2e1e5d['match'](_0x13a479)&&(_0x31d855['push'](_0x13a479),'h1'==_0x13a479['name']&&(_0x1d2c6d=!0x0));if(_0x1d2c6d){for(const _0x28d04f of _0x31d855)_0x476bd3['rename']('h'+(parseInt(_0x28d04f['name'][0x1])+0x1),_0x28d04f);}}['_isH1TagSupportEnabled'](){const {data:_0x55369b,editing:_0x45e296}=this['editor'],_0x357b14=_0x55369b['htmlProcessor']['toView']('<h1></h1>'),_0x1d250e=_0x55369b['toView'](_0x55369b['toModel'](_0x357b14));return!!_0x45e296['view']['domConverter']['viewToDom'](_0x1d250e)['querySelector']('h1');}['_sanitizeHTML'](_0x21ea17){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x21ea17),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x4122be){const _0x110105=_0x4122be['trim']();return _0x110105['startsWith']('```html')?_0x110105['endsWith']('```')?_0x110105['substring'](0x7,_0x110105['length']-0x3):_0x110105['substring'](0x7):_0x4122be;}}const Zn={'REPLACE':'replace','INSERT':'insert'};class AIFormToolbarView extends _0x2c1653{constructor(_0x31b5bf){super(_0x31b5bf),this['set']('isVisible',!0x1),this['set']('mainAction',Zn['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x27197b=>jn(_0x31b5bf,'AI_'+_0x27197b['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](jn(_0x31b5bf,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](jn(_0x31b5bf,'Try\x20again')),this['stopButton']=this['_createButton'](jn(_0x31b5bf,'Stop'));const _0x4b9cab=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x4b9cab['if']('isVisible','ck-hidden',_0x3c282e=>!_0x3c282e)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x3946d3,_0x4b77d7){const _0x5579e4=new _0x13bcd9(this['locale']);return _0x5579e4['set']({'label':_0x3946d3,'class':_0x4b77d7||'','isVisible':!0x0,'withText':!0x0}),_0x5579e4;}}class AIFormContentArea extends _0x268b55{['contentFieldView'];['copyButtonView'];constructor(_0x212ef8,_0x268346=''){super(_0x212ef8),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x14139e=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x212ef8,_0x268346),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x14139e['if']('isVisible','ck-hidden',_0x4238ee=>!_0x4238ee)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x14139e['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 _0xbeb2ec=!0x1;this['on']('change:value',(_0x115ce9,_0x10ea61,_0x1c883f)=>{const _0x43d558=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x1c883f),this['isProcessing']&&_0x43d558&&!_0xbeb2ec&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x13826d,_0x297dc0,_0x5ca0c1)=>{_0xbeb2ec=!0x1,_0x5ca0c1?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0xbeb2ec=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0xbeb2ec=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x1d81e1=this['locale'],_0x234230=new _0x13bcd9(this['locale']),_0x1fdbb5='ck-ai-form__copy-button';return _0x234230['set']({'label':jn(_0x1d81e1,'Copy'),'icon':te,'class':_0x1fdbb5,'tooltip':!0x0}),_0x234230['bind']('isVisible')['to'](this,'value',_0x2c0a60=>!!_0x2c0a60),_0x234230['bind']('isEnabled')['to'](this,'isProcessing',_0x26ae0d=>!_0x26ae0d),_0x234230['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x234230['icon']=_0x424b4d,_0x234230['class']=_0x1fdbb5+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x234230['icon']=te,_0x234230['class']=_0x1fdbb5;},0x3e8);}),_0x234230;}['_copyHTMLToClipboard'](_0xa747d2){const {window:_0x424333,document:_0x2a9c49}=_0x81fd87;if(_0x424333['ClipboardItem']){const {Blob:_0x1c6edd,ClipboardItem:_0x45b405}=_0x424333,_0xa2b587=[new _0x45b405({'text/html':new _0x1c6edd([_0xa747d2['innerHTML']],{'type':'text/html'}),'text/plain':new _0x1c6edd([_0xa747d2['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0xa2b587);}else{const _0xbc87e4=_0x2a9c49['createElement']('div');_0xbc87e4['style']['position']='absolute',_0xbc87e4['style']['left']='-9999px',_0xbc87e4['innerHTML']='<span>[</span>'+_0xa747d2['innerHTML']+'<span>]</span>',_0x2a9c49['body']['appendChild'](_0xbc87e4);const _0x50975c=_0x2a9c49['createRange']();_0x50975c['setStartAfter'](_0xbc87e4['firstElementChild']),_0x50975c['setEndBefore'](_0xbc87e4['lastElementChild']);const _0x44b5d4=_0x424333['getSelection']();_0x44b5d4['removeAllRanges'](),_0x44b5d4['addRange'](_0x50975c),_0x2a9c49['execCommand']('copy'),_0xbc87e4['remove']();}}}class ContentFieldView extends _0x268b55{constructor(_0x173f73,_0x32eb22=''){super(_0x173f73),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x32eb22,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x13c8f7){this['element']['innerHTML']=_0x13c8f7;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x1e4c72=new _0x268b55(),_0x32b6f9=this['locale'],_0x56449e=new _0x513369();return _0x56449e['isVisible']=!0x0,_0x1e4c72['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x56449e,{'text':jn(_0x32b6f9,'AI\x20is\x20writing...')}]}),_0x1e4c72['render'](),_0x1e4c72;}}class AIFormErrorView extends _0x268b55{constructor(_0x56a860,_0x43ef11=''){super(_0x56a860);const _0x31c0e7=new _0x2b9920(),_0x33a454=this['bindTemplate'];this['set']('text',_0x43ef11),_0x31c0e7['content']=_0x36c010,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x31c0e7,{'text':_0x33a454['to']('text')}]});}}class AIFormPromptView extends _0xd41a04{['submitButtonView'];['showHistoryButtonView'];constructor(_0x14addc,_0x216545){super(_0x14addc,_0x216545),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',(_0x143bdc,_0x4d37f6)=>{_0x143bdc['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x4d37f6());});}['_createSubmitButton'](){const _0x44dfff=new _0x13bcd9(this['locale']),_0x4c2996=this['locale'];return _0x44dfff['set']({'icon':_0x55f40f,'label':jn(_0x4c2996,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x44dfff['on']('execute',()=>{this['submit']();}),_0x44dfff['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x1cfcbc,_0x5cfbe2)=>!_0x1cfcbc&&_0x5cfbe2),_0x44dfff;}['_createShowHistoryButton'](){const _0x282b=new _0x13bcd9(this['locale']),_0x46a979=this['resultsView'],_0x32563b=this['locale'];_0x282b['set']({'label':jn(_0x32563b,'History'),'withText':!0x1,'icon':_0x55c7b3,'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x282b['bind']('isOn')['to'](_0x46a979,'isVisible'),_0x282b['bind']('isEnabled')['to'](this,'isEnabled'),_0x282b['on']('execute',()=>{_0x46a979['isVisible']=!_0x46a979['isVisible'],_0x46a979['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x4caf30=()=>{_0x81fd87['window']['requestAnimationFrame'](()=>{if(_0x2f9433(this['element'])){const _0x1fe14f=new _0x20d411(this['queryView']['fieldView']['element']),_0x7deca4=_0x1fe14f['width'],_0x132777='rtl'===_0x32563b['uiLanguageDirection']?'left':'right';_0x1fe14f['excludeScrollbarsAndBorders'](),_0x282b['element']['style'][_0x132777]=_0x7deca4-_0x1fe14f['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x4caf30),this['on']('render',_0x4caf30),_0x282b;}['submit'](){const _0x29d66e=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x29d66e);}['focus'](_0x1b04d3){-0x1===_0x1b04d3?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0xb67f93{['historyGroupView'];['clearHistoryButton'];constructor(_0x30f84a){super(_0x30f84a),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x447ccc(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=jn(_0x30f84a,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x69ef03=0x0;for(const _0x5f1e22 of this['items'])_0x69ef03+=_0x5f1e22['items']['length'];return{'resultsCount':_0x69ef03,'totalItemsCount':_0x69ef03};}['_createClearHistoryButton'](){const _0x23554c=this['locale'],_0xfba756=new _0x13bcd9(this['locale']);return _0xfba756['set']({'label':'('+jn(_0x23554c,'Clear')+')','withText':!0x0}),_0xfba756['on']('execute',()=>this['fire']('clearHistory')),_0xfba756;}}function Xn(_0x1f82e6){return'__proto__'===_0x1f82e6;}function qn(_0x30cb69){switch(typeof _0x30cb69){case'number':case'symbol':return!0x1;case'string':return _0x30cb69['includes']('.')||_0x30cb69['includes']('[')||_0x30cb69['includes'](']');}}function Wn(_0x5d06fa){return'string'==typeof _0x5d06fa||'symbol'==typeof _0x5d06fa?_0x5d06fa:Object['is'](_0x5d06fa?.['valueOf']?.(),-0x0)?'-0':String(_0x5d06fa);}function zn(_0x80a816){const _0x29e447=[],_0x3ff1ef=_0x80a816['length'];if(0x0===_0x3ff1ef)return _0x29e447;let _0x35240d=0x0,_0x552d9a='',_0x380312='',_0x16aa64=!0x1;for(0x2e===_0x80a816['charCodeAt'](0x0)&&(_0x29e447['push'](''),_0x35240d++);_0x35240d<_0x3ff1ef;){const _0x534bfd=_0x80a816[_0x35240d];_0x380312?'\x5c'===_0x534bfd&&_0x35240d+0x1<_0x3ff1ef?(_0x35240d++,_0x552d9a+=_0x80a816[_0x35240d]):_0x534bfd===_0x380312?_0x380312='':_0x552d9a+=_0x534bfd:_0x16aa64?'\x22'===_0x534bfd||'\x27'===_0x534bfd?_0x380312=_0x534bfd:']'===_0x534bfd?(_0x16aa64=!0x1,_0x29e447['push'](_0x552d9a),_0x552d9a=''):_0x552d9a+=_0x534bfd:'['===_0x534bfd?(_0x16aa64=!0x0,_0x552d9a&&(_0x29e447['push'](_0x552d9a),_0x552d9a='')):'.'===_0x534bfd?_0x552d9a&&(_0x29e447['push'](_0x552d9a),_0x552d9a=''):_0x552d9a+=_0x534bfd,_0x35240d++;}return _0x552d9a&&_0x29e447['push'](_0x552d9a),_0x29e447;}function Yn(_0x4dbb06,_0x5f38b3,_0x256623){if(null==_0x4dbb06)return _0x256623;switch(typeof _0x5f38b3){case'string':{if(Xn(_0x5f38b3))return _0x256623;const _0x2b49f8=_0x4dbb06[_0x5f38b3];return void 0x0===_0x2b49f8?qn(_0x5f38b3)?Yn(_0x4dbb06,zn(_0x5f38b3),_0x256623):_0x256623:_0x2b49f8;}case'number':case'symbol':{'number'==typeof _0x5f38b3&&(_0x5f38b3=Wn(_0x5f38b3));const _0xd21aac=_0x4dbb06[_0x5f38b3];return void 0x0===_0xd21aac?_0x256623:_0xd21aac;}default:{if(Array['isArray'](_0x5f38b3))return function(_0x32a94f,_0x4f478f,_0x2a8916){if(0x0===_0x4f478f['length'])return _0x2a8916;let _0x3836a0=_0x32a94f;for(let _0x12c7fa=0x0;_0x12c7fa<_0x4f478f['length'];_0x12c7fa++){if(null==_0x3836a0)return _0x2a8916;if(Xn(_0x4f478f[_0x12c7fa]))return _0x2a8916;_0x3836a0=_0x3836a0[_0x4f478f[_0x12c7fa]];}if(void 0x0===_0x3836a0)return _0x2a8916;return _0x3836a0;}(_0x4dbb06,_0x5f38b3,_0x256623);if(Xn(_0x5f38b3=Object['is'](_0x5f38b3?.['valueOf'](),-0x0)?'-0':String(_0x5f38b3)))return _0x256623;const _0x59196b=_0x4dbb06[_0x5f38b3];return void 0x0===_0x59196b?_0x256623:_0x59196b;}}}function Kn(_0x461fd4){return null!==_0x461fd4&&('object'==typeof _0x461fd4||'function'==typeof _0x461fd4);}function Jn(_0x54e5ec,_0x14d9cd){return _0x54e5ec===_0x14d9cd||Number['isNaN'](_0x54e5ec)&&Number['isNaN'](_0x14d9cd);}function tr(_0x333e42){return Object['getOwnPropertySymbols'](_0x333e42)['filter'](_0x408aaf=>Object['prototype']['propertyIsEnumerable']['call'](_0x333e42,_0x408aaf));}function er(_0x13ce1d){return null==_0x13ce1d?void 0x0===_0x13ce1d?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x13ce1d);}const ir='[object\x20RegExp]',sr='[object\x20String]',nr='[object\x20Number]',rr='[object\x20Boolean]',or='[object\x20Arguments]',ar='[object\x20Symbol]',cr='[object\x20Date]',lr='[object\x20Map]',hr='[object\x20Set]',ur='[object\x20Array]',dr='[object\x20ArrayBuffer]',fr='[object\x20Object]',mr='[object\x20DataView]',gr='[object\x20Uint8Array]',pr='[object\x20Uint8ClampedArray]',Or='[object\x20Uint16Array]',wr='[object\x20Uint32Array]',br='[object\x20Int8Array]',yr='[object\x20Int16Array]',_r='[object\x20Int32Array]',vr='[object\x20Float32Array]',Tr='[object\x20Float64Array]';function Er(_0x440da1,_0x174ca6,_0x56131d,_0x407d1f=new Map(),_0x140119=void 0x0){const _0x3bcf99=_0x140119?.(_0x440da1,_0x174ca6,_0x56131d,_0x407d1f);if(null!=_0x3bcf99)return _0x3bcf99;if(function(_0x594af2){return null==_0x594af2||'object'!=typeof _0x594af2&&'function'!=typeof _0x594af2;}(_0x440da1))return _0x440da1;if(_0x407d1f['has'](_0x440da1))return _0x407d1f['get'](_0x440da1);if(Array['isArray'](_0x440da1)){const _0x2730ed=new Array(_0x440da1['length']);_0x407d1f['set'](_0x440da1,_0x2730ed);for(let _0x21cf79=0x0;_0x21cf79<_0x440da1['length'];_0x21cf79++)_0x2730ed[_0x21cf79]=Er(_0x440da1[_0x21cf79],_0x21cf79,_0x56131d,_0x407d1f,_0x140119);return Object['hasOwn'](_0x440da1,'index')&&(_0x2730ed['index']=_0x440da1['index']),Object['hasOwn'](_0x440da1,'input')&&(_0x2730ed['input']=_0x440da1['input']),_0x2730ed;}if(_0x440da1 instanceof Date)return new Date(_0x440da1['getTime']());if(_0x440da1 instanceof RegExp){const _0x1976e0=new RegExp(_0x440da1['source'],_0x440da1['flags']);return _0x1976e0['lastIndex']=_0x440da1['lastIndex'],_0x1976e0;}if(_0x440da1 instanceof Map){const _0x1e3aa1=new Map();_0x407d1f['set'](_0x440da1,_0x1e3aa1);for(const [_0x4379bc,_0x2ae6f9]of _0x440da1)_0x1e3aa1['set'](_0x4379bc,Er(_0x2ae6f9,_0x4379bc,_0x56131d,_0x407d1f,_0x140119));return _0x1e3aa1;}if(_0x440da1 instanceof Set){const _0x1c41f7=new Set();_0x407d1f['set'](_0x440da1,_0x1c41f7);for(const _0x4f4b5d of _0x440da1)_0x1c41f7['add'](Er(_0x4f4b5d,void 0x0,_0x56131d,_0x407d1f,_0x140119));return _0x1c41f7;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x440da1))return _0x440da1['subarray']();if(_0x18ab7c=_0x440da1,ArrayBuffer['isView'](_0x18ab7c)&&!(_0x18ab7c instanceof DataView)){const _0x4ddb23=new(Object['getPrototypeOf'](_0x440da1))['constructor'](_0x440da1['length']);_0x407d1f['set'](_0x440da1,_0x4ddb23);for(let _0x3d84c1=0x0;_0x3d84c1<_0x440da1['length'];_0x3d84c1++)_0x4ddb23[_0x3d84c1]=Er(_0x440da1[_0x3d84c1],_0x3d84c1,_0x56131d,_0x407d1f,_0x140119);return _0x4ddb23;}var _0x18ab7c;if(_0x440da1 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x440da1 instanceof SharedArrayBuffer)return _0x440da1['slice'](0x0);if(_0x440da1 instanceof DataView){const _0x243067=new DataView(_0x440da1['buffer']['slice'](0x0),_0x440da1['byteOffset'],_0x440da1['byteLength']);return _0x407d1f['set'](_0x440da1,_0x243067),Ar(_0x243067,_0x440da1,_0x56131d,_0x407d1f,_0x140119),_0x243067;}if('undefined'!=typeof File&&_0x440da1 instanceof File){const _0x1cea56=new File([_0x440da1],_0x440da1['name'],{'type':_0x440da1['type']});return _0x407d1f['set'](_0x440da1,_0x1cea56),Ar(_0x1cea56,_0x440da1,_0x56131d,_0x407d1f,_0x140119),_0x1cea56;}if(_0x440da1 instanceof Blob){const _0x35e9f8=new Blob([_0x440da1],{'type':_0x440da1['type']});return _0x407d1f['set'](_0x440da1,_0x35e9f8),Ar(_0x35e9f8,_0x440da1,_0x56131d,_0x407d1f,_0x140119),_0x35e9f8;}if(_0x440da1 instanceof Error){const _0x2699c5=new _0x440da1['constructor']();return _0x407d1f['set'](_0x440da1,_0x2699c5),_0x2699c5['message']=_0x440da1['message'],_0x2699c5['name']=_0x440da1['name'],_0x2699c5['stack']=_0x440da1['stack'],_0x2699c5['cause']=_0x440da1['cause'],Ar(_0x2699c5,_0x440da1,_0x56131d,_0x407d1f,_0x140119),_0x2699c5;}if('object'==typeof _0x440da1&&function(_0x483478){switch(er(_0x483478)){case or:case ur:case dr:case mr:case rr:case cr:case vr:case Tr:case br:case yr:case _r:case lr:case nr:case fr:case ir:case hr:case sr:case ar:case gr:case pr:case Or:case wr:return!0x0;default:return!0x1;}}(_0x440da1)){const _0x11d6e8=Object['create'](Object['getPrototypeOf'](_0x440da1));return _0x407d1f['set'](_0x440da1,_0x11d6e8),Ar(_0x11d6e8,_0x440da1,_0x56131d,_0x407d1f,_0x140119),_0x11d6e8;}return _0x440da1;}function Ar(_0x4addd4,_0x127cf1,_0x2f7e7e=_0x4addd4,_0x3552c7,_0x4b6ec4){const _0x5b41a8=[...Object['keys'](_0x127cf1),...tr(_0x127cf1)];for(let _0xb3bd=0x0;_0xb3bd<_0x5b41a8['length'];_0xb3bd++){const _0x2f6652=_0x5b41a8[_0xb3bd],_0x4cb725=Object['getOwnPropertyDescriptor'](_0x4addd4,_0x2f6652);(null==_0x4cb725||_0x4cb725['writable'])&&(_0x4addd4[_0x2f6652]=Er(_0x127cf1[_0x2f6652],_0x2f6652,_0x2f7e7e,_0x3552c7,_0x4b6ec4));}}function Sr(_0xeed807){return Er(_0xeed807,void 0x0,_0xeed807,new Map(),void 0x0);}function Ir(_0x297af8,_0x4a8ee7){return function(_0x4c2cd3,_0x42d95a){return Er(_0x4c2cd3,void 0x0,_0x4c2cd3,new Map(),_0x42d95a);}(_0x297af8,(_0x531d3d,_0x1d2df0,_0x2fa8bf,_0x40d43c)=>{if('object'==typeof _0x297af8)switch(Object['prototype']['toString']['call'](_0x297af8)){case nr:case sr:case rr:{const _0x652766=new _0x297af8['constructor'](_0x297af8?.['valueOf']());return Ar(_0x652766,_0x297af8),_0x652766;}case or:{const _0x34331f={};return Ar(_0x34331f,_0x297af8),_0x34331f['length']=_0x297af8['length'],_0x34331f[Symbol['iterator']]=_0x297af8[Symbol['iterator']],_0x34331f;}default:return;}});}function Cr(_0x67bdef){return Ir(_0x67bdef);}const kr=/^(?:0|[1-9]\d*)$/;function xr(_0x212a3f,_0x58d4d2=Number['MAX_SAFE_INTEGER']){switch(typeof _0x212a3f){case'number':return Number['isInteger'](_0x212a3f)&&_0x212a3f>=0x0&&_0x212a3f<_0x58d4d2;case'symbol':return!0x1;case'string':return kr['test'](_0x212a3f);}}const Rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Mr(_0x8db6ab,_0x43d1c9){return!Array['isArray'](_0x8db6ab)&&(!('number'!=typeof _0x8db6ab&&'boolean'!=typeof _0x8db6ab&&null!=_0x8db6ab&&!function(_0x3ce160){return'symbol'==typeof _0x3ce160||_0x3ce160 instanceof Symbol;}(_0x8db6ab))||('string'==typeof _0x8db6ab&&(Pr['test'](_0x8db6ab)||!Rr['test'](_0x8db6ab))||null!=_0x43d1c9&&Object['hasOwn'](_0x43d1c9,_0x8db6ab)));}function Nr(_0x190325,_0x1b215e){if(null==_0x190325)return!0x0;switch(typeof _0x1b215e){case'symbol':case'number':case'object':if(Array['isArray'](_0x1b215e))return Lr(_0x190325,_0x1b215e);if('number'==typeof _0x1b215e?_0x1b215e=Wn(_0x1b215e):'object'==typeof _0x1b215e&&(_0x1b215e=Object['is'](_0x1b215e?.['valueOf'](),-0x0)?'-0':String(_0x1b215e)),Xn(_0x1b215e))return!0x1;if(void 0x0===_0x190325?.[_0x1b215e])return!0x0;try{return delete _0x190325[_0x1b215e],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x190325?.[_0x1b215e]&&qn(_0x1b215e))return Lr(_0x190325,zn(_0x1b215e));if(Xn(_0x1b215e))return!0x1;try{return delete _0x190325[_0x1b215e],!0x0;}catch{return!0x1;}}}function Lr(_0x128dfb,_0x54c46a){const _0x3c3e19=Yn(_0x128dfb,_0x54c46a['slice'](0x0,-0x1),_0x128dfb),_0x40724a=_0x54c46a[_0x54c46a['length']-0x1];if(void 0x0===_0x3c3e19?.[_0x40724a])return!0x0;if(Xn(_0x40724a))return!0x1;try{return delete _0x3c3e19[_0x40724a],!0x0;}catch{return!0x1;}}const Dr=(_0x1f6d4f,_0x2bd550,_0x49a7c8)=>{const _0x156d70=_0x1f6d4f[_0x2bd550];Object['hasOwn'](_0x1f6d4f,_0x2bd550)&&Jn(_0x156d70,_0x49a7c8)&&(void 0x0!==_0x49a7c8||_0x2bd550 in _0x1f6d4f)||(_0x1f6d4f[_0x2bd550]=_0x49a7c8);};function Qr(_0x487af5,_0x64e4cd,_0x148c84){return function(_0x3c8b4f,_0x582c27,_0x7de623,_0x1efdbb){if(null==_0x3c8b4f&&!Kn(_0x3c8b4f))return _0x3c8b4f;const _0x55b57d=Mr(_0x582c27,_0x3c8b4f)?[_0x582c27]:Array['isArray'](_0x582c27)?_0x582c27:'string'==typeof _0x582c27?zn(_0x582c27):[_0x582c27];let _0x53b017=_0x3c8b4f;for(let _0x11bdcc=0x0;_0x11bdcc<_0x55b57d['length']&&null!=_0x53b017;_0x11bdcc++){const _0x471e9a=Wn(_0x55b57d[_0x11bdcc]);if(Xn(_0x471e9a))continue;let _0x3e6b37;if(_0x11bdcc===_0x55b57d['length']-0x1)_0x3e6b37=_0x7de623(_0x53b017[_0x471e9a]);else{const _0x485cea=_0x53b017[_0x471e9a],_0x1db4d2=_0x1efdbb?.(_0x485cea,_0x471e9a,_0x3c8b4f);_0x3e6b37=void 0x0!==_0x1db4d2?_0x1db4d2:Kn(_0x485cea)?_0x485cea:xr(_0x55b57d[_0x11bdcc+0x1])?[]:{};}Dr(_0x53b017,_0x471e9a,_0x3e6b37),_0x53b017=_0x53b017[_0x471e9a];}return _0x3c8b4f;}(_0x487af5,_0x64e4cd,()=>_0x148c84,()=>{});}function $r(_0x2f1ad7,_0x21b191,{signal:_0x37982f,edges:_0x1fd7b3}={}){let _0x3dac19,_0x19fbcb=null;const _0x42949b=null!=_0x1fd7b3&&_0x1fd7b3['includes']('leading'),_0x543f54=null==_0x1fd7b3||_0x1fd7b3['includes']('trailing'),_0x7532e8=()=>{null!==_0x19fbcb&&(_0x2f1ad7['apply'](_0x3dac19,_0x19fbcb),_0x3dac19=void 0x0,_0x19fbcb=null);};let _0x5d465b=null;const _0x348599=()=>{null!=_0x5d465b&&clearTimeout(_0x5d465b),_0x5d465b=setTimeout(()=>{_0x5d465b=null,_0x543f54&&_0x7532e8(),_0x143c7e();},_0x21b191);},_0x3a4d23=()=>{null!==_0x5d465b&&(clearTimeout(_0x5d465b),_0x5d465b=null);},_0x143c7e=()=>{_0x3a4d23(),_0x3dac19=void 0x0,_0x19fbcb=null;},_0x2eed0=function(..._0x155024){if(_0x37982f?.['aborted'])return;_0x3dac19=this,_0x19fbcb=_0x155024;const _0x349173=null==_0x5d465b;_0x348599(),_0x42949b&&_0x349173&&_0x7532e8();};return _0x2eed0['schedule']=_0x348599,_0x2eed0['cancel']=_0x143c7e,_0x2eed0['flush']=()=>{_0x3a4d23(),_0x7532e8();},_0x37982f?.['addEventListener']('abort',_0x143c7e,{'once':!0x0}),_0x2eed0;}function Vr(_0x1ac88e,_0x45b4fe=0x0,_0x45f2c5={}){'object'!=typeof _0x45f2c5&&(_0x45f2c5={});const {leading:_0x4aac32=!0x1,trailing:_0x585a47=!0x0,maxWait:_0x538b5d}=_0x45f2c5,_0x29fe16=Array(0x2);let _0x550cfd;_0x4aac32&&(_0x29fe16[0x0]='leading'),_0x585a47&&(_0x29fe16[0x1]='trailing');let _0x4dc7d6=null;const _0x3de307=$r(function(..._0x46e599){_0x550cfd=_0x1ac88e['apply'](this,_0x46e599),_0x4dc7d6=null;},_0x45b4fe,{'edges':_0x29fe16}),_0x5e359e=function(..._0x52a3e3){return null!=_0x538b5d&&(null===_0x4dc7d6&&(_0x4dc7d6=Date['now']()),Date['now']()-_0x4dc7d6>=_0x538b5d)?(_0x550cfd=_0x1ac88e['apply'](this,_0x52a3e3),_0x4dc7d6=Date['now'](),_0x3de307['cancel'](),_0x3de307['schedule'](),_0x550cfd):(_0x3de307['apply'](this,_0x52a3e3),_0x550cfd);};return _0x5e359e['cancel']=_0x3de307['cancel'],_0x5e359e['flush']=()=>(_0x3de307['flush'](),_0x550cfd),_0x5e359e;}function Ur(_0x3f0f2f,_0x3612a4=0x0,_0xe6904e={}){'object'!=typeof _0xe6904e&&(_0xe6904e={});const {leading:_0x14283=!0x0,trailing:_0x5547a0=!0x0}=_0xe6904e;return Vr(_0x3f0f2f,_0x3612a4,{'leading':_0x14283,'trailing':_0x5547a0,'maxWait':_0x3612a4});}function Br(_0x2c2fa6){if(null==_0x2c2fa6)return'';if('string'==typeof _0x2c2fa6)return _0x2c2fa6;if(Array['isArray'](_0x2c2fa6))return _0x2c2fa6['map'](Br)['join'](',');const _0x4cc192=String(_0x2c2fa6);return'0'===_0x4cc192&&Object['is'](Number(_0x2c2fa6),-0x0)?'-0':_0x4cc192;}function Fr(_0x243dec){if(!_0x243dec||'object'!=typeof _0x243dec)return!0x1;const _0x2978f4=Object['getPrototypeOf'](_0x243dec);return!(null!==_0x2978f4&&_0x2978f4!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x2978f4))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x243dec);}function jr(_0x2deee1,_0x5e4884,_0xd5f17,_0x14ea40,_0x1aa038,_0x191406,_0x2a93df){const _0x292e94=_0x2a93df(_0x2deee1,_0x5e4884,_0xd5f17,_0x14ea40,_0x1aa038,_0x191406);if(void 0x0!==_0x292e94)return _0x292e94;if(typeof _0x2deee1==typeof _0x5e4884)switch(typeof _0x2deee1){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x2deee1===_0x5e4884;case'number':return _0x2deee1===_0x5e4884||Object['is'](_0x2deee1,_0x5e4884);case'object':return Hr(_0x2deee1,_0x5e4884,_0x191406,_0x2a93df);}return Hr(_0x2deee1,_0x5e4884,_0x191406,_0x2a93df);}function Hr(_0x283cfb,_0x568816,_0x5595da,_0x40ffae){if(Object['is'](_0x283cfb,_0x568816))return!0x0;let _0x9f934e=er(_0x283cfb),_0x1f75d6=er(_0x568816);if(_0x9f934e===or&&(_0x9f934e=fr),_0x1f75d6===or&&(_0x1f75d6=fr),_0x9f934e!==_0x1f75d6)return!0x1;switch(_0x9f934e){case sr:return _0x283cfb['toString']()===_0x568816['toString']();case nr:return Jn(_0x283cfb['valueOf'](),_0x568816['valueOf']());case rr:case cr:case ar:return Object['is'](_0x283cfb['valueOf'](),_0x568816['valueOf']());case ir:return _0x283cfb['source']===_0x568816['source']&&_0x283cfb['flags']===_0x568816['flags'];case'[object\x20Function]':return _0x283cfb===_0x568816;}const _0x391ce6=(_0x5595da=_0x5595da??new Map())['get'](_0x283cfb),_0x397f45=_0x5595da['get'](_0x568816);if(null!=_0x391ce6&&null!=_0x397f45)return _0x391ce6===_0x568816;_0x5595da['set'](_0x283cfb,_0x568816),_0x5595da['set'](_0x568816,_0x283cfb);try{switch(_0x9f934e){case lr:if(_0x283cfb['size']!==_0x568816['size'])return!0x1;for(const [_0x584847,_0x300fed]of _0x283cfb['entries']())if(!_0x568816['has'](_0x584847)||!jr(_0x300fed,_0x568816['get'](_0x584847),_0x584847,_0x283cfb,_0x568816,_0x5595da,_0x40ffae))return!0x1;return!0x0;case hr:{if(_0x283cfb['size']!==_0x568816['size'])return!0x1;const _0x2eb3f2=Array['from'](_0x283cfb['values']()),_0x2a109b=Array['from'](_0x568816['values']());for(let _0x2eced5=0x0;_0x2eced5<_0x2eb3f2['length'];_0x2eced5++){const _0x37b7ca=_0x2eb3f2[_0x2eced5],_0x3462ea=_0x2a109b['findIndex'](_0x5da4e0=>jr(_0x37b7ca,_0x5da4e0,void 0x0,_0x283cfb,_0x568816,_0x5595da,_0x40ffae));if(-0x1===_0x3462ea)return!0x1;_0x2a109b['splice'](_0x3462ea,0x1);}return!0x0;}case ur:case gr:case pr:case Or:case wr:case'[object\x20BigUint64Array]':case br:case yr:case _r:case'[object\x20BigInt64Array]':case vr:case Tr:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x283cfb)!==Buffer['isBuffer'](_0x568816))return!0x1;if(_0x283cfb['length']!==_0x568816['length'])return!0x1;for(let _0x11e1da=0x0;_0x11e1da<_0x283cfb['length'];_0x11e1da++)if(!jr(_0x283cfb[_0x11e1da],_0x568816[_0x11e1da],_0x11e1da,_0x283cfb,_0x568816,_0x5595da,_0x40ffae))return!0x1;return!0x0;case dr:return _0x283cfb['byteLength']===_0x568816['byteLength']&&Hr(new Uint8Array(_0x283cfb),new Uint8Array(_0x568816),_0x5595da,_0x40ffae);case mr:return _0x283cfb['byteLength']===_0x568816['byteLength']&&_0x283cfb['byteOffset']===_0x568816['byteOffset']&&Hr(new Uint8Array(_0x283cfb),new Uint8Array(_0x568816),_0x5595da,_0x40ffae);case'[object\x20Error]':return _0x283cfb['name']===_0x568816['name']&&_0x283cfb['message']===_0x568816['message'];case fr:{if(!(Hr(_0x283cfb['constructor'],_0x568816['constructor'],_0x5595da,_0x40ffae)||Fr(_0x283cfb)&&Fr(_0x568816)))return!0x1;const _0x2507ce=[...Object['keys'](_0x283cfb),...tr(_0x283cfb)],_0x5eea5d=[...Object['keys'](_0x568816),...tr(_0x568816)];if(_0x2507ce['length']!==_0x5eea5d['length'])return!0x1;for(let _0x2e0773=0x0;_0x2e0773<_0x2507ce['length'];_0x2e0773++){const _0x1d444f=_0x2507ce[_0x2e0773],_0x1b054c=_0x283cfb[_0x1d444f];if(!Object['hasOwn'](_0x568816,_0x1d444f))return!0x1;if(!jr(_0x1b054c,_0x568816[_0x1d444f],_0x1d444f,_0x283cfb,_0x568816,_0x5595da,_0x40ffae))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x5595da['delete'](_0x283cfb),_0x5595da['delete'](_0x568816);}}function Gr(){}function Zr(_0x5c9f63,_0x5b7767){return function(_0x4f7257,_0x1a3739,_0x2af9f2){return jr(_0x4f7257,_0x1a3739,void 0x0,void 0x0,void 0x0,void 0x0,_0x2af9f2);}(_0x5c9f63,_0x5b7767,Gr);}function Xr(_0x539da1,..._0x184f24){if(null==_0x539da1)return{};const _0x1255c2=Sr(_0x539da1);for(let _0x16aa9b=0x0;_0x16aa9b<_0x184f24['length'];_0x16aa9b++){let _0x52a0a6=_0x184f24[_0x16aa9b];switch(typeof _0x52a0a6){case'object':Array['isArray'](_0x52a0a6)||(_0x52a0a6=Array['from'](_0x52a0a6));for(let _0x1f64f5=0x0;_0x1f64f5<_0x52a0a6['length'];_0x1f64f5++){Nr(_0x1255c2,_0x52a0a6[_0x1f64f5]);}break;case'string':case'symbol':case'number':Nr(_0x1255c2,_0x52a0a6);}}return _0x1255c2;}function qr(_0x1d1787){return function(_0x2c9cd6){return'object'==typeof _0x2c9cd6&&null!==_0x2c9cd6;}(_0x1d1787)&&0x1===_0x1d1787['nodeType']&&!function(_0x2f4c51){if('object'!=typeof _0x2f4c51)return!0x1;if(null==_0x2f4c51)return!0x1;if(null===Object['getPrototypeOf'](_0x2f4c51))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x2f4c51)){const _0x379a7d=_0x2f4c51[Symbol['toStringTag']];return null!=_0x379a7d&&(!!Object['getOwnPropertyDescriptor'](_0x2f4c51,Symbol['toStringTag'])?.['writable']&&_0x2f4c51['toString']()==='[object\x20'+_0x379a7d+']');}let _0x2e054b=_0x2f4c51;for(;null!==Object['getPrototypeOf'](_0x2e054b);)_0x2e054b=Object['getPrototypeOf'](_0x2e054b);return Object['getPrototypeOf'](_0x2f4c51)===_0x2e054b;}(_0x1d1787);}const Wr={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function zr(_0x437f8d){return Br(_0x437f8d)['replace'](/[&<>"']/g,_0x438823=>Wr[_0x438823]);}function Yr(_0x2a042c){return function(_0x6c3fac){return _0x6c3fac['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(Br(_0x2a042c));}const Kr={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function Jr(_0x555933){return function(_0x20212f){return _0x20212f['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x5cf4d8=>Kr[_0x5cf4d8]||'\x27');}(Br(_0x555933));}class AIHistoryListItemView extends _0x3c0063{constructor(_0x287024){super();const _0x467303=new _0x288660(),_0x210412=new _0x13bcd9(this['locale'],_0x467303);this['children']['add'](_0x210412),_0x210412['set']({'label':_0x287024['prompt'],'withText':!0x0}),_0x210412['on']('execute',()=>{this['fire']('execute',{'value':Jr(_0x287024['prompt'])});});}}const to='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0xe4e0d0{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x438a5f,_0x4f137a)=>{const _0x327ba9=eo(_0x4f137a['prompt']);for(const _0x5d90e1 of this)if(_0x5d90e1!=_0x4f137a&&eo(_0x5d90e1['prompt'])===_0x327ba9){this['remove'](_0x5d90e1);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x5337b9=sessionStorage['getItem'](to)||'[]';this['addMany'](JSON['parse'](_0x5337b9));}['_saveToSessionStorage'](){sessionStorage['setItem'](to,JSON['stringify'](this['map'](_0x26d9c3=>_0x26d9c3)));}}function eo(_0x22ddbc){return _0x22ddbc['toLowerCase']()['trim']();}class AIFormView extends _0x268b55{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x2cf3ad,_0x29ac45,_0x20ae6c=''){super(_0x2cf3ad),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',Zn['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new AIFormErrorView(_0x2cf3ad),this['contentArea']=new AIFormContentArea(_0x2cf3ad,_0x20ae6c),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 _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new tt({'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 _0x11afc5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x29ac45],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x11afc5['if']('isError','ck-hidden',_0x36305c=>!_0x36305c)]},'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'](_0x610b67=0x1){-0x1===_0x610b67?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 _0x28b599=this['locale'],_0x2eccb4=new AIFormPromptView(_0x28b599,{'queryView':{'label':jn(_0x28b599,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':et,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':jn(_0x28b599,'Empty\x20history'),'secondary':jn(_0x28b599,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2eccb4['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0xee6c46,_0x17d43c)=>_0xee6c46&&!_0x17d43c),this['listenTo'](_0x2eccb4,'submit',(_0x3d0c7f,_0x3c8993)=>{this['prompt']=_0x3c8993;const _0x1f7a26=zr(_0x3c8993);this['fire']('submitPrompt',_0x1f7a26),_0x3c8993['trim']()&&this['_promptHistory']['add']({'prompt':_0x1f7a26},0x0);},{'priority':'high'}),_0x2eccb4;}['_createHistoryView'](){const _0x46ffb8=new AIHistoryListView(this['locale']);return _0x46ffb8['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x46ffb8['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x46ffb8;}['_createToolbar'](){const _0x1ca88e=new AIFormToolbarView(this['locale']);return _0x1ca88e['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x5e7dea,_0x503579,_0x2cedfb)=>_0x5e7dea&&!_0x503579&&!!_0x2cedfb),_0x1ca88e['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x1ca88e['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x4d7d4a,_0x532dd4,_0x5a91d2)=>_0x4d7d4a&&!_0x532dd4&&!!_0x5a91d2),_0x1ca88e['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x1ca88e['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0xbd6266,_0x1f6cd4)=>_0xbd6266&&!_0x1f6cd4),_0x1ca88e['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x1ca88e['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x1ca88e['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x1ca88e;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x5e88a1=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=jn(_0x5e88a1,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x14bb49){const _0x5023ff=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x14bb49||jn(_0x5023ff,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const io=globalThis['DataTransfer'];class AIAssistantUI extends _0x4ac504{['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[_0x193c37,AIAssistantEditing,AIAdapter,it];}constructor(_0x358005){super(_0x358005),_0x358005['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x358005['config']['define']('ai.assistant.contentAreaCssClass',''),_0x358005['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x358005['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x5df0c9}=this;this['_aiAdapter']=_0x5df0c9['plugins']['get'](AIAdapter),this['_dialog']=_0x5df0c9['plugins']['get'](it),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x4158fd=new ShowAIAssistantCommand(_0x5df0c9,Array['from'](this['_commandDefinitions']['values']()));_0x5df0c9['commands']['add']('showAIAssistant',_0x4158fd),_0x5df0c9['ui']['componentFactory']['add']('aiCommands',_0x4fac52=>{const _0x527bc6=st(_0x4fac52);return _0x527bc6['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x527bc6['buttonView']['set']({'label':jn(_0x4fac52,'AI\x20Commands'),'icon':_0x5d4294,'tooltip':!0x0}),_0x527bc6['on']('execute',_0x34c129=>this['_onExecute'](_0x34c129['source']['id'])),nt(_0x527bc6,_0x5df0c9['ui']['view']['body'],function(_0x455f17){const _0x29177b=Un(_0x455f17['config']['get']('ai.assistant.commands'),_0x455f17['locale']),_0x541469=no(_0x455f17,_0x29177b)['filter'](_0x58858f=>_0x58858f['commands']['length']);if(0x1===_0x541469['length'])return no(_0x455f17,_0x541469[0x0]['commands'])['map'](_0x104e35=>({'id':_0x104e35['id'],'label':_0x104e35['label']}));return _0x541469['map'](_0x521a7a=>{const {groupId:_0x289099,groupLabel:_0x490e1b,commands:_0x59f80d}=_0x521a7a,_0x51248a=no(_0x455f17,_0x59f80d)['map'](_0x320eb3=>({'id':_0x320eb3['id'],'label':_0x320eb3['label']}));return{'id':_0x289099,'menu':_0x490e1b||_0x289099,'children':_0x51248a};});}(_0x5df0c9),{'ariaLabel':jn(_0x4fac52,'AI\x20Commands')}),_0x527bc6['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x4158fd['on']('change:enabledCommandsIds',_0x292d02),_0x527bc6['menuView']['once']('render',_0x292d02),_0x527bc6;function _0x292d02(){_0x527bc6['isEnabled']=_0x4158fd['enabledCommandsIds']['length']>0x0;for(const _0x1cb3de of _0x527bc6['menuView']['buttons'])_0x1cb3de['isEnabled']=_0x4158fd['enabledCommandsIds']['includes'](_0x1cb3de['id']);}}),_0x5df0c9['ui']['componentFactory']['add']('menuBar:aiCommands',_0x5b383e=>{const _0x462610=new rt(_0x5b383e);_0x462610['buttonView']['set']({'label':jn(_0x5b383e,'AI\x20Commands'),'icon':_0x5d4294}),_0x462610['bind']('isEnabled')['to'](_0x4158fd,'enabledCommandsIds',_0x5d4af7=>_0x5d4af7['length']>0x0);const _0x1c6282=Un(_0x5df0c9['config']['get']('ai.assistant.commands'),_0x5b383e);return this['_populateMenuBarMenu'](_0x4158fd,_0x462610,_0x1c6282,_0x57178c=>this['_onExecute'](_0x57178c)),_0x462610;}),_0x5df0c9['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x4f10cf=this['_createAIAssistantUIButton'](_0x13bcd9);return _0x4f10cf['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x4f10cf;}),_0x5df0c9['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x541d8a=this['_createAIAssistantUIButton'](ot);return _0x541d8a['set']({'role':'menuitemcheckbox'}),_0x541d8a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3211c7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4da888;for(const _0x538ec0 in _0x3211c7){const _0x23eef7=_0x538ec0,_0x2a7d8b=_0x3211c7[_0x23eef7];if('aiLicenseKeyValid'==_0x2a7d8b||'aiLicenseKeyInvalid'==_0x2a7d8b||'aiLicenseKeyExpired'==_0x2a7d8b||'aiLicenseKeyDomainLimit'==_0x2a7d8b||'aiLicenseKeyNotAllowed'==_0x2a7d8b||'aiLicenseKeyEvaluationLimit'==_0x2a7d8b||'aiLicenseKeyUsageLimit'==_0x2a7d8b){delete _0x3211c7[_0x23eef7],_0x4da888=_0x2a7d8b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x4da888&&_0x3211c7['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x4da888&&_0x3211c7['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x4da888&&_0x3211c7['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x4da888&&_0x3211c7['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x4da888&&_0x3211c7['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x4da888&&_0x3211c7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x220627='',_0x1ca27c='',_0x2c0bd9='custom'){const _0x28ec29=this['editor'],_0x126ece=_0x28ec29['editing']['view'],_0x2c97d0=_0x28ec29['plugins']['get'](AIAssistantEditing),_0xffc087=_0x28ec29['plugins']['get'](_0x193c37);_0x2c97d0['showFakeVisualSelection']();const _0x1c1778=new io(),_0xff1a52=new ClipboardEvent('copy',{'clipboardData':_0x1c1778}),_0x263d9c=new _0x3a691a(_0x1c1778),_0x48c814=new _0xcfb534(_0x126ece,_0xff1a52,{'dataTransfer':_0x263d9c});_0xffc087['_forceMarkersCopy']('comment',()=>{_0x126ece['document']['fire']('copy',_0x48c814);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x28ec29,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x577518=_0x263d9c['getData']('text/html');const _0x533a0f=_0x28ec29['model']['document']['selection'],_0x45eee9=Array['from'](_0x533a0f['getRanges']());0x1===_0x45eee9['length']&&_0x45eee9[0x0]['isFlat']&&!_0x533a0f['getSelectedElement']()&&''!==_0x577518['replace'](/&nbsp;/g,'')['trim']()&&(_0x577518='<p>'+_0x577518+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x2c0bd9,'query':_0x220627,'htmlContent':_0x577518,'label':_0x1ca27c,'mainActionLabel':Zn[_0x28ec29['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x40013a,'title':jn(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':at['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x2c97d0['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x4f3831=new Map(),_0x1a021e=Un(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x5b282f of _0x1a021e)for(const _0x1264df of _0x5b282f['commands'])_0x4f3831['set'](_0x1264df['id'],{..._0x1264df,'groupId':_0x5b282f['groupId'],'groupLabel':_0x5b282f['groupLabel']||_0x5b282f['groupId']});return _0x4f3831;}['_createAIAssistantUIButton'](_0x35ef6f){const _0x4a4fe0=this['editor'],_0x4fbc66=_0x4a4fe0['commands']['get']('showAIAssistant'),_0x2792dc=new _0x35ef6f(_0x4a4fe0['locale']);return _0x2792dc['set']({'label':jn(_0x4a4fe0['locale'],'AI\x20Assistant'),'icon':_0x40013a,'isToggleable':!0x0}),_0x2792dc['bind']('isEnabled')['to'](_0x4fbc66),_0x2792dc['bind']('isOn')['to'](this['_dialog'],'id',_0x187359=>'aiAssistant'===_0x187359),this['listenTo'](_0x2792dc,'execute',()=>{_0x2792dc['isOn']?this['hideUI']():_0x4fbc66['execute']();}),_0x2792dc;}['_initView'](){const _0x4d732c=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new AIFormView(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',()=>{_0x4d732c['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x4d732c['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x465453,ui:{ariaLiveAnnouncer:_0x3dae4c}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x4902cc,_0x2ea2ba,_0xe448d0)=>{const _0x504bd7=this['_aiAssistantController']['currentContext'];_0xe448d0?_0x3dae4c['announce'](jn(_0x465453,'AI\x20is\x20writing')):_0x504bd7&&_0x3dae4c['announce'](jn(_0x465453,'Generated\x20content:\x20%0',_0x504bd7),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x1caf5a,_0x4fa72d,_0x10d7ed)=>{if(_0x10d7ed){const _0x20479d=this['_formView']['errorView']['text'];_0x3dae4c['announce'](jn(_0x465453,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x20479d));}});}['_onExecute'](_0x180353){const _0x43d74b=this['_commandDefinitions']['get'](_0x180353),_0x2a5e87=this['editor'],_0x46f740=_0x2a5e87['model']['document']['selection'],_0x37eb29=_0x2a5e87['commands']['get']('showAIAssistant'),_0x296263=_0x2a5e87['plugins']['get'](AIAssistantEditing),_0x3d97da=''+(_0x43d74b['groupId']!==Vn?_0x43d74b['groupLabel']+':\x20':'')+_0x43d74b['label'];if(!0x1!==_0x43d74b['requiresContent']&&_0x46f740['isCollapsed']){const _0x123c7b=_0x254002(_0x46f740['getSelectedBlocks']())||_0x2a5e87['model']['schema']['getLimitElement'](_0x46f740);_0x2a5e87['model']['change'](_0x587d24=>{_0x587d24['setSelection'](_0x123c7b,'in');});}_0x296263['showFakeVisualSelection'](),_0x37eb29['execute'](_0x43d74b['prompt'],_0x3d97da,'command:'+_0x180353);}['_populateMenuBarMenu'](_0x2c1cb2,_0x38da59,_0x12d4b2,_0x2275b5){const _0x404925=this['editor'],_0x368255=_0x404925['locale'],_0x384e9d=new ct(_0x368255),_0x354e26=no(_0x404925,_0x12d4b2)['filter'](_0x128660=>_0x128660['commands']['length']);0x1===_0x354e26['length']?this['_getMenuBarGroupButtons']({'command':_0x2c1cb2,'commands':_0x354e26[0x0]['commands'],'parentMenuView':_0x38da59,'onExecute':_0x2275b5})['forEach'](_0x38a273=>_0x384e9d['items']['add'](_0x38a273)):_0x354e26['forEach'](({groupId:_0x17d4bb,groupLabel:_0x1342e4,commands:_0x3069d6})=>{const _0x459412=new lt(_0x368255,_0x38da59),_0x2d0b9c=new rt(_0x368255),_0x532d7e=new ct(_0x368255),_0x28be93=this['_getMenuBarGroupButtons']({'command':_0x2c1cb2,'commands':_0x3069d6,'parentMenuView':_0x2d0b9c,'onExecute':_0x2275b5});_0x2d0b9c['buttonView']['set']({'label':_0x1342e4||_0x17d4bb}),_0x2d0b9c['delegate']('execute')['to'](_0x38da59),_0x532d7e['items']['addMany'](_0x28be93),_0x2d0b9c['panelView']['children']['add'](_0x532d7e),_0x459412['children']['add'](_0x2d0b9c),_0x384e9d['items']['add'](_0x459412);}),_0x38da59['panelView']['children']['add'](_0x384e9d);}['_getMenuBarGroupButtons']({command:_0x207540,commands:_0x283419,parentMenuView:_0x525a47,onExecute:_0x51ea0f}){const _0x119c60=this['editor'],_0x42f2c3=_0x119c60['locale'];return no(_0x119c60,_0x283419)['map'](_0x76aced=>{const _0x45c26d=new lt(_0x42f2c3,_0x525a47),_0x68338a=new ot(_0x42f2c3);return _0x68338a['set']({'label':_0x76aced['label']}),_0x68338a['delegate']('execute')['to'](_0x525a47),_0x68338a['on']('execute',()=>_0x51ea0f(_0x76aced['id'])),_0x68338a['bind']('isEnabled')['to'](_0x207540,'enabledCommandsIds',_0x1be0c7=>_0x1be0c7['includes'](_0x76aced['id'])),_0x45c26d['children']['add'](_0x68338a),_0x45c26d;});}}function so(_0x4b9506,_0x15cc48){return void 0x0!==_0x4b9506['order']&&void 0x0===_0x15cc48['order']?0x1:void 0x0===_0x4b9506['order']&&void 0x0!==_0x15cc48['order']?-0x1:void 0x0!==_0x4b9506['order']&&void 0x0!==_0x15cc48['order']?_0x4b9506['order']-_0x15cc48['order']:0x0;}function no(_0x4a0024,_0x4ab517){_0x4ab517['sort'](so);const _0x1c048e={},_0x1c7882=[];for(const _0x384a1c of _0x4ab517)if(void 0x0!==_0x384a1c['order']){if(_0x384a1c['order']in _0x1c048e)throw new _0x1976e8('ai-commands-config-order-collision',_0x4a0024,{'conflictingDefinitions':[_0x384a1c,_0x1c048e[_0x384a1c['order']]]});_0x1c048e[_0x384a1c['order']]=_0x384a1c,_0x1c7882['splice'](_0x384a1c['order'],0x0,_0x384a1c);}else _0x1c7882['push'](_0x384a1c);return _0x1c7882;}class AIAssistant extends _0x4ac504{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b2f8e){super(_0x1b2f8e);const _0x1b1adb=_0x1b2f8e['config'],_0x9cc56d=_0x1b2f8e['locale'];_0x1b1adb['define']('ai.assistant.preserveComments',!0x0),_0x1b1adb['define']('ai.assistant.commands',ro(_0x9cc56d)),_0x1b1adb['define']('ai.assistant.extraCommandGroups',[]),_0x1b1adb['define']('ai.assistant.removeCommands',[]);let _0x37d3a8=Un(_0x1b1adb['get']('ai.assistant.commands'),_0x9cc56d);const _0x133b2e=_0x1b1adb['get']('ai.assistant.extraCommandGroups'),_0x4942ae=_0x1b1adb['get']('ai.assistant.removeCommands');_0x133b2e['forEach'](_0x43a5c9=>{const _0x51a5c9=_0x37d3a8['find'](_0x43cd75=>_0x43cd75['groupId']===_0x43a5c9['groupId']);_0x51a5c9?_0x51a5c9['commands']=_0x51a5c9['commands']['concat'](_0x43a5c9['commands']):_0x37d3a8['push'](_0x43a5c9);}),_0x37d3a8=_0x37d3a8['filter'](_0x12b9f4=>!_0x4942ae['includes'](_0x12b9f4['groupId'])),_0x37d3a8['forEach'](_0x4d62c3=>{_0x4d62c3['commands']=_0x4d62c3['commands']['filter'](_0x4289c3=>!_0x4942ae['includes'](_0x4289c3['id']));}),_0x1b1adb['set']('ai.assistant.commands',_0x37d3a8);}}function ro(_0x4f6897){return[{'groupId':'editOrReview','groupLabel':jn(_0x4f6897,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':jn(_0x4f6897,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':jn(_0x4f6897,'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':jn(_0x4f6897,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':jn(_0x4f6897,'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':jn(_0x4f6897,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':jn(_0x4f6897,'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':jn(_0x4f6897,'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':jn(_0x4f6897,'Change\x20tone'),'commands':[{'id':'professional','label':jn(_0x4f6897,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':jn(_0x4f6897,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':jn(_0x4f6897,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':jn(_0x4f6897,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':jn(_0x4f6897,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':jn(_0x4f6897,'Change\x20style'),'commands':[{'id':'business','label':jn(_0x4f6897,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':jn(_0x4f6897,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':jn(_0x4f6897,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':jn(_0x4f6897,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':jn(_0x4f6897,'Translate'),'commands':[{'id':'translateEnglish','label':jn(_0x4f6897,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':jn(_0x4f6897,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':jn(_0x4f6897,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':jn(_0x4f6897,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':jn(_0x4f6897,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':jn(_0x4f6897,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':jn(_0x4f6897,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':jn(_0x4f6897,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x4ac504{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x136f79){super(_0x136f79),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'](_0x553bef){return this['sendRequest'](_0x553bef)['catch'](_0x54d7d8=>{if(_0x54d7d8 instanceof AIRequestError)return Promise['reject'](_0x54d7d8);if('AbortError'==_0x54d7d8['name'])return Promise['resolve']();throw console['error'](_0x54d7d8),new _0x1976e8('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x580d4f,_0x247a99){const _0x1e08c5=this['editor']['locale'],_0x406af3={'Content-Type':'application/json'};if('object'==typeof _0x580d4f)Object['assign'](_0x406af3,_0x580d4f);else{if(_0x580d4f)try{const _0x33fca5=await _0x580d4f(_0x247a99);Object['assign'](_0x406af3,_0x33fca5);}catch{return Promise['reject'](new AIRequestError(jn(_0x1e08c5,'AI_ERROR_GET_HEADERS')));}}return _0x406af3;}async['_prepareRequestParameters'](_0x367cea,_0x1b9aba){const _0x32bf80=this['editor']['locale'];if('object'==typeof _0x367cea)return _0x367cea;try{return await _0x367cea(_0x1b9aba);}catch{return Promise['reject'](new AIRequestError(jn(_0x32bf80,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0xd38a65){super(_0xd38a65),_0xd38a65['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0xd38a65['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0xd38a65['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0xd38a65['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0xd38a65['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0xd38a65['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x55aa65,context:_0x42c9b1,onData:_0x398b9c,actionId:_0x630594}){const _0x153b1d=this['editor']['locale'],_0x3e23f0=await this['prepareMessages'](_0x55aa65,_0x42c9b1,_0x630594),_0x2425af=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x630594),_0x56600b=await this['_prepareRequestParameters'](this['_requestParameters'],_0x630594),_0x26aba0={'messages':_0x3e23f0,..._0x56600b},_0x3da256={'method':'POST','headers':_0x2425af,'body':JSON['stringify'](_0x26aba0),'signal':this['abortController']['signal']},_0x16a04c=await fetch(this['_apiUrl'],_0x3da256);if(_0x16a04c['ok'])return _0x56600b['stream']?await this['_readStreamableResponse'](_0x16a04c,_0x398b9c):await this['_readStaticResponse'](_0x16a04c,_0x398b9c),Promise['resolve']();{const _0x141bf5=await _0x16a04c['text']();return _0x141bf5['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(jn(_0x153b1d,'AI_ERROR_CONTEXT_LENGTH'))):_0x141bf5['includes']('Moderation')?Promise['reject'](new AIRequestError(jn(_0x153b1d,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x141bf5));}}async['prepareMessages'](_0x13de7a,_0x4637c2,_0x24df3f){let _0x4383fc,_0x21ee22;return _0x4637c2?(_0x4383fc='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.',_0x21ee22='Instruction:\x0a'+_0x13de7a+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x4637c2):(_0x4383fc='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.',_0x21ee22=_0x13de7a),[{'role':'system','content':_0x4383fc},{'role':'user','content':_0x21ee22}];}async['_readStreamableResponse'](_0x3431a7,_0x538ffd){const _0x355963=_0x3431a7['body']['getReader'](),_0x320c81=new TextDecoder();let _0x177301='',_0x404710='',_0x383102='',_0x101a69=!0x1;for(;!_0x101a69;){const {done:_0x5d30ba,value:_0x591d19}=await _0x355963['read'](),_0x426969=_0x177301+_0x320c81['decode'](_0x591d19);let _0x2c24e1='';_0x101a69=_0x5d30ba;try{_0x2c24e1=this['_cleanUpData'](_0x426969),_0x177301='';}catch{_0x177301=_0x426969;continue;}_0x404710+=_0x2c24e1,!_0x101a69&&this['_isBufferIncomplete'](_0x404710)||_0x404710&&(_0x383102+=_0x404710,_0x404710='',_0x538ffd(_0x383102));}return Promise['resolve']();}async['_readStaticResponse'](_0x4c4edb,_0x1d349a){return _0x1d349a((await _0x4c4edb['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x29dde0){const _0x2c727e=_0x29dde0['split']('<')['length']!==_0x29dde0['split']('>')['length'],_0x2f6230=_0x29dde0['length']<0x1e;return _0x2c727e&&_0x2f6230;}['_cleanUpData'](_0x13ee55){return _0x13ee55['split'](/\n(?![^{]*\})/g)['map'](_0x56616d=>_0x56616d['replace']('data:\x20',''))['filter'](_0x1a934f=>_0x1a934f&&_0x1a934f['length']>0x0&&'[DONE]'!==_0x1a934f)['map'](_0x2724fd=>{const {choices:_0x2f08f0}=JSON['parse'](_0x2724fd);if(_0x2f08f0[0x0]?.['delta']?.['content'])return _0x2f08f0[0x0]['delta']['content'];})['filter'](_0x17292c=>_0x17292c)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x2e934f('ai-aws-adapter-not-supported');}async['sendRequest'](_0x5877b4){throw _0x74de25('ai-aws-adapter-not-supported'),new AIRequestError(jn(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends _0x13bcd9{constructor(_0x421261,_0x447b06={}){super(_0x421261),this['isToggleable']=!0x0,this['set']('side',_0x447b06['side']||'top');const _0x17ffd4=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x5be7db(_0x447b06['class']||[]),_0x17ffd4['to']('side',_0x163099=>'ck-tab-button_'+_0x163099),_0x17ffd4['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class TabPanelView extends _0x268b55{['children'];constructor(_0x1f0d4b,_0x3d74f3={}){super(_0x1f0d4b);const _0x5d2a01=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',..._0x5be7db(_0x3d74f3['class']||[]),_0x5d2a01['to']('class'),_0x5d2a01['if']('isVisible','ck-hidden',_0xe03693=>!_0xe03693)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class AITabsView extends _0x268b55{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x32d2ee,_0x38b0f4={}){super(_0x32d2ee),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x38b0f4['side']||'top'),this['set']('isMaximized',!0x1);const _0x1d0fc2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x5be7db(_0x38b0f4['class']||[]),_0x1d0fc2['to']('side',_0x8bc10a=>'ck-tabs_'+_0x8bc10a),_0x1d0fc2['to']('class'),_0x1d0fc2['to']('isMaximized',_0x3d8487=>_0x3d8487?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x1d0fc2['to']('side',_0x327700=>'ck-tabs__buttons-container_'+_0x327700)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x1d0fc2['to']('side',_0x3b2619=>'ck-tabs__panels-container_'+_0x3b2619)]},'children':this['panelViews']},..._0x5be7db(_0x38b0f4['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x2173de){const _0x125d06=this['_tabs']['get'](_0x2173de);return _0x125d06||null;}['addTab'](_0x592e25){const _0x1b3159=this['_setupButton']({'id':_0x592e25['id'],'label':_0x592e25['buttonLabel'],'icon':_0x592e25['buttonIcon'],'order':_0x592e25['order']}),_0xa98eef=new TabPanelView(this['locale']);return _0xa98eef['render'](),_0x592e25['content']&&_0xa98eef['children']['add'](_0x592e25['content']),this['panelViews']['add'](_0xa98eef),this['_tabs']['set'](_0x592e25['id'],{'button':_0x1b3159,'panel':_0xa98eef,'order':void 0x0!==_0x592e25['order']?_0x592e25['order']:null}),this['fire']('addTab:'+_0x592e25['id'],{'id':_0x592e25['id'],'button':_0x1b3159,'panel':_0xa98eef}),null===this['activeTab']?this['activateTab'](_0x592e25['id']):this['_hidePanel'](_0x592e25['id']),{'button':_0x1b3159,'panel':_0xa98eef};}['activateTab'](_0x1958cb){if(null!==_0x1958cb&&!this['getTab'](_0x1958cb))throw new _0x1976e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x1958cb});this['activeTab']!==_0x1958cb&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x1958cb,_0x1958cb&&this['_showPanel'](_0x1958cb),this['fire']('activateTab:'+_0x1958cb,_0x1958cb));}['showTab'](_0x3d5b29){if(!this['getTab'](_0x3d5b29))throw new _0x1976e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x3d5b29});this['_showPanel'](_0x3d5b29),this['_showButton'](_0x3d5b29),this['fire']('show:'+_0x3d5b29,_0x3d5b29);}['hideTab'](_0x552910){if(!this['getTab'](_0x552910))throw new _0x1976e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x552910});const _0x43fa5c=this['activeTab'];this['_hidePanel'](_0x552910),this['_hideButton'](_0x552910);const _0x1cd5ad=this['getTabIds']();_0x43fa5c===_0x552910&&_0x1cd5ad['length']>0x1&&this['activateTab'](_0x1cd5ad['find'](_0x517a5b=>_0x517a5b!==_0x552910)),this['fire']('hide:'+_0x552910,_0x552910);}['_getPanel'](_0x2728d5){const _0x55d52a=this['_tabs']['get'](_0x2728d5);return _0x55d52a?_0x55d52a['panel']:null;}['_showPanel'](_0x42c660){null!==this['activeTab']&&this['activeTab']!==_0x42c660||this['_getPanel'](_0x42c660)['show']();}['_hidePanel'](_0x4ae2ec){const _0x19c191=this['_getPanel'](_0x4ae2ec);_0x19c191['isVisible']&&(this['activeTab']===_0x4ae2ec&&(this['activeTab']=null),_0x19c191['hide']());}['_getButton'](_0x1c63a1){const _0x4ae0fb=this['_tabs']['get'](_0x1c63a1);return _0x4ae0fb?_0x4ae0fb['button']:null;}['_showButton'](_0x53d414){this['_getButton'](_0x53d414)['show']();}['_hideButton'](_0x361d40){this['_getButton'](_0x361d40)['hide']();}['_setupButton'](_0x4d7880){const _0x853129=new TabButtonView(this['locale'],{'side':this['side']}),_0x3b00af=this['buttonViews'];if(_0x853129['set']({'label':_0x4d7880['label'],'icon':_0x4d7880['icon'],'tooltip':!0x0,'withText':!0x0}),_0x853129['bind']('isOn')['to'](this,'activeTab',_0x519c96=>_0x519c96===_0x4d7880['id']),_0x853129['bind']('side')['to'](this,'side'),_0x4d7880['order']){const _0x4c8493=[...this['_tabs']]['reduce']((_0x595aa9,_0x3f186e)=>{const _0x3c0d83=_0x3f186e[0x0],{order:_0x36927f}=_0x3f186e[0x1];return!_0x36927f||_0x36927f>_0x4d7880['order']?_0x595aa9:_0x36927f>=_0x595aa9['order']?{'id':_0x3c0d83,'order':_0x36927f}:_0x595aa9;},{'id':'','order':0x0}),_0x3a7ff1=_0x3b00af['getIndex'](this['_getButton'](_0x4c8493['id']));_0x3b00af['add'](_0x853129,_0x3a7ff1+0x1);}else _0x3b00af['add'](_0x853129);return _0x853129['on']('execute',()=>{this['activateTab'](_0x4d7880['id']);}),_0x853129;}}const oo=['overlay','sidebar','custom'],ao=['left','right'];class AITabsMainView extends AITabsView{constructor(_0x8057d1,_0x1c8790={}){super(_0x8057d1,_0x1c8790),this['set']('type',_0x1c8790['type']||'sidebar'),this['set']('side',_0x1c8790['side']||'right'),this['set']('isVisible',_0x1c8790['visibleByDefault']??!0x0);const _0x335045=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x335045['if']('type','ck-ai-tabs__overlay',_0x49d9f4=>'overlay'===_0x49d9f4),_0x335045['if']('type','ck-ai-tabs__sidebar',_0x304a2e=>'sidebar'===_0x304a2e),_0x335045['if']('isVisible','ck-hidden',_0x17dfc6=>!_0x17dfc6)]}}),this['buttonViews']['on']('add',(_0x1b1e9a,_0x2f08a6)=>{_0x2f08a6['set']('withText',!0x1);});}}class AITabs extends _0x90c2d8{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5046d4){super(_0x5046d4);const _0x2a96de=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x2a96de)throw new _0x1976e8('ai-tabs-configuration-not-found');if(void 0x0!==_0x2a96de['showResizeButton']&&(this['showResizeButton']=_0x2a96de['showResizeButton']),'sidebar'!==_0x2a96de['type']&&'overlay'!==_0x2a96de['type']||_0x2a96de['side']&&(this['side']=_0x2a96de['side']),'sidebar'===_0x2a96de['type']){if(this['container']=_0x2a96de['element'],this['set']('type','sidebar'),!this['container'])throw new _0x1976e8('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x2a96de['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new AITabsMainView(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x2a96de['visibleByDefault']||_0x2a96de['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 _0x2f9368&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x511879){if(_0x511879&&this['type']!==_0x511879){if(!oo['includes'](_0x511879))throw new _0x1976e8('ai-tabs-unsupported-ui-type');this['type']=_0x511879;}}['switchSide'](_0x514eed){if(_0x514eed&&this['side']!==_0x514eed){if(!ao['includes'](_0x514eed))throw new _0x1976e8('ai-tabs-unsupported-ui-side');this['side']=_0x514eed;}}['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 ParseError extends Error{constructor(_0x33e522,_0x562913){super(_0x33e522),this['name']='ParseError',this['type']=_0x562913['type'],this['field']=_0x562913['field'],this['value']=_0x562913['value'],this['line']=_0x562913['line'];}}function co(_0x479fc2){}function lo(_0x4d66cb){if('function'==typeof _0x4d66cb)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x61d567=co,onError:_0x24d0a5=co,onRetry:_0x136046=co,onComment:_0x43a7bc}=_0x4d66cb;let _0x3c89da,_0x21b774='',_0x362eac=!0x0,_0x1ba82b='',_0xebfe2c='';function _0x18a4a0(_0x50ff8c){if(''===_0x50ff8c)return _0x1ba82b['length']>0x0&&_0x61d567({'id':_0x3c89da,'event':_0xebfe2c||void 0x0,'data':_0x1ba82b['endsWith']('\x0a')?_0x1ba82b['slice'](0x0,-0x1):_0x1ba82b}),_0x3c89da=void 0x0,_0x1ba82b='',void(_0xebfe2c='');if(_0x50ff8c['startsWith'](':'))return void(_0x43a7bc&&_0x43a7bc(_0x50ff8c['slice'](_0x50ff8c['startsWith'](':\x20')?0x2:0x1)));const _0x490410=_0x50ff8c['indexOf'](':');if(-0x1!==_0x490410){const _0x299b36=_0x50ff8c['slice'](0x0,_0x490410),_0x159452='\x20'===_0x50ff8c[_0x490410+0x1]?0x2:0x1;return void _0x2b8c4e(_0x299b36,_0x50ff8c['slice'](_0x490410+_0x159452),_0x50ff8c);}_0x2b8c4e(_0x50ff8c,'',_0x50ff8c);}function _0x2b8c4e(_0x1fbd24,_0x2c94bc,_0x311071){switch(_0x1fbd24){case'event':_0xebfe2c=_0x2c94bc;break;case'data':_0x1ba82b=''+_0x1ba82b+_0x2c94bc+'\x0a';break;case'id':_0x3c89da=_0x2c94bc['includes']('\x00')?void 0x0:_0x2c94bc;break;case'retry':/^\d+$/['test'](_0x2c94bc)?_0x136046(parseInt(_0x2c94bc,0xa)):_0x24d0a5(new ParseError('Invalid\x20`retry`\x20value:\x20\x22'+_0x2c94bc+'\x22',{'type':'invalid-retry','value':_0x2c94bc,'line':_0x311071}));break;default:_0x24d0a5(new ParseError('Unknown\x20field\x20\x22'+(_0x1fbd24['length']>0x14?_0x1fbd24['slice'](0x0,0x14)+'…':_0x1fbd24)+'\x22',{'type':'unknown-field','field':_0x1fbd24,'value':_0x2c94bc,'line':_0x311071}));}}return{'feed':function(_0x571040){const _0x1af960=_0x362eac?_0x571040['replace'](/^\xEF\xBB\xBF/,''):_0x571040,[_0x700710,_0x4d81ba]=function(_0xca6f4e){const _0x417ab8=[];let _0x273b19='',_0x4da791=0x0;for(;_0x4da791<_0xca6f4e['length'];){const _0x52e0a9=_0xca6f4e['indexOf']('\x0d',_0x4da791),_0x5ad465=_0xca6f4e['indexOf']('\x0a',_0x4da791);let _0x371d5d=-0x1;if(-0x1!==_0x52e0a9&&-0x1!==_0x5ad465?_0x371d5d=Math['min'](_0x52e0a9,_0x5ad465):-0x1!==_0x52e0a9?_0x371d5d=_0x52e0a9:-0x1!==_0x5ad465&&(_0x371d5d=_0x5ad465),-0x1===_0x371d5d){_0x273b19=_0xca6f4e['slice'](_0x4da791);break;}{const _0x3ff699=_0xca6f4e['slice'](_0x4da791,_0x371d5d);_0x417ab8['push'](_0x3ff699),_0x4da791=_0x371d5d+0x1,'\x0d'===_0xca6f4e[_0x4da791-0x1]&&'\x0a'===_0xca6f4e[_0x4da791]&&_0x4da791++;}}return[_0x417ab8,_0x273b19];}(''+_0x21b774+_0x1af960);for(const _0x3102df of _0x700710)_0x18a4a0(_0x3102df);_0x21b774=_0x4d81ba,_0x362eac=!0x1;},'reset':function(_0x5574a8={}){_0x21b774&&_0x5574a8['consume']&&_0x18a4a0(_0x21b774),_0x362eac=!0x0,_0x3c89da=void 0x0,_0x1ba82b='',_0xebfe2c='',_0x21b774='';}};}class AIConnector extends _0x90c2d8{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd608f5){super(_0xd608f5),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 _0x12d79b=this['context']['plugins']['get']('CloudServices');if(!_0x12d79b['token'])throw new _0x1976e8('ai-missing-token',this);this['_token']=_0x12d79b['token'];}['startConversation'](_0x5afd00,_0x452160){const _0x241c59=this['_sendApiRequest']('/conversations','POST',{'id':_0x5afd00,'group':_0x452160});return{'getConversation':async()=>(await _0x241c59['request'])['json'](),'abortController':_0x241c59['abortController']};}['queryAssistant']({message:_0x52eed6,conversationId:_0x4c2cff,parts:_0x38e3c3,capabilities:_0x1782fe,model:_0x4dba58,attributes:_0x8fe5a0}){const _0xee8862={'prompt':_0x52eed6,'content':_0x38e3c3,'model':_0x4dba58,..._0x1782fe&&{'capabilities':_0x1782fe},..._0x8fe5a0&&{'attributes':_0x8fe5a0}},_0x144f01=this['_sendApiRequest']('/conversations/'+_0x4c2cff+'/messages','POST',_0xee8862);return{'getStream':async()=>{const _0x410371=(await _0x144f01['request'])['body'];return this['_getStreamReader'](_0x410371);},'abortController':_0x144f01['abortController']};}['executeCustomAction']({content:_0x42e07a,message:_0x3a482b,model:_0x26dae4,outputFormat:_0x3dbd17}){const _0x4cb34b={'content':[{'type':'text','content':_0x42e07a}],'prompt':_0x3a482b,'model':_0x26dae4,'outputFormat':_0x3dbd17},_0x15614b=this['_sendApiRequest']('/actions/custom/calls','POST',_0x4cb34b);return{'getStream':async()=>{const _0x151381=(await _0x15614b['request'])['body'];return this['_getStreamReader'](_0x151381);},'abortController':_0x15614b['abortController']};}['executeAction']({actionName:_0xf80c1f,content:_0x21ad5b,args:_0x1d4617}){const _0x519799={'content':[{'type':'text','content':_0x21ad5b}],'args':_0x1d4617},_0x2d37f7=this['_sendApiRequest']('/actions/system/'+_0xf80c1f+'/calls','POST',_0x519799);return{'getStream':async()=>{const _0x33a55e=(await _0x2d37f7['request'])['body'];return this['_getStreamReader'](_0x33a55e);},'abortController':_0x2d37f7['abortController']};}['uploadFile'](_0x2d4b12,_0x74a07b,_0x2f8e11){const _0x3f1bda=new FormData();_0x3f1bda['append']('file',_0x74a07b,_0x74a07b['name']),_0x2f8e11&&_0x3f1bda['append']('attributes',JSON['stringify'](_0x2f8e11));const _0x5c47e0=this['_sendApiRequest']('/conversations/'+_0x2d4b12+'/files','POST',_0x3f1bda);return{'getId':async()=>(await _0x5c47e0['request'])['json'](),'abortController':_0x5c47e0['abortController']};}['fetchDocument'](_0x2efd5a,_0x5bf809){const _0x37c02b=this['_sendApiRequest']('/conversations/'+_0x2efd5a+'/documents/'+_0x5bf809,'GET');return{'getDocument':async()=>(await _0x37c02b['request'])['json'](),'abortController':_0x37c02b['abortController']};}['uploadDocument'](_0x3939e2,_0x5c30f3,_0x23de0e){const _0x59de02={'content':_0x5c30f3};_0x23de0e&&(_0x59de02['attributes']=_0x23de0e);const _0x5d02db=this['_sendApiRequest']('/conversations/'+_0x3939e2+'/documents','POST',_0x59de02);return{'getId':async()=>(await _0x5d02db['request'])['json'](),'abortController':_0x5d02db['abortController']};}['fetchConversations'](_0x210aee,_0x8cd8b8={}){const _0x6060a8=new URLSearchParams();_0x6060a8['append']('group',_0x210aee),_0x6060a8['append']('excludeEmpty',!0x1!==_0x8cd8b8['excludeEmpty']?'true':'false'),_0x6060a8['append']('limit',_0x8cd8b8['limit']?_0x8cd8b8['limit']['toString']():'100'),_0x6060a8['append']('sortBy',_0x8cd8b8['sortBy']?_0x8cd8b8['sortBy']:'createdAt'),_0x6060a8['append']('order',_0x8cd8b8['order']?_0x8cd8b8['order']:'desc');const _0x1e4c2a=this['_sendApiRequest']('/conversations?'+_0x6060a8['toString'](),'GET');return{'getConversations':async()=>{const _0x586588=await _0x1e4c2a['request'];return(await _0x586588['json']())['items'];},'abortController':_0x1e4c2a['abortController']};}['deleteConversation'](_0x35c99c){const _0x275e67=this['_sendApiRequest']('/conversations/'+_0x35c99c,'DELETE');return{'execute':async()=>{await _0x275e67['request'];},'abortController':_0x275e67['abortController']};}['updateConversation'](_0x19a227,_0x492593){const _0x135606=this['_sendApiRequest']('/conversations/'+_0x19a227,'PATCH',_0x492593);return{'getResult':async()=>(await _0x135606['request'],_0x492593),'abortController':_0x135606['abortController']};}['fetchConversation'](_0x5c8e56){const _0x1a2591=this['_sendApiRequest']('/conversations/'+_0x5c8e56,'GET');return{'getConversation':async()=>(await _0x1a2591['request'])['json'](),'abortController':_0x1a2591['abortController']};}['fetchConversationMessages'](_0x58c7d6){const _0x254810=this['_sendApiRequest']('/conversations/'+_0x58c7d6+'/messages','GET');return{'getMessages':async()=>{const _0x48696f=await _0x254810['request'];return(await _0x48696f['json']())['items'];},'abortController':_0x254810['abortController']};}['uploadUrl'](_0x2f080a,_0x43b8af,_0x3cb7c8){const _0x56f8a5=this['_sendApiRequest']('/conversations/'+_0x2f080a+'/web-resources','POST',{'url':_0x43b8af,'attributes':_0x3cb7c8});return{'getId':async()=>(await _0x56f8a5['request'])['json'](),'abortController':_0x56f8a5['abortController']};}['getModels'](_0x277dd8='en'){const _0x83b228=new URLSearchParams();_0x83b228['append']('language',_0x277dd8);const _0x120d14='/models/1?'+_0x83b228['toString'](),_0x2d06e8=this['_sendApiRequest'](_0x120d14,'GET');return{'list':async()=>await(await _0x2d06e8['request'])['json'](),'abortController':_0x2d06e8['abortController']};}['deleteFile'](_0x37e7de,_0x46b7de){const _0x24ed3b=this['_sendApiRequest']('/conversations/'+_0x37e7de+'/files/'+_0x46b7de,'DELETE');return{'execute':async()=>{await _0x24ed3b['request'];},'abortController':_0x24ed3b['abortController']};}['deleteDocument'](_0x1653b7,_0x4dc85a){const _0xa88994=this['_sendApiRequest']('/conversations/'+_0x1653b7+'/documents/'+_0x4dc85a,'DELETE');return{'execute':async()=>{await _0xa88994['request'];},'abortController':_0xa88994['abortController']};}['deleteWebResource'](_0x27f269,_0x323b5a){const _0x1c0cc6=this['_sendApiRequest']('/conversations/'+_0x27f269+'/web-resources/'+_0x323b5a,'DELETE');return{'execute':async()=>{await _0x1c0cc6['request'];},'abortController':_0x1c0cc6['abortController']};}['callSystemReview']({reviewName:_0x3b3275,content:_0x463827,args:_0x4b7537}){const _0x4eb785=this['_sendApiRequest']('/reviews/system/'+_0x3b3275+'/calls','POST',{'content':[{'type':'text','content':_0x463827}],'args':_0x4b7537});return{'getStream':async()=>{const _0x579988=(await _0x4eb785['request'])['body'];return this['_getStreamReader'](_0x579988);},'abortController':_0x4eb785['abortController']};}['callCustomReview']({content:_0x237f45,prompt:_0x4bbd68,model:_0x22d536}){const _0x392c17=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x237f45}],'prompt':_0x4bbd68,'model':_0x22d536});return{'getStream':async()=>{const _0x2c1010=(await _0x392c17['request'])['body'];return this['_getStreamReader'](_0x2c1010);},'abortController':_0x392c17['abortController']};}['upsertAIChatRating'](_0x57130a,_0x43dc41,_0x253230){const _0x243677=this['_sendApiRequest']('/conversations/'+_0x57130a+'/messages/'+_0x43dc41+'/ratings','PUT',{'positiveCount':_0x253230['positiveCount'],'totalCount':_0x253230['totalCount'],'modificationId':_0x253230['modificationId']});return{'execute':async()=>{await _0x243677['request'];},'abortController':_0x243677['abortController']};}['upsertAIActionRating'](_0x2b9534,_0x510eaa,_0x1ef27f){const _0x335754=this['_sendApiRequest']('/actions/system/'+_0x2b9534+'/calls/'+_0x510eaa+'/ratings','PUT',{'positiveCount':_0x1ef27f['positiveCount'],'totalCount':_0x1ef27f['totalCount']});return{'execute':async()=>{await _0x335754['request'];},'abortController':_0x335754['abortController']};}['upsertCustomAIActionRating'](_0x5dedf7,_0x164fc7){const _0x1ec3bd=this['_sendApiRequest']('/actions/custom/calls/'+_0x5dedf7+'/ratings','PUT',{'positiveCount':_0x164fc7['positiveCount'],'totalCount':_0x164fc7['totalCount']});return{'execute':async()=>{await _0x1ec3bd['request'];},'abortController':_0x1ec3bd['abortController']};}['upsertAIReviewRating'](_0x5121ab,_0x3bb9db,_0x504a57,_0x39611b){const _0x26d804=this['_sendApiRequest']('/reviews/system/'+_0x5121ab+'/calls/'+_0x3bb9db+'/ratings','PUT',{'positiveCount':_0x504a57['positiveCount'],'totalCount':_0x504a57['totalCount'],'dataId':_0x39611b});return{'execute':async()=>{await _0x26d804['request'];},'abortController':_0x26d804['abortController']};}['upsertCustomAIReviewRating'](_0x3bd266,_0x581ef8,_0x40633c){const _0x2985bb=this['_sendApiRequest']('/reviews/custom/calls/'+_0x3bd266+'/ratings','PUT',{'positiveCount':_0x581ef8['positiveCount'],'totalCount':_0x581ef8['totalCount'],'dataId':_0x40633c});return{'execute':async()=>{await _0x2985bb['request'];},'abortController':_0x2985bb['abortController']};}['_sendApiRequest'](_0x1eb022,_0x21c5e6,_0x46e5dd){const _0x2df8e6=new AbortController(),_0x4b06e3=_0x46e5dd instanceof FormData,_0xdd7eee={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x46e5dd&&!_0x4b06e3&&(_0xdd7eee['Content-Type']='application/json');const _0x4343ba={'method':_0x21c5e6,'headers':_0xdd7eee,'signal':_0x2df8e6['signal']};_0x46e5dd&&(_0x4343ba['body']=_0x4b06e3?_0x46e5dd:JSON['stringify'](_0x46e5dd));const _0x3da1f4=fetch(''+this['_apiUrl']+_0x1eb022,_0x4343ba)['catch'](_0x1a7a4b=>{this['_handleError'](_0x1a7a4b);})['then'](_0x488e0c=>_0x488e0c['ok']?_0x488e0c:_0x488e0c['json']()['then'](_0x347ada=>{throw{'url':this['_apiUrl'],'path':_0x1eb022,'method':_0x21c5e6,'body':_0x46e5dd,'status':(_0x488e0c||{})['status'],'statusText':(_0x488e0c||{})['statusText'],'code':_0x347ada['code'],'message':_0x347ada['message'],'traceId':_0x347ada['traceId']};}));return{'request':_0x3da1f4,'abortController':_0x2df8e6};}async*['_getStreamReader'](_0x2f19f0){const _0x538074=[],_0x12b732=_0x2f19f0['getReader'](),_0x18174e=lo({'onError':_0x282a4c=>{this['_handleError'](_0x282a4c);},'onEvent':_0x1a6309=>{_0x1a6309['data']=JSON['parse'](_0x1a6309['data']),_0x538074['push'](_0x1a6309);}});try{let _0x2b895a=!0x1;for(;!_0x2b895a;){const {done:_0x307c6e,value:_0x2c48a3}=await _0x12b732['read']();_0x307c6e&&(_0x2b895a=!0x0),_0x18174e['feed'](this['_decoder']['decode'](_0x2c48a3,{'stream':!0x0})),yield*_0x538074,_0x538074['length']=0x0;}}catch(_0x2610ff){this['_handleError'](_0x2610ff);}finally{_0x12b732['releaseLock'](),_0x18174e['reset']();}}['_handleError'](_0x1e1cfa){if(_0x1e1cfa instanceof _0x1976e8)throw _0x1e1cfa;if(_0x1e1cfa instanceof Error&&'AbortError'===_0x1e1cfa['name'])throw new _0x1976e8('ai-request-aborted',this,{'originalError':_0x1e1cfa});throw new _0x1976e8('ai-request-failed',this,{'originalError':_0x1e1cfa});}}function ho(_0x2403cd,_0xe6b23d,_0xb9cad5){const t=_0x2403cd['t'];switch(_0xe6b23d){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'},_0xb9cad5);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.'},_0xb9cad5);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.'},_0xb9cad5);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.'},_0xb9cad5);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'},_0xb9cad5);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0xb9cad5);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'},_0xb9cad5);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.'},_0xb9cad5);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.'},_0xb9cad5);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.'},_0xb9cad5);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.'},_0xb9cad5);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'},_0xb9cad5);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.'},_0xb9cad5);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 _0xe6b23d;}}function uo(_0x36e0e8,_0xed2a25){const _0xc5f2ec=new _0x13bcd9(_0x36e0e8),_0x2543b0=ho(_0x36e0e8,'AI_TABS_LABEL_MINIMIZE'),_0x4e91c7=ho(_0x36e0e8,'AI_TABS_LABEL_MAXIMIZE');return _0xc5f2ec['set']({'withText':!0x1,'icon':_0x5c94d6,'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0xc5f2ec['bind']('label')['to'](_0xed2a25,'isMaximized',_0x2bddd0=>_0x2bddd0?_0x2543b0:_0x4e91c7),_0xc5f2ec['bind']('icon')['to'](_0xed2a25,'isMaximized',_0x5d563c=>_0x5d563c?_0x37f7bd:_0x5c94d6),_0xc5f2ec['bind']('isOn')['to'](_0xed2a25,'isMaximized'),_0xc5f2ec['on']('execute',()=>{_0xed2a25['fire']('resizeTabs');}),_0xc5f2ec;}const fo=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'](_0xf71686=>_0xf71686['charCodeAt'](0x0))),mo=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x186352=>_0x186352['charCodeAt'](0x0)));var go;const po=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]]),Oo=null!==(go=String['fromCodePoint'])&&void 0x0!==go?go:function(_0x54b050){let _0x4f0eab='';return _0x54b050>0xffff&&(_0x54b050-=0x10000,_0x4f0eab+=String['fromCharCode'](_0x54b050>>>0xa&0x3ff|0xd800),_0x54b050=0xdc00|0x3ff&_0x54b050),_0x4f0eab+=String['fromCharCode'](_0x54b050),_0x4f0eab;};var wo;!function(_0x314e6b){_0x314e6b[_0x314e6b['NUM']=0x23]='NUM',_0x314e6b[_0x314e6b['SEMI']=0x3b]='SEMI',_0x314e6b[_0x314e6b['EQUALS']=0x3d]='EQUALS',_0x314e6b[_0x314e6b['ZERO']=0x30]='ZERO',_0x314e6b[_0x314e6b['NINE']=0x39]='NINE',_0x314e6b[_0x314e6b['LOWER_A']=0x61]='LOWER_A',_0x314e6b[_0x314e6b['LOWER_F']=0x66]='LOWER_F',_0x314e6b[_0x314e6b['LOWER_X']=0x78]='LOWER_X',_0x314e6b[_0x314e6b['LOWER_Z']=0x7a]='LOWER_Z',_0x314e6b[_0x314e6b['UPPER_A']=0x41]='UPPER_A',_0x314e6b[_0x314e6b['UPPER_F']=0x46]='UPPER_F',_0x314e6b[_0x314e6b['UPPER_Z']=0x5a]='UPPER_Z';}(wo||(wo={}));var bo,yo,_o,vo,To,Eo;function Ao(_0xab89d2){return _0xab89d2>=wo['ZERO']&&_0xab89d2<=wo['NINE'];}function So(_0x5ec130){return _0x5ec130>=wo['UPPER_A']&&_0x5ec130<=wo['UPPER_F']||_0x5ec130>=wo['LOWER_A']&&_0x5ec130<=wo['LOWER_F'];}function Io(_0x376815){return _0x376815===wo['EQUALS']||function(_0x5bea1d){return _0x5bea1d>=wo['UPPER_A']&&_0x5bea1d<=wo['UPPER_Z']||_0x5bea1d>=wo['LOWER_A']&&_0x5bea1d<=wo['LOWER_Z']||Ao(_0x5bea1d);}(_0x376815);}!function(_0x51e123){_0x51e123[_0x51e123['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x51e123[_0x51e123['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x51e123[_0x51e123['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(bo||(bo={})),function(_0x5e8ed5){_0x5e8ed5[_0x5e8ed5['EntityStart']=0x0]='EntityStart',_0x5e8ed5[_0x5e8ed5['NumericStart']=0x1]='NumericStart',_0x5e8ed5[_0x5e8ed5['NumericDecimal']=0x2]='NumericDecimal',_0x5e8ed5[_0x5e8ed5['NumericHex']=0x3]='NumericHex',_0x5e8ed5[_0x5e8ed5['NamedEntity']=0x4]='NamedEntity';}(yo||(yo={})),function(_0x2d9857){_0x2d9857[_0x2d9857['Legacy']=0x0]='Legacy',_0x2d9857[_0x2d9857['Strict']=0x1]='Strict',_0x2d9857[_0x2d9857['Attribute']=0x2]='Attribute';}(_o||(_o={}));class EntityDecoder{constructor(_0x215754,_0x14f281,_0xa2a9b5){this['decodeTree']=_0x215754,this['emitCodePoint']=_0x14f281,this['errors']=_0xa2a9b5,this['state']=yo['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_o['Strict'];}['startEntity'](_0x46c8ce){this['decodeMode']=_0x46c8ce,this['state']=yo['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x55230d,_0x50855){switch(this['state']){case yo['EntityStart']:return _0x55230d['charCodeAt'](_0x50855)===wo['NUM']?(this['state']=yo['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x55230d,_0x50855+0x1)):(this['state']=yo['NamedEntity'],this['stateNamedEntity'](_0x55230d,_0x50855));case yo['NumericStart']:return this['stateNumericStart'](_0x55230d,_0x50855);case yo['NumericDecimal']:return this['stateNumericDecimal'](_0x55230d,_0x50855);case yo['NumericHex']:return this['stateNumericHex'](_0x55230d,_0x50855);case yo['NamedEntity']:return this['stateNamedEntity'](_0x55230d,_0x50855);}}['stateNumericStart'](_0x289c5f,_0x3bf4d5){return _0x3bf4d5>=_0x289c5f['length']?-0x1:(0x20|_0x289c5f['charCodeAt'](_0x3bf4d5))===wo['LOWER_X']?(this['state']=yo['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x289c5f,_0x3bf4d5+0x1)):(this['state']=yo['NumericDecimal'],this['stateNumericDecimal'](_0x289c5f,_0x3bf4d5));}['addToNumericResult'](_0x4b546a,_0x2df89a,_0x20c369,_0xa068dc){if(_0x2df89a!==_0x20c369){const _0x49f4c=_0x20c369-_0x2df89a;this['result']=this['result']*Math['pow'](_0xa068dc,_0x49f4c)+Number['parseInt'](_0x4b546a['substr'](_0x2df89a,_0x49f4c),_0xa068dc),this['consumed']+=_0x49f4c;}}['stateNumericHex'](_0x15c2c6,_0x5cbed5){const _0xe3c10c=_0x5cbed5;for(;_0x5cbed5<_0x15c2c6['length'];){const _0x21fa07=_0x15c2c6['charCodeAt'](_0x5cbed5);if(!Ao(_0x21fa07)&&!So(_0x21fa07))return this['addToNumericResult'](_0x15c2c6,_0xe3c10c,_0x5cbed5,0x10),this['emitNumericEntity'](_0x21fa07,0x3);_0x5cbed5+=0x1;}return this['addToNumericResult'](_0x15c2c6,_0xe3c10c,_0x5cbed5,0x10),-0x1;}['stateNumericDecimal'](_0x55a39d,_0x12de36){const _0x3c1e5c=_0x12de36;for(;_0x12de36<_0x55a39d['length'];){const _0x4bf113=_0x55a39d['charCodeAt'](_0x12de36);if(!Ao(_0x4bf113))return this['addToNumericResult'](_0x55a39d,_0x3c1e5c,_0x12de36,0xa),this['emitNumericEntity'](_0x4bf113,0x2);_0x12de36+=0x1;}return this['addToNumericResult'](_0x55a39d,_0x3c1e5c,_0x12de36,0xa),-0x1;}['emitNumericEntity'](_0x40a298,_0x435061){var _0x48ef0b;if(this['consumed']<=_0x435061)return null===(_0x48ef0b=this['errors'])||void 0x0===_0x48ef0b||_0x48ef0b['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x40a298===wo['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_o['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x2c067d){var _0x3964c8;return _0x2c067d>=0xd800&&_0x2c067d<=0xdfff||_0x2c067d>0x10ffff?0xfffd:null!==(_0x3964c8=po['get'](_0x2c067d))&&void 0x0!==_0x3964c8?_0x3964c8:_0x2c067d;}(this['result']),this['consumed']),this['errors']&&(_0x40a298!==wo['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x4c1621,_0x3e459a){const {decodeTree:_0x3eafa8}=this;let _0x184643=_0x3eafa8[this['treeIndex']],_0x825dfb=(_0x184643&bo['VALUE_LENGTH'])>>0xe;for(;_0x3e459a<_0x4c1621['length'];_0x3e459a++,this['excess']++){const _0x26a2b9=_0x4c1621['charCodeAt'](_0x3e459a);if(this['treeIndex']=Co(_0x3eafa8,_0x184643,this['treeIndex']+Math['max'](0x1,_0x825dfb),_0x26a2b9),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_o['Attribute']&&(0x0===_0x825dfb||Io(_0x26a2b9))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x184643=_0x3eafa8[this['treeIndex']],_0x825dfb=(_0x184643&bo['VALUE_LENGTH'])>>0xe,0x0!==_0x825dfb){if(_0x26a2b9===wo['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x825dfb,this['consumed']+this['excess']);this['decodeMode']!==_o['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x43fe81;const {result:_0x53438c,decodeTree:_0x51dc4c}=this,_0x27c1ec=(_0x51dc4c[_0x53438c]&bo['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x53438c,_0x27c1ec,this['consumed']),null===(_0x43fe81=this['errors'])||void 0x0===_0x43fe81||_0x43fe81['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x55d4e8,_0x105706,_0x284e79){const {decodeTree:_0xcfdb36}=this;return this['emitCodePoint'](0x1===_0x105706?_0xcfdb36[_0x55d4e8]&~bo['VALUE_LENGTH']:_0xcfdb36[_0x55d4e8+0x1],_0x284e79),0x3===_0x105706&&this['emitCodePoint'](_0xcfdb36[_0x55d4e8+0x2],_0x284e79),_0x284e79;}['end'](){var _0xf5e1a0;switch(this['state']){case yo['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_o['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case yo['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case yo['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case yo['NumericStart']:return null===(_0xf5e1a0=this['errors'])||void 0x0===_0xf5e1a0||_0xf5e1a0['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case yo['EntityStart']:return 0x0;}}}function Co(_0x3c95b0,_0x59e4b5,_0x2baf1f,_0x30a4da){const _0x13f62f=(_0x59e4b5&bo['BRANCH_LENGTH'])>>0x7,_0x19c964=_0x59e4b5&bo['JUMP_TABLE'];if(0x0===_0x13f62f)return 0x0!==_0x19c964&&_0x30a4da===_0x19c964?_0x2baf1f:-0x1;if(_0x19c964){const _0x3e6e91=_0x30a4da-_0x19c964;return _0x3e6e91<0x0||_0x3e6e91>=_0x13f62f?-0x1:_0x3c95b0[_0x2baf1f+_0x3e6e91]-0x1;}let _0x53f525=_0x2baf1f,_0x1bb40=_0x53f525+_0x13f62f-0x1;for(;_0x53f525<=_0x1bb40;){const _0x3076c1=_0x53f525+_0x1bb40>>>0x1,_0x4acfe7=_0x3c95b0[_0x3076c1];if(_0x4acfe7<_0x30a4da)_0x53f525=_0x3076c1+0x1;else{if(!(_0x4acfe7>_0x30a4da))return _0x3c95b0[_0x3076c1+_0x13f62f];_0x1bb40=_0x3076c1-0x1;}}return-0x1;}function ko(_0x5f3be3){return _0x5f3be3===vo['Space']||_0x5f3be3===vo['NewLine']||_0x5f3be3===vo['Tab']||_0x5f3be3===vo['FormFeed']||_0x5f3be3===vo['CarriageReturn'];}function xo(_0x4063f8){return _0x4063f8===vo['Slash']||_0x4063f8===vo['Gt']||ko(_0x4063f8);}!function(_0x353765){_0x353765[_0x353765['Tab']=0x9]='Tab',_0x353765[_0x353765['NewLine']=0xa]='NewLine',_0x353765[_0x353765['FormFeed']=0xc]='FormFeed',_0x353765[_0x353765['CarriageReturn']=0xd]='CarriageReturn',_0x353765[_0x353765['Space']=0x20]='Space',_0x353765[_0x353765['ExclamationMark']=0x21]='ExclamationMark',_0x353765[_0x353765['Number']=0x23]='Number',_0x353765[_0x353765['Amp']=0x26]='Amp',_0x353765[_0x353765['SingleQuote']=0x27]='SingleQuote',_0x353765[_0x353765['DoubleQuote']=0x22]='DoubleQuote',_0x353765[_0x353765['Dash']=0x2d]='Dash',_0x353765[_0x353765['Slash']=0x2f]='Slash',_0x353765[_0x353765['Zero']=0x30]='Zero',_0x353765[_0x353765['Nine']=0x39]='Nine',_0x353765[_0x353765['Semi']=0x3b]='Semi',_0x353765[_0x353765['Lt']=0x3c]='Lt',_0x353765[_0x353765['Eq']=0x3d]='Eq',_0x353765[_0x353765['Gt']=0x3e]='Gt',_0x353765[_0x353765['Questionmark']=0x3f]='Questionmark',_0x353765[_0x353765['UpperA']=0x41]='UpperA',_0x353765[_0x353765['LowerA']=0x61]='LowerA',_0x353765[_0x353765['UpperF']=0x46]='UpperF',_0x353765[_0x353765['LowerF']=0x66]='LowerF',_0x353765[_0x353765['UpperZ']=0x5a]='UpperZ',_0x353765[_0x353765['LowerZ']=0x7a]='LowerZ',_0x353765[_0x353765['LowerX']=0x78]='LowerX',_0x353765[_0x353765['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(vo||(vo={})),function(_0x3ffbd8){_0x3ffbd8[_0x3ffbd8['Text']=0x1]='Text',_0x3ffbd8[_0x3ffbd8['BeforeTagName']=0x2]='BeforeTagName',_0x3ffbd8[_0x3ffbd8['InTagName']=0x3]='InTagName',_0x3ffbd8[_0x3ffbd8['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x3ffbd8[_0x3ffbd8['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x3ffbd8[_0x3ffbd8['InClosingTagName']=0x6]='InClosingTagName',_0x3ffbd8[_0x3ffbd8['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x3ffbd8[_0x3ffbd8['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x3ffbd8[_0x3ffbd8['InAttributeName']=0x9]='InAttributeName',_0x3ffbd8[_0x3ffbd8['AfterAttributeName']=0xa]='AfterAttributeName',_0x3ffbd8[_0x3ffbd8['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x3ffbd8[_0x3ffbd8['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x3ffbd8[_0x3ffbd8['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x3ffbd8[_0x3ffbd8['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x3ffbd8[_0x3ffbd8['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x3ffbd8[_0x3ffbd8['InDeclaration']=0x10]='InDeclaration',_0x3ffbd8[_0x3ffbd8['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x3ffbd8[_0x3ffbd8['BeforeComment']=0x12]='BeforeComment',_0x3ffbd8[_0x3ffbd8['CDATASequence']=0x13]='CDATASequence',_0x3ffbd8[_0x3ffbd8['InSpecialComment']=0x14]='InSpecialComment',_0x3ffbd8[_0x3ffbd8['InCommentLike']=0x15]='InCommentLike',_0x3ffbd8[_0x3ffbd8['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x3ffbd8[_0x3ffbd8['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x3ffbd8[_0x3ffbd8['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x3ffbd8[_0x3ffbd8['InSpecialTag']=0x19]='InSpecialTag',_0x3ffbd8[_0x3ffbd8['InEntity']=0x1a]='InEntity';}(To||(To={})),function(_0x5ba0d3){_0x5ba0d3[_0x5ba0d3['NoValue']=0x0]='NoValue',_0x5ba0d3[_0x5ba0d3['Unquoted']=0x1]='Unquoted',_0x5ba0d3[_0x5ba0d3['Single']=0x2]='Single',_0x5ba0d3[_0x5ba0d3['Double']=0x3]='Double';}(Eo||(Eo={}));const Ro={'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 Tokenizer{constructor({xmlMode:_0x1743ef=!0x1,decodeEntities:_0x511c70=!0x0},_0x51c686){this['cbs']=_0x51c686,this['state']=To['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=To['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x1743ef,this['decodeEntities']=_0x511c70,this['entityDecoder']=new EntityDecoder(_0x1743ef?mo:fo,(_0x12c241,_0x1aeb61)=>this['emitCodePoint'](_0x12c241,_0x1aeb61));}['reset'](){this['state']=To['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=To['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x4945e8){this['offset']+=this['buffer']['length'],this['buffer']=_0x4945e8,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'](_0x373376){_0x373376===vo['Lt']||!this['decodeEntities']&&this['fastForwardTo'](vo['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=To['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x373376===vo['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x2a254c){const _0x474695=this['sequenceIndex']===this['currentSequence']['length'];if(_0x474695?xo(_0x2a254c):(0x20|_0x2a254c)===this['currentSequence'][this['sequenceIndex']]){if(!_0x474695)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=To['InTagName'],this['stateInTagName'](_0x2a254c);}['stateInSpecialTag'](_0x209407){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x209407===vo['Gt']||ko(_0x209407)){const _0x391650=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x391650){const _0x29613e=this['index'];this['index']=_0x391650,this['cbs']['ontext'](this['sectionStart'],_0x391650),this['index']=_0x29613e;}return this['isSpecial']=!0x1,this['sectionStart']=_0x391650+0x2,void this['stateInClosingTagName'](_0x209407);}this['sequenceIndex']=0x0;}(0x20|_0x209407)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===Ro['TitleEnd']?this['decodeEntities']&&_0x209407===vo['Amp']&&this['startEntity']():this['fastForwardTo'](vo['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x209407===vo['Lt']);}['stateCDATASequence'](_0x469091){_0x469091===Ro['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===Ro['Cdata']['length']&&(this['state']=To['InCommentLike'],this['currentSequence']=Ro['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=To['InDeclaration'],this['stateInDeclaration'](_0x469091));}['fastForwardTo'](_0x4d3d9e){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x4d3d9e)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x171fbf){_0x171fbf===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===Ro['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']=To['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x171fbf!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x480ea9){return this['xmlMode']?!xo(_0x480ea9):function(_0x14acf2){return _0x14acf2>=vo['LowerA']&&_0x14acf2<=vo['LowerZ']||_0x14acf2>=vo['UpperA']&&_0x14acf2<=vo['UpperZ'];}(_0x480ea9);}['startSpecial'](_0x27d9cf,_0x287c8d){this['isSpecial']=!0x0,this['currentSequence']=_0x27d9cf,this['sequenceIndex']=_0x287c8d,this['state']=To['SpecialStartSequence'];}['stateBeforeTagName'](_0x242550){if(_0x242550===vo['ExclamationMark'])this['state']=To['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x242550===vo['Questionmark'])this['state']=To['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x242550)){const _0xef49c0=0x20|_0x242550;this['sectionStart']=this['index'],this['xmlMode']?this['state']=To['InTagName']:_0xef49c0===Ro['ScriptEnd'][0x2]?this['state']=To['BeforeSpecialS']:_0xef49c0===Ro['TitleEnd'][0x2]||_0xef49c0===Ro['XmpEnd'][0x2]?this['state']=To['BeforeSpecialT']:this['state']=To['InTagName'];}else _0x242550===vo['Slash']?this['state']=To['BeforeClosingTagName']:(this['state']=To['Text'],this['stateText'](_0x242550));}}}['stateInTagName'](_0x4443bd){xo(_0x4443bd)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4443bd));}['stateBeforeClosingTagName'](_0x35d6cb){ko(_0x35d6cb)||(_0x35d6cb===vo['Gt']?this['state']=To['Text']:(this['state']=this['isTagStartChar'](_0x35d6cb)?To['InClosingTagName']:To['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x2d5612){(_0x2d5612===vo['Gt']||ko(_0x2d5612))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=To['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x2d5612));}['stateAfterClosingTagName'](_0x7a2dab){(_0x7a2dab===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x445924){_0x445924===vo['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=To['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=To['Text'],this['sectionStart']=this['index']+0x1):_0x445924===vo['Slash']?this['state']=To['InSelfClosingTag']:ko(_0x445924)||(this['state']=To['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x1633e3){_0x1633e3===vo['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):ko(_0x1633e3)||(this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1633e3));}['stateInAttributeName'](_0x6ed42e){(_0x6ed42e===vo['Eq']||xo(_0x6ed42e))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=To['AfterAttributeName'],this['stateAfterAttributeName'](_0x6ed42e));}['stateAfterAttributeName'](_0x1af724){_0x1af724===vo['Eq']?this['state']=To['BeforeAttributeValue']:_0x1af724===vo['Slash']||_0x1af724===vo['Gt']?(this['cbs']['onattribend'](Eo['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1af724)):ko(_0x1af724)||(this['cbs']['onattribend'](Eo['NoValue'],this['sectionStart']),this['state']=To['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x30681f){_0x30681f===vo['DoubleQuote']?(this['state']=To['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x30681f===vo['SingleQuote']?(this['state']=To['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):ko(_0x30681f)||(this['sectionStart']=this['index'],this['state']=To['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x30681f));}['handleInAttributeValue'](_0x10a0fd,_0x5d3bd6){_0x10a0fd===_0x5d3bd6||!this['decodeEntities']&&this['fastForwardTo'](_0x5d3bd6)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x5d3bd6===vo['DoubleQuote']?Eo['Double']:Eo['Single'],this['index']+0x1),this['state']=To['BeforeAttributeName']):this['decodeEntities']&&_0x10a0fd===vo['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x390693){this['handleInAttributeValue'](_0x390693,vo['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x29fd88){this['handleInAttributeValue'](_0x29fd88,vo['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x435f0d){ko(_0x435f0d)||_0x435f0d===vo['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](Eo['Unquoted'],this['index']),this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x435f0d)):this['decodeEntities']&&_0x435f0d===vo['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x32866d){_0x32866d===vo['OpeningSquareBracket']?(this['state']=To['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x32866d===vo['Dash']?To['BeforeComment']:To['InDeclaration'];}['stateInDeclaration'](_0x5d9629){(_0x5d9629===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x3eae4c){(_0x3eae4c===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x38255d){_0x38255d===vo['Dash']?(this['state']=To['InCommentLike'],this['currentSequence']=Ro['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=To['InDeclaration'];}['stateInSpecialComment'](_0x2ebfa0){(_0x2ebfa0===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x1fcfbe){const _0x510d81=0x20|_0x1fcfbe;_0x510d81===Ro['ScriptEnd'][0x3]?this['startSpecial'](Ro['ScriptEnd'],0x4):_0x510d81===Ro['StyleEnd'][0x3]?this['startSpecial'](Ro['StyleEnd'],0x4):(this['state']=To['InTagName'],this['stateInTagName'](_0x1fcfbe));}['stateBeforeSpecialT'](_0x44b28d){switch(0x20|_0x44b28d){case Ro['TitleEnd'][0x3]:this['startSpecial'](Ro['TitleEnd'],0x4);break;case Ro['TextareaEnd'][0x3]:this['startSpecial'](Ro['TextareaEnd'],0x4);break;case Ro['XmpEnd'][0x3]:this['startSpecial'](Ro['XmpEnd'],0x4);break;default:this['state']=To['InTagName'],this['stateInTagName'](_0x44b28d);}}['startEntity'](){this['baseState']=this['state'],this['state']=To['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_o['Strict']:this['baseState']===To['Text']||this['baseState']===To['InSpecialTag']?_o['Legacy']:_o['Attribute']);}['stateInEntity'](){const _0x4f0850=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x4f0850>=0x0?(this['state']=this['baseState'],0x0===_0x4f0850&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===To['Text']||this['state']===To['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==To['InAttributeValueDq']&&this['state']!==To['InAttributeValueSq']&&this['state']!==To['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 _0x409596=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case To['Text']:this['stateText'](_0x409596);break;case To['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x409596);break;case To['InSpecialTag']:this['stateInSpecialTag'](_0x409596);break;case To['CDATASequence']:this['stateCDATASequence'](_0x409596);break;case To['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x409596);break;case To['InAttributeName']:this['stateInAttributeName'](_0x409596);break;case To['InCommentLike']:this['stateInCommentLike'](_0x409596);break;case To['InSpecialComment']:this['stateInSpecialComment'](_0x409596);break;case To['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x409596);break;case To['InTagName']:this['stateInTagName'](_0x409596);break;case To['InClosingTagName']:this['stateInClosingTagName'](_0x409596);break;case To['BeforeTagName']:this['stateBeforeTagName'](_0x409596);break;case To['AfterAttributeName']:this['stateAfterAttributeName'](_0x409596);break;case To['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x409596);break;case To['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x409596);break;case To['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x409596);break;case To['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x409596);break;case To['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x409596);break;case To['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x409596);break;case To['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x409596);break;case To['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x409596);break;case To['InDeclaration']:this['stateInDeclaration'](_0x409596);break;case To['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x409596);break;case To['BeforeComment']:this['stateBeforeComment'](_0x409596);break;case To['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x409596);break;case To['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===To['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x52b8c1=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x52b8c1||(this['state']===To['InCommentLike']?this['currentSequence']===Ro['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x52b8c1,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x52b8c1,0x0):this['state']===To['InTagName']||this['state']===To['BeforeAttributeName']||this['state']===To['BeforeAttributeValue']||this['state']===To['AfterAttributeName']||this['state']===To['InAttributeName']||this['state']===To['InAttributeValueSq']||this['state']===To['InAttributeValueDq']||this['state']===To['InAttributeValueNq']||this['state']===To['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x52b8c1));}['emitCodePoint'](_0x38baaa,_0xdd26f){this['baseState']!==To['Text']&&this['baseState']!==To['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0xdd26f,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x38baaa)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0xdd26f,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x38baaa,this['sectionStart']));}}const Po=new Set(['input','option','optgroup','select','button','datalist','textarea']),Mo=new Set(['p']),No=new Set(['thead','tbody']),Lo=new Set(['dd','dt']),Do=new Set(['rt','rp']),Qo=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',Mo],['h1',Mo],['h2',Mo],['h3',Mo],['h4',Mo],['h5',Mo],['h6',Mo],['select',Po],['input',Po],['output',Po],['button',Po],['datalist',Po],['textarea',Po],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',Lo],['dt',Lo],['address',Mo],['article',Mo],['aside',Mo],['blockquote',Mo],['details',Mo],['div',Mo],['dl',Mo],['fieldset',Mo],['figcaption',Mo],['figure',Mo],['footer',Mo],['form',Mo],['header',Mo],['hr',Mo],['main',Mo],['nav',Mo],['ol',Mo],['pre',Mo],['section',Mo],['table',Mo],['ul',Mo],['rt',Do],['rp',Do],['tbody',No],['tfoot',No]]),$o=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),Vo=new Set(['math','svg']),Uo=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),Bo=/\s|\//;let Fo=class Parser{constructor(_0x438c82,_0x1f2b49={}){var _0x35ea8c,_0x4fa557,_0x417cf6,_0x359ab8,_0x53b676,_0x57e099;this['options']=_0x1f2b49,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!=_0x438c82?_0x438c82:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x35ea8c=_0x1f2b49['lowerCaseTags'])&&void 0x0!==_0x35ea8c?_0x35ea8c:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x4fa557=_0x1f2b49['lowerCaseAttributeNames'])&&void 0x0!==_0x4fa557?_0x4fa557:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x417cf6=_0x1f2b49['recognizeSelfClosing'])&&void 0x0!==_0x417cf6?_0x417cf6:!this['htmlMode'],this['tokenizer']=new(null!==(_0x359ab8=_0x1f2b49['Tokenizer'])&&void 0x0!==_0x359ab8?_0x359ab8:Tokenizer)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x57e099=(_0x53b676=this['cbs'])['onparserinit'])||void 0x0===_0x57e099||_0x57e099['call'](_0x53b676,this);}['ontext'](_0x258660,_0x3b9f12){var _0x2d19d7,_0x19f492;const _0x4e5d3b=this['getSlice'](_0x258660,_0x3b9f12);this['endIndex']=_0x3b9f12-0x1,null===(_0x19f492=(_0x2d19d7=this['cbs'])['ontext'])||void 0x0===_0x19f492||_0x19f492['call'](_0x2d19d7,_0x4e5d3b),this['startIndex']=_0x3b9f12;}['ontextentity'](_0xbf1a4c,_0x2fce0a){var _0x25aa64,_0x40922b;this['endIndex']=_0x2fce0a-0x1,null===(_0x40922b=(_0x25aa64=this['cbs'])['ontext'])||void 0x0===_0x40922b||_0x40922b['call'](_0x25aa64,Oo(_0xbf1a4c)),this['startIndex']=_0x2fce0a;}['isVoidElement'](_0x3c8752){return this['htmlMode']&&$o['has'](_0x3c8752);}['onopentagname'](_0x5e9c99,_0x3f4b61){this['endIndex']=_0x3f4b61;let _0x57e0fb=this['getSlice'](_0x5e9c99,_0x3f4b61);this['lowerCaseTagNames']&&(_0x57e0fb=_0x57e0fb['toLowerCase']()),this['emitOpenTag'](_0x57e0fb);}['emitOpenTag'](_0x8bbe80){var _0x64fbcb,_0x275709,_0x4e035e,_0x2ba6fc;this['openTagStart']=this['startIndex'],this['tagname']=_0x8bbe80;const _0x530422=this['htmlMode']&&Qo['get'](_0x8bbe80);if(_0x530422)for(;this['stack']['length']>0x0&&_0x530422['has'](this['stack'][0x0]);){const _0x4af4e1=this['stack']['shift']();null===(_0x275709=(_0x64fbcb=this['cbs'])['onclosetag'])||void 0x0===_0x275709||_0x275709['call'](_0x64fbcb,_0x4af4e1,!0x0);}this['isVoidElement'](_0x8bbe80)||(this['stack']['unshift'](_0x8bbe80),this['htmlMode']&&(Vo['has'](_0x8bbe80)?this['foreignContext']['unshift'](!0x0):Uo['has'](_0x8bbe80)&&this['foreignContext']['unshift'](!0x1))),null===(_0x2ba6fc=(_0x4e035e=this['cbs'])['onopentagname'])||void 0x0===_0x2ba6fc||_0x2ba6fc['call'](_0x4e035e,_0x8bbe80),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x3b99bc){var _0x22a179,_0x6559b1;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x6559b1=(_0x22a179=this['cbs'])['onopentag'])||void 0x0===_0x6559b1||_0x6559b1['call'](_0x22a179,this['tagname'],this['attribs'],_0x3b99bc),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x2db7c4){this['endIndex']=_0x2db7c4,this['endOpenTag'](!0x1),this['startIndex']=_0x2db7c4+0x1;}['onclosetag'](_0x52d124,_0x17d62c){var _0x35ad6b,_0x121da6,_0x41c3f2,_0xbe6b02,_0x17393e,_0x3f9fcd,_0x5b7dce,_0x28ea22;this['endIndex']=_0x17d62c;let _0x50152d=this['getSlice'](_0x52d124,_0x17d62c);if(this['lowerCaseTagNames']&&(_0x50152d=_0x50152d['toLowerCase']()),this['htmlMode']&&(Vo['has'](_0x50152d)||Uo['has'](_0x50152d))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x50152d))this['htmlMode']&&'br'===_0x50152d&&(null===(_0xbe6b02=(_0x41c3f2=this['cbs'])['onopentagname'])||void 0x0===_0xbe6b02||_0xbe6b02['call'](_0x41c3f2,'br'),null===(_0x3f9fcd=(_0x17393e=this['cbs'])['onopentag'])||void 0x0===_0x3f9fcd||_0x3f9fcd['call'](_0x17393e,'br',{},!0x0),null===(_0x28ea22=(_0x5b7dce=this['cbs'])['onclosetag'])||void 0x0===_0x28ea22||_0x28ea22['call'](_0x5b7dce,'br',!0x1));else{const _0x4c4413=this['stack']['indexOf'](_0x50152d);if(-0x1!==_0x4c4413)for(let _0x2f531e=0x0;_0x2f531e<=_0x4c4413;_0x2f531e++){const _0x4b4f3f=this['stack']['shift']();null===(_0x121da6=(_0x35ad6b=this['cbs'])['onclosetag'])||void 0x0===_0x121da6||_0x121da6['call'](_0x35ad6b,_0x4b4f3f,_0x2f531e!==_0x4c4413);}else this['htmlMode']&&'p'===_0x50152d&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x17d62c+0x1;}['onselfclosingtag'](_0x304a31){this['endIndex']=_0x304a31,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x304a31+0x1):this['onopentagend'](_0x304a31);}['closeCurrentTag'](_0x530eae){var _0x480bf4,_0x2b4a42;const _0x5ee773=this['tagname'];this['endOpenTag'](_0x530eae),this['stack'][0x0]===_0x5ee773&&(null===(_0x2b4a42=(_0x480bf4=this['cbs'])['onclosetag'])||void 0x0===_0x2b4a42||_0x2b4a42['call'](_0x480bf4,_0x5ee773,!_0x530eae),this['stack']['shift']());}['onattribname'](_0x195dd3,_0x4a1703){this['startIndex']=_0x195dd3;const _0x56a928=this['getSlice'](_0x195dd3,_0x4a1703);this['attribname']=this['lowerCaseAttributeNames']?_0x56a928['toLowerCase']():_0x56a928;}['onattribdata'](_0x4605be,_0x5abefc){this['attribvalue']+=this['getSlice'](_0x4605be,_0x5abefc);}['onattribentity'](_0x3b942c){this['attribvalue']+=Oo(_0x3b942c);}['onattribend'](_0x3dd15f,_0x5d7eac){var _0x3dae10,_0x29452a;this['endIndex']=_0x5d7eac,null===(_0x29452a=(_0x3dae10=this['cbs'])['onattribute'])||void 0x0===_0x29452a||_0x29452a['call'](_0x3dae10,this['attribname'],this['attribvalue'],_0x3dd15f===Eo['Double']?'\x22':_0x3dd15f===Eo['Single']?'\x27':_0x3dd15f===Eo['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x392a2d){const _0x15980c=_0x392a2d['search'](Bo);let _0x9e53bd=_0x15980c<0x0?_0x392a2d:_0x392a2d['substr'](0x0,_0x15980c);return this['lowerCaseTagNames']&&(_0x9e53bd=_0x9e53bd['toLowerCase']()),_0x9e53bd;}['ondeclaration'](_0x3597f9,_0x1fb872){this['endIndex']=_0x1fb872;const _0x3302d3=this['getSlice'](_0x3597f9,_0x1fb872);if(this['cbs']['onprocessinginstruction']){const _0x3ece63=this['getInstructionName'](_0x3302d3);this['cbs']['onprocessinginstruction']('!'+_0x3ece63,'!'+_0x3302d3);}this['startIndex']=_0x1fb872+0x1;}['onprocessinginstruction'](_0x549dad,_0xf700f5){this['endIndex']=_0xf700f5;const _0x4c3bad=this['getSlice'](_0x549dad,_0xf700f5);if(this['cbs']['onprocessinginstruction']){const _0x16eb61=this['getInstructionName'](_0x4c3bad);this['cbs']['onprocessinginstruction']('?'+_0x16eb61,'?'+_0x4c3bad);}this['startIndex']=_0xf700f5+0x1;}['oncomment'](_0x10afa6,_0x18ecdf,_0xc135ce){var _0x41839f,_0x13d7f3,_0x2e7998,_0x2a87ad;this['endIndex']=_0x18ecdf,null===(_0x13d7f3=(_0x41839f=this['cbs'])['oncomment'])||void 0x0===_0x13d7f3||_0x13d7f3['call'](_0x41839f,this['getSlice'](_0x10afa6,_0x18ecdf-_0xc135ce)),null===(_0x2a87ad=(_0x2e7998=this['cbs'])['oncommentend'])||void 0x0===_0x2a87ad||_0x2a87ad['call'](_0x2e7998),this['startIndex']=_0x18ecdf+0x1;}['oncdata'](_0x1ff245,_0x469801,_0x4fd0bb){var _0x5cfdc3,_0x125108,_0x4eacc4,_0x4fd177,_0x4d1b6b,_0x44e489,_0x58198a,_0x4ab730,_0x25c4f0,_0x5b0b38;this['endIndex']=_0x469801;const _0x4d8d74=this['getSlice'](_0x1ff245,_0x469801-_0x4fd0bb);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x125108=(_0x5cfdc3=this['cbs'])['oncdatastart'])||void 0x0===_0x125108||_0x125108['call'](_0x5cfdc3),null===(_0x4fd177=(_0x4eacc4=this['cbs'])['ontext'])||void 0x0===_0x4fd177||_0x4fd177['call'](_0x4eacc4,_0x4d8d74),null===(_0x44e489=(_0x4d1b6b=this['cbs'])['oncdataend'])||void 0x0===_0x44e489||_0x44e489['call'](_0x4d1b6b)):(null===(_0x4ab730=(_0x58198a=this['cbs'])['oncomment'])||void 0x0===_0x4ab730||_0x4ab730['call'](_0x58198a,'[CDATA['+_0x4d8d74+']]'),null===(_0x5b0b38=(_0x25c4f0=this['cbs'])['oncommentend'])||void 0x0===_0x5b0b38||_0x5b0b38['call'](_0x25c4f0)),this['startIndex']=_0x469801+0x1;}['onend'](){var _0x321bb1,_0x264d60;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x535af9=0x0;_0x535af9<this['stack']['length'];_0x535af9++)this['cbs']['onclosetag'](this['stack'][_0x535af9],!0x0);}null===(_0x264d60=(_0x321bb1=this['cbs'])['onend'])||void 0x0===_0x264d60||_0x264d60['call'](_0x321bb1);}['reset'](){var _0x5e8598,_0x43939c,_0x417545,_0x4ba580;null===(_0x43939c=(_0x5e8598=this['cbs'])['onreset'])||void 0x0===_0x43939c||_0x43939c['call'](_0x5e8598),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x4ba580=(_0x417545=this['cbs'])['onparserinit'])||void 0x0===_0x4ba580||_0x4ba580['call'](_0x417545,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x194f7a){this['reset'](),this['end'](_0x194f7a);}['getSlice'](_0xe5835c,_0x1e6eb0){for(;_0xe5835c-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x2aa19b=this['buffers'][0x0]['slice'](_0xe5835c-this['bufferOffset'],_0x1e6eb0-this['bufferOffset']);for(;_0x1e6eb0-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x2aa19b+=this['buffers'][0x0]['slice'](0x0,_0x1e6eb0-this['bufferOffset']);return _0x2aa19b;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x197c96){var _0x1a3d7b,_0x4aea5a;this['ended']?null===(_0x4aea5a=(_0x1a3d7b=this['cbs'])['onerror'])||void 0x0===_0x4aea5a||_0x4aea5a['call'](_0x1a3d7b,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x197c96),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x197c96),this['writeIndex']++));}['end'](_0x1065bf){var _0xd50b0b,_0x28e41f;this['ended']?null===(_0x28e41f=(_0xd50b0b=this['cbs'])['onerror'])||void 0x0===_0x28e41f||_0x28e41f['call'](_0xd50b0b,new Error('.end()\x20after\x20done!')):(_0x1065bf&&this['write'](_0x1065bf),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'](_0x155be5){this['write'](_0x155be5);}['done'](_0xf870a3){this['end'](_0xf870a3);}};var jo;!function(_0x14a4f6){_0x14a4f6['Root']='root',_0x14a4f6['Text']='text',_0x14a4f6['Directive']='directive',_0x14a4f6['Comment']='comment',_0x14a4f6['Script']='script',_0x14a4f6['Style']='style',_0x14a4f6['Tag']='tag',_0x14a4f6['CDATA']='cdata',_0x14a4f6['Doctype']='doctype';}(jo||(jo={}));const Ho=jo['Root'],Go=jo['Text'],Zo=jo['Directive'],Xo=jo['Comment'],qo=jo['Script'],Wo=jo['Style'],zo=jo['Tag'],Yo=jo['CDATA'],Ko=jo['Doctype'];let Jo=class Node{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x54df2f){this['parent']=_0x54df2f;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x42d82c){this['prev']=_0x42d82c;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x469fb2){this['next']=_0x469fb2;}['cloneNode'](_0x20185c=!0x1){return ca(this,_0x20185c);}};class DataNode extends Jo{constructor(_0x26ea4b){super(),this['data']=_0x26ea4b;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x27e6fd){this['data']=_0x27e6fd;}}let ta=class Text extends DataNode{constructor(){super(...arguments),this['type']=jo['Text'];}get['nodeType'](){return 0x3;}},ea=class Comment extends DataNode{constructor(){super(...arguments),this['type']=jo['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x308015,_0x10766c){super(_0x10766c),this['name']=_0x308015,this['type']=jo['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends Jo{constructor(_0x6a0048){super(),this['children']=_0x6a0048;}get['firstChild'](){var _0x16abfc;return null!==(_0x16abfc=this['children'][0x0])&&void 0x0!==_0x16abfc?_0x16abfc:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x4a0380){this['children']=_0x4a0380;}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this['type']=jo['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=jo['Root'];}get['nodeType'](){return 0x9;}}let ia=class Element extends NodeWithChildren{constructor(_0x3445e7,_0x501138,_0x1efe54=[],_0x1dad4c='script'===_0x3445e7?jo['Script']:'style'===_0x3445e7?jo['Style']:jo['Tag']){super(_0x1efe54),this['name']=_0x3445e7,this['attribs']=_0x501138,this['type']=_0x1dad4c;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x4a241d){this['name']=_0x4a241d;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x49502a=>{var _0x213f79,_0x3f2ed9;return{'name':_0x49502a,'value':this['attribs'][_0x49502a],'namespace':null===(_0x213f79=this['x-attribsNamespace'])||void 0x0===_0x213f79?void 0x0:_0x213f79[_0x49502a],'prefix':null===(_0x3f2ed9=this['x-attribsPrefix'])||void 0x0===_0x3f2ed9?void 0x0:_0x3f2ed9[_0x49502a]};});}};function sa(_0x652952){return(_0x23e4ed=_0x652952)['type']===jo['Tag']||_0x23e4ed['type']===jo['Script']||_0x23e4ed['type']===jo['Style'];var _0x23e4ed;}function na(_0x12379b){return _0x12379b['type']===jo['Text'];}function ra(_0x4a6bb5){return _0x4a6bb5['type']===jo['Comment'];}function oa(_0x21380e){return _0x21380e['type']===jo['Root'];}function aa(_0xf37c4e){return Object['prototype']['hasOwnProperty']['call'](_0xf37c4e,'children');}function ca(_0x2991cf,_0xf61b4b=!0x1){let _0xca163c;if(na(_0x2991cf))_0xca163c=new ta(_0x2991cf['data']);else{if(ra(_0x2991cf))_0xca163c=new ea(_0x2991cf['data']);else{if(sa(_0x2991cf)){const _0xce0c10=_0xf61b4b?la(_0x2991cf['children']):[],_0x2d91b9=new ia(_0x2991cf['name'],{..._0x2991cf['attribs']},_0xce0c10);_0xce0c10['forEach'](_0xfb62df=>_0xfb62df['parent']=_0x2d91b9),null!=_0x2991cf['namespace']&&(_0x2d91b9['namespace']=_0x2991cf['namespace']),_0x2991cf['x-attribsNamespace']&&(_0x2d91b9['x-attribsNamespace']={..._0x2991cf['x-attribsNamespace']}),_0x2991cf['x-attribsPrefix']&&(_0x2d91b9['x-attribsPrefix']={..._0x2991cf['x-attribsPrefix']}),_0xca163c=_0x2d91b9;}else{if(function(_0x3c4e75){return _0x3c4e75['type']===jo['CDATA'];}(_0x2991cf)){const _0xe723ec=_0xf61b4b?la(_0x2991cf['children']):[],_0x4cd96c=new CDATA(_0xe723ec);_0xe723ec['forEach'](_0x36dacd=>_0x36dacd['parent']=_0x4cd96c),_0xca163c=_0x4cd96c;}else{if(oa(_0x2991cf)){const _0x4d60ca=_0xf61b4b?la(_0x2991cf['children']):[],_0x587d81=new Document(_0x4d60ca);_0x4d60ca['forEach'](_0x22ae7b=>_0x22ae7b['parent']=_0x587d81),_0x2991cf['x-mode']&&(_0x587d81['x-mode']=_0x2991cf['x-mode']),_0xca163c=_0x587d81;}else{if(!function(_0x1b6ddb){return _0x1b6ddb['type']===jo['Directive'];}(_0x2991cf))throw new Error('Not\x20implemented\x20yet:\x20'+_0x2991cf['type']);{const _0xf1757d=new ProcessingInstruction(_0x2991cf['name'],_0x2991cf['data']);null!=_0x2991cf['x-name']&&(_0xf1757d['x-name']=_0x2991cf['x-name'],_0xf1757d['x-publicId']=_0x2991cf['x-publicId'],_0xf1757d['x-systemId']=_0x2991cf['x-systemId']),_0xca163c=_0xf1757d;}}}}}}return _0xca163c['startIndex']=_0x2991cf['startIndex'],_0xca163c['endIndex']=_0x2991cf['endIndex'],null!=_0x2991cf['sourceCodeLocation']&&(_0xca163c['sourceCodeLocation']=_0x2991cf['sourceCodeLocation']),_0xca163c;}function la(_0x1d03d3){const _0x27ffca=_0x1d03d3['map'](_0x30ec48=>ca(_0x30ec48,!0x0));for(let _0x49f469=0x1;_0x49f469<_0x27ffca['length'];_0x49f469++)_0x27ffca[_0x49f469]['prev']=_0x27ffca[_0x49f469-0x1],_0x27ffca[_0x49f469-0x1]['next']=_0x27ffca[_0x49f469];return _0x27ffca;}const ha={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class DomHandler{constructor(_0x217bd3,_0xe5f2a9,_0x49e5c9){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0xe5f2a9&&(_0x49e5c9=_0xe5f2a9,_0xe5f2a9=ha),'object'==typeof _0x217bd3&&(_0xe5f2a9=_0x217bd3,_0x217bd3=void 0x0),this['callback']=null!=_0x217bd3?_0x217bd3:null,this['options']=null!=_0xe5f2a9?_0xe5f2a9:ha,this['elementCB']=null!=_0x49e5c9?_0x49e5c9:null;}['onparserinit'](_0x442b1a){this['parser']=_0x442b1a;}['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'](_0xb69c55){this['handleCallback'](_0xb69c55);}['onclosetag'](){this['lastNode']=null;const _0x10b840=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x10b840['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x10b840);}['onopentag'](_0x48063f,_0x28ee33){const _0x32a550=this['options']['xmlMode']?jo['Tag']:void 0x0,_0x3968e4=new ia(_0x48063f,_0x28ee33,void 0x0,_0x32a550);this['addNode'](_0x3968e4),this['tagStack']['push'](_0x3968e4);}['ontext'](_0x446b01){const {lastNode:_0x4d19dd}=this;if(_0x4d19dd&&_0x4d19dd['type']===jo['Text'])_0x4d19dd['data']+=_0x446b01,this['options']['withEndIndices']&&(_0x4d19dd['endIndex']=this['parser']['endIndex']);else{const _0x791285=new ta(_0x446b01);this['addNode'](_0x791285),this['lastNode']=_0x791285;}}['oncomment'](_0x3410dc){if(this['lastNode']&&this['lastNode']['type']===jo['Comment'])return void(this['lastNode']['data']+=_0x3410dc);const _0x416228=new ea(_0x3410dc);this['addNode'](_0x416228),this['lastNode']=_0x416228;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x4b179b=new ta(''),_0x34d53c=new CDATA([_0x4b179b]);this['addNode'](_0x34d53c),_0x4b179b['parent']=_0x34d53c,this['lastNode']=_0x4b179b;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x4ec59f,_0x48bb6b){const _0xc77d5e=new ProcessingInstruction(_0x4ec59f,_0x48bb6b);this['addNode'](_0xc77d5e);}['handleCallback'](_0x190960){if('function'==typeof this['callback'])this['callback'](_0x190960,this['dom']);else{if(_0x190960)throw _0x190960;}}['addNode'](_0xdbde81){const _0x4f905c=this['tagStack'][this['tagStack']['length']-0x1],_0x4a9096=_0x4f905c['children'][_0x4f905c['children']['length']-0x1];this['options']['withStartIndices']&&(_0xdbde81['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0xdbde81['endIndex']=this['parser']['endIndex']),_0x4f905c['children']['push'](_0xdbde81),_0x4a9096&&(_0xdbde81['prev']=_0x4a9096,_0x4a9096['next']=_0xdbde81),_0xdbde81['parent']=_0x4f905c,this['lastNode']=null;}}const ua=/["&'<>$\x80-\uFFFF]/g,da=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),fa=null!=String['prototype']['codePointAt']?(_0x4b3b18,_0x31ea89)=>_0x4b3b18['codePointAt'](_0x31ea89):(_0x100e1b,_0x213e5d)=>0xd800==(0xfc00&_0x100e1b['charCodeAt'](_0x213e5d))?0x400*(_0x100e1b['charCodeAt'](_0x213e5d)-0xd800)+_0x100e1b['charCodeAt'](_0x213e5d+0x1)-0xdc00+0x10000:_0x100e1b['charCodeAt'](_0x213e5d);function ma(_0xce0e7c){let _0xb08c6f,_0x59e967='',_0x1a50a6=0x0;for(;null!==(_0xb08c6f=ua['exec'](_0xce0e7c));){const _0x104a5e=_0xb08c6f['index'],_0x12a4de=_0xce0e7c['charCodeAt'](_0x104a5e),_0x19fb58=da['get'](_0x12a4de);void 0x0!==_0x19fb58?(_0x59e967+=_0xce0e7c['substring'](_0x1a50a6,_0x104a5e)+_0x19fb58,_0x1a50a6=_0x104a5e+0x1):(_0x59e967+=_0xce0e7c['substring'](_0x1a50a6,_0x104a5e)+'&#x'+fa(_0xce0e7c,_0x104a5e)['toString'](0x10)+';',_0x1a50a6=ua['lastIndex']+=Number(0xd800==(0xfc00&_0x12a4de)));}return _0x59e967+_0xce0e7c['substr'](_0x1a50a6);}function ga(_0x57a1b3,_0x51f6f3){return function(_0x5e68df){let _0x4d230a,_0x528528=0x0,_0x1a4eb0='';for(;_0x4d230a=_0x57a1b3['exec'](_0x5e68df);)_0x528528!==_0x4d230a['index']&&(_0x1a4eb0+=_0x5e68df['substring'](_0x528528,_0x4d230a['index'])),_0x1a4eb0+=_0x51f6f3['get'](_0x4d230a[0x0]['charCodeAt'](0x0)),_0x528528=_0x4d230a['index']+0x1;return _0x1a4eb0+_0x5e68df['substring'](_0x528528);};}const pa=ga(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),Oa=ga(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),wa=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'](_0x110eb5=>[_0x110eb5['toLowerCase'](),_0x110eb5])),ba=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'](_0x533762=>[_0x533762['toLowerCase'](),_0x533762])),ya=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _a(_0x16fa5f){return _0x16fa5f['replace'](/"/g,'&quot;');}const va=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function Ta(_0x25c61a,_0x1c3c49={}){const _0x5c808c='length'in _0x25c61a?_0x25c61a:[_0x25c61a];let _0x453e59='';for(let _0x2c1bfe=0x0;_0x2c1bfe<_0x5c808c['length'];_0x2c1bfe++)_0x453e59+=Ea(_0x5c808c[_0x2c1bfe],_0x1c3c49);return _0x453e59;}function Ea(_0x48e72d,_0x54a6b8){switch(_0x48e72d['type']){case Ho:return Ta(_0x48e72d['children'],_0x54a6b8);case Ko:case Zo:return'<'+_0x48e72d['data']+'>';case Xo:return function(_0x285dbf){return'<!--'+_0x285dbf['data']+'-->';}(_0x48e72d);case Yo:return function(_0x4baf52){return'<![CDATA['+_0x4baf52['children'][0x0]['data']+']]>';}(_0x48e72d);case qo:case Wo:case zo:return function(_0x4593ca,_0x1515df){var _0x1cfc9f;'foreign'===_0x1515df['xmlMode']&&(_0x4593ca['name']=null!==(_0x1cfc9f=wa['get'](_0x4593ca['name']))&&void 0x0!==_0x1cfc9f?_0x1cfc9f:_0x4593ca['name'],_0x4593ca['parent']&&Aa['has'](_0x4593ca['parent']['name'])&&(_0x1515df={..._0x1515df,'xmlMode':!0x1})),!_0x1515df['xmlMode']&&Sa['has'](_0x4593ca['name'])&&(_0x1515df={..._0x1515df,'xmlMode':'foreign'});let _0x4d8dd1='<'+_0x4593ca['name'];const _0x26a1fd=function(_0x27dbbc,_0x54e6bb){var _0x18078e;if(!_0x27dbbc)return;const _0x56059f=!0x1===(null!==(_0x18078e=_0x54e6bb['encodeEntities'])&&void 0x0!==_0x18078e?_0x18078e:_0x54e6bb['decodeEntities'])?_a:_0x54e6bb['xmlMode']||'utf8'!==_0x54e6bb['encodeEntities']?ma:pa;return Object['keys'](_0x27dbbc)['map'](_0x1f5b8f=>{var _0x54cfbe,_0x477068;const _0x5d7cee=null!==(_0x54cfbe=_0x27dbbc[_0x1f5b8f])&&void 0x0!==_0x54cfbe?_0x54cfbe:'';return'foreign'===_0x54e6bb['xmlMode']&&(_0x1f5b8f=null!==(_0x477068=ba['get'](_0x1f5b8f))&&void 0x0!==_0x477068?_0x477068:_0x1f5b8f),_0x54e6bb['emptyAttrs']||_0x54e6bb['xmlMode']||''!==_0x5d7cee?_0x1f5b8f+'=\x22'+_0x56059f(_0x5d7cee)+'\x22':_0x1f5b8f;})['join']('\x20');}(_0x4593ca['attribs'],_0x1515df);return _0x26a1fd&&(_0x4d8dd1+='\x20'+_0x26a1fd),0x0===_0x4593ca['children']['length']&&(_0x1515df['xmlMode']?!0x1!==_0x1515df['selfClosingTags']:_0x1515df['selfClosingTags']&&va['has'](_0x4593ca['name']))?(_0x1515df['xmlMode']||(_0x4d8dd1+='\x20'),_0x4d8dd1+='/>'):(_0x4d8dd1+='>',_0x4593ca['children']['length']>0x0&&(_0x4d8dd1+=Ta(_0x4593ca['children'],_0x1515df)),!_0x1515df['xmlMode']&&va['has'](_0x4593ca['name'])||(_0x4d8dd1+='</'+_0x4593ca['name']+'>')),_0x4d8dd1;}(_0x48e72d,_0x54a6b8);case Go:return function(_0x1cc377,_0x1707b1){var _0x52d9bb;let _0x4dc1e3=_0x1cc377['data']||'';return!0x1===(null!==(_0x52d9bb=_0x1707b1['encodeEntities'])&&void 0x0!==_0x52d9bb?_0x52d9bb:_0x1707b1['decodeEntities'])||!_0x1707b1['xmlMode']&&_0x1cc377['parent']&&ya['has'](_0x1cc377['parent']['name'])||(_0x4dc1e3=_0x1707b1['xmlMode']||'utf8'!==_0x1707b1['encodeEntities']?ma(_0x4dc1e3):Oa(_0x4dc1e3)),_0x4dc1e3;}(_0x48e72d,_0x54a6b8);}}const Aa=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),Sa=new Set(['svg','math']);function Ia(_0x5167e3){return Array['isArray'](_0x5167e3)?_0x5167e3['map'](Ia)['join'](''):aa(_0x5167e3)&&!ra(_0x5167e3)?Ia(_0x5167e3['children']):na(_0x5167e3)?_0x5167e3['data']:'';}function Ca(_0x1412d5){return _0x1412d5['parent']||null;}function ka(_0x25d807){if(_0x25d807['prev']&&(_0x25d807['prev']['next']=_0x25d807['next']),_0x25d807['next']&&(_0x25d807['next']['prev']=_0x25d807['prev']),_0x25d807['parent']){const _0x3fabf0=_0x25d807['parent']['children'],_0x362f96=_0x3fabf0['lastIndexOf'](_0x25d807);_0x362f96>=0x0&&_0x3fabf0['splice'](_0x362f96,0x1);}_0x25d807['next']=null,_0x25d807['prev']=null,_0x25d807['parent']=null;}function xa(_0x4189a3,_0x3c02be){const _0x105bc1=_0x3c02be['prev']=_0x4189a3['prev'];_0x105bc1&&(_0x105bc1['next']=_0x3c02be);const _0x2e42fd=_0x3c02be['next']=_0x4189a3['next'];_0x2e42fd&&(_0x2e42fd['prev']=_0x3c02be);const _0x2032f9=_0x3c02be['parent']=_0x4189a3['parent'];if(_0x2032f9){const _0x354072=_0x2032f9['children'];_0x354072[_0x354072['lastIndexOf'](_0x4189a3)]=_0x3c02be,_0x4189a3['parent']=null;}}function Ra(_0x2e91dd,_0x3dca53){ka(_0x3dca53);const {parent:_0x172f60}=_0x2e91dd,_0x15fa4c=_0x2e91dd['next'];if(_0x3dca53['next']=_0x15fa4c,_0x3dca53['prev']=_0x2e91dd,_0x2e91dd['next']=_0x3dca53,_0x3dca53['parent']=_0x172f60,_0x15fa4c){if(_0x15fa4c['prev']=_0x3dca53,_0x172f60){const _0x32cb6c=_0x172f60['children'];_0x32cb6c['splice'](_0x32cb6c['lastIndexOf'](_0x15fa4c),0x0,_0x3dca53);}}else _0x172f60&&_0x172f60['children']['push'](_0x3dca53);}function Pa(_0x2d8105,_0x51b828){if(ka(_0x51b828),_0x51b828['parent']=_0x2d8105,_0x51b828['prev']=null,0x1!==_0x2d8105['children']['unshift'](_0x51b828)){const _0x382f68=_0x2d8105['children'][0x1];_0x382f68['prev']=_0x51b828,_0x51b828['next']=_0x382f68;}else _0x51b828['next']=null;}function Ma(_0x2b909e,_0x19ba84){ka(_0x19ba84);const {parent:_0x44ee52}=_0x2b909e;if(_0x44ee52){const _0xcf780c=_0x44ee52['children'];_0xcf780c['splice'](_0xcf780c['indexOf'](_0x2b909e),0x0,_0x19ba84);}_0x2b909e['prev']&&(_0x2b909e['prev']['next']=_0x19ba84),_0x19ba84['parent']=_0x44ee52,_0x19ba84['prev']=_0x2b909e['prev'],_0x19ba84['next']=_0x2b909e,_0x2b909e['prev']=_0x19ba84;}function Na(_0x5d54cb,_0x423821,_0x552390=!0x0){const _0x274180=Array['isArray'](_0x423821)?_0x423821:[_0x423821];for(let _0x22ac90=0x0;_0x22ac90<_0x274180['length'];_0x22ac90++){const _0x1fbaca=_0x274180[_0x22ac90];if(sa(_0x1fbaca)&&_0x5d54cb(_0x1fbaca))return _0x1fbaca;if(_0x552390&&aa(_0x1fbaca)&&_0x1fbaca['children']['length']>0x0){const _0x222956=Na(_0x5d54cb,_0x1fbaca['children'],!0x0);if(_0x222956)return _0x222956;}}return null;}function La(_0x3a0eeb,_0x30e2e6){const _0x393efa=[],_0x174d9c=[Array['isArray'](_0x30e2e6)?_0x30e2e6:[_0x30e2e6]],_0x30c92d=[0x0];for(;;){if(_0x30c92d[0x0]>=_0x174d9c[0x0]['length']){if(0x1===_0x174d9c['length'])return _0x393efa;_0x174d9c['shift'](),_0x30c92d['shift']();continue;}const _0x4c2d8d=_0x174d9c[0x0][_0x30c92d[0x0]++];sa(_0x4c2d8d)&&_0x3a0eeb(_0x4c2d8d)&&_0x393efa['push'](_0x4c2d8d),aa(_0x4c2d8d)&&_0x4c2d8d['children']['length']>0x0&&(_0x30c92d['unshift'](0x0),_0x174d9c['unshift'](_0x4c2d8d['children']));}}function Da(_0x41c8cf){return function(_0x3327a1,_0x52129c){const _0x407707=new DomHandler(void 0x0,_0x52129c);return new Fo(_0x407707,_0x52129c)['end'](_0x3327a1),_0x407707['root'];}(_0x41c8cf);}function Qa(_0x42e75b){return Ta(_0x42e75b);}function $a(_0x116bd7,_0x252a99,_0x571ef8){const _0x503334=null!==_0x252a99?_0x349643=>_0x349643['attribs'][_0x116bd7]===_0x252a99:_0x5ca145=>Boolean(_0x5ca145['attribs'][_0x116bd7]);return Na(_0x5205eb=>sa(_0x5205eb)&&_0x503334(_0x5205eb),_0x571ef8);}function Va(_0x349a43,_0x2cdd71,_0x55cdb7){const _0x332425=null!==_0x2cdd71?_0xf73114=>_0xf73114['attribs'][_0x349a43]===_0x2cdd71:_0x325051=>Boolean(_0x325051['attribs'][_0x349a43]);return La(_0x2ee59f=>sa(_0x2ee59f)&&_0x332425(_0x2ee59f),_0x55cdb7);}function Ua(_0x199764){return function(_0x3de265,_0x4dda27,_0xdf4701,_0x41741c){const _0x39f472=[],_0xfa1ab5=[Array['isArray'](_0x4dda27)?_0x4dda27:[_0x4dda27]],_0xb1c3d1=[0x0];for(;;){if(_0xb1c3d1[0x0]>=_0xfa1ab5[0x0]['length']){if(0x1===_0xb1c3d1['length'])return _0x39f472;_0xfa1ab5['shift'](),_0xb1c3d1['shift']();continue;}const _0x24a177=_0xfa1ab5[0x0][_0xb1c3d1[0x0]++];if(_0x3de265(_0x24a177)&&(_0x39f472['push'](_0x24a177),--_0x41741c<=0x0))return _0x39f472;aa(_0x24a177)&&_0x24a177['children']['length']>0x0&&(_0xb1c3d1['unshift'](0x0),_0xfa1ab5['unshift'](_0x24a177['children']));}}(_0x133a86=>ra(_0x133a86),_0x199764,0x0,0x1/0x0);}function Ba(_0x1ac0d1,_0x3ebcc1){return _0x1ac0d1&&sa(_0x1ac0d1)?_0x1ac0d1['attribs'][_0x3ebcc1]:null;}function Fa(_0x56e6cd,_0x5d9a0c,_0x3549f4){sa(_0x56e6cd)&&(null===_0x3549f4?delete _0x56e6cd['attribs'][_0x5d9a0c]:_0x56e6cd['attribs'][_0x5d9a0c]=_0x3549f4);}function ja(_0x311c46,_0x436e83,_0xe431c2){const _0x3aa859=_0x436e83['cloneNode'](!0x0);'beforebegin'===_0xe431c2?Ma(_0x311c46,_0x3aa859):'afterbegin'===_0xe431c2?Pa(_0x311c46,_0x3aa859):'beforeend'===_0xe431c2?function(_0x3e5a59,_0x2aef74){if(ka(_0x2aef74),_0x2aef74['next']=null,_0x2aef74['parent']=_0x3e5a59,_0x3e5a59['children']['push'](_0x2aef74)>0x1){const _0x937704=_0x3e5a59['children'][_0x3e5a59['children']['length']-0x2];_0x937704['next']=_0x2aef74,_0x2aef74['prev']=_0x937704;}else _0x2aef74['prev']=null;}(_0x311c46,_0x3aa859):'afterend'===_0xe431c2&&Ra(_0x311c46,_0x3aa859);}function Ha(_0x912c0e){const _0x39ac65=[];let _0x76a5b=_0x912c0e;for(;_0x76a5b;)_0x76a5b=Ca(_0x76a5b),_0x76a5b&&_0x39ac65['push'](_0x76a5b);return _0x39ac65;}function Ga(_0xada72a){return _0xada72a['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function Za(_0x38fa92){let _0x3f9718=0x0;for(;_0x38fa92['parentNode'];)_0x38fa92=_0x38fa92['parentNode'],_0x3f9718++;return _0x3f9718;}function Xa(_0x467014){const _0x370ac5=[];let _0x3e7526=_0x467014['nextSibling'];for(;_0x3e7526;)_0x370ac5['push'](_0x3e7526),_0x3e7526=_0x3e7526['nextSibling'];_0x370ac5['forEach'](_0x27a4c3=>{ka(_0x27a4c3);});}class AIResponseParser extends/* #__PURE__ -- @preserve */
_0x266f1a(){['_m2html'];constructor(){super(),this['_m2html']=new _0x57c373();}['convertMarkdownToHTML'](_0x80d5e0){const _0x70d5a9=this['_m2html']['parse'](_0x80d5e0);return this['parseAndNormalizeHTML'](_0x70d5a9);}['parseAndNormalizeHTML'](_0x154b4b){return this['_parseHTML'](_0x154b4b);}['_parseHTML'](_0x5843f2){const _0x4a4116=Da('<dummy>'+_0x5843f2['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x4a4116['children']=_0x4a4116['children'][0x0]['children'],_0x4a4116;}}class AIResponseApplier extends/* #__PURE__ -- @preserve */
_0x266f1a(){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x310bba){super(),this['_generateUid']=_0x310bba||_0x288d30;}['merge'](_0x44a7a4,_0x17c5ec,_0x15eba4){const _0x363d51=_0x44a7a4['cloneNode'](!0x0);if(0x0===_0x17c5ec['childNodes']['length']){const _0x88670f=[];return Va('data-id','new-element',_0x363d51)['forEach'](_0x4abfbb=>{const _0x33596b=this['_generateUid']();Fa(_0x4abfbb,'data-id',_0x33596b),_0x88670f['push'](_0x33596b);}),this['_removeSpecialComments'](_0x363d51),{'parsedContent':_0x363d51,'newNodeIds':_0x88670f,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x15eba4&&_0x15eba4['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x363d51),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(Va('data-id',null,_0x17c5ec)['map'](_0x4ddc03=>Ba(_0x4ddc03,'data-id'))['filter'](_0x132c0f=>!!_0x132c0f));let _0x14e24e=-0x1,_0xbef537=!0x1;const _0x38310a=_0x363d51['childNodes'],_0x3bbf5d=Array['from'](_0x38310a)['filter'](_0x499829=>!(0x3===_0x499829['nodeType']&&''===Qa(_0x499829)['trim']())),_0x3c7472=_0x3bbf5d['length'];for(let _0x34b62b=0x0;_0x34b62b<_0x3c7472;_0x34b62b++){const _0x2c6163=_0x3bbf5d[_0x34b62b],_0x4a850a=_0x3bbf5d[_0x34b62b+0x1];if(this['_isNewNode'](_0x2c6163)){if(-0x1===_0x14e24e&&(_0x14e24e=_0x34b62b),this['_markWrappedElements'](_0x2c6163),!this['_isNewNode'](_0x4a850a)){const [_0x82a047,_0x11e81f]=this['_findReferenceNode'](_0x2c6163,_0xbef537,_0x17c5ec);if(_0x82a047){const _0x240761=Array['from'](_0x3bbf5d)['slice'](_0x14e24e,_0x34b62b+0x1);this['_insertNodes'](_0x82a047,_0x240761,_0x11e81f),_0x14e24e=-0x1;}}}else{if(this['_isExistingContentComment'](_0x2c6163))_0xbef537=!0x0;else{if(this['_isExistingNode'](_0x2c6163)){const _0x548998=Ba(_0x2c6163,'data-id');if(_0x548998&&this['_existingDataIds']['has'](_0x548998)){const _0x3b6d04=$a('data-id',_0x548998,_0x17c5ec);this['_replaceNode'](_0x3b6d04,_0x2c6163);}if(this['_touchedNodesState']['removedIds']['includes'](_0x548998)){const _0x4746b=this['_touchedNodesState']['removedIds']['indexOf'](_0x548998);this['_touchedNodesState']['removedIds']['splice'](_0x4746b,0x1);}}else{if(this['_isDelNode'](_0x2c6163)){const _0x3ed3f3=Ba(_0x2c6163,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x3ed3f3)||this['_storeDeletedElementIds'](_0x2c6163);}}}}}for(const _0xdf8a74 of this['_touchedNodesState']['removedIds']){const _0x1c231a=$a('data-id',_0xdf8a74,_0x17c5ec);if(_0x1c231a){if(_0x15eba4&&_0x15eba4['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0xdf8a74;const _0x2c4fa3=_0x15eba4['replaceRemovedWith']['cloneNode'](!0x0);Fa(_0x2c4fa3,'data-id',_0xdf8a74),Fa(_0x2c4fa3,'data-removed','true'),xa(_0x1c231a,_0x2c4fa3);}else ka(_0x1c231a);}}if(Va('data-wrapped-id',null,_0x17c5ec)['forEach'](_0x4710a9=>{const _0xf21e08=$a('data-id',Ba(_0x4710a9,'data-wrapped-id'),_0x17c5ec);var _0x593ad3,_0x24dbfd;_0xf21e08&&(_0x24dbfd=_0x4710a9,ka(_0x593ad3=_0xf21e08),xa(_0x24dbfd,_0x593ad3));}),Va('data-id','new-element',_0x17c5ec)['forEach'](_0x2f8b46=>{const _0x7d5ed4=this['_getUid'](_0x2f8b46);Fa(_0x2f8b46,'data-id',_0x7d5ed4),this['_touchedNodesState']['newIds']['push'](_0x7d5ed4);}),this['_removeSpecialComments'](_0x17c5ec),_0x15eba4&&_0x15eba4['markUnstableElements']&&this['_markUnstableElements'](_0x17c5ec,_0x15eba4['markUnstableElementsDepth']||0x0),_0x15eba4&&_0x15eba4['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x183c39=$a('data-id',this['_touchedNodesState']['lastTouchedId'],_0x17c5ec);for(;_0x183c39;)Xa(_0x183c39),_0x183c39=_0x183c39['parentNode'];}return{'parsedContent':_0x17c5ec,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x460212,_0x3d1059,_0x25a359){for(const _0x5e1526 of _0x3d1059){const _0x5c3ffc=this['_getUid'](_0x5e1526);Fa(_0x5e1526,'data-id',_0x5c3ffc),this['_touchedNodesState']['newIds']['push'](_0x5c3ffc),this['_touchedNodesState']['lastTouchedId']=_0x5c3ffc;}const _0x42f560='afterbegin'===_0x25a359||'afterend'===_0x25a359?_0x3d1059['reverse']():_0x3d1059;for(const _0x4974e4 of _0x42f560)ja(_0x460212,_0x4974e4,_0x25a359);}['_replaceNode'](_0x3318cc,_0x3516a6){if(!_0x3318cc)return;if(_0x3cc73e=_0x3516a6,Ga(Qa(_0x3318cc))===Ga(Qa(_0x3cc73e)))return;var _0x3cc73e;const _0x24f737=this['_getUid'](_0x3318cc);Fa(_0x3516a6,'data-id',_0x24f737),this['_touchedNodesState']['modifiedIds']['push'](_0x24f737),this['_touchedNodesState']['lastTouchedId']=_0x24f737,xa(_0x3318cc,_0x3516a6['cloneNode'](!0x0));}['_findReferenceNode'](_0x83f86,_0x4df904,_0x5f2253){const _0x2af951=this['_findPrevElementWithDataId'](_0x83f86,!0x1);if(_0x2af951){const _0x54a215=this['_getNodeDataId'](_0x2af951),_0xdcd39c=$a('data-id',_0x54a215,_0x5f2253);if(_0xdcd39c)return[_0xdcd39c,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x54a215);}const _0x4d3986=this['_findNextElementWithDataId'](_0x83f86,!0x1);if(_0x4d3986){const _0x365662=this['_getNodeDataId'](_0x4d3986),_0x36410a=$a('data-id',_0x365662,_0x5f2253);if(_0x36410a)return[_0x36410a,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x365662);}return _0x4df904?_0x83f86['nextSibling']?this['_findFallbackReferenceNode'](_0x83f86,_0x5f2253):[_0x5f2253['childNodes'][_0x5f2253['childNodes']['length']-0x1],'afterend']:[_0x5f2253['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x2ce3e8,_0x402071){const _0x3f545c=[],_0xb0fb82=this['_findPrevElementWithDataId'](_0x2ce3e8,!0x0);if(_0xb0fb82){const _0x4b79a3=$a('data-id',this['_getNodeDataId'](_0xb0fb82),_0x402071);_0x4b79a3&&_0x3f545c['push']([_0x4b79a3,'afterend']);}const _0x26b52d=this['_findNextElementWithDataId'](_0x2ce3e8,!0x0);if(_0x26b52d){const _0x5204c4=$a('data-id',this['_getNodeDataId'](_0x26b52d),_0x402071);_0x5204c4&&_0x3f545c['push']([_0x5204c4,'beforebegin']);}if(_0x3f545c['length']>0x1)return Za(_0x3f545c[0x0][0x0])<=Za(_0x3f545c[0x1][0x0])?_0x3f545c[0x0]:_0x3f545c[0x1];return 0x1===_0x3f545c['length']?_0x3f545c[0x0]:[_0x402071['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x54a8c1,_0xb8bbde){let _0x5e5687=_0x54a8c1['nextSibling'],_0x3b7e55=null,_0x2c896e=!0x1;for(;_0x5e5687;){if(ra(_0x5e5687)){if(this['_isDelNode'](_0x5e5687)&&(_0x3b7e55=_0x5e5687),this['_isExistingContentComment'](_0x5e5687)&&_0xb8bbde&&!_0x2c896e){_0x2c896e=!0x0,_0x5e5687=_0x5e5687['nextSibling'];continue;}break;}const _0x5bc919=Ba(_0x5e5687,'data-id');if(_0x5bc919&&'new-element'!==_0x5bc919&&this['_existingDataIds']['has'](_0x5bc919)){_0x3b7e55=_0x5e5687;break;}_0x5e5687=_0x5e5687['nextSibling'];}return _0x3b7e55;}['_findPrevElementWithDataId'](_0x33780c,_0x5738a7){let _0xe92209=_0x33780c['previousSibling'],_0x411029=null,_0x1ea801=!0x1;for(;_0xe92209;){if(ra(_0xe92209)){if(this['_isDelNode'](_0xe92209)&&(_0x411029=_0xe92209),this['_isExistingContentComment'](_0xe92209)&&_0x5738a7&&!_0x1ea801){_0x1ea801=!0x0,_0xe92209=_0xe92209['previousSibling'];continue;}break;}const _0x4bd56b=Ba(_0xe92209,'data-id');if(_0x4bd56b&&'new-element'!==_0x4bd56b&&this['_existingDataIds']['has'](_0x4bd56b)){_0x411029=_0xe92209;break;}_0xe92209=_0xe92209['previousSibling'];}return _0x411029;}['_markWrappedElements'](_0x4748d3){sa(_0x4748d3)&&Va('data-id',null,_0x4748d3)['forEach'](_0x371d2c=>{this['_isExistingNode'](_0x371d2c)&&!this['_hasWrappedParent'](_0x371d2c)&&(Fa(_0x371d2c,'data-wrapped-id',Ba(_0x371d2c,'data-id')),Fa(_0x371d2c,'data-id',null));});}['_getNodeDataId'](_0x5f4969){if(!_0x5f4969)return null;if(sa(_0x5f4969))return Ba(_0x5f4969,'data-id');if(ra(_0x5f4969)){const _0x5bac34=Qa(_0x5f4969)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x5bac34&&_0x5bac34[0x1])return _0x5bac34[0x1];}return null;}['_storeDeletedElementIds'](_0x2ac6e5){if(ra(_0x2ac6e5)){const _0x49d656=Qa(_0x2ac6e5)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x49d656&&_0x49d656[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x49d656[0x1]);}}['_getUid'](_0x4fb20c){return this['_isExistingNode'](_0x4fb20c)?Ba(_0x4fb20c,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x54a95b){Ua(_0x54a95b)['filter'](_0x3e21b3=>this['_isDelNode'](_0x3e21b3)||this['_isExistingContentComment'](_0x3e21b3))['forEach'](_0x3823ee=>{ka(_0x3823ee);});}['_markLastTagElementUnstable'](_0x5853c0){const _0xce43c0=_0x5853c0['childNodes'],_0x2328f5=_0xce43c0[_0xce43c0['length']-0x1];_0x2328f5&&sa(_0x2328f5)&&Fa(_0x2328f5,'data-unstable','true');}['_markUnstableElements'](_0x28018b,_0x308cd5){const _0x1cb84f=$a('data-unstable','true',_0x28018b);if(!_0x1cb84f)return;const _0x1203b4=Ha(_0x1cb84f)['slice'](0x0,-0x1),_0x1a5f77=_0x1203b4['length'];let _0x10f3ce=_0x1cb84f;if(_0x1a5f77>_0x308cd5){let _0x262d9d=_0x1a5f77,_0x113b1d=null;for(;_0x262d9d>_0x308cd5&&_0x262d9d>=0x0;)_0x262d9d--,_0x113b1d=_0x1203b4[_0x262d9d];_0x113b1d&&(_0x10f3ce=_0x113b1d,Fa(_0x1cb84f,'data-unstable',null),Fa(_0x113b1d,'data-unstable','true'));}else{if(_0x1a5f77<_0x308cd5){let _0x114824=_0x1a5f77,_0x57612a=_0x1cb84f;for(;_0x114824<_0x308cd5;){const _0x16018b=_0x57612a['childNodes']['filter'](_0x2811f9=>sa(_0x2811f9));if(0x0===_0x16018b['length'])break;_0x114824++,_0x57612a=_0x16018b[_0x16018b['length']-0x1];}_0x57612a&&(_0x10f3ce=_0x57612a,Fa(_0x1cb84f,'data-unstable',null),Fa(_0x57612a,'data-unstable','true'));}}let _0x75912c=_0x10f3ce;for(;_0x75912c;){for(;_0x75912c['nextSibling'];)_0x75912c=_0x75912c['nextSibling'],sa(_0x75912c)&&Fa(_0x75912c,'data-unstable','true');_0x75912c=_0x75912c['parentNode'];}}['_isNewNode'](_0x4af5c0){return Boolean('new-element'===Ba(_0x4af5c0,'data-id'));}['_isExistingNode'](_0x2ae449){return Boolean((Ba(_0x2ae449,'data-id')||'')['length']>0x0&&'new-element'!==Ba(_0x2ae449,'data-id'));}['_isDelNode'](_0x1d19f9){return!!_0x1d19f9&&Boolean(ra(_0x1d19f9)&&Qa(_0x1d19f9)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x4088fe){let _0x2ea0ee=_0x4088fe['parentNode'];for(;_0x2ea0ee;){if(Ba(_0x2ea0ee,'data-wrapped-id'))return!0x0;_0x2ea0ee=_0x2ea0ee['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x1d5074){return Boolean(ra(_0x1d5074)&&Qa(_0x1d5074)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class Permissions extends _0x90c2d8{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x66ed7e,_0x47babb){let _0x5202d7;if(_0x47babb||(_0x47babb=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x47babb?_0x5202d7=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x5202d7=this['context']['editors']['find'](_0x1557a4=>_0x1557a4['config']['get']('collaboration.channelId')==_0x47babb)),!_0x5202d7)throw new _0x1976e8('permissions-set-permissions-invalid-channel-id',null);const _0x14943b=_0x5202d7['plugins'],_0x60f157=_0x14943b['has']('CommentsRepository')?_0x14943b['get']('CommentsRepository'):void 0x0,_0x1706f4=_0x14943b['has']('CommentsOnly')&&_0x14943b['get']('CommentsOnly'),_0x49db7d=_0x66ed7e['includes']('document:write'),_0x2c91c0=_0x66ed7e['includes']('comment:modify_all'),_0x535a2e=_0x66ed7e['includes']('comment:admin'),_0x407b69=_0x66ed7e['includes']('comment:write'),_0x5ea0a2=_0x407b69||_0x535a2e,_0x14f914=_0x5ea0a2||_0x2c91c0,_0x47c6b8=_0x49db7d||_0x5ea0a2;(_0x1706f4&&(_0x1706f4['isEnabled']=!_0x49db7d&&_0x14f914),_0x5202d7 instanceof _0x2f9368)&&(!(_0x49db7d||_0x14f914&&_0x60f157)?_0x5202d7['enableReadOnlyMode']('no-permissions'):_0x5202d7['disableReadOnlyMode']('no-permissions'));if(_0x60f157){_0x60f157['setPermissions']({'admin':_0x535a2e,'modifyAll':_0x2c91c0,'write':_0x407b69,'resolve':_0x47c6b8},_0x47babb);const _0x4637a8=_0x5202d7 instanceof _0x2f9368&&_0x5202d7['commands']['get']('addCommentThread');_0x4637a8&&(_0x5ea0a2?_0x4637a8['clearForceDisabled']('noPermissions'):_0x4637a8['forceDisabled']('noPermissions'));}}}function qa(_0x2413bf,_0x12ff03){const t=_0x2413bf['t'];switch(_0x12ff03){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 Users extends _0x90c2d8{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x5e6746){super(_0x5e6746),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0xe4e0d0(),this['_locale']=_0x5e6746['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:_0x47eae1,name:_0x237b4e,..._0x4e4fde}){if(!_0x47eae1||'string'!=typeof _0x47eae1)throw new _0x1976e8('users-add-invalid-id');if(this['users']['has'](_0x47eae1))throw new _0x1976e8('users-add-duplicated-id',null,{'id':_0x47eae1});const _0x22f10c=this['context']['config']['get']('users.getInitialsCallback'),_0x365fb4={..._0x4e4fde,'id':_0x47eae1,'name':za(this['_locale'],_0x237b4e),'color':this['_getNextColor']()};_0x365fb4['name']=za(this['_locale'],_0x365fb4['name']);const _0xc8461e=new Wa(_0x365fb4,_0x22f10c);return this['users']['add'](_0xc8461e),_0xc8461e;}['getUser'](_0x461a09){return this['users']['get'](_0x461a09);}['useAnonymousUser'](){const _0x72e916=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x72e916);}['defineMe'](_0xb16c6c){if(this['_myId'])throw new _0x1976e8('users-me-already-defined',null);const _0x310c98=this['getUser'](_0xb16c6c);if(!_0x310c98)throw new _0x1976e8('users-me-missing-user',null);this['_myId']=_0xb16c6c,_0x310c98['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x413f4e=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x413f4e&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x545748=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x545748,'name':qa(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let Wa=class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x856c45,_0x580875){this['id']=_0x856c45['id'],this['color']=_0x856c45['color'],this['name']=_0x856c45['name'],this['initials']=_0x580875?_0x580875(this['name']):this['_computeInitials'](),this['avatar']=_0x856c45['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x563b84=this['name']['split']('\x20')['filter'](_0x3d535e=>/^[\p{Letter}]/u['test'](_0x3d535e));return 0x1===_0x563b84['length']?this['_getInitial'](_0x563b84[0x0]):0x0===_0x563b84['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x563b84[0x0])+this['_getInitial'](_0x563b84[_0x563b84['length']-0x1]);}['_getInitial'](_0x3f8f31){return String['fromCodePoint'](_0x3f8f31['codePointAt'](0x0))['toUpperCase']();}};function za(_0x345a4e,_0x263df7=''){return''==(_0x263df7=_0x263df7['trim']())?qa(_0x345a4e,'Anonymous'):_0x263df7;}class CollaborationUserColor{['_id'];constructor(_0x1ddb6b){this['_id']=_0x1ddb6b;}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 UserView extends _0x268b55{['name'];['notificationView'];constructor(_0x3e155c,_0x5eb457,_0x214717){super(_0x3e155c),this['name']=_0x5eb457['name'],this['notificationView']=null;const _0xbbe46f=['ck','ck-user'],_0x4df4d5=['ck','ck-user__img'];if(_0x5eb457['isAnonymous']&&_0x4df4d5['push']('ck-user__anonymous'),!_0x5eb457['isAnonymous']&&_0x5eb457['isMe']&&_0xbbe46f['push']('ck-user_me'),_0x5eb457['avatar']&&_0x4df4d5['push']('ck-user__avatar'),_0x214717){const _0x1a5634=new _0x2b9920();_0x1a5634['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1a5634['content']=_0x3f8612,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x214717},'children':[_0x1a5634]};}const _0x29ed07=[{'tag':'div','attributes':{'class':_0x4df4d5,'style':{'background-image':_0x5eb457['avatar']?'url(\x27'+_0x5eb457['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5eb457['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5eb457['name']},'children':[{'text':_0x5eb457['initials']}]}];this['notificationView']&&_0x29ed07['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xbbe46f,'data-user-id':_0x5eb457['id']},'children':_0x29ed07});}}class AriaDescriptionView extends _0x268b55{['id'];constructor(_0x23fe7c,_0xd6882e){super(_0x23fe7c),this['id']='ck-aria-description-'+_0x288d30(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0xd6882e}]});}}class LateFocusButtonView extends _0x13bcd9{['render'](){super['render'](),Ya(this);}}class LateFocusDropdownButtonView extends ht{['render'](){super['render'](),Ya(this);}}function Ya(_0x1a3a2f){_0x1a3a2f['listenTo'](_0x1a3a2f['element'],'mousedown',(_0x229597,_0x380142)=>{_0x380142['stopPropagation'](),_0x380142['preventDefault']();}),_0x1a3a2f['listenTo'](_0x1a3a2f['element'],'mouseup',()=>{_0x1a3a2f['element']['focus']();});}function Ka(_0x3ccb78){const _0x23ef25=_0x3ccb78['split'](':');return{'group':_0x23ef25[0x0],'type':_0x23ef25[0x1],'subType':_0x23ef25['length']>=0x5?_0x23ef25[0x2]:null,'id':_0x23ef25['length']<0x5?_0x23ef25[0x2]:_0x23ef25[0x3],'authorId':_0x23ef25['length']<0x5?_0x23ef25[0x3]:_0x23ef25[0x4],'markerCount':0x6==_0x23ef25['length']?_0x23ef25[0x5]:null};}function Ja(_0x4666e3,_0x3d852d){const _0x321441=_0x4666e3['end']['nodeBefore'];if(_0x321441&&_0x321441['is']('element')&&_0x3d852d['schema']['isBlock'](_0x321441)&&!_0x3d852d['schema']['isObject'](_0x321441)){const _0x1ee9a4=_0x3d852d['createPositionAt'](_0x321441,'end');return _0x3d852d['createRange'](_0x4666e3['start'],_0x1ee9a4);}return _0x4666e3;}class SuggestionsConversionAlignment extends _0x4ac504{['afterInit'](){const _0x4606bb=this['editor'];if(!_0x4606bb['plugins']['has']('AlignmentEditing'))return;_0x4606bb['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const tc=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x4ac504{['afterInit'](){const _0x4e329a=this['editor'],_0x50adfc=_0x4e329a['plugins']['get']('SuggestionsConversion');for(const _0x25d3c3 of tc){if(!_0x4e329a['plugins']['has'](_0x25d3c3))continue;const _0x1ea4cf=_0x25d3c3['slice'](0x0,-0x7)['toLowerCase']();_0x50adfc['registerInlineAttribute'](_0x1ea4cf);}}}class SuggestionsConversionBookmark extends _0x4ac504{['afterInit'](){const _0x2a6e66=this['editor'],_0x33a73b=_0x2a6e66['plugins']['get']('SuggestionsConversion');_0x2a6e66['plugins']['has']('BookmarkEditing')&&_0x33a73b['registerBlockAttribute']('bookmarkId');}}const ec=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x4ac504{['afterInit'](){const _0x5ebb12=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x179085,commandName:_0x1b48d6}of ec)this['editor']['plugins']['has'](_0x179085)&&_0x5ebb12['registerInlineAttribute'](_0x1b48d6);}}class SuggestionsConversionFootnotes extends _0x4ac504{['afterInit'](){const {editor:_0x55e5e1}=this;if(!_0x55e5e1['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x12c179=_0x55e5e1['plugins']['get']('SuggestionsConversion');_0x12c179['registerBlockAttribute']('footnotesListStyle'),_0x12c179['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0x4ac504{['afterInit'](){const _0x5bd0d2=this['editor'];if(!_0x5bd0d2['plugins']['has']('HighlightEditing'))return;_0x5bd0d2['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x4ac504{['afterInit'](){const _0x713f=this['editor'];if(!_0x713f['plugins']['has']('HtmlEmbed'))return;_0x713f['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x4ac504{['afterInit'](){const _0x2462f4=this['editor'];if(!_0x2462f4['plugins']['has']('ImageEditing'))return;const _0x266e10=_0x2462f4['plugins']['get']('SuggestionsConversion');_0x266e10['registerBlockAttribute']('src'),_0x2462f4['plugins']['has']('ImageResize')&&_0x266e10['registerBlockAttribute']('resizedWidth'),_0x2462f4['plugins']['has']('ImageTextAlternativeEditing')&&_0x266e10['registerBlockAttribute']('alt'),_0x2462f4['plugins']['has']('PictureEditing')&&_0x266e10['registerBlockAttribute']('sources'),_0x2462f4['plugins']['has']('ImageSizeAttributes')&&(_0x266e10['registerBlockAttribute']('width'),_0x266e10['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x4ac504{['afterInit'](){const _0x362a19=this['editor'],_0x4ffe66=_0x362a19['plugins']['get']('SuggestionsConversion');_0x362a19['plugins']['has']('IndentBlock')&&(_0x4ffe66['registerBlockAttribute']('blockIndent'),_0x362a19['plugins']['has']('ListEditing')&&(_0x4ffe66['registerBlockAttribute']('blockIndentList'),_0x4ffe66['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x4ac504{['afterInit'](){const _0x144cce=this['editor'];if(!_0x144cce['plugins']['has']('LineHeight'))return;_0x144cce['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x4ac504{['afterInit'](){const _0x57cc92=this['editor'];if(!_0x57cc92['plugins']['has']('LinkEditing'))return;const _0x2b2dba=_0x57cc92['plugins']['get']('SuggestionsConversion'),_0x495c21=_0x57cc92['commands']['get']('link');_0x2b2dba['registerInlineAttribute']('linkHref');for(const _0x485355 of _0x495c21['manualDecorators'])_0x2b2dba['registerInlineAttribute'](_0x485355['id']);}}class SuggestionsConversionList extends _0x4ac504{['afterInit'](){const _0xb7a828=this['editor'];if(!_0xb7a828['plugins']['has']('ListEditing'))return;const _0x108165=_0xb7a828['plugins']['get']('SuggestionsConversion'),_0x471c20=_0xb7a828['plugins']['has']('TodoListEditing');_0x108165['registerBlockAttribute']('listItemId'),_0x108165['registerBlockAttribute']('listType'),_0x108165['registerBlockAttribute']('listIndent'),_0x471c20&&_0x108165['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x567d2a=this['editor']['config']['get']('list.properties'),_0x3be083=this['editor']['plugins']['get']('SuggestionsConversion');_0x567d2a['styles']&&_0x3be083['registerBlockAttribute']('listStyle'),_0x567d2a['reversed']&&_0x3be083['registerBlockAttribute']('listReversed'),_0x567d2a['startIndex']&&_0x3be083['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x4ac504{['afterInit'](){const _0x267414=this['editor'],_0x462f86=_0x267414['plugins']['get']('SuggestionsConversion');_0x267414['plugins']['has']('MultiLevelList')&&_0x462f86['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0x4ac504{['afterInit'](){const _0x43d4db=this['editor'];if(!_0x43d4db['plugins']['has']('Style')||!_0x43d4db['plugins']['has']('DataSchema')||!_0x43d4db['config']['get']('style.definitions'))return;const _0x581d4b=_0x43d4db['plugins']['get']('SuggestionsConversion'),_0x2ea9ea=_0x43d4db['config']['get']('style.definitions'),_0x223418=_0x43d4db['plugins']['get']('GeneralHtmlSupport'),_0x1087e5=_0x43d4db['plugins']['get']('StyleUtils')['normalizeConfig'](_0x43d4db['plugins']['get']('DataSchema'),_0x2ea9ea),_0x29763c=new Set();for(const _0x5cbe30 of _0x1087e5['block']){const _0x1deac3=_0x223418['getGhsAttributeNameForElement'](_0x5cbe30['element']);_0x29763c['add'](_0x1deac3);}const _0x53ad20=new Set();for(const _0x1f543b of _0x1087e5['inline']){const _0x20db06=_0x223418['getGhsAttributeNameForElement'](_0x1f543b['element']);_0x53ad20['add'](_0x20db06);for(const _0x493657 of _0x1f543b['ghsAttributes'])_0x53ad20['add'](_0x493657);}for(const _0x4cf2d6 of _0x29763c)_0x581d4b['registerBlockAttribute'](_0x4cf2d6);for(const _0xdb7b0c of _0x53ad20)_0x581d4b['registerInlineAttribute'](_0xdb7b0c);}}class SuggestionsConversionTableHeadings extends _0x4ac504{['afterInit'](){const _0x355ffc=this['editor'];if(!_0x355ffc['plugins']['has']('TableEditing'))return;const _0x2e56ac=_0x355ffc['plugins']['get']('SuggestionsConversion');_0x2e56ac['registerBlockAttribute']('headingRows'),_0x2e56ac['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x4ac504{['afterInit'](){const {plugins:_0x4c8c65}=this['editor'];if(!_0x4c8c65['has']('TablePropertiesEditing'))return;const _0xf9f7be=_0x4c8c65['get']('SuggestionsConversion'),_0x12b211=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x205ea4 of _0x12b211)_0xf9f7be['registerBlockAttribute'](_0x205ea4);}}class SuggestionsConversionTableLayout extends _0x4ac504{['afterInit'](){const _0xe54e4a=this['editor'],_0x58339d=_0xe54e4a['plugins']['get']('SuggestionsConversion');_0xe54e4a['plugins']['has']('TableLayout')&&_0x58339d['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x4ac504{['afterInit'](){const _0x476b70=this['editor'],_0x4a7775=this['editor']['plugins']['get']('SuggestionsConversion');_0x476b70['plugins']['has']('Uploadcare')&&_0x476b70['plugins']['has']('UploadcareImageEdit')&&_0x4a7775['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x4ac504{['afterInit'](){const _0x328af2=this['editor'];if(!_0x328af2['plugins']['has']('ShiftEnter'))return;const _0x482237=_0x328af2['plugins']['get']('SuggestionsConversion'),_0x4b5c82=(_0x2888b8,_0x135c88,_0x4405f3,_0x15c997)=>{if(_0x15c997&&!_0x4405f3['options']['showSuggestionHighlights'])return;if(!_0x4405f3['consumable']['test'](_0x135c88['markerRange'],_0x2888b8['name']))return;const _0x45fe9e=_0x328af2['model'];for(const _0x42df9b of _0x135c88['markerRange']['getItems']()){if(!_0x42df9b['is']('element','softBreak'))continue;const _0x47e1d3='deletion'==_0x135c88['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3259ac,authorId:_0x17b842}=Ka(_0x135c88['markerName']),_0x3ad55b=_0x4405f3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x47e1d3,'data-suggestion':_0x3259ac,'data-author-id':_0x17b842}),_0x4b4478=_0x4405f3['mapper']['toViewPosition'](_0x45fe9e['createPositionBefore'](_0x42df9b));!_0x15c997&&_0x482237['_activeMarkers']['includes'](_0x135c88['markerName'])&&_0x4405f3['writer']['addClass']('ck-suggestion-marker--active',_0x3ad55b),_0x4405f3['writer']['insert'](_0x4b4478,_0x3ad55b),_0x4405f3['mapper']['bindElementToMarker'](_0x3ad55b,_0x135c88['markerName']);}};_0x328af2['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5318d4,_0x1febc4,_0x3d9026)=>{_0x4b5c82(_0x5318d4,_0x1febc4,_0x3d9026,!0x1);},{'priority':'high'}),_0x328af2['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2450b3,_0x487926,_0x23b08a)=>{_0x4b5c82(_0x2450b3,_0x487926,_0x23b08a,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x4ac504{['afterInit'](){const _0x51b1e2=this['editor'];_0x51b1e2['plugins']['has']('MediaEmbedEditing')&&(_0x51b1e2['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5aaa63,{writer:_0x49bef9,options:_0x1b013b})=>{if(_0x1b013b['showSuggestionHighlights'])return _0x49bef9['createEmptyElement']('div');},'converterPriority':'high'}),_0x51b1e2['data']['downcastDispatcher']['on']('attribute:url:media',(_0x19bc14,_0x480345,_0x22ee89)=>{_0x22ee89['options']['showSuggestionHighlights']&&_0x19bc14['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0x4ac504{['afterInit'](){const _0x1daf12=this['editor'];if(!_0x1daf12['plugins']['has']('Table'))return;_0x1daf12['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x244e96,_0x256e79,_0x322a1e)=>{((_0x406712,_0x55b64b,_0x3a5520)=>{if(!_0x3a5520['options']['showSuggestionHighlights'])return;const _0x19c6b9=_0x55b64b['item'];if(!_0x19c6b9||!_0x19c6b9['is']('element','tableCell'))return;const _0x18e3c8=_0x3a5520['mapper']['toViewElement'](_0x19c6b9);if(_0x18e3c8){const {id:_0x132956,authorId:_0x217524}=Ka(_0x55b64b['markerName']);_0x450e57(_0x18e3c8,_0x3a5520['writer'],(_0x578600,_0x58fe3e,_0x1795ca)=>{_0x1795ca['addClass'](_0x5be7db(_0x58fe3e['classes']),_0x578600),_0x1795ca['setAttribute']('data-suggestion-id',_0x132956,_0x578600),_0x1795ca['setAttribute']('data-author-id',_0x217524,_0x578600);});}})(0x0,_0x256e79,_0x322a1e);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x4ac504{['afterInit'](){const _0xaee72f=this['editor'];_0xaee72f['plugins']['has']('HorizontalLineEditing')&&_0xaee72f['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4dff0c,{writer:_0x119320,options:_0x1c292d})=>{if(!_0x1c292d['showSuggestionHighlights'])return null;const _0x1b69f3=_0x119320['createContainerElement']('div'),_0x30e255=_0x119320['createEmptyElement']('hr');return _0x119320['addClass']('ck-horizontal-line',_0x1b69f3),_0x119320['insert'](_0x119320['createPositionAt'](_0x1b69f3,0x0),_0x30e255),_0x1b69f3;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x4ac504{['afterInit'](){const {plugins:_0xdc400a,model:_0x37e0e7}=this['editor'];if(!_0xdc400a['has']('TableCellPropertiesEditing'))return;const _0x38b488=_0xdc400a['get']('SuggestionsConversion'),_0x1a99a6=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x43228c of _0x1a99a6)_0x38b488['registerBlockAttribute'](_0x43228c);_0x37e0e7['schema']['checkAttribute']('tableCell','tableCellType')&&_0x38b488['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends _0x4ac504{['_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 _0x1e1086=this['editor'],_0x4bc47f=(_0x40ead9,_0x43d435,_0x488d73)=>{const {id:_0x39a32c,authorId:_0x66fd22,type:_0x30f3f6,subType:_0x375039}=Ka(_0x40ead9['markerName']),_0x565891=['ck-suggestion-marker',this['_getClassName'](_0x30f3f6,_0x375039)];let _0x5ef1f1=0xbb8;return!_0x488d73&&(this['_activeMarkers']['includes'](_0x40ead9['markerName'])&&(_0x565891['push']('ck-suggestion-marker--active'),_0x5ef1f1=0xbc2)),('deletion'==_0x30f3f6&&(_0x5ef1f1+=0x5),{'classes':_0x565891,'attributes':{'data-suggestion':_0x39a32c,'data-author-id':_0x66fd22},'priority':_0x5ef1f1});};_0x1e1086['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x405b9c,_0x1782aa)=>_0x4bc47f(_0x405b9c,0x0,!0x1)}),_0x1e1086['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x313999,_0x20aaac)=>_0x4bc47f(_0x313999,0x0,!0x0)}),_0x1e1086['conversion']['for']('dataDowncast')['add'](_0x57cbd4=>{_0x57cbd4['on']('addMarker:suggestion',(_0x4f27c1,_0x298227,_0x2c3a37)=>{if(!_0x2c3a37['options']['showSuggestionHighlights'])return;const _0x338804=_0x298227['item'];if(!_0x338804)return;const _0x392bb0=_0x2c3a37['mapper']['toViewElement'](_0x338804);_0x1e1086['model']['schema']['isObject'](_0x338804)&&_0x392bb0&&!_0x392bb0['getCustomProperty']('widget')&&_0x392bb0['is']('containerElement')&&_0x4b80d1(_0x392bb0,_0x2c3a37['writer']);},{'priority':'high'});});const _0x16c495=(_0x54c8c4,_0x4ce226,_0x257d1d,_0x2cbe00,_0x990c0f)=>{if(_0x2cbe00&&!_0x257d1d['options']['showSuggestionHighlights'])return;if(!_0x4ce226['item'])return;const {id:_0x4f4125,authorId:_0x108920,subType:_0xbec5f0}=Ka(_0x4ce226['markerName']);if(_0x990c0f){const _0xe30f0b=_0xbec5f0['split']('|')[0x0];if(!this['isBlockAttribute'](_0xe30f0b))return;}if(_0x4ce226['item']['is']('selection'))return void _0x257d1d['consumable']['consume'](_0x4ce226['item'],_0x54c8c4['name']);const _0x43230b=_0x257d1d['mapper']['toViewElement'](_0x4ce226['item']);if(_0x4ce226['item']['is']('element')&&_0x1e1086['model']['schema']['isBlock'](_0x4ce226['item'])&&!_0x43230b['getCustomProperty']('addHighlight')){_0x257d1d['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x43230b),_0x257d1d['writer']['setAttribute']('data-suggestion',_0x4f4125,_0x43230b),_0x257d1d['writer']['setAttribute']('data-author-id',_0x108920,_0x43230b),_0x257d1d['mapper']['bindElementToMarker'](_0x43230b,_0x4ce226['markerName']),_0x2cbe00||(this['_activeMarkers']['includes'](_0x4ce226['markerName'])?_0x257d1d['writer']['addClass']('ck-suggestion-marker--active',_0x43230b):_0x257d1d['writer']['removeClass']('ck-suggestion-marker--active',_0x43230b));for(const _0xc832b2 of _0x1e1086['model']['createRangeIn'](_0x4ce226['item'])['getItems']())_0x257d1d['consumable']['consume'](_0xc832b2,_0x54c8c4['name']);_0x257d1d['consumable']['consume'](_0x4ce226['item'],_0x54c8c4['name']);}},_0x1f7ba3=(_0x5874f4,_0x27771c,_0x98fa07,_0x250e48)=>{const _0x44f2d8=_0x98fa07['mapper']['markerNameToElements'](_0x27771c['markerName']);if(_0x44f2d8){if(_0x250e48){const {subType:_0x244fd3}=Ka(_0x27771c['markerName']),_0x4e3c2e=_0x244fd3['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4e3c2e))return;}for(const _0x2d4785 of _0x44f2d8)_0x2d4785['getCustomProperty']('addHighlight')||(_0x98fa07['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2d4785),_0x98fa07['writer']['removeAttribute']('data-suggestion',_0x2d4785),_0x98fa07['writer']['removeAttribute']('data-author-id',_0x2d4785),_0x98fa07['mapper']['unbindElementFromMarkerName'](_0x2d4785,_0x27771c['markerName']));}};_0x1e1086['conversion']['for']('editingDowncast')['add'](_0x4756d5=>{_0x4756d5['on']('addMarker:suggestion:formatBlock',(_0x1fc2e0,_0x75f04a,_0xf4bad3)=>{_0x16c495(_0x1fc2e0,_0x75f04a,_0xf4bad3,!0x1,!0x1);},{'priority':'high'});}),_0x1e1086['conversion']['for']('editingDowncast')['add'](_0x154e0a=>{_0x154e0a['on']('addMarker:suggestion:attribute',(_0x41279f,_0x1f2f85,_0x26e509)=>{_0x16c495(_0x41279f,_0x1f2f85,_0x26e509,!0x1,!0x0);},{'priority':'high'});}),_0x1e1086['conversion']['for']('editingDowncast')['add'](_0x47c097=>{_0x47c097['on']('removeMarker:suggestion:formatBlock',(_0xbf8dbb,_0x80829b,_0xe154c3)=>{_0x1f7ba3(0x0,_0x80829b,_0xe154c3,!0x1);},{'priority':'high'});}),_0x1e1086['conversion']['for']('editingDowncast')['add'](_0x1efb1a=>{_0x1efb1a['on']('removeMarker:suggestion:attribute',(_0x2c06e0,_0x2d76a8,_0x46fa10)=>{_0x1f7ba3(0x0,_0x2d76a8,_0x46fa10,!0x0);},{'priority':'high'});}),_0x1e1086['conversion']['for']('dataDowncast')['add'](_0x332d36=>{_0x332d36['on']('addMarker:suggestion:formatBlock',(_0x20562c,_0x1ea933,_0x1cd73e)=>{_0x16c495(_0x20562c,_0x1ea933,_0x1cd73e,!0x0,!0x1);},{'priority':'highest'});}),_0x1e1086['conversion']['for']('dataDowncast')['add'](_0x5a79b9=>{_0x5a79b9['on']('addMarker:suggestion:attribute',(_0x438cd5,_0xee6f5c,_0x59febc)=>{_0x16c495(_0x438cd5,_0xee6f5c,_0x59febc,!0x0,!0x0);},{'priority':'highest'});}),_0x1e1086['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5cacd8,_0x1c2a4a)=>{if(_0x1c2a4a['options']['showSuggestionHighlights']){const {id:_0x3c9df3,authorId:_0x33b3a8}=Ka(_0x5cacd8);return _0x5cacd8['includes'](':split')||_0x5cacd8['includes'](':merge')?{'group':'suggestion','name':_0x5cacd8['substr'](0xb),'attributes':{'data-suggestion':_0x3c9df3,'data-author-id':_0x33b3a8}}:null;}return{'group':'suggestion','name':_0x5cacd8['substr'](0xb)};}});const _0x2e3e24=(_0x3f0592,_0xb8f6f2,_0x50cf74,_0x20aa66,_0x38f21b)=>{if(_0x20aa66&&!_0x50cf74['options']['showSuggestionHighlights'])return;if(!_0x50cf74['consumable']['test'](_0xb8f6f2['markerRange'],_0x3f0592['name']))return;const _0x5ac17b=this['_activeMarkers'],_0x48559e=_0xb8f6f2['markerRange']['getWalker'](),_0x2f48e5=_0xb8f6f2['markerRange']['start'],_0x8e6cc8=_0x1e1086['model']['schema'];let _0x1b7d23=null,_0x21fb6e=null,_0x355fa6=!0x1,_0x1b6aa8=!0x1;for(const _0x464b07 of _0x48559e){const _0x34a269=_0x464b07['item'];_0x355fa6=_0x355fa6||_0x8e6cc8['isContent'](_0x34a269);const _0x2468dc=_0x50cf74['mapper']['toViewElement'](_0x34a269);if(_0x2468dc&&_0x2468dc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x464b07['type']&&(_0x8e6cc8['isBlock'](_0x34a269)&&!_0x8e6cc8['isLimit'](_0x34a269)&&(_0x34a269['nextSibling']||_0x2f48e5['isAtEnd']?_0x1b7d23&&_0x1b7d23['parent']==_0x34a269||(_0x1b7d23=_0x34a269,_0x55b67a(_0x464b07['previousPosition']),_0x1b6aa8=!0x0):_0x21fb6e=_0x21fb6e||_0x464b07['previousPosition']));}function _0x55b67a(_0x5836ac){const {id:_0x33633c,authorId:_0x2064ce}=Ka(_0xb8f6f2['markerName']),_0x410fd9=_0x50cf74['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x38f21b,'data-suggestion':_0x33633c,'data-author-id':_0x2064ce}),_0x22236e=_0x50cf74['mapper']['toViewPosition'](_0x5836ac);!_0x20aa66&&_0x5ac17b['includes'](_0xb8f6f2['markerName'])&&_0x50cf74['writer']['addClass']('ck-suggestion-marker--active',_0x410fd9),_0x50cf74['writer']['insert'](_0x22236e,_0x410fd9),_0x50cf74['mapper']['bindElementToMarker'](_0x410fd9,_0xb8f6f2['markerName']);}_0x355fa6||_0x1b6aa8||!_0x21fb6e||_0x55b67a(_0x21fb6e);};_0x1e1086['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x18ee12,_0x111f26,_0x232d8a)=>{_0x2e3e24(_0x18ee12,_0x111f26,_0x232d8a,!0x1,'merge');},{'priority':'high'}),_0x1e1086['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x532a29,_0x277626,_0x293fb6)=>{_0x2e3e24(_0x532a29,_0x277626,_0x293fb6,!0x0,'merge');},{'priority':'high'}),_0x1e1086['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x31f325,_0x5a4de6,_0x38c491)=>{_0x2e3e24(_0x31f325,_0x5a4de6,_0x38c491,!0x1,'split');},{'priority':'high'}),_0x1e1086['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x210cba,_0x37661e,_0x279da3)=>{_0x2e3e24(_0x210cba,_0x37661e,_0x279da3,!0x0,'split');},{'priority':'high'}),_0x1e1086['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5185d1,_0x27d667,_0x58a796)=>{((_0xc0c714,_0x24a165,_0x51b8d8)=>{const _0x2f6c17=_0x51b8d8['mapper']['markerNameToElements'](_0x24a165['markerName']);if(_0x2f6c17){for(const _0x5b3268 of _0x2f6c17)(_0x5b3268['hasClass']('ck-suggestion-marker-split')||_0x5b3268['hasClass']('ck-suggestion-marker-merge'))&&(_0x51b8d8['mapper']['unbindElementFromMarkerName'](_0x5b3268,_0x24a165['markerName']),_0x51b8d8['writer']['remove'](_0x5b3268));}})(0x0,_0x27d667,_0x58a796);},{'priority':'high'});const _0x316947=(_0x1f45b7,_0x256ea4,_0x52957c,_0x2731bd)=>{if(_0x2731bd&&!_0x52957c['options']['showSuggestionHighlights'])return;const _0x4797b0=_0x256ea4['markerRange']['start'],_0x3a9c61=_0x256ea4['markerRange']['end'],_0x4cba27=_0x1e1086['model']['schema'];if(!_0x4797b0['isTouching'](_0x3a9c61)||!_0x4797b0['nodeAfter'])return;const _0x259552=_0x4797b0['nodeAfter'];if(_0x4cba27['isBlock'](_0x259552)&&!_0x4cba27['isLimit'](_0x259552)&&_0x4cba27['checkChild'](_0x259552,'$text')){if(!_0x52957c['consumable']['consume'](_0x256ea4['markerRange'],_0x1f45b7['name']))return;const {id:_0xda978e,authorId:_0x294661}=Ka(_0x256ea4['markerName']),_0x351513=_0x52957c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0xda978e,'data-author-id':_0x294661}),_0x4c2ec1=_0x52957c['mapper']['toViewPosition'](_0x3a9c61);!_0x2731bd&&this['_activeMarkers']['includes'](_0x256ea4['markerName'])&&_0x52957c['writer']['addClass']('ck-suggestion-marker--active',_0x351513),_0x52957c['writer']['insert'](_0x4c2ec1,_0x351513),_0x52957c['mapper']['bindElementToMarker'](_0x351513,_0x256ea4['markerName']);}};_0x1e1086['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1016a4,_0x479b57,_0x13c3ff)=>{_0x316947(_0x1016a4,_0x479b57,_0x13c3ff,!0x1);},{'priority':'high'}),_0x1e1086['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3b20f7,_0x44ef60,_0x1cd350)=>{_0x316947(_0x3b20f7,_0x44ef60,_0x1cd350,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x37bccb,_0x5d8660,_0x345a6c)=>{this['_activeMarkers']=_0x345a6c['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x14f466){this['_blockAttributeKeys']['add'](_0x14f466);}['registerInlineAttribute'](_0x446c4e){this['_inlineAttributeKeys']['add'](_0x446c4e);}['isBlockAttribute'](_0x489fe9){return this['_blockAttributeKeys']['has'](_0x489fe9);}['isInlineAttribute'](_0x3d4946){return this['_inlineAttributeKeys']['has'](_0x3d4946);}['isRegisteredAttribute'](_0x35e819){return this['isInlineAttribute'](_0x35e819)||this['isBlockAttribute'](_0x35e819);}['_getClassName'](_0x2254d1,_0x570135){if('attribute'!=_0x2254d1)return'ck-suggestion-marker-'+_0x2254d1;const _0x467d3e=_0x570135['split']('|')[0x0];return this['isBlockAttribute'](_0x467d3e)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(_0x924a21){super('Invalid\x20DateTime:\x20'+_0x924a21['toMessage']());}}class InvalidIntervalError extends LuxonError{constructor(_0x567c05){super('Invalid\x20Interval:\x20'+_0x567c05['toMessage']());}}class InvalidDurationError extends LuxonError{constructor(_0x31083b){super('Invalid\x20Duration:\x20'+_0x31083b['toMessage']());}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(_0x2cf35b){super('Invalid\x20unit\x20'+_0x2cf35b);}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const ic='numeric',sc='short',nc='long',rc={'year':ic,'month':ic,'day':ic},oc={'year':ic,'month':sc,'day':ic},ac={'year':ic,'month':sc,'day':ic,'weekday':sc},cc={'year':ic,'month':nc,'day':ic},lc={'year':ic,'month':nc,'day':ic,'weekday':nc},hc={'hour':ic,'minute':ic},uc={'hour':ic,'minute':ic,'second':ic},dc={'hour':ic,'minute':ic,'second':ic,'timeZoneName':sc},fc={'hour':ic,'minute':ic,'second':ic,'timeZoneName':nc},mc={'hour':ic,'minute':ic,'hourCycle':'h23'},gc={'hour':ic,'minute':ic,'second':ic,'hourCycle':'h23'},pc={'hour':ic,'minute':ic,'second':ic,'hourCycle':'h23','timeZoneName':sc},Oc={'hour':ic,'minute':ic,'second':ic,'hourCycle':'h23','timeZoneName':nc},wc={'year':ic,'month':ic,'day':ic,'hour':ic,'minute':ic},bc={'year':ic,'month':ic,'day':ic,'hour':ic,'minute':ic,'second':ic},yc={'year':ic,'month':sc,'day':ic,'hour':ic,'minute':ic},_c={'year':ic,'month':sc,'day':ic,'hour':ic,'minute':ic,'second':ic},vc={'year':ic,'month':sc,'day':ic,'weekday':sc,'hour':ic,'minute':ic},Tc={'year':ic,'month':nc,'day':ic,'hour':ic,'minute':ic,'timeZoneName':sc},Ec={'year':ic,'month':nc,'day':ic,'hour':ic,'minute':ic,'second':ic,'timeZoneName':sc},Ac={'year':ic,'month':nc,'day':ic,'weekday':nc,'hour':ic,'minute':ic,'timeZoneName':nc},Sc={'year':ic,'month':nc,'day':ic,'weekday':nc,'hour':ic,'minute':ic,'second':ic,'timeZoneName':nc};class Zone{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x14ad80,_0x3a8eec){throw new ZoneIsAbstractError();}['formatOffset'](_0xf7e6d,_0xc08c08){throw new ZoneIsAbstractError();}['offset'](_0x19dad3){throw new ZoneIsAbstractError();}['equals'](_0x3386ad){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let Ic=null;class SystemZone extends Zone{static get['instance'](){return null===Ic&&(Ic=new SystemZone()),Ic;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x32ce46,{format:_0x4d5e88,locale:_0x3c4a46}){return $l(_0x32ce46,_0x4d5e88,_0x3c4a46);}['formatOffset'](_0xc3884f,_0x33fd28){return Fl(this['offset'](_0xc3884f),_0x33fd28);}['offset'](_0x45bdf3){return-new Date(_0x45bdf3)['getTimezoneOffset']();}['equals'](_0x51a2fd){return'system'===_0x51a2fd['type'];}get['isValid'](){return!0x0;}}const Cc=new Map(),kc={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},xc=new Map();class IANAZone extends Zone{static['create'](_0x3be3c3){let _0x463774=xc['get'](_0x3be3c3);return void 0x0===_0x463774&&xc['set'](_0x3be3c3,_0x463774=new IANAZone(_0x3be3c3)),_0x463774;}static['resetCache'](){xc['clear'](),Cc['clear']();}static['isValidSpecifier'](_0x46cdbe){return this['isValidZone'](_0x46cdbe);}static['isValidZone'](_0x1c4311){if(!_0x1c4311)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x1c4311})['format'](),!0x0;}catch(_0x58032a){return!0x1;}}constructor(_0x184a06){super(),this['zoneName']=_0x184a06,this['valid']=IANAZone['isValidZone'](_0x184a06);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x1b9358,{format:_0x15b917,locale:_0x3b5e72}){return $l(_0x1b9358,_0x15b917,_0x3b5e72,this['name']);}['formatOffset'](_0xe952e0,_0x43c822){return Fl(this['offset'](_0xe952e0),_0x43c822);}['offset'](_0x4c04a7){if(!this['valid'])return NaN;const _0x204162=new Date(_0x4c04a7);if(isNaN(_0x204162))return NaN;const _0x957688=function(_0x29f4e9){let _0x14d7d0=Cc['get'](_0x29f4e9);return void 0x0===_0x14d7d0&&(_0x14d7d0=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x29f4e9,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),Cc['set'](_0x29f4e9,_0x14d7d0)),_0x14d7d0;}(this['name']);let [_0x351be5,_0x1ad992,_0x183f39,_0x44c29b,_0x3cf98a,_0x14459a,_0x12981e]=_0x957688['formatToParts']?function(_0x43280b,_0x1075fe){const _0x2d433e=_0x43280b['formatToParts'](_0x1075fe),_0x35e7d1=[];for(let _0x280e27=0x0;_0x280e27<_0x2d433e['length'];_0x280e27++){const {type:_0x53ada2,value:_0x2c87fa}=_0x2d433e[_0x280e27],_0x82d0d0=kc[_0x53ada2];'era'===_0x53ada2?_0x35e7d1[_0x82d0d0]=_0x2c87fa:Ol(_0x82d0d0)||(_0x35e7d1[_0x82d0d0]=parseInt(_0x2c87fa,0xa));}return _0x35e7d1;}(_0x957688,_0x204162):function(_0x5d9010,_0x393b04){const _0x5299be=_0x5d9010['format'](_0x393b04)['replace'](/\u200E/g,''),_0x147729=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x5299be),[,_0x5cece2,_0x4d8c66,_0x17c891,_0x60742b,_0xc52bd9,_0x5e8b9f,_0x199613]=_0x147729;return[_0x17c891,_0x5cece2,_0x4d8c66,_0x60742b,_0xc52bd9,_0x5e8b9f,_0x199613];}(_0x957688,_0x204162);'BC'===_0x44c29b&&(_0x351be5=0x1-Math['abs'](_0x351be5));let _0x5f4d7a=+_0x204162;const _0x217aa6=_0x5f4d7a%0x3e8;return _0x5f4d7a-=_0x217aa6>=0x0?_0x217aa6:0x3e8+_0x217aa6,(Nl({'year':_0x351be5,'month':_0x1ad992,'day':_0x183f39,'hour':0x18===_0x3cf98a?0x0:_0x3cf98a,'minute':_0x14459a,'second':_0x12981e,'millisecond':0x0})-_0x5f4d7a)/0xea60;}['equals'](_0x19ea3a){return'iana'===_0x19ea3a['type']&&_0x19ea3a['name']===this['name'];}get['isValid'](){return this['valid'];}}let Rc={};const Pc=new Map();function Mc(_0x4578bd,_0x5f5ca4={}){const _0x29cbd1=JSON['stringify']([_0x4578bd,_0x5f5ca4]);let _0x1bc015=Pc['get'](_0x29cbd1);return void 0x0===_0x1bc015&&(_0x1bc015=new Intl['DateTimeFormat'](_0x4578bd,_0x5f5ca4),Pc['set'](_0x29cbd1,_0x1bc015)),_0x1bc015;}const Nc=new Map(),Lc=new Map();let Dc=null;const Qc=new Map();function $c(_0xd15efb){let _0x32b487=Qc['get'](_0xd15efb);return void 0x0===_0x32b487&&(_0x32b487=new Intl['DateTimeFormat'](_0xd15efb)['resolvedOptions'](),Qc['set'](_0xd15efb,_0x32b487)),_0x32b487;}const Vc=new Map();function Uc(_0x75ebd6,_0xbb0cc9,_0x19ba11,_0x291a33){const _0x11a379=_0x75ebd6['listingMode']();return'error'===_0x11a379?null:'en'===_0x11a379?_0x19ba11(_0xbb0cc9):_0x291a33(_0xbb0cc9);}class PolyNumberFormatter{constructor(_0x5911d5,_0x59f0d5,_0x4d9c53){this['padTo']=_0x4d9c53['padTo']||0x0,this['floor']=_0x4d9c53['floor']||!0x1;const {padTo:_0x5070fa,floor:_0x3947dc,..._0x1279ed}=_0x4d9c53;if(!_0x59f0d5||Object['keys'](_0x1279ed)['length']>0x0){const _0x1d7172={'useGrouping':!0x1,..._0x4d9c53};_0x4d9c53['padTo']>0x0&&(_0x1d7172['minimumIntegerDigits']=_0x4d9c53['padTo']),this['inf']=function(_0x31aaae,_0x5aa41b={}){const _0x21ac0a=JSON['stringify']([_0x31aaae,_0x5aa41b]);let _0xab6b06=Nc['get'](_0x21ac0a);return void 0x0===_0xab6b06&&(_0xab6b06=new Intl['NumberFormat'](_0x31aaae,_0x5aa41b),Nc['set'](_0x21ac0a,_0xab6b06)),_0xab6b06;}(_0x5911d5,_0x1d7172);}}['format'](_0x5e3838){if(this['inf']){const _0x1bc1b8=this['floor']?Math['floor'](_0x5e3838):_0x5e3838;return this['inf']['format'](_0x1bc1b8);}return Sl(this['floor']?Math['floor'](_0x5e3838):xl(_0x5e3838,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x44d279,_0x3ab6a4,_0x35ba7f){let _0x53ee23;if(this['opts']=_0x35ba7f,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x44d279;else{if('fixed'===_0x44d279['zone']['type']){const _0x33c735=_0x44d279['offset']/0x3c*-0x1,_0xa4731e=_0x33c735>=0x0?'Etc/GMT+'+_0x33c735:'Etc/GMT'+_0x33c735;0x0!==_0x44d279['offset']&&IANAZone['create'](_0xa4731e)['valid']?(_0x53ee23=_0xa4731e,this['dt']=_0x44d279):(_0x53ee23='UTC',this['dt']=0x0===_0x44d279['offset']?_0x44d279:_0x44d279['setZone']('UTC')['plus']({'minutes':_0x44d279['offset']}),this['originalZone']=_0x44d279['zone']);}else'system'===_0x44d279['zone']['type']?this['dt']=_0x44d279:'iana'===_0x44d279['zone']['type']?(this['dt']=_0x44d279,_0x53ee23=_0x44d279['zone']['name']):(_0x53ee23='UTC',this['dt']=_0x44d279['setZone']('UTC')['plus']({'minutes':_0x44d279['offset']}),this['originalZone']=_0x44d279['zone']);}const _0x3e2366={...this['opts']};_0x3e2366['timeZone']=_0x3e2366['timeZone']||_0x53ee23,this['dtf']=Mc(_0x3ab6a4,_0x3e2366);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x81f6fb})=>_0x81f6fb)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x2a4a98=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x2a4a98['map'](_0x52f1c4=>{if('timeZoneName'===_0x52f1c4['type']){const _0x1f5bfd=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x52f1c4,'value':_0x1f5bfd};}return _0x52f1c4;}):_0x2a4a98;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x53c6b6,_0x5819f6,_0x1adb0c){this['opts']={'style':'long',..._0x1adb0c},!_0x5819f6&&yl()&&(this['rtf']=function(_0x4a62ef,_0x2c82d5={}){const {base:_0x48ea34,..._0x37b4a5}=_0x2c82d5,_0x50fc5f=JSON['stringify']([_0x4a62ef,_0x37b4a5]);let _0xc68f1b=Lc['get'](_0x50fc5f);return void 0x0===_0xc68f1b&&(_0xc68f1b=new Intl['RelativeTimeFormat'](_0x4a62ef,_0x2c82d5),Lc['set'](_0x50fc5f,_0xc68f1b)),_0xc68f1b;}(_0x53c6b6,_0x1adb0c));}['format'](_0x1ddf37,_0x95a59){return this['rtf']?this['rtf']['format'](_0x1ddf37,_0x95a59):function(_0x5c58bd,_0x5cbc88,_0x5e19e3='always',_0x31e20c=!0x1){const _0x131598={'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.']},_0x1a3207=-0x1===['hours','minutes','seconds']['indexOf'](_0x5c58bd);if('auto'===_0x5e19e3&&_0x1a3207){const _0x40dd9a='days'===_0x5c58bd;switch(_0x5cbc88){case 0x1:return _0x40dd9a?'tomorrow':'next\x20'+_0x131598[_0x5c58bd][0x0];case-0x1:return _0x40dd9a?'yesterday':'last\x20'+_0x131598[_0x5c58bd][0x0];case 0x0:return _0x40dd9a?'today':'this\x20'+_0x131598[_0x5c58bd][0x0];}}const _0x298693=Object['is'](_0x5cbc88,-0x0)||_0x5cbc88<0x0,_0x4e6e53=Math['abs'](_0x5cbc88),_0x1a47c7=0x1===_0x4e6e53,_0x2d5717=_0x131598[_0x5c58bd],_0x41efa6=_0x31e20c?_0x1a47c7?_0x2d5717[0x1]:_0x2d5717[0x2]||_0x2d5717[0x1]:_0x1a47c7?_0x131598[_0x5c58bd][0x0]:_0x5c58bd;return _0x298693?_0x4e6e53+'\x20'+_0x41efa6+'\x20ago':'in\x20'+_0x4e6e53+'\x20'+_0x41efa6;}(_0x95a59,_0x1ddf37,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x1276c2,_0x38c06d){return this['rtf']?this['rtf']['formatToParts'](_0x1276c2,_0x38c06d):[];}}const Bc={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class Locale{static['fromOpts'](_0x1b6e7e){return Locale['create'](_0x1b6e7e['locale'],_0x1b6e7e['numberingSystem'],_0x1b6e7e['outputCalendar'],_0x1b6e7e['weekSettings'],_0x1b6e7e['defaultToEN']);}static['create'](_0x2e524b,_0x56c52b,_0x34cc19,_0x5895d8,_0x29e17=!0x1){const _0x2713a2=_0x2e524b||Settings['defaultLocale'],_0x1a1485=_0x2713a2||(_0x29e17?'en-US':Dc||(Dc=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],Dc)),_0x1f8175=_0x56c52b||Settings['defaultNumberingSystem'],_0x35467f=_0x34cc19||Settings['defaultOutputCalendar'],_0x29d44a=El(_0x5895d8)||Settings['defaultWeekSettings'];return new Locale(_0x1a1485,_0x1f8175,_0x35467f,_0x29d44a,_0x2713a2);}static['resetCache'](){Dc=null,Pc['clear'](),Nc['clear'](),Lc['clear'](),Qc['clear'](),Vc['clear']();}static['fromObject']({locale:_0x3a9b66,numberingSystem:_0x89f5f4,outputCalendar:_0x1a9704,weekSettings:_0x1cab64}={}){return Locale['create'](_0x3a9b66,_0x89f5f4,_0x1a9704,_0x1cab64);}constructor(_0x32a3ed,_0x2a8ea8,_0xa6dbe9,_0x19211c,_0x5677ce){const [_0x4eb5a9,_0x4b696f,_0xb962f0]=function(_0x52f07c){const _0x1d7621=_0x52f07c['indexOf']('-x-');-0x1!==_0x1d7621&&(_0x52f07c=_0x52f07c['substring'](0x0,_0x1d7621));const _0x208169=_0x52f07c['indexOf']('-u-');if(-0x1===_0x208169)return[_0x52f07c];{let _0xfdf661,_0x30fb7b;try{_0xfdf661=Mc(_0x52f07c)['resolvedOptions'](),_0x30fb7b=_0x52f07c;}catch(_0x5d7d15){const _0x40cb16=_0x52f07c['substring'](0x0,_0x208169);_0xfdf661=Mc(_0x40cb16)['resolvedOptions'](),_0x30fb7b=_0x40cb16;}const {numberingSystem:_0x3ab8d5,calendar:_0x21fd87}=_0xfdf661;return[_0x30fb7b,_0x3ab8d5,_0x21fd87];}}(_0x32a3ed);this['locale']=_0x4eb5a9,this['numberingSystem']=_0x2a8ea8||_0x4b696f||null,this['outputCalendar']=_0xa6dbe9||_0xb962f0||null,this['weekSettings']=_0x19211c,this['intl']=function(_0x13fe5a,_0x513ae1,_0x5cac18){return _0x5cac18||_0x513ae1?(_0x13fe5a['includes']('-u-')||(_0x13fe5a+='-u'),_0x5cac18&&(_0x13fe5a+='-ca-'+_0x5cac18),_0x513ae1&&(_0x13fe5a+='-nu-'+_0x513ae1),_0x13fe5a):_0x13fe5a;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x5677ce,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x4339cd;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x4339cd=this)['numberingSystem']||'latn'===_0x4339cd['numberingSystem'])&&('latn'===_0x4339cd['numberingSystem']||!_0x4339cd['locale']||_0x4339cd['locale']['startsWith']('en')||'latn'===$c(_0x4339cd['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x8ed18c=this['isEnglish'](),_0x1bbc7f=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x8ed18c&&_0x1bbc7f?'en':'intl';}['clone'](_0x28896f){return _0x28896f&&0x0!==Object['getOwnPropertyNames'](_0x28896f)['length']?Locale['create'](_0x28896f['locale']||this['specifiedLocale'],_0x28896f['numberingSystem']||this['numberingSystem'],_0x28896f['outputCalendar']||this['outputCalendar'],El(_0x28896f['weekSettings'])||this['weekSettings'],_0x28896f['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x493376={}){return this['clone']({..._0x493376,'defaultToEN':!0x0});}['redefaultToSystem'](_0xc6517={}){return this['clone']({..._0xc6517,'defaultToEN':!0x1});}['months'](_0x488a6e,_0x7b85e7=!0x1){return Uc(this,_0x488a6e,Xl,()=>{const _0x2a9db8=_0x7b85e7?{'month':_0x488a6e,'day':'numeric'}:{'month':_0x488a6e},_0x46200=_0x7b85e7?'format':'standalone';return this['monthsCache'][_0x46200][_0x488a6e]||(this['monthsCache'][_0x46200][_0x488a6e]=function(_0x55f584){const _0x47f238=[];for(let _0x4a252b=0x1;_0x4a252b<=0xc;_0x4a252b++){const _0x2e6d8b=DateTime['utc'](0x7d9,_0x4a252b,0x1);_0x47f238['push'](_0x55f584(_0x2e6d8b));}return _0x47f238;}(_0x39b183=>this['extract'](_0x39b183,_0x2a9db8,'month'))),this['monthsCache'][_0x46200][_0x488a6e];});}['weekdays'](_0xd3fb30,_0x430bbb=!0x1){return Uc(this,_0xd3fb30,Yl,()=>{const _0x4c10fd=_0x430bbb?{'weekday':_0xd3fb30,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0xd3fb30},_0x5a6888=_0x430bbb?'format':'standalone';return this['weekdaysCache'][_0x5a6888][_0xd3fb30]||(this['weekdaysCache'][_0x5a6888][_0xd3fb30]=function(_0x311260){const _0x35a314=[];for(let _0x2dd79a=0x1;_0x2dd79a<=0x7;_0x2dd79a++){const _0x18591f=DateTime['utc'](0x7e0,0xb,0xd+_0x2dd79a);_0x35a314['push'](_0x311260(_0x18591f));}return _0x35a314;}(_0x3c48bd=>this['extract'](_0x3c48bd,_0x4c10fd,'weekday'))),this['weekdaysCache'][_0x5a6888][_0xd3fb30];});}['meridiems'](){return Uc(this,void 0x0,()=>Kl,()=>{if(!this['meridiemCache']){const _0x33b285={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x27d38e=>this['extract'](_0x27d38e,_0x33b285,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x5d1761){return Uc(this,_0x5d1761,ih,()=>{const _0x99b155={'era':_0x5d1761};return this['eraCache'][_0x5d1761]||(this['eraCache'][_0x5d1761]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x27a911=>this['extract'](_0x27a911,_0x99b155,'era'))),this['eraCache'][_0x5d1761];});}['extract'](_0x2f48af,_0x4d9c17,_0x33cd11){const _0x1147da=this['dtFormatter'](_0x2f48af,_0x4d9c17)['formatToParts']()['find'](_0x4d358a=>_0x4d358a['type']['toLowerCase']()===_0x33cd11);return _0x1147da?_0x1147da['value']:null;}['numberFormatter'](_0x3c46d0={}){return new PolyNumberFormatter(this['intl'],_0x3c46d0['forceSimple']||this['fastNumbers'],_0x3c46d0);}['dtFormatter'](_0x220280,_0x572ed1={}){return new PolyDateFormatter(_0x220280,this['intl'],_0x572ed1);}['relFormatter'](_0x4b303f={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x4b303f);}['listFormatter'](_0xb6ff5a={}){return function(_0x777690,_0xd1235f={}){const _0x47d92c=JSON['stringify']([_0x777690,_0xd1235f]);let _0x196b78=Rc[_0x47d92c];return _0x196b78||(_0x196b78=new Intl['ListFormat'](_0x777690,_0xd1235f),Rc[_0x47d92c]=_0x196b78),_0x196b78;}(this['intl'],_0xb6ff5a);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||$c(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_l()?function(_0x1ac685){let _0x1a7779=Vc['get'](_0x1ac685);if(!_0x1a7779){const _0x131db0=new Intl['Locale'](_0x1ac685);_0x1a7779='getWeekInfo'in _0x131db0?_0x131db0['getWeekInfo']():_0x131db0['weekInfo'],'minimalDays'in _0x1a7779||(_0x1a7779={...Bc,..._0x1a7779}),Vc['set'](_0x1ac685,_0x1a7779);}return _0x1a7779;}(this['locale']):Bc;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x4e01d7){return this['locale']===_0x4e01d7['locale']&&this['numberingSystem']===_0x4e01d7['numberingSystem']&&this['outputCalendar']===_0x4e01d7['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let Fc=null;class FixedOffsetZone extends Zone{static get['utcInstance'](){return null===Fc&&(Fc=new FixedOffsetZone(0x0)),Fc;}static['instance'](_0xa61419){return 0x0===_0xa61419?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0xa61419);}static['parseSpecifier'](_0x1d5ef9){if(_0x1d5ef9){const _0x32fd18=_0x1d5ef9['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x32fd18)return new FixedOffsetZone(Vl(_0x32fd18[0x1],_0x32fd18[0x2]));}return null;}constructor(_0x1ee456){super(),this['fixed']=_0x1ee456;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+Fl(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+Fl(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x4993f5,_0x59743b){return Fl(this['fixed'],_0x59743b);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x30592e){return'fixed'===_0x30592e['type']&&_0x30592e['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class InvalidZone extends Zone{constructor(_0x2151e4){super(),this['zoneName']=_0x2151e4;}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 jc(_0x180a11,_0x24836d){if(Ol(_0x180a11)||null===_0x180a11)return _0x24836d;if(_0x180a11 instanceof Zone)return _0x180a11;if(function(_0x665df4){return'string'==typeof _0x665df4;}(_0x180a11)){const _0x2a0207=_0x180a11['toLowerCase']();return'default'===_0x2a0207?_0x24836d:'local'===_0x2a0207||'system'===_0x2a0207?SystemZone['instance']:'utc'===_0x2a0207||'gmt'===_0x2a0207?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x2a0207)||IANAZone['create'](_0x180a11);}return wl(_0x180a11)?FixedOffsetZone['instance'](_0x180a11):'object'==typeof _0x180a11&&'offset'in _0x180a11&&'function'==typeof _0x180a11['offset']?_0x180a11:new InvalidZone(_0x180a11);}const Hc={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},Gc={'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]},Zc=Hc['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),Xc=new Map();function qc({numberingSystem:_0x13a6bf},_0x320128=''){const _0x16c6b3=_0x13a6bf||'latn';let _0x8e9227=Xc['get'](_0x16c6b3);void 0x0===_0x8e9227&&(_0x8e9227=new Map(),Xc['set'](_0x16c6b3,_0x8e9227));let _0x504165=_0x8e9227['get'](_0x320128);return void 0x0===_0x504165&&(_0x504165=new RegExp(''+Hc[_0x16c6b3]+_0x320128),_0x8e9227['set'](_0x320128,_0x504165)),_0x504165;}let Wc,zc=()=>Date['now'](),Yc='system',Kc=null,Jc=null,tl=null,el=0x3c,il=null;class Settings{static get['now'](){return zc;}static set['now'](_0x8ace6){zc=_0x8ace6;}static set['defaultZone'](_0x3eed31){Yc=_0x3eed31;}static get['defaultZone'](){return jc(Yc,SystemZone['instance']);}static get['defaultLocale'](){return Kc;}static set['defaultLocale'](_0x4cacc2){Kc=_0x4cacc2;}static get['defaultNumberingSystem'](){return Jc;}static set['defaultNumberingSystem'](_0x1f9ce8){Jc=_0x1f9ce8;}static get['defaultOutputCalendar'](){return tl;}static set['defaultOutputCalendar'](_0x2f3a24){tl=_0x2f3a24;}static get['defaultWeekSettings'](){return il;}static set['defaultWeekSettings'](_0x494eb9){il=El(_0x494eb9);}static get['twoDigitCutoffYear'](){return el;}static set['twoDigitCutoffYear'](_0x310016){el=_0x310016%0x64;}static get['throwOnInvalid'](){return Wc;}static set['throwOnInvalid'](t){Wc=t;}static['resetCaches'](){Locale['resetCache'](),IANAZone['resetCache'](),DateTime['resetCache'](),Xc['clear']();}}class Invalid{constructor(_0x6f9d49,_0x47b940){this['reason']=_0x6f9d49,this['explanation']=_0x47b940;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const sl=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],nl=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function rl(_0x2fa978,_0x3b579f){return new Invalid('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x3b579f+'\x20(of\x20type\x20'+typeof _0x3b579f+')\x20as\x20a\x20'+_0x2fa978+',\x20which\x20is\x20invalid');}function ol(_0x47929f,_0x3d34c6,_0x3b466e){const _0xab7644=new Date(Date['UTC'](_0x47929f,_0x3d34c6-0x1,_0x3b466e));_0x47929f<0x64&&_0x47929f>=0x0&&_0xab7644['setUTCFullYear'](_0xab7644['getUTCFullYear']()-0x76c);const _0xe38594=_0xab7644['getUTCDay']();return 0x0===_0xe38594?0x7:_0xe38594;}function al(_0x1eb2f5,_0xc560dd,_0x8fdcea){return _0x8fdcea+(Rl(_0x1eb2f5)?nl:sl)[_0xc560dd-0x1];}function cl(_0x4718c0,_0x48f3e0){const _0x5c3cdb=Rl(_0x4718c0)?nl:sl,_0x332c6a=_0x5c3cdb['findIndex'](_0x3aa58f=>_0x3aa58f<_0x48f3e0);return{'month':_0x332c6a+0x1,'day':_0x48f3e0-_0x5c3cdb[_0x332c6a]};}function ll(_0x2082be,_0x2c5486){return(_0x2082be-_0x2c5486+0x7)%0x7+0x1;}function hl(_0x4a11ac,_0x4f4083=0x4,_0x10bb66=0x1){const {year:_0x1214e0,month:_0x39b2a9,day:_0x5d2ed3}=_0x4a11ac,_0x203d36=al(_0x1214e0,_0x39b2a9,_0x5d2ed3),_0x909f70=ll(ol(_0x1214e0,_0x39b2a9,_0x5d2ed3),_0x10bb66);let _0x266c6c,_0x57ceac=Math['floor']((_0x203d36-_0x909f70+0xe-_0x4f4083)/0x7);return _0x57ceac<0x1?(_0x266c6c=_0x1214e0-0x1,_0x57ceac=Dl(_0x266c6c,_0x4f4083,_0x10bb66)):_0x57ceac>Dl(_0x1214e0,_0x4f4083,_0x10bb66)?(_0x266c6c=_0x1214e0+0x1,_0x57ceac=0x1):_0x266c6c=_0x1214e0,{'weekYear':_0x266c6c,'weekNumber':_0x57ceac,'weekday':_0x909f70,...jl(_0x4a11ac)};}function ul(_0x26f5e0,_0x425f3b=0x4,_0x21b20a=0x1){const {weekYear:_0x2157db,weekNumber:_0x54fff8,weekday:_0x578a25}=_0x26f5e0,_0x701239=ll(ol(_0x2157db,0x1,_0x425f3b),_0x21b20a),_0x301539=Pl(_0x2157db);let _0x16e484,_0x5b1ae8=0x7*_0x54fff8+_0x578a25-_0x701239-0x7+_0x425f3b;_0x5b1ae8<0x1?(_0x16e484=_0x2157db-0x1,_0x5b1ae8+=Pl(_0x16e484)):_0x5b1ae8>_0x301539?(_0x16e484=_0x2157db+0x1,_0x5b1ae8-=Pl(_0x2157db)):_0x16e484=_0x2157db;const {month:_0x1886da,day:_0x11d6c5}=cl(_0x16e484,_0x5b1ae8);return{'year':_0x16e484,'month':_0x1886da,'day':_0x11d6c5,...jl(_0x26f5e0)};}function dl(_0x15d59b){const {year:_0x211435,month:_0x1b98bc,day:_0x444765}=_0x15d59b;return{'year':_0x211435,'ordinal':al(_0x211435,_0x1b98bc,_0x444765),...jl(_0x15d59b)};}function fl(_0x36cf18){const {year:_0x3374b4,ordinal:_0x42ee1c}=_0x36cf18,{month:_0x1e6291,day:_0x2a9aa6}=cl(_0x3374b4,_0x42ee1c);return{'year':_0x3374b4,'month':_0x1e6291,'day':_0x2a9aa6,...jl(_0x36cf18)};}function ml(_0x3e15f0,_0x28c448){if(!Ol(_0x3e15f0['localWeekday'])||!Ol(_0x3e15f0['localWeekNumber'])||!Ol(_0x3e15f0['localWeekYear'])){if(!Ol(_0x3e15f0['weekday'])||!Ol(_0x3e15f0['weekNumber'])||!Ol(_0x3e15f0['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return Ol(_0x3e15f0['localWeekday'])||(_0x3e15f0['weekday']=_0x3e15f0['localWeekday']),Ol(_0x3e15f0['localWeekNumber'])||(_0x3e15f0['weekNumber']=_0x3e15f0['localWeekNumber']),Ol(_0x3e15f0['localWeekYear'])||(_0x3e15f0['weekYear']=_0x3e15f0['localWeekYear']),delete _0x3e15f0['localWeekday'],delete _0x3e15f0['localWeekNumber'],delete _0x3e15f0['localWeekYear'],{'minDaysInFirstWeek':_0x28c448['getMinDaysInFirstWeek'](),'startOfWeek':_0x28c448['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function gl(_0x15ad17){const _0x1ed711=bl(_0x15ad17['year']),_0x3efd1d=Al(_0x15ad17['month'],0x1,0xc),_0x51d74e=Al(_0x15ad17['day'],0x1,Ml(_0x15ad17['year'],_0x15ad17['month']));return _0x1ed711?_0x3efd1d?!_0x51d74e&&rl('day',_0x15ad17['day']):rl('month',_0x15ad17['month']):rl('year',_0x15ad17['year']);}function pl(_0x336255){const {hour:_0x45bea0,minute:_0xe600c0,second:_0x1227d8,millisecond:_0x59935f}=_0x336255,_0x427c03=Al(_0x45bea0,0x0,0x17)||0x18===_0x45bea0&&0x0===_0xe600c0&&0x0===_0x1227d8&&0x0===_0x59935f,_0x1c29ce=Al(_0xe600c0,0x0,0x3b),_0x1152e6=Al(_0x1227d8,0x0,0x3b),_0x54047b=Al(_0x59935f,0x0,0x3e7);return _0x427c03?_0x1c29ce?_0x1152e6?!_0x54047b&&rl('millisecond',_0x59935f):rl('second',_0x1227d8):rl('minute',_0xe600c0):rl('hour',_0x45bea0);}function Ol(_0x3ee007){return void 0x0===_0x3ee007;}function wl(_0x20f698){return'number'==typeof _0x20f698;}function bl(_0x56c676){return'number'==typeof _0x56c676&&_0x56c676%0x1==0x0;}function yl(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x19f45f){return!0x1;}}function _l(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x5b5e32){return!0x1;}}function vl(_0xe7cf8a,_0x4a4572,_0x53dd15){if(0x0!==_0xe7cf8a['length'])return _0xe7cf8a['reduce']((_0x7dabb9,_0x2d594c)=>{const _0x188ad2=[_0x4a4572(_0x2d594c),_0x2d594c];return _0x7dabb9&&_0x53dd15(_0x7dabb9[0x0],_0x188ad2[0x0])===_0x7dabb9[0x0]?_0x7dabb9:_0x188ad2;},null)[0x1];}function Tl(_0x404d01,_0x5291cb){return Object['prototype']['hasOwnProperty']['call'](_0x404d01,_0x5291cb);}function El(_0x28a493){if(null==_0x28a493)return null;if('object'!=typeof _0x28a493)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!Al(_0x28a493['firstDay'],0x1,0x7)||!Al(_0x28a493['minimalDays'],0x1,0x7)||!Array['isArray'](_0x28a493['weekend'])||_0x28a493['weekend']['some'](_0x47450f=>!Al(_0x47450f,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x28a493['firstDay'],'minimalDays':_0x28a493['minimalDays'],'weekend':Array['from'](_0x28a493['weekend'])};}function Al(_0x47cbed,_0x20ea51,_0x164e7d){return bl(_0x47cbed)&&_0x47cbed>=_0x20ea51&&_0x47cbed<=_0x164e7d;}function Sl(_0x20c1ff,_0x15e6b9=0x2){let _0x24d082;return _0x24d082=_0x20c1ff<0x0?'-'+(''+-_0x20c1ff)['padStart'](_0x15e6b9,'0'):(''+_0x20c1ff)['padStart'](_0x15e6b9,'0'),_0x24d082;}function Il(_0x4ded65){return Ol(_0x4ded65)||null===_0x4ded65||''===_0x4ded65?void 0x0:parseInt(_0x4ded65,0xa);}function Cl(_0x5d6903){return Ol(_0x5d6903)||null===_0x5d6903||''===_0x5d6903?void 0x0:parseFloat(_0x5d6903);}function kl(_0x5eb4a2){if(!Ol(_0x5eb4a2)&&null!==_0x5eb4a2&&''!==_0x5eb4a2){const _0xf18147=0x3e8*parseFloat('0.'+_0x5eb4a2);return Math['floor'](_0xf18147);}}function xl(_0x53ae0c,_0x3e9883,_0x411cbc=!0x1){const _0x5b68c7=0xa**_0x3e9883;return(_0x411cbc?Math['trunc']:Math['round'])(_0x53ae0c*_0x5b68c7)/_0x5b68c7;}function Rl(_0x202b61){return _0x202b61%0x4==0x0&&(_0x202b61%0x64!=0x0||_0x202b61%0x190==0x0);}function Pl(_0x120c0a){return Rl(_0x120c0a)?0x16e:0x16d;}function Ml(_0x5eee4d,_0xf4c6e4){const _0x18a820=function(_0x3fc691,_0x391398){return _0x3fc691-_0x391398*Math['floor'](_0x3fc691/_0x391398);}(_0xf4c6e4-0x1,0xc)+0x1;return 0x2===_0x18a820?Rl(_0x5eee4d+(_0xf4c6e4-_0x18a820)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x18a820-0x1];}function Nl(_0x33f086){let _0x31a81d=Date['UTC'](_0x33f086['year'],_0x33f086['month']-0x1,_0x33f086['day'],_0x33f086['hour'],_0x33f086['minute'],_0x33f086['second'],_0x33f086['millisecond']);return _0x33f086['year']<0x64&&_0x33f086['year']>=0x0&&(_0x31a81d=new Date(_0x31a81d),_0x31a81d['setUTCFullYear'](_0x33f086['year'],_0x33f086['month']-0x1,_0x33f086['day'])),+_0x31a81d;}function Ll(_0x5bc4a0,_0x2475ad,_0x4dac00){return-ll(ol(_0x5bc4a0,0x1,_0x2475ad),_0x4dac00)+_0x2475ad-0x1;}function Dl(_0x1d8f49,_0x35b6db=0x4,_0x3e57f0=0x1){const _0x25757d=Ll(_0x1d8f49,_0x35b6db,_0x3e57f0),_0x4f3103=Ll(_0x1d8f49+0x1,_0x35b6db,_0x3e57f0);return(Pl(_0x1d8f49)-_0x25757d+_0x4f3103)/0x7;}function Ql(_0x426917){return _0x426917>0x63?_0x426917:_0x426917>Settings['twoDigitCutoffYear']?0x76c+_0x426917:0x7d0+_0x426917;}function $l(_0xaeea96,_0x415888,_0x549148,_0x4c1183=null){const _0x4c031b=new Date(_0xaeea96),_0x113950={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x4c1183&&(_0x113950['timeZone']=_0x4c1183);const _0x178ff6={'timeZoneName':_0x415888,..._0x113950},_0x4acf0b=new Intl['DateTimeFormat'](_0x549148,_0x178ff6)['formatToParts'](_0x4c031b)['find'](_0x2fb3f3=>'timezonename'===_0x2fb3f3['type']['toLowerCase']());return _0x4acf0b?_0x4acf0b['value']:null;}function Vl(_0x430f2,_0x22c82c){let _0x6092c1=parseInt(_0x430f2,0xa);Number['isNaN'](_0x6092c1)&&(_0x6092c1=0x0);const _0x11d0cb=parseInt(_0x22c82c,0xa)||0x0;return 0x3c*_0x6092c1+(_0x6092c1<0x0||Object['is'](_0x6092c1,-0x0)?-_0x11d0cb:_0x11d0cb);}function Ul(_0x1a8f4b){const _0x778891=Number(_0x1a8f4b);if('boolean'==typeof _0x1a8f4b||''===_0x1a8f4b||Number['isNaN'](_0x778891))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x1a8f4b);return _0x778891;}function Bl(_0x1a7410,_0x4379cc){const _0x19d030={};for(const _0x159e98 in _0x1a7410)if(Tl(_0x1a7410,_0x159e98)){const _0x3d7ea7=_0x1a7410[_0x159e98];if(null==_0x3d7ea7)continue;_0x19d030[_0x4379cc(_0x159e98)]=Ul(_0x3d7ea7);}return _0x19d030;}function Fl(_0xda40d2,_0x3266b3){const _0x222cca=Math['trunc'](Math['abs'](_0xda40d2/0x3c)),_0x2c89db=Math['trunc'](Math['abs'](_0xda40d2%0x3c)),_0x3238d6=_0xda40d2>=0x0?'+':'-';switch(_0x3266b3){case'short':return''+_0x3238d6+Sl(_0x222cca,0x2)+':'+Sl(_0x2c89db,0x2);case'narrow':return''+_0x3238d6+_0x222cca+(_0x2c89db>0x0?':'+_0x2c89db:'');case'techie':return''+_0x3238d6+Sl(_0x222cca,0x2)+Sl(_0x2c89db,0x2);default:throw new RangeError('Value\x20format\x20'+_0x3266b3+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function jl(_0x2501c5){return function(_0x6c4f88,_0x57c287){return _0x57c287['reduce']((_0x388702,_0x21cfab)=>(_0x388702[_0x21cfab]=_0x6c4f88[_0x21cfab],_0x388702),{});}(_0x2501c5,['hour','minute','second','millisecond']);}const Hl=['January','February','March','April','May','June','July','August','September','October','November','December'],Gl=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],Zl=['J','F','M','A','M','J','J','A','S','O','N','D'];function Xl(_0x340a08){switch(_0x340a08){case'narrow':return[...Zl];case'short':return[...Gl];case'long':return[...Hl];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 ql=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],Wl=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],zl=['M','T','W','T','F','S','S'];function Yl(_0x397033){switch(_0x397033){case'narrow':return[...zl];case'short':return[...Wl];case'long':return[...ql];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const Kl=['AM','PM'],Jl=['Before\x20Christ','Anno\x20Domini'],th=['BC','AD'],eh=['B','A'];function ih(_0x29988b){switch(_0x29988b){case'narrow':return[...eh];case'short':return[...th];case'long':return[...Jl];default:return null;}}function sh(_0x509c7d,_0x2a1944){let _0x256de7='';for(const _0x5dedf5 of _0x509c7d)_0x5dedf5['literal']?_0x256de7+=_0x5dedf5['val']:_0x256de7+=_0x2a1944(_0x5dedf5['val']);return _0x256de7;}const nh={'D':rc,'DD':oc,'DDD':cc,'DDDD':lc,'t':hc,'tt':uc,'ttt':dc,'tttt':fc,'T':mc,'TT':gc,'TTT':pc,'TTTT':Oc,'f':wc,'ff':yc,'fff':Tc,'ffff':Ac,'F':bc,'FF':_c,'FFF':Ec,'FFFF':Sc};class Formatter{static['create'](_0x19f336,_0x12eae0={}){return new Formatter(_0x19f336,_0x12eae0);}static['parseFormat'](_0x164cee){let _0x7a9f7a=null,_0x5f24c9='',_0x3b8734=!0x1;const _0x4faf81=[];for(let _0xb3fa44=0x0;_0xb3fa44<_0x164cee['length'];_0xb3fa44++){const _0x30c3ac=_0x164cee['charAt'](_0xb3fa44);'\x27'===_0x30c3ac?(_0x5f24c9['length']>0x0&&_0x4faf81['push']({'literal':_0x3b8734||/^\s+$/['test'](_0x5f24c9),'val':_0x5f24c9}),_0x7a9f7a=null,_0x5f24c9='',_0x3b8734=!_0x3b8734):_0x3b8734||_0x30c3ac===_0x7a9f7a?_0x5f24c9+=_0x30c3ac:(_0x5f24c9['length']>0x0&&_0x4faf81['push']({'literal':/^\s+$/['test'](_0x5f24c9),'val':_0x5f24c9}),_0x5f24c9=_0x30c3ac,_0x7a9f7a=_0x30c3ac);}return _0x5f24c9['length']>0x0&&_0x4faf81['push']({'literal':_0x3b8734||/^\s+$/['test'](_0x5f24c9),'val':_0x5f24c9}),_0x4faf81;}static['macroTokenToFormatOpts'](_0x33177e){return nh[_0x33177e];}constructor(_0x2e85d2,_0x490c29){this['opts']=_0x490c29,this['loc']=_0x2e85d2,this['systemLoc']=null;}['formatWithSystemDefault'](_0x1396ec,_0x45cb01){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x1396ec,{...this['opts'],..._0x45cb01})['format']();}['dtFormatter'](_0x2c69eb,_0x4af38c={}){return this['loc']['dtFormatter'](_0x2c69eb,{...this['opts'],..._0x4af38c});}['formatDateTime'](_0x557164,_0x4bb352){return this['dtFormatter'](_0x557164,_0x4bb352)['format']();}['formatDateTimeParts'](_0x2758bd,_0x1d7a70){return this['dtFormatter'](_0x2758bd,_0x1d7a70)['formatToParts']();}['formatInterval'](_0x32bfe2,_0x5a2962){return this['dtFormatter'](_0x32bfe2['start'],_0x5a2962)['dtf']['formatRange'](_0x32bfe2['start']['toJSDate'](),_0x32bfe2['end']['toJSDate']());}['resolvedOptions'](_0x1d35c9,_0x458dca){return this['dtFormatter'](_0x1d35c9,_0x458dca)['resolvedOptions']();}['num'](_0x5c4605,_0x4166c8=0x0){if(this['opts']['forceSimple'])return Sl(_0x5c4605,_0x4166c8);const _0x235095={...this['opts']};return _0x4166c8>0x0&&(_0x235095['padTo']=_0x4166c8),this['loc']['numberFormatter'](_0x235095)['format'](_0x5c4605);}['formatDateTimeFromString'](_0x507420,_0x190f53){const _0x5d55cd='en'===this['loc']['listingMode'](),_0x1dda80=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0xa21251=(_0x1d9427,_0xbe2aa0)=>this['loc']['extract'](_0x507420,_0x1d9427,_0xbe2aa0),_0x5e9e9e=_0x5aea7c=>_0x507420['isOffsetFixed']&&0x0===_0x507420['offset']&&_0x5aea7c['allowZ']?'Z':_0x507420['isValid']?_0x507420['zone']['formatOffset'](_0x507420['ts'],_0x5aea7c['format']):'',_0x583053=()=>_0x5d55cd?function(_0x16ccef){return Kl[_0x16ccef['hour']<0xc?0x0:0x1];}(_0x507420):_0xa21251({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x365236=(_0x1da06e,_0x2c9ae2)=>_0x5d55cd?function(_0x5022f8,_0x2e1627){return Xl(_0x2e1627)[_0x5022f8['month']-0x1];}(_0x507420,_0x1da06e):_0xa21251(_0x2c9ae2?{'month':_0x1da06e}:{'month':_0x1da06e,'day':'numeric'},'month'),_0x2133c8=(_0x30e7f3,_0xd16522)=>_0x5d55cd?function(_0x3628b5,_0x324882){return Yl(_0x324882)[_0x3628b5['weekday']-0x1];}(_0x507420,_0x30e7f3):_0xa21251(_0xd16522?{'weekday':_0x30e7f3}:{'weekday':_0x30e7f3,'month':'long','day':'numeric'},'weekday'),_0x19c921=_0x5eb155=>{const _0x4a513f=Formatter['macroTokenToFormatOpts'](_0x5eb155);return _0x4a513f?this['formatWithSystemDefault'](_0x507420,_0x4a513f):_0x5eb155;},_0x305e20=_0x1bc656=>_0x5d55cd?function(_0x120ae3,_0x1f768c){return ih(_0x1f768c)[_0x120ae3['year']<0x0?0x0:0x1];}(_0x507420,_0x1bc656):_0xa21251({'era':_0x1bc656},'era');return sh(Formatter['parseFormat'](_0x190f53),_0x243d89=>{switch(_0x243d89){case'S':return this['num'](_0x507420['millisecond']);case'u':case'SSS':return this['num'](_0x507420['millisecond'],0x3);case's':return this['num'](_0x507420['second']);case'ss':return this['num'](_0x507420['second'],0x2);case'uu':return this['num'](Math['floor'](_0x507420['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x507420['millisecond']/0x64));case'm':return this['num'](_0x507420['minute']);case'mm':return this['num'](_0x507420['minute'],0x2);case'h':return this['num'](_0x507420['hour']%0xc==0x0?0xc:_0x507420['hour']%0xc);case'hh':return this['num'](_0x507420['hour']%0xc==0x0?0xc:_0x507420['hour']%0xc,0x2);case'H':return this['num'](_0x507420['hour']);case'HH':return this['num'](_0x507420['hour'],0x2);case'Z':return _0x5e9e9e({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x5e9e9e({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x5e9e9e({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x507420['zone']['offsetName'](_0x507420['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x507420['zone']['offsetName'](_0x507420['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x507420['zoneName'];case'a':return _0x583053();case'd':return _0x1dda80?_0xa21251({'day':'numeric'},'day'):this['num'](_0x507420['day']);case'dd':return _0x1dda80?_0xa21251({'day':'2-digit'},'day'):this['num'](_0x507420['day'],0x2);case'c':case'E':return this['num'](_0x507420['weekday']);case'ccc':return _0x2133c8('short',!0x0);case'cccc':return _0x2133c8('long',!0x0);case'ccccc':return _0x2133c8('narrow',!0x0);case'EEE':return _0x2133c8('short',!0x1);case'EEEE':return _0x2133c8('long',!0x1);case'EEEEE':return _0x2133c8('narrow',!0x1);case'L':return _0x1dda80?_0xa21251({'month':'numeric','day':'numeric'},'month'):this['num'](_0x507420['month']);case'LL':return _0x1dda80?_0xa21251({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x507420['month'],0x2);case'LLL':return _0x365236('short',!0x0);case'LLLL':return _0x365236('long',!0x0);case'LLLLL':return _0x365236('narrow',!0x0);case'M':return _0x1dda80?_0xa21251({'month':'numeric'},'month'):this['num'](_0x507420['month']);case'MM':return _0x1dda80?_0xa21251({'month':'2-digit'},'month'):this['num'](_0x507420['month'],0x2);case'MMM':return _0x365236('short',!0x1);case'MMMM':return _0x365236('long',!0x1);case'MMMMM':return _0x365236('narrow',!0x1);case'y':return _0x1dda80?_0xa21251({'year':'numeric'},'year'):this['num'](_0x507420['year']);case'yy':return _0x1dda80?_0xa21251({'year':'2-digit'},'year'):this['num'](_0x507420['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x1dda80?_0xa21251({'year':'numeric'},'year'):this['num'](_0x507420['year'],0x4);case'yyyyyy':return _0x1dda80?_0xa21251({'year':'numeric'},'year'):this['num'](_0x507420['year'],0x6);case'G':return _0x305e20('short');case'GG':return _0x305e20('long');case'GGGGG':return _0x305e20('narrow');case'kk':return this['num'](_0x507420['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x507420['weekYear'],0x4);case'W':return this['num'](_0x507420['weekNumber']);case'WW':return this['num'](_0x507420['weekNumber'],0x2);case'n':return this['num'](_0x507420['localWeekNumber']);case'nn':return this['num'](_0x507420['localWeekNumber'],0x2);case'ii':return this['num'](_0x507420['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x507420['localWeekYear'],0x4);case'o':return this['num'](_0x507420['ordinal']);case'ooo':return this['num'](_0x507420['ordinal'],0x3);case'q':return this['num'](_0x507420['quarter']);case'qq':return this['num'](_0x507420['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x507420['ts']/0x3e8));case'x':return this['num'](_0x507420['ts']);default:return _0x19c921(_0x243d89);}});}['formatDurationFromString'](_0x5d70ad,_0x896a2b){const _0x1eb6e2=_0x38cb9d=>{switch(_0x38cb9d[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;}},_0x16996b=Formatter['parseFormat'](_0x896a2b),_0x3093fc=_0x16996b['reduce']((_0x21a83d,{literal:_0x2627c6,val:_0x617dc4})=>_0x2627c6?_0x21a83d:_0x21a83d['concat'](_0x617dc4),[]),_0x574dfb=_0x5d70ad['shiftTo'](..._0x3093fc['map'](_0x1eb6e2)['filter'](t=>t));return sh(_0x16996b,(_0x169109=>_0x2cb120=>{const _0x53a408=_0x1eb6e2(_0x2cb120);return _0x53a408?this['num'](_0x169109['get'](_0x53a408),_0x2cb120['length']):_0x2cb120;})(_0x574dfb));}}const rh=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function oh(..._0x3bde9f){const _0x40eecf=_0x3bde9f['reduce']((_0x4138a1,_0x24afbe)=>_0x4138a1+_0x24afbe['source'],'');return RegExp('^'+_0x40eecf+'$');}function ah(..._0x4b774f){return _0x2e5d4d=>_0x4b774f['reduce'](([_0x401131,_0x19f899,_0x361b2e],_0x4f533f)=>{const [_0x594199,_0x2b2e63,_0x42c260]=_0x4f533f(_0x2e5d4d,_0x361b2e);return[{..._0x401131,..._0x594199},_0x2b2e63||_0x19f899,_0x42c260];},[{},null,0x1])['slice'](0x0,0x2);}function ch(_0x3ab779,..._0x3962f9){if(null==_0x3ab779)return[null,null];for(const [_0x6369ad,_0x3025c3]of _0x3962f9){const _0x16678a=_0x6369ad['exec'](_0x3ab779);if(_0x16678a)return _0x3025c3(_0x16678a);}return[null,null];}function lh(..._0x10cdf5){return(_0x42a8a7,_0x4e1cbc)=>{const _0x4f4866={};let _0x2b4363;for(_0x2b4363=0x0;_0x2b4363<_0x10cdf5['length'];_0x2b4363++)_0x4f4866[_0x10cdf5[_0x2b4363]]=Il(_0x42a8a7[_0x4e1cbc+_0x2b4363]);return[_0x4f4866,null,_0x4e1cbc+_0x2b4363];};}const hh=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,uh=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,dh=RegExp(''+uh['source']+('(?:'+hh['source']+'?(?:\x5c[('+rh['source']+')\x5c])?)?')),fh=RegExp('(?:T'+dh['source']+')?'),mh=lh('weekYear','weekNumber','weekDay'),gh=lh('year','ordinal'),ph=RegExp(uh['source']+'\x20?(?:'+hh['source']+'|('+rh['source']+'))?'),Oh=RegExp('(?:\x20'+ph['source']+')?');function wh(_0x1b9e0c,_0x10d7b2,_0x5054e5){const _0x43ff6b=_0x1b9e0c[_0x10d7b2];return Ol(_0x43ff6b)?_0x5054e5:Il(_0x43ff6b);}function bh(_0x47cb97,_0x2d19e8){return[{'hours':wh(_0x47cb97,_0x2d19e8,0x0),'minutes':wh(_0x47cb97,_0x2d19e8+0x1,0x0),'seconds':wh(_0x47cb97,_0x2d19e8+0x2,0x0),'milliseconds':kl(_0x47cb97[_0x2d19e8+0x3])},null,_0x2d19e8+0x4];}function yh(_0x487999,_0x58684c){const _0x7ab4d4=!_0x487999[_0x58684c]&&!_0x487999[_0x58684c+0x1],_0x4cc514=Vl(_0x487999[_0x58684c+0x1],_0x487999[_0x58684c+0x2]);return[{},_0x7ab4d4?null:FixedOffsetZone['instance'](_0x4cc514),_0x58684c+0x3];}function _h(_0x15b55e,_0x2aa4ca){return[{},_0x15b55e[_0x2aa4ca]?IANAZone['create'](_0x15b55e[_0x2aa4ca]):null,_0x2aa4ca+0x1];}const vh=RegExp('^T?'+uh['source']+'$'),Th=/^-?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 Eh(_0x307224){const [_0x5be836,_0x3245b6,_0x1109df,_0x13c2b7,_0x422ff6,_0x53dff2,_0x2e926f,_0x15e27c,_0x114d58]=_0x307224,_0x57a095='-'===_0x5be836[0x0],_0x4d09e9=_0x15e27c&&'-'===_0x15e27c[0x0],_0x2547ae=(_0x38b969,_0x6f3f83=!0x1)=>void 0x0!==_0x38b969&&(_0x6f3f83||_0x38b969&&_0x57a095)?-_0x38b969:_0x38b969;return[{'years':_0x2547ae(Cl(_0x3245b6)),'months':_0x2547ae(Cl(_0x1109df)),'weeks':_0x2547ae(Cl(_0x13c2b7)),'days':_0x2547ae(Cl(_0x422ff6)),'hours':_0x2547ae(Cl(_0x53dff2)),'minutes':_0x2547ae(Cl(_0x2e926f)),'seconds':_0x2547ae(Cl(_0x15e27c),'-0'===_0x15e27c),'milliseconds':_0x2547ae(kl(_0x114d58),_0x4d09e9)}];}const Ah={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function Sh(_0x1ff811,_0x1e6b8f,_0x47b33f,_0x527b90,_0xb13108,_0x5cc998,_0x228c28){const _0x1dc7c9={'year':0x2===_0x1e6b8f['length']?Ql(Il(_0x1e6b8f)):Il(_0x1e6b8f),'month':Gl['indexOf'](_0x47b33f)+0x1,'day':Il(_0x527b90),'hour':Il(_0xb13108),'minute':Il(_0x5cc998)};return _0x228c28&&(_0x1dc7c9['second']=Il(_0x228c28)),_0x1ff811&&(_0x1dc7c9['weekday']=_0x1ff811['length']>0x3?ql['indexOf'](_0x1ff811)+0x1:Wl['indexOf'](_0x1ff811)+0x1),_0x1dc7c9;}const Ih=/^(?:(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 Ch(_0x128d16){const [,_0x4ebf99,_0x260920,_0x3ff8c6,_0x46da62,_0x52b537,_0x380b5d,_0x549b60,_0xfb10b0,_0x3ec038,_0x4a1c2b,_0x310af]=_0x128d16,_0x5d9677=Sh(_0x4ebf99,_0x46da62,_0x3ff8c6,_0x260920,_0x52b537,_0x380b5d,_0x549b60);let _0x5569ee;return _0x5569ee=_0xfb10b0?Ah[_0xfb10b0]:_0x3ec038?0x0:Vl(_0x4a1c2b,_0x310af),[_0x5d9677,new FixedOffsetZone(_0x5569ee)];}const kh=/^(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$/,xh=/^(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$/,Rh=/^(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 Ph(_0x54e2c7){const [,_0x17635b,_0x237dd4,_0x46e44e,_0x19d6fc,_0x5c6524,_0x1d6759,_0x5977fe]=_0x54e2c7;return[Sh(_0x17635b,_0x19d6fc,_0x46e44e,_0x237dd4,_0x5c6524,_0x1d6759,_0x5977fe),FixedOffsetZone['utcInstance']];}function Mh(_0x46c51f){const [,_0x4ad295,_0x4b8885,_0x491a6b,_0x1b436f,_0x1a64d6,_0x35f2ec,_0x5c4f13]=_0x46c51f;return[Sh(_0x4ad295,_0x5c4f13,_0x4b8885,_0x491a6b,_0x1b436f,_0x1a64d6,_0x35f2ec),FixedOffsetZone['utcInstance']];}const Nh=oh(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,fh),Lh=oh(/(\d{4})-?W(\d\d)(?:-?(\d))?/,fh),Dh=oh(/(\d{4})-?(\d{3})/,fh),Qh=oh(dh),$h=ah(function(_0x48ba64,_0x12e4bd){return[{'year':wh(_0x48ba64,_0x12e4bd),'month':wh(_0x48ba64,_0x12e4bd+0x1,0x1),'day':wh(_0x48ba64,_0x12e4bd+0x2,0x1)},null,_0x12e4bd+0x3];},bh,yh,_h),Vh=ah(mh,bh,yh,_h),Uh=ah(gh,bh,yh,_h),Bh=ah(bh,yh,_h),Fh=ah(bh),jh=oh(/(\d{4})-(\d\d)-(\d\d)/,Oh),Hh=oh(ph),Gh=ah(bh,yh,_h),Zh='Invalid\x20Duration',Xh={'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}},qh={'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},...Xh},Wh=365.2425,zh=30.436875,Yh={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':Wh,'hours':8765.82,'minutes':525949.2,'seconds':525949.2*0x3c,'milliseconds':525949.2*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':13.044375,'days':91.310625,'hours':2191.455,'minutes':131487.3,'seconds':525949.2*0x3c/0x4,'milliseconds':7889237999.999999},'months':{'weeks':4.3481250000000005,'days':zh,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},...Xh},Kh=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],Jh=Kh['slice'](0x0)['reverse']();function tu(_0x321249,_0x4cd155,_0x573fe9=!0x1){const _0x335b92={'values':_0x573fe9?_0x4cd155['values']:{..._0x321249['values'],..._0x4cd155['values']||{}},'loc':_0x321249['loc']['clone'](_0x4cd155['loc']),'conversionAccuracy':_0x4cd155['conversionAccuracy']||_0x321249['conversionAccuracy'],'matrix':_0x4cd155['matrix']||_0x321249['matrix']};return new Duration(_0x335b92);}function eu(_0x518b59,_0x201c59){let _0x5204a5=_0x201c59['milliseconds']??0x0;for(const _0x2eb64b of Jh['slice'](0x1))_0x201c59[_0x2eb64b]&&(_0x5204a5+=_0x201c59[_0x2eb64b]*_0x518b59[_0x2eb64b]['milliseconds']);return _0x5204a5;}function iu(_0x5c339b,_0x1eb1b1){const _0xcee66=eu(_0x5c339b,_0x1eb1b1)<0x0?-0x1:0x1;Kh['reduceRight']((_0x12d566,_0x361110)=>{if(Ol(_0x1eb1b1[_0x361110]))return _0x12d566;if(_0x12d566){const _0x42734d=_0x1eb1b1[_0x12d566]*_0xcee66,_0x19f6e4=_0x5c339b[_0x361110][_0x12d566],_0x5dda18=Math['floor'](_0x42734d/_0x19f6e4);_0x1eb1b1[_0x361110]+=_0x5dda18*_0xcee66,_0x1eb1b1[_0x12d566]-=_0x5dda18*_0x19f6e4*_0xcee66;}return _0x361110;},null),Kh['reduce']((_0x1a466a,_0x1ad61b)=>{if(Ol(_0x1eb1b1[_0x1ad61b]))return _0x1a466a;if(_0x1a466a){const _0x35564e=_0x1eb1b1[_0x1a466a]%0x1;_0x1eb1b1[_0x1a466a]-=_0x35564e,_0x1eb1b1[_0x1ad61b]+=_0x35564e*_0x5c339b[_0x1a466a][_0x1ad61b];}return _0x1ad61b;},null);}class Duration{constructor(_0x45b3ea){const _0x1335d4='longterm'===_0x45b3ea['conversionAccuracy']||!0x1;let _0x1b5618=_0x1335d4?Yh:qh;_0x45b3ea['matrix']&&(_0x1b5618=_0x45b3ea['matrix']),this['values']=_0x45b3ea['values'],this['loc']=_0x45b3ea['loc']||Locale['create'](),this['conversionAccuracy']=_0x1335d4?'longterm':'casual',this['invalid']=_0x45b3ea['invalid']||null,this['matrix']=_0x1b5618,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x2b4004,_0x545f00){return Duration['fromObject']({'milliseconds':_0x2b4004},_0x545f00);}static['fromObject'](_0x57ce9f,_0x19f2a6={}){if(null==_0x57ce9f||'object'!=typeof _0x57ce9f)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x57ce9f?'null':typeof _0x57ce9f));return new Duration({'values':Bl(_0x57ce9f,Duration['normalizeUnit']),'loc':Locale['fromObject'](_0x19f2a6),'conversionAccuracy':_0x19f2a6['conversionAccuracy'],'matrix':_0x19f2a6['matrix']});}static['fromDurationLike'](_0x2f93bc){if(wl(_0x2f93bc))return Duration['fromMillis'](_0x2f93bc);if(Duration['isDuration'](_0x2f93bc))return _0x2f93bc;if('object'==typeof _0x2f93bc)return Duration['fromObject'](_0x2f93bc);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x2f93bc+'\x20of\x20type\x20'+typeof _0x2f93bc);}static['fromISO'](_0x1d15fd,_0x4391d9){const [_0xdc96dc]=function(_0x3d5bf9){return ch(_0x3d5bf9,[Th,Eh]);}(_0x1d15fd);return _0xdc96dc?Duration['fromObject'](_0xdc96dc,_0x4391d9):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x1d15fd+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x3461d2,_0x156d20){const [_0x2cd141]=function(_0x1ab7d0){return ch(_0x1ab7d0,[vh,Fh]);}(_0x3461d2);return _0x2cd141?Duration['fromObject'](_0x2cd141,_0x156d20):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3461d2+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x888ad4,_0x554631=null){if(!_0x888ad4)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x47bf44=_0x888ad4 instanceof Invalid?_0x888ad4:new Invalid(_0x888ad4,_0x554631);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x47bf44);return new Duration({'invalid':_0x47bf44});}static['normalizeUnit'](_0x4202dd){const _0x403d23={'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'}[_0x4202dd?_0x4202dd['toLowerCase']():_0x4202dd];if(!_0x403d23)throw new InvalidUnitError(_0x4202dd);return _0x403d23;}static['isDuration'](_0x1a6e76){return _0x1a6e76&&_0x1a6e76['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x1da21f,_0x3c6472={}){const _0x121688={..._0x3c6472,'floor':!0x1!==_0x3c6472['round']&&!0x1!==_0x3c6472['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x121688)['formatDurationFromString'](this,_0x1da21f):Zh;}['toHuman'](_0x67636b={}){if(!this['isValid'])return Zh;const _0x349c35=Kh['map'](_0x55752f=>{const _0x254f06=this['values'][_0x55752f];return Ol(_0x254f06)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x67636b,'unit':_0x55752f['slice'](0x0,-0x1)})['format'](_0x254f06);})['filter'](_0x39bf96=>_0x39bf96);return this['loc']['listFormatter']({'type':'conjunction','style':_0x67636b['listStyle']||'narrow',..._0x67636b})['format'](_0x349c35);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x12825b='P';return 0x0!==this['years']&&(_0x12825b+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x12825b+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x12825b+=this['weeks']+'W'),0x0!==this['days']&&(_0x12825b+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x12825b+='T'),0x0!==this['hours']&&(_0x12825b+=this['hours']+'H'),0x0!==this['minutes']&&(_0x12825b+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x12825b+=xl(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x12825b&&(_0x12825b+='T0S'),_0x12825b;}['toISOTime'](_0x492265={}){if(!this['isValid'])return null;const _0x1d9ad9=this['toMillis']();if(_0x1d9ad9<0x0||_0x1d9ad9>=0x5265c00)return null;return _0x492265={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x492265,'includeOffset':!0x1},DateTime['fromMillis'](_0x1d9ad9,{'zone':'UTC'})['toISOTime'](_0x492265);}['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']?eu(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x20f2ab){if(!this['isValid'])return this;const _0x2db8c0=Duration['fromDurationLike'](_0x20f2ab),_0x49fd1b={};for(const _0x175abc of Kh)(Tl(_0x2db8c0['values'],_0x175abc)||Tl(this['values'],_0x175abc))&&(_0x49fd1b[_0x175abc]=_0x2db8c0['get'](_0x175abc)+this['get'](_0x175abc));return tu(this,{'values':_0x49fd1b},!0x0);}['minus'](_0x465a30){if(!this['isValid'])return this;const _0x5b2bb0=Duration['fromDurationLike'](_0x465a30);return this['plus'](_0x5b2bb0['negate']());}['mapUnits'](_0x56129e){if(!this['isValid'])return this;const _0x5aed3e={};for(const _0xe66a8c of Object['keys'](this['values']))_0x5aed3e[_0xe66a8c]=Ul(_0x56129e(this['values'][_0xe66a8c],_0xe66a8c));return tu(this,{'values':_0x5aed3e},!0x0);}['get'](_0x80013d){return this[Duration['normalizeUnit'](_0x80013d)];}['set'](_0x2dbe1d){if(!this['isValid'])return this;return tu(this,{'values':{...this['values'],...Bl(_0x2dbe1d,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x1194b7,numberingSystem:_0x56bd41,conversionAccuracy:_0x31a1df,matrix:_0x391aec}={}){return tu(this,{'loc':this['loc']['clone']({'locale':_0x1194b7,'numberingSystem':_0x56bd41}),'matrix':_0x391aec,'conversionAccuracy':_0x31a1df});}['as'](_0x31bda0){return this['isValid']?this['shiftTo'](_0x31bda0)['get'](_0x31bda0):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x4e1d15=this['toObject']();return iu(this['matrix'],_0x4e1d15),tu(this,{'values':_0x4e1d15},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x50ec72=function(_0x51e275){const _0x5211cb={};for(const [_0x4002d0,_0x44c787]of Object['entries'](_0x51e275))0x0!==_0x44c787&&(_0x5211cb[_0x4002d0]=_0x44c787);return _0x5211cb;}(this['normalize']()['shiftToAll']()['toObject']());return tu(this,{'values':_0x50ec72},!0x0);}['shiftTo'](..._0x4a21a9){if(!this['isValid'])return this;if(0x0===_0x4a21a9['length'])return this;_0x4a21a9=_0x4a21a9['map'](_0x57cc7c=>Duration['normalizeUnit'](_0x57cc7c));const _0x2bb378={},_0x58b1a0={},_0x1bfa09=this['toObject']();let _0x1562e9;for(const _0x81913f of Kh)if(_0x4a21a9['indexOf'](_0x81913f)>=0x0){_0x1562e9=_0x81913f;let _0x11c131=0x0;for(const _0x5b7aba in _0x58b1a0)_0x11c131+=this['matrix'][_0x5b7aba][_0x81913f]*_0x58b1a0[_0x5b7aba],_0x58b1a0[_0x5b7aba]=0x0;wl(_0x1bfa09[_0x81913f])&&(_0x11c131+=_0x1bfa09[_0x81913f]);const _0xbed878=Math['trunc'](_0x11c131);_0x2bb378[_0x81913f]=_0xbed878,_0x58b1a0[_0x81913f]=(0x3e8*_0x11c131-0x3e8*_0xbed878)/0x3e8;}else wl(_0x1bfa09[_0x81913f])&&(_0x58b1a0[_0x81913f]=_0x1bfa09[_0x81913f]);for(const _0x4f30a1 in _0x58b1a0)0x0!==_0x58b1a0[_0x4f30a1]&&(_0x2bb378[_0x1562e9]+=_0x4f30a1===_0x1562e9?_0x58b1a0[_0x4f30a1]:_0x58b1a0[_0x4f30a1]/this['matrix'][_0x1562e9][_0x4f30a1]);return iu(this['matrix'],_0x2bb378),tu(this,{'values':_0x2bb378},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x6cce6d={};for(const _0x127035 of Object['keys'](this['values']))_0x6cce6d[_0x127035]=0x0===this['values'][_0x127035]?0x0:-this['values'][_0x127035];return tu(this,{'values':_0x6cce6d},!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'](_0x33a681){if(!this['isValid']||!_0x33a681['isValid'])return!0x1;if(!this['loc']['equals'](_0x33a681['loc']))return!0x1;function _0x9f0bef(_0xd682b,_0x359f5d){return void 0x0===_0xd682b||0x0===_0xd682b?void 0x0===_0x359f5d||0x0===_0x359f5d:_0xd682b===_0x359f5d;}for(const _0x4ecd21 of Kh)if(!_0x9f0bef(this['values'][_0x4ecd21],_0x33a681['values'][_0x4ecd21]))return!0x1;return!0x0;}}const su='Invalid\x20Interval';class Interval{constructor(_0x2be0e9){this['s']=_0x2be0e9['start'],this['e']=_0x2be0e9['end'],this['invalid']=_0x2be0e9['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x547718,_0x1c297a=null){if(!_0x547718)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x3a54cf=_0x547718 instanceof Invalid?_0x547718:new Invalid(_0x547718,_0x1c297a);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x3a54cf);return new Interval({'invalid':_0x3a54cf});}static['fromDateTimes'](_0xd3f1de,_0x261956){const _0xffbc3f=Zu(_0xd3f1de),_0x395cad=Zu(_0x261956),_0x32db5a=function(_0xb2da61,_0x50efba){return _0xb2da61&&_0xb2da61['isValid']?_0x50efba&&_0x50efba['isValid']?_0x50efba<_0xb2da61?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0xb2da61['toISO']()+'\x20and\x20end='+_0x50efba['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0xffbc3f,_0x395cad);return null==_0x32db5a?new Interval({'start':_0xffbc3f,'end':_0x395cad}):_0x32db5a;}static['after'](_0x26b7a2,_0x4191dc){const _0x25909b=Duration['fromDurationLike'](_0x4191dc),_0x4ab4a5=Zu(_0x26b7a2);return Interval['fromDateTimes'](_0x4ab4a5,_0x4ab4a5['plus'](_0x25909b));}static['before'](_0x5004c8,_0x93ca9e){const _0x4b7762=Duration['fromDurationLike'](_0x93ca9e),_0x5114ff=Zu(_0x5004c8);return Interval['fromDateTimes'](_0x5114ff['minus'](_0x4b7762),_0x5114ff);}static['fromISO'](_0x345a3a,_0xc58b6e){const [_0x365a14,_0x5bf8b7]=(_0x345a3a||'')['split']('/',0x2);if(_0x365a14&&_0x5bf8b7){let _0x398536,_0x382d3e,_0x273e33,_0x109e8d;try{_0x398536=DateTime['fromISO'](_0x365a14,_0xc58b6e),_0x382d3e=_0x398536['isValid'];}catch(_0x5018eb){_0x382d3e=!0x1;}try{_0x273e33=DateTime['fromISO'](_0x5bf8b7,_0xc58b6e),_0x109e8d=_0x273e33['isValid'];}catch(_0x2ef709){_0x109e8d=!0x1;}if(_0x382d3e&&_0x109e8d)return Interval['fromDateTimes'](_0x398536,_0x273e33);if(_0x382d3e){const _0x5cc561=Duration['fromISO'](_0x5bf8b7,_0xc58b6e);if(_0x5cc561['isValid'])return Interval['after'](_0x398536,_0x5cc561);}else{if(_0x109e8d){const _0x1b58ff=Duration['fromISO'](_0x365a14,_0xc58b6e);if(_0x1b58ff['isValid'])return Interval['before'](_0x273e33,_0x1b58ff);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x345a3a+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x260a3f){return _0x260a3f&&_0x260a3f['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'](_0x2dd615='milliseconds'){return this['isValid']?this['toDuration'](_0x2dd615)['get'](_0x2dd615):NaN;}['count'](_0x389823='milliseconds',_0x3fa555){if(!this['isValid'])return NaN;const _0x1b092d=this['start']['startOf'](_0x389823,_0x3fa555);let _0x2e7e4a;return _0x2e7e4a=_0x3fa555?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x1b092d['locale']}):this['end'],_0x2e7e4a=_0x2e7e4a['startOf'](_0x389823,_0x3fa555),Math['floor'](_0x2e7e4a['diff'](_0x1b092d,_0x389823)['get'](_0x389823))+(_0x2e7e4a['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x1d4253){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x1d4253));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x27b4f8){return!!this['isValid']&&this['s']>_0x27b4f8;}['isBefore'](_0x370df0){return!!this['isValid']&&this['e']<=_0x370df0;}['contains'](_0x3ce22c){return!!this['isValid']&&(this['s']<=_0x3ce22c&&this['e']>_0x3ce22c);}['set']({start:_0x3e0953,end:_0x39c16d}={}){return this['isValid']?Interval['fromDateTimes'](_0x3e0953||this['s'],_0x39c16d||this['e']):this;}['splitAt'](..._0x2d6172){if(!this['isValid'])return[];const _0x47baba=_0x2d6172['map'](Zu)['filter'](_0x4e69ce=>this['contains'](_0x4e69ce))['sort']((_0x34ec1e,_0x548415)=>_0x34ec1e['toMillis']()-_0x548415['toMillis']()),_0x59924c=[];let {s:_0x5d43e0}=this,_0x3f1e64=0x0;for(;_0x5d43e0<this['e'];){const _0x4a6e5f=_0x47baba[_0x3f1e64]||this['e'],_0x3777fc=+_0x4a6e5f>+this['e']?this['e']:_0x4a6e5f;_0x59924c['push'](Interval['fromDateTimes'](_0x5d43e0,_0x3777fc)),_0x5d43e0=_0x3777fc,_0x3f1e64+=0x1;}return _0x59924c;}['splitBy'](_0x1578c6){const _0x3ff71e=Duration['fromDurationLike'](_0x1578c6);if(!this['isValid']||!_0x3ff71e['isValid']||0x0===_0x3ff71e['as']('milliseconds'))return[];let _0x1847bc,{s:_0x40e45c}=this,_0x49e3c5=0x1;const _0x3e3b68=[];for(;_0x40e45c<this['e'];){const _0xfddbc8=this['start']['plus'](_0x3ff71e['mapUnits'](_0x17c068=>_0x17c068*_0x49e3c5));_0x1847bc=+_0xfddbc8>+this['e']?this['e']:_0xfddbc8,_0x3e3b68['push'](Interval['fromDateTimes'](_0x40e45c,_0x1847bc)),_0x40e45c=_0x1847bc,_0x49e3c5+=0x1;}return _0x3e3b68;}['divideEqually'](_0x17a431){return this['isValid']?this['splitBy'](this['length']()/_0x17a431)['slice'](0x0,_0x17a431):[];}['overlaps'](_0x5c2d75){return this['e']>_0x5c2d75['s']&&this['s']<_0x5c2d75['e'];}['abutsStart'](_0x575de9){return!!this['isValid']&&+this['e']===+_0x575de9['s'];}['abutsEnd'](_0x192165){return!!this['isValid']&&+_0x192165['e']===+this['s'];}['engulfs'](_0x31f59d){return!!this['isValid']&&(this['s']<=_0x31f59d['s']&&this['e']>=_0x31f59d['e']);}['equals'](_0x1b3cb3){return!(!this['isValid']||!_0x1b3cb3['isValid'])&&(this['s']['equals'](_0x1b3cb3['s'])&&this['e']['equals'](_0x1b3cb3['e']));}['intersection'](_0x322e7d){if(!this['isValid'])return this;const _0x196aa0=this['s']>_0x322e7d['s']?this['s']:_0x322e7d['s'],_0x52b1b0=this['e']<_0x322e7d['e']?this['e']:_0x322e7d['e'];return _0x196aa0>=_0x52b1b0?null:Interval['fromDateTimes'](_0x196aa0,_0x52b1b0);}['union'](_0x4788c5){if(!this['isValid'])return this;const _0x4f13e6=this['s']<_0x4788c5['s']?this['s']:_0x4788c5['s'],_0x598095=this['e']>_0x4788c5['e']?this['e']:_0x4788c5['e'];return Interval['fromDateTimes'](_0x4f13e6,_0x598095);}static['merge'](_0x5c0c11){const [_0x5adf24,_0xfb7a79]=_0x5c0c11['sort']((_0x172b2a,_0x28cc89)=>_0x172b2a['s']-_0x28cc89['s'])['reduce'](([_0x963765,_0x33be81],_0x40c1ef)=>_0x33be81?_0x33be81['overlaps'](_0x40c1ef)||_0x33be81['abutsStart'](_0x40c1ef)?[_0x963765,_0x33be81['union'](_0x40c1ef)]:[_0x963765['concat']([_0x33be81]),_0x40c1ef]:[_0x963765,_0x40c1ef],[[],null]);return _0xfb7a79&&_0x5adf24['push'](_0xfb7a79),_0x5adf24;}static['xor'](_0x3c8741){let _0x404af1=null,_0x3c0a3e=0x0;const _0x266f70=[],_0x531a36=_0x3c8741['map'](_0x410fd3=>[{'time':_0x410fd3['s'],'type':'s'},{'time':_0x410fd3['e'],'type':'e'}]),_0x17769a=Array['prototype']['concat'](..._0x531a36)['sort']((_0x4bf249,_0x116456)=>_0x4bf249['time']-_0x116456['time']);for(const _0x43f846 of _0x17769a)_0x3c0a3e+='s'===_0x43f846['type']?0x1:-0x1,0x1===_0x3c0a3e?_0x404af1=_0x43f846['time']:(_0x404af1&&+_0x404af1!==+_0x43f846['time']&&_0x266f70['push'](Interval['fromDateTimes'](_0x404af1,_0x43f846['time'])),_0x404af1=null);return Interval['merge'](_0x266f70);}['difference'](..._0x213605){return Interval['xor']([this]['concat'](_0x213605))['map'](_0x5480e9=>this['intersection'](_0x5480e9))['filter'](_0x51ba61=>_0x51ba61&&!_0x51ba61['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':su;}[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'](_0x21c685=rc,_0x4cb786={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x4cb786),_0x21c685)['formatInterval'](this):su;}['toISO'](_0x2db444){return this['isValid']?this['s']['toISO'](_0x2db444)+'/'+this['e']['toISO'](_0x2db444):su;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():su;}['toISOTime'](_0x477721){return this['isValid']?this['s']['toISOTime'](_0x477721)+'/'+this['e']['toISOTime'](_0x477721):su;}['toFormat'](_0x518299,{separator:_0x514317='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x518299)+_0x514317+this['e']['toFormat'](_0x518299):su;}['toDuration'](_0x3e6828,_0x26b040){return this['isValid']?this['e']['diff'](this['s'],_0x3e6828,_0x26b040):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0xfa8435){return Interval['fromDateTimes'](_0xfa8435(this['s']),_0xfa8435(this['e']));}}class Info{static['hasDST'](_0x418247=Settings['defaultZone']){const _0x20b49c=DateTime['now']()['setZone'](_0x418247)['set']({'month':0xc});return!_0x418247['isUniversal']&&_0x20b49c['offset']!==_0x20b49c['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x1933a4){return IANAZone['isValidZone'](_0x1933a4);}static['normalizeZone'](_0x55c5c2){return jc(_0x55c5c2,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x5c4b34=null,locObj:_0x1c909a=null}={}){return(_0x1c909a||Locale['create'](_0x5c4b34))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x2d25e4=null,locObj:_0x31e033=null}={}){return(_0x31e033||Locale['create'](_0x2d25e4))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0xe3e87f=null,locObj:_0x38196d=null}={}){return(_0x38196d||Locale['create'](_0xe3e87f))['getWeekendDays']()['slice']();}static['months'](_0x2ef31e='long',{locale:_0x379905=null,numberingSystem:_0x2fd9a5=null,locObj:_0x11c46c=null,outputCalendar:_0x5424b8='gregory'}={}){return(_0x11c46c||Locale['create'](_0x379905,_0x2fd9a5,_0x5424b8))['months'](_0x2ef31e);}static['monthsFormat'](_0xca5fb0='long',{locale:_0x1b99ab=null,numberingSystem:_0x1aa377=null,locObj:_0x26d333=null,outputCalendar:_0x1f0ca4='gregory'}={}){return(_0x26d333||Locale['create'](_0x1b99ab,_0x1aa377,_0x1f0ca4))['months'](_0xca5fb0,!0x0);}static['weekdays'](_0x2c0b0f='long',{locale:_0x435d06=null,numberingSystem:_0x5976a6=null,locObj:_0x4dd2a3=null}={}){return(_0x4dd2a3||Locale['create'](_0x435d06,_0x5976a6,null))['weekdays'](_0x2c0b0f);}static['weekdaysFormat'](_0xecf1ef='long',{locale:_0x281229=null,numberingSystem:_0x3f5813=null,locObj:_0x20b8fd=null}={}){return(_0x20b8fd||Locale['create'](_0x281229,_0x3f5813,null))['weekdays'](_0xecf1ef,!0x0);}static['meridiems']({locale:_0x31500b=null}={}){return Locale['create'](_0x31500b)['meridiems']();}static['eras'](_0x55a645='short',{locale:_0x3a199f=null}={}){return Locale['create'](_0x3a199f,null,'gregory')['eras'](_0x55a645);}static['features'](){return{'relative':yl(),'localeWeek':_l()};}}function nu(_0x47d971,_0x3ea474){const _0x12ffd1=_0x46f53a=>_0x46f53a['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x2da8e9=_0x12ffd1(_0x3ea474)-_0x12ffd1(_0x47d971);return Math['floor'](Duration['fromMillis'](_0x2da8e9)['as']('days'));}function ru(_0x1158d2,_0x2e63d8,_0x519241,_0xfdee4b){let [_0x17cce4,_0x419bf3,_0x5a906f,_0x16c001]=function(_0x4c9e27,_0x283d4e,_0x367c97){const _0x3ef931=[['years',(_0x2637e2,_0x55f2f6)=>_0x55f2f6['year']-_0x2637e2['year']],['quarters',(_0x1e2ce5,_0x1b268)=>_0x1b268['quarter']-_0x1e2ce5['quarter']+0x4*(_0x1b268['year']-_0x1e2ce5['year'])],['months',(_0x2365b6,_0x2ab11c)=>_0x2ab11c['month']-_0x2365b6['month']+0xc*(_0x2ab11c['year']-_0x2365b6['year'])],['weeks',(_0x3d8529,_0x5b19d3)=>{const _0x2fa723=nu(_0x3d8529,_0x5b19d3);return(_0x2fa723-_0x2fa723%0x7)/0x7;}],['days',nu]],_0x5d79ea={},_0x4aabc6=_0x4c9e27;let _0x4511bd,_0x3fa5b6;for(const [_0x2b1e48,_0xc9cd96]of _0x3ef931)_0x367c97['indexOf'](_0x2b1e48)>=0x0&&(_0x4511bd=_0x2b1e48,_0x5d79ea[_0x2b1e48]=_0xc9cd96(_0x4c9e27,_0x283d4e),_0x3fa5b6=_0x4aabc6['plus'](_0x5d79ea),_0x3fa5b6>_0x283d4e?(_0x5d79ea[_0x2b1e48]--,(_0x4c9e27=_0x4aabc6['plus'](_0x5d79ea))>_0x283d4e&&(_0x3fa5b6=_0x4c9e27,_0x5d79ea[_0x2b1e48]--,_0x4c9e27=_0x4aabc6['plus'](_0x5d79ea))):_0x4c9e27=_0x3fa5b6);return[_0x4c9e27,_0x5d79ea,_0x3fa5b6,_0x4511bd];}(_0x1158d2,_0x2e63d8,_0x519241);const _0x16123c=_0x2e63d8-_0x17cce4,_0x52b49d=_0x519241['filter'](_0x367cff=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x367cff)>=0x0);0x0===_0x52b49d['length']&&(_0x5a906f<_0x2e63d8&&(_0x5a906f=_0x17cce4['plus']({[_0x16c001]:0x1})),_0x5a906f!==_0x17cce4&&(_0x419bf3[_0x16c001]=(_0x419bf3[_0x16c001]||0x0)+_0x16123c/(_0x5a906f-_0x17cce4)));const _0x4a04c9=Duration['fromObject'](_0x419bf3,_0xfdee4b);return _0x52b49d['length']>0x0?Duration['fromMillis'](_0x16123c,_0xfdee4b)['shiftTo'](..._0x52b49d)['plus'](_0x4a04c9):_0x4a04c9;}function ou(_0x20c06a,_0x390a3a=_0x502e32=>_0x502e32){return{'regex':_0x20c06a,'deser':([_0x26ec88])=>_0x390a3a(function(_0x5401ae){let _0x19c4d=parseInt(_0x5401ae,0xa);if(isNaN(_0x19c4d)){_0x19c4d='';for(let _0x92c1da=0x0;_0x92c1da<_0x5401ae['length'];_0x92c1da++){const _0x303097=_0x5401ae['charCodeAt'](_0x92c1da);if(-0x1!==_0x5401ae[_0x92c1da]['search'](Hc['hanidec']))_0x19c4d+=Zc['indexOf'](_0x5401ae[_0x92c1da]);else for(const _0x2f65a9 in Gc){const [_0x2fae6c,_0x2041ca]=Gc[_0x2f65a9];_0x303097>=_0x2fae6c&&_0x303097<=_0x2041ca&&(_0x19c4d+=_0x303097-_0x2fae6c);}}return parseInt(_0x19c4d,0xa);}return _0x19c4d;}(_0x26ec88))};}const au='[\x20'+String['fromCharCode'](0xa0)+']',cu=new RegExp(au,'g');function lu(_0xeadd48){return _0xeadd48['replace'](/\./g,'\x5c.?')['replace'](cu,au);}function hu(_0x17a7e6){return _0x17a7e6['replace'](/\./g,'')['replace'](cu,'\x20')['toLowerCase']();}function uu(_0x2b24f9,_0x250258){return null===_0x2b24f9?null:{'regex':RegExp(_0x2b24f9['map'](lu)['join']('|')),'deser':([_0x36394b])=>_0x2b24f9['findIndex'](_0xfd4f27=>hu(_0x36394b)===hu(_0xfd4f27))+_0x250258};}function du(_0x44545f,_0x59aa4b){return{'regex':_0x44545f,'deser':([,_0x4fcbac,_0x38a7f1])=>Vl(_0x4fcbac,_0x38a7f1),'groups':_0x59aa4b};}function fu(_0x6ee70e){return{'regex':_0x6ee70e,'deser':([_0x46e816])=>_0x46e816};}function mu(_0x48e6b0){return _0x48e6b0['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const gu={'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'}};let pu=null;function Ou(_0x2bb8e9,_0x3d94cd){return Array['prototype']['concat'](..._0x2bb8e9['map'](t=>function(_0x45bd13,_0xa79c41){if(_0x45bd13['literal'])return _0x45bd13;const _0x1acf8d=bu(Formatter['macroTokenToFormatOpts'](_0x45bd13['val']),_0xa79c41);return null==_0x1acf8d||_0x1acf8d['includes'](void 0x0)?_0x45bd13:_0x1acf8d;}(t,_0x3d94cd)));}class TokenParser{constructor(_0x334193,_0x2e2287){if(this['locale']=_0x334193,this['format']=_0x2e2287,this['tokens']=Ou(Formatter['parseFormat'](_0x2e2287),_0x334193),this['units']=this['tokens']['map'](t=>function(_0x5b4fdc,_0x10476a){const _0x19558c=qc(_0x10476a),_0x198ff0=qc(_0x10476a,'{2}'),_0x16e8c4=qc(_0x10476a,'{3}'),_0x5bc908=qc(_0x10476a,'{4}'),_0x33b052=qc(_0x10476a,'{6}'),_0x409d18=qc(_0x10476a,'{1,2}'),_0x5cb783=qc(_0x10476a,'{1,3}'),_0x3baf4e=qc(_0x10476a,'{1,6}'),_0xbdac10=qc(_0x10476a,'{1,9}'),_0x104d61=qc(_0x10476a,'{2,4}'),_0xd86d1f=qc(_0x10476a,'{4,6}'),_0x48638e=t=>({'regex':RegExp(mu(t['val'])),'deser':([_0x5471fe])=>_0x5471fe,'literal':!0x0}),_0x236e16=(t=>{if(_0x5b4fdc['literal'])return _0x48638e(t);switch(t['val']){case'G':return uu(_0x10476a['eras']('short'),0x0);case'GG':return uu(_0x10476a['eras']('long'),0x0);case'y':return ou(_0x3baf4e);case'yy':case'kk':return ou(_0x104d61,Ql);case'yyyy':case'kkkk':return ou(_0x5bc908);case'yyyyy':return ou(_0xd86d1f);case'yyyyyy':return ou(_0x33b052);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return ou(_0x409d18);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return ou(_0x198ff0);case'MMM':return uu(_0x10476a['months']('short',!0x0),0x1);case'MMMM':return uu(_0x10476a['months']('long',!0x0),0x1);case'LLL':return uu(_0x10476a['months']('short',!0x1),0x1);case'LLLL':return uu(_0x10476a['months']('long',!0x1),0x1);case'o':case'S':return ou(_0x5cb783);case'ooo':case'SSS':return ou(_0x16e8c4);case'u':return fu(_0xbdac10);case'uu':return fu(_0x409d18);case'uuu':case'E':case'c':return ou(_0x19558c);case'a':return uu(_0x10476a['meridiems'](),0x0);case'EEE':return uu(_0x10476a['weekdays']('short',!0x1),0x1);case'EEEE':return uu(_0x10476a['weekdays']('long',!0x1),0x1);case'ccc':return uu(_0x10476a['weekdays']('short',!0x0),0x1);case'cccc':return uu(_0x10476a['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return du(new RegExp('([+-]'+_0x409d18['source']+')(?::('+_0x198ff0['source']+'))?'),0x2);case'ZZZ':return du(new RegExp('([+-]'+_0x409d18['source']+')('+_0x198ff0['source']+')?'),0x2);case'z':return fu(/[a-z_+-/]{1,256}?/i);case'\x20':return fu(/[^\S\n\r]/);default:return _0x48638e(t);}})(_0x5b4fdc)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x236e16['token']=_0x5b4fdc,_0x236e16;}(t,_0x334193)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x59e796,_0x445185]=function(_0x9f04a9){const _0x4420c8=_0x9f04a9['map'](_0x555bb8=>_0x555bb8['regex'])['reduce']((_0x2f9eb0,_0x454399)=>_0x2f9eb0+'('+_0x454399['source']+')','');return['^'+_0x4420c8+'$',_0x9f04a9];}(this['units']);this['regex']=RegExp(_0x59e796,'i'),this['handlers']=_0x445185;}}['explainFromTokens'](_0x569b99){if(this['isValid']){const [_0x423f83,_0xff36e7]=function(_0x1cce2a,_0x2d463b,_0x549e32){const _0x4f35d3=_0x1cce2a['match'](_0x2d463b);if(_0x4f35d3){const _0x1c2b56={};let _0x19faaf=0x1;for(const _0x33da25 in _0x549e32)if(Tl(_0x549e32,_0x33da25)){const _0x3c29ff=_0x549e32[_0x33da25],_0x2f75df=_0x3c29ff['groups']?_0x3c29ff['groups']+0x1:0x1;!_0x3c29ff['literal']&&_0x3c29ff['token']&&(_0x1c2b56[_0x3c29ff['token']['val'][0x0]]=_0x3c29ff['deser'](_0x4f35d3['slice'](_0x19faaf,_0x19faaf+_0x2f75df))),_0x19faaf+=_0x2f75df;}return[_0x4f35d3,_0x1c2b56];}return[_0x4f35d3,{}];}(_0x569b99,this['regex'],this['handlers']),[_0x37037b,_0x5773b2,_0x25ef69]=_0xff36e7?function(_0x26ad6c){let _0x5143f0,_0x5e946e=null;Ol(_0x26ad6c['z'])||(_0x5e946e=IANAZone['create'](_0x26ad6c['z'])),Ol(_0x26ad6c['Z'])||(_0x5e946e||(_0x5e946e=new FixedOffsetZone(_0x26ad6c['Z'])),_0x5143f0=_0x26ad6c['Z']),Ol(_0x26ad6c['q'])||(_0x26ad6c['M']=0x3*(_0x26ad6c['q']-0x1)+0x1),Ol(_0x26ad6c['h'])||(_0x26ad6c['h']<0xc&&0x1===_0x26ad6c['a']?_0x26ad6c['h']+=0xc:0xc===_0x26ad6c['h']&&0x0===_0x26ad6c['a']&&(_0x26ad6c['h']=0x0)),0x0===_0x26ad6c['G']&&_0x26ad6c['y']&&(_0x26ad6c['y']=-_0x26ad6c['y']),Ol(_0x26ad6c['u'])||(_0x26ad6c['S']=kl(_0x26ad6c['u']));const _0x41974=Object['keys'](_0x26ad6c)['reduce']((_0x575cdb,_0x38cf2f)=>{const _0x4eab2e=(_0x4f4314=>{switch(_0x4f4314){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;}})(_0x38cf2f);return _0x4eab2e&&(_0x575cdb[_0x4eab2e]=_0x26ad6c[_0x38cf2f]),_0x575cdb;},{});return[_0x41974,_0x5e946e,_0x5143f0];}(_0xff36e7):[null,null,void 0x0];if(Tl(_0xff36e7,'a')&&Tl(_0xff36e7,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x569b99,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x423f83,'matches':_0xff36e7,'result':_0x37037b,'zone':_0x5773b2,'specificOffset':_0x25ef69};}return{'input':_0x569b99,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function wu(_0x55e45f,_0x12754e,_0x5eb6eb){return new TokenParser(_0x55e45f,_0x5eb6eb)['explainFromTokens'](_0x12754e);}function bu(_0x1171c2,_0x5d9bfc){if(!_0x1171c2)return null;const _0x2822df=Formatter['create'](_0x5d9bfc,_0x1171c2)['dtFormatter']((pu||(pu=DateTime['fromMillis'](0x16a2e5618e3)),pu)),_0x58007f=_0x2822df['formatToParts'](),_0x31877b=_0x2822df['resolvedOptions']();return _0x58007f['map'](_0x1349ac=>function(_0x3003a,_0x5229ba,_0x20fe1d){const {type:_0x159575,value:_0x41f5b3}=_0x3003a;if('literal'===_0x159575){const _0x6307f1=/^\s+$/['test'](_0x41f5b3);return{'literal':!_0x6307f1,'val':_0x6307f1?'\x20':_0x41f5b3};}const _0x3a91a2=_0x5229ba[_0x159575];let _0xe900d3=_0x159575;'hour'===_0x159575&&(_0xe900d3=null!=_0x5229ba['hour12']?_0x5229ba['hour12']?'hour12':'hour24':null!=_0x5229ba['hourCycle']?'h11'===_0x5229ba['hourCycle']||'h12'===_0x5229ba['hourCycle']?'hour12':'hour24':_0x20fe1d['hour12']?'hour12':'hour24');let _0x3b401f=gu[_0xe900d3];if('object'==typeof _0x3b401f&&(_0x3b401f=_0x3b401f[_0x3a91a2]),_0x3b401f)return{'literal':!0x1,'val':_0x3b401f};}(_0x1349ac,_0x1171c2,_0x31877b));}const yu='Invalid\x20DateTime',_u=0x1eb208c2dc0000;function vu(_0x5f2184){return new Invalid('unsupported\x20zone','the\x20zone\x20\x22'+_0x5f2184['name']+'\x22\x20is\x20not\x20supported');}function Tu(_0x54fc04){return null===_0x54fc04['weekData']&&(_0x54fc04['weekData']=hl(_0x54fc04['c'])),_0x54fc04['weekData'];}function Eu(_0x5e1967){return null===_0x5e1967['localWeekData']&&(_0x5e1967['localWeekData']=hl(_0x5e1967['c'],_0x5e1967['loc']['getMinDaysInFirstWeek'](),_0x5e1967['loc']['getStartOfWeek']())),_0x5e1967['localWeekData'];}function Au(_0x297fbb,_0x1a462d){const _0x1d2e03={'ts':_0x297fbb['ts'],'zone':_0x297fbb['zone'],'c':_0x297fbb['c'],'o':_0x297fbb['o'],'loc':_0x297fbb['loc'],'invalid':_0x297fbb['invalid']};return new DateTime({..._0x1d2e03,..._0x1a462d,'old':_0x1d2e03});}function Su(_0x3f05f5,_0x85f405,_0xdb787){let _0x1b3e4d=_0x3f05f5-0x3c*_0x85f405*0x3e8;const _0x5189ff=_0xdb787['offset'](_0x1b3e4d);if(_0x85f405===_0x5189ff)return[_0x1b3e4d,_0x85f405];_0x1b3e4d-=0x3c*(_0x5189ff-_0x85f405)*0x3e8;const _0x3f1d28=_0xdb787['offset'](_0x1b3e4d);return _0x5189ff===_0x3f1d28?[_0x1b3e4d,_0x5189ff]:[_0x3f05f5-0x3c*Math['min'](_0x5189ff,_0x3f1d28)*0x3e8,Math['max'](_0x5189ff,_0x3f1d28)];}function Iu(_0x5a7d09,_0x2a5cd2){const _0x22f45a=new Date(_0x5a7d09+=0x3c*_0x2a5cd2*0x3e8);return{'year':_0x22f45a['getUTCFullYear'](),'month':_0x22f45a['getUTCMonth']()+0x1,'day':_0x22f45a['getUTCDate'](),'hour':_0x22f45a['getUTCHours'](),'minute':_0x22f45a['getUTCMinutes'](),'second':_0x22f45a['getUTCSeconds'](),'millisecond':_0x22f45a['getUTCMilliseconds']()};}function Cu(_0x3386d8,_0x58d215,_0x448980){return Su(Nl(_0x3386d8),_0x58d215,_0x448980);}function ku(_0x56ccf5,_0x161b61){const _0x303cc7=_0x56ccf5['o'],_0x1ca620=_0x56ccf5['c']['year']+Math['trunc'](_0x161b61['years']),_0x9afcb2=_0x56ccf5['c']['month']+Math['trunc'](_0x161b61['months'])+0x3*Math['trunc'](_0x161b61['quarters']),_0x20d494={..._0x56ccf5['c'],'year':_0x1ca620,'month':_0x9afcb2,'day':Math['min'](_0x56ccf5['c']['day'],Ml(_0x1ca620,_0x9afcb2))+Math['trunc'](_0x161b61['days'])+0x7*Math['trunc'](_0x161b61['weeks'])},_0xa1e1ea=Duration['fromObject']({'years':_0x161b61['years']-Math['trunc'](_0x161b61['years']),'quarters':_0x161b61['quarters']-Math['trunc'](_0x161b61['quarters']),'months':_0x161b61['months']-Math['trunc'](_0x161b61['months']),'weeks':_0x161b61['weeks']-Math['trunc'](_0x161b61['weeks']),'days':_0x161b61['days']-Math['trunc'](_0x161b61['days']),'hours':_0x161b61['hours'],'minutes':_0x161b61['minutes'],'seconds':_0x161b61['seconds'],'milliseconds':_0x161b61['milliseconds']})['as']('milliseconds'),_0x307fad=Nl(_0x20d494);let [_0x4c6e8c,_0x78c8a3]=Su(_0x307fad,_0x303cc7,_0x56ccf5['zone']);return 0x0!==_0xa1e1ea&&(_0x4c6e8c+=_0xa1e1ea,_0x78c8a3=_0x56ccf5['zone']['offset'](_0x4c6e8c)),{'ts':_0x4c6e8c,'o':_0x78c8a3};}function xu(_0x564407,_0x1b3281,_0x837cd7,_0x26c660,_0x457c72,_0x450a6e){const {setZone:_0x2c9fce,zone:_0x5be929}=_0x837cd7;if(_0x564407&&0x0!==Object['keys'](_0x564407)['length']||_0x1b3281){const _0x141c0c=_0x1b3281||_0x5be929,_0x3cf23c=DateTime['fromObject'](_0x564407,{..._0x837cd7,'zone':_0x141c0c,'specificOffset':_0x450a6e});return _0x2c9fce?_0x3cf23c:_0x3cf23c['setZone'](_0x5be929);}return DateTime['invalid'](new Invalid('unparsable','the\x20input\x20\x22'+_0x457c72+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x26c660));}function Ru(_0x2689c1,_0x3d9650,_0x462bb7=!0x0){return _0x2689c1['isValid']?Formatter['create'](Locale['create']('en-US'),{'allowZ':_0x462bb7,'forceSimple':!0x0})['formatDateTimeFromString'](_0x2689c1,_0x3d9650):null;}function Pu(_0x8b056d,_0x2c13a2){const _0x57e9e8=_0x8b056d['c']['year']>0x270f||_0x8b056d['c']['year']<0x0;let _0x997e68='';return _0x57e9e8&&_0x8b056d['c']['year']>=0x0&&(_0x997e68+='+'),_0x997e68+=Sl(_0x8b056d['c']['year'],_0x57e9e8?0x6:0x4),_0x2c13a2?(_0x997e68+='-',_0x997e68+=Sl(_0x8b056d['c']['month']),_0x997e68+='-',_0x997e68+=Sl(_0x8b056d['c']['day'])):(_0x997e68+=Sl(_0x8b056d['c']['month']),_0x997e68+=Sl(_0x8b056d['c']['day'])),_0x997e68;}function Mu(_0x519638,_0x29165c,_0x2dcf87,_0x48a668,_0x2ecf20,_0x4f805c){let _0x175c79=Sl(_0x519638['c']['hour']);return _0x29165c?(_0x175c79+=':',_0x175c79+=Sl(_0x519638['c']['minute']),0x0===_0x519638['c']['millisecond']&&0x0===_0x519638['c']['second']&&_0x2dcf87||(_0x175c79+=':')):_0x175c79+=Sl(_0x519638['c']['minute']),0x0===_0x519638['c']['millisecond']&&0x0===_0x519638['c']['second']&&_0x2dcf87||(_0x175c79+=Sl(_0x519638['c']['second']),0x0===_0x519638['c']['millisecond']&&_0x48a668||(_0x175c79+='.',_0x175c79+=Sl(_0x519638['c']['millisecond'],0x3))),_0x2ecf20&&(_0x519638['isOffsetFixed']&&0x0===_0x519638['offset']&&!_0x4f805c?_0x175c79+='Z':_0x519638['o']<0x0?(_0x175c79+='-',_0x175c79+=Sl(Math['trunc'](-_0x519638['o']/0x3c)),_0x175c79+=':',_0x175c79+=Sl(Math['trunc'](-_0x519638['o']%0x3c))):(_0x175c79+='+',_0x175c79+=Sl(Math['trunc'](_0x519638['o']/0x3c)),_0x175c79+=':',_0x175c79+=Sl(Math['trunc'](_0x519638['o']%0x3c)))),_0x4f805c&&(_0x175c79+='['+_0x519638['zone']['ianaName']+']'),_0x175c79;}const Nu={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},Lu={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},Du={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},Qu=['year','month','day','hour','minute','second','millisecond'],$u=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],Vu=['year','ordinal','hour','minute','second','millisecond'];function Uu(_0x40626f){switch(_0x40626f['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x2348ff){const _0x101d34={'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'}[_0x2348ff['toLowerCase']()];if(!_0x101d34)throw new InvalidUnitError(_0x2348ff);return _0x101d34;}(_0x40626f);}}function Bu(_0x2e8407,_0x4f0866){const _0x3fb99f=jc(_0x4f0866['zone'],Settings['defaultZone']);if(!_0x3fb99f['isValid'])return DateTime['invalid'](vu(_0x3fb99f));const _0x2a4650=Locale['fromObject'](_0x4f0866);let _0x59b370,_0x9d7c83;if(Ol(_0x2e8407['year']))_0x59b370=Settings['now']();else{for(const _0x1fcd9c of Qu)Ol(_0x2e8407[_0x1fcd9c])&&(_0x2e8407[_0x1fcd9c]=Nu[_0x1fcd9c]);const _0x2fa85e=gl(_0x2e8407)||pl(_0x2e8407);if(_0x2fa85e)return DateTime['invalid'](_0x2fa85e);const _0x4bdcdd=function(_0xd40806){if(void 0x0===Hu&&(Hu=Settings['now']()),'iana'!==_0xd40806['type'])return _0xd40806['offset'](Hu);const _0x4b7f2a=_0xd40806['name'];let _0x1ec965=Gu['get'](_0x4b7f2a);return void 0x0===_0x1ec965&&(_0x1ec965=_0xd40806['offset'](Hu),Gu['set'](_0x4b7f2a,_0x1ec965)),_0x1ec965;}(_0x3fb99f);[_0x59b370,_0x9d7c83]=Cu(_0x2e8407,_0x4bdcdd,_0x3fb99f);}return new DateTime({'ts':_0x59b370,'zone':_0x3fb99f,'loc':_0x2a4650,'o':_0x9d7c83});}function Fu(_0x15c1ff,_0x573545,_0x461592){const _0x4f86b4=!!Ol(_0x461592['round'])||_0x461592['round'],_0x524260=(_0x2f55bb,_0x4da714)=>{return _0x2f55bb=xl(_0x2f55bb,_0x4f86b4||_0x461592['calendary']?0x0:0x2,!0x0),_0x573545['loc']['clone'](_0x461592)['relFormatter'](_0x461592)['format'](_0x2f55bb,_0x4da714);},_0x359d19=_0x307f94=>_0x461592['calendary']?_0x573545['hasSame'](_0x15c1ff,_0x307f94)?0x0:_0x573545['startOf'](_0x307f94)['diff'](_0x15c1ff['startOf'](_0x307f94),_0x307f94)['get'](_0x307f94):_0x573545['diff'](_0x15c1ff,_0x307f94)['get'](_0x307f94);if(_0x461592['unit'])return _0x524260(_0x359d19(_0x461592['unit']),_0x461592['unit']);for(const _0x9d57db of _0x461592['units']){const _0x39a717=_0x359d19(_0x9d57db);if(Math['abs'](_0x39a717)>=0x1)return _0x524260(_0x39a717,_0x9d57db);}return _0x524260(_0x15c1ff>_0x573545?-0x0:0x0,_0x461592['units'][_0x461592['units']['length']-0x1]);}function ju(_0x2cec2e){let _0x37b688,_0xf720cc={};return _0x2cec2e['length']>0x0&&'object'==typeof _0x2cec2e[_0x2cec2e['length']-0x1]?(_0xf720cc=_0x2cec2e[_0x2cec2e['length']-0x1],_0x37b688=Array['from'](_0x2cec2e)['slice'](0x0,_0x2cec2e['length']-0x1)):_0x37b688=Array['from'](_0x2cec2e),[_0xf720cc,_0x37b688];}let Hu;const Gu=new Map();class DateTime{constructor(_0xdb81b9){const _0x7f9ed3=_0xdb81b9['zone']||Settings['defaultZone'];let _0x4157d6=_0xdb81b9['invalid']||(Number['isNaN'](_0xdb81b9['ts'])?new Invalid('invalid\x20input'):null)||(_0x7f9ed3['isValid']?null:vu(_0x7f9ed3));this['ts']=Ol(_0xdb81b9['ts'])?Settings['now']():_0xdb81b9['ts'];let _0xda994c=null,_0xa5d060=null;if(!_0x4157d6){if(_0xdb81b9['old']&&_0xdb81b9['old']['ts']===this['ts']&&_0xdb81b9['old']['zone']['equals'](_0x7f9ed3))[_0xda994c,_0xa5d060]=[_0xdb81b9['old']['c'],_0xdb81b9['old']['o']];else{const _0x47293a=wl(_0xdb81b9['o'])&&!_0xdb81b9['old']?_0xdb81b9['o']:_0x7f9ed3['offset'](this['ts']);_0xda994c=Iu(this['ts'],_0x47293a),_0x4157d6=Number['isNaN'](_0xda994c['year'])?new Invalid('invalid\x20input'):null,_0xda994c=_0x4157d6?null:_0xda994c,_0xa5d060=_0x4157d6?null:_0x47293a;}}this['_zone']=_0x7f9ed3,this['loc']=_0xdb81b9['loc']||Locale['create'](),this['invalid']=_0x4157d6,this['weekData']=null,this['localWeekData']=null,this['c']=_0xda994c,this['o']=_0xa5d060,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x2366a4,_0x127437]=ju(arguments),[_0x5bffbd,_0x184b7c,_0x256ac0,_0x32e83c,_0x4764f6,_0x1f7ad2,_0x44d720]=_0x127437;return Bu({'year':_0x5bffbd,'month':_0x184b7c,'day':_0x256ac0,'hour':_0x32e83c,'minute':_0x4764f6,'second':_0x1f7ad2,'millisecond':_0x44d720},_0x2366a4);}static['utc'](){const [_0xee6f7,_0x59a6af]=ju(arguments),[_0x4da9ad,_0x1832ce,_0x398735,_0x49a256,_0x51c2fe,_0x41ee71,_0x2d3ccf]=_0x59a6af;return _0xee6f7['zone']=FixedOffsetZone['utcInstance'],Bu({'year':_0x4da9ad,'month':_0x1832ce,'day':_0x398735,'hour':_0x49a256,'minute':_0x51c2fe,'second':_0x41ee71,'millisecond':_0x2d3ccf},_0xee6f7);}static['fromJSDate'](_0x3abf38,_0x351543={}){const _0x41d535=function(_0x192bfe){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x192bfe);}(_0x3abf38)?_0x3abf38['valueOf']():NaN;if(Number['isNaN'](_0x41d535))return DateTime['invalid']('invalid\x20input');const _0xa3d7c3=jc(_0x351543['zone'],Settings['defaultZone']);return _0xa3d7c3['isValid']?new DateTime({'ts':_0x41d535,'zone':_0xa3d7c3,'loc':Locale['fromObject'](_0x351543)}):DateTime['invalid'](vu(_0xa3d7c3));}static['fromMillis'](_0x39eef8,_0x4bd301={}){if(wl(_0x39eef8))return _0x39eef8<-_u||_0x39eef8>_u?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x39eef8,'zone':jc(_0x4bd301['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x4bd301)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x39eef8+'\x20with\x20value\x20'+_0x39eef8);}static['fromSeconds'](_0x76b798,_0x4fafcf={}){if(wl(_0x76b798))return new DateTime({'ts':0x3e8*_0x76b798,'zone':jc(_0x4fafcf['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x4fafcf)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x40b9cf,_0x4faafe={}){_0x40b9cf=_0x40b9cf||{};const _0x5d9d8f=jc(_0x4faafe['zone'],Settings['defaultZone']);if(!_0x5d9d8f['isValid'])return DateTime['invalid'](vu(_0x5d9d8f));const _0x4e3e6b=Locale['fromObject'](_0x4faafe),_0x35c454=Bl(_0x40b9cf,Uu),{minDaysInFirstWeek:_0x3f8c51,startOfWeek:_0x4b29a3}=ml(_0x35c454,_0x4e3e6b),_0x2bf99c=Settings['now'](),_0x2bfcb7=Ol(_0x4faafe['specificOffset'])?_0x5d9d8f['offset'](_0x2bf99c):_0x4faafe['specificOffset'],_0x1e7fa5=!Ol(_0x35c454['ordinal']),_0x247c66=!Ol(_0x35c454['year']),_0x4d8349=!Ol(_0x35c454['month'])||!Ol(_0x35c454['day']),_0x21d113=_0x247c66||_0x4d8349,_0x546f79=_0x35c454['weekYear']||_0x35c454['weekNumber'];if((_0x21d113||_0x1e7fa5)&&_0x546f79)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x4d8349&&_0x1e7fa5)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x20fe8c=_0x546f79||_0x35c454['weekday']&&!_0x21d113;let _0x2b05fd,_0x20f89b,_0x23799e=Iu(_0x2bf99c,_0x2bfcb7);_0x20fe8c?(_0x2b05fd=$u,_0x20f89b=Lu,_0x23799e=hl(_0x23799e,_0x3f8c51,_0x4b29a3)):_0x1e7fa5?(_0x2b05fd=Vu,_0x20f89b=Du,_0x23799e=dl(_0x23799e)):(_0x2b05fd=Qu,_0x20f89b=Nu);let _0x187c33=!0x1;for(const _0x5d7fd4 of _0x2b05fd){Ol(_0x35c454[_0x5d7fd4])?_0x35c454[_0x5d7fd4]=_0x187c33?_0x20f89b[_0x5d7fd4]:_0x23799e[_0x5d7fd4]:_0x187c33=!0x0;}const _0x20e322=_0x20fe8c?function(_0x3fda5c,_0x1adfb9=0x4,_0x5f42df=0x1){const _0x40c8fb=bl(_0x3fda5c['weekYear']),_0x13e4a1=Al(_0x3fda5c['weekNumber'],0x1,Dl(_0x3fda5c['weekYear'],_0x1adfb9,_0x5f42df)),_0x198541=Al(_0x3fda5c['weekday'],0x1,0x7);return _0x40c8fb?_0x13e4a1?!_0x198541&&rl('weekday',_0x3fda5c['weekday']):rl('week',_0x3fda5c['weekNumber']):rl('weekYear',_0x3fda5c['weekYear']);}(_0x35c454,_0x3f8c51,_0x4b29a3):_0x1e7fa5?function(_0x3f6a89){const _0x5041ac=bl(_0x3f6a89['year']),_0xbd150c=Al(_0x3f6a89['ordinal'],0x1,Pl(_0x3f6a89['year']));return _0x5041ac?!_0xbd150c&&rl('ordinal',_0x3f6a89['ordinal']):rl('year',_0x3f6a89['year']);}(_0x35c454):gl(_0x35c454),_0x248fb4=_0x20e322||pl(_0x35c454);if(_0x248fb4)return DateTime['invalid'](_0x248fb4);const _0x3fb447=_0x20fe8c?ul(_0x35c454,_0x3f8c51,_0x4b29a3):_0x1e7fa5?fl(_0x35c454):_0x35c454,[_0x21643d,_0x1b086c]=Cu(_0x3fb447,_0x2bfcb7,_0x5d9d8f),_0x1bf85a=new DateTime({'ts':_0x21643d,'zone':_0x5d9d8f,'o':_0x1b086c,'loc':_0x4e3e6b});return _0x35c454['weekday']&&_0x21d113&&_0x40b9cf['weekday']!==_0x1bf85a['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x35c454['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x1bf85a['toISO']()):_0x1bf85a['isValid']?_0x1bf85a:DateTime['invalid'](_0x1bf85a['invalid']);}static['fromISO'](_0x31ed61,_0x44f681={}){const [_0x57f455,_0x4e6ecd]=function(_0x18bc52){return ch(_0x18bc52,[Nh,$h],[Lh,Vh],[Dh,Uh],[Qh,Bh]);}(_0x31ed61);return xu(_0x57f455,_0x4e6ecd,_0x44f681,'ISO\x208601',_0x31ed61);}static['fromRFC2822'](_0x140d58,_0x449955={}){const [_0x341c3d,_0x564ea0]=function(_0x5bfe91){return ch(function(_0xdc68f5){return _0xdc68f5['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x5bfe91),[Ih,Ch]);}(_0x140d58);return xu(_0x341c3d,_0x564ea0,_0x449955,'RFC\x202822',_0x140d58);}static['fromHTTP'](_0x44b4f2,_0x23a6e9={}){const [_0x3a59cd,_0xec9201]=function(_0x5cded){return ch(_0x5cded,[kh,Ph],[xh,Ph],[Rh,Mh]);}(_0x44b4f2);return xu(_0x3a59cd,_0xec9201,_0x23a6e9,'HTTP',_0x23a6e9);}static['fromFormat'](_0x3eb0d6,_0x51a7d0,_0xb54ea6={}){if(Ol(_0x3eb0d6)||Ol(_0x51a7d0))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x597063=null,numberingSystem:_0x4c320d=null}=_0xb54ea6,_0x23d539=Locale['fromOpts']({'locale':_0x597063,'numberingSystem':_0x4c320d,'defaultToEN':!0x0}),[_0x2d9883,_0xeb9b33,_0x6934bf,_0x48dfee]=function(_0x9d736,_0x272dbe,_0x2a8d14){const {result:_0x298f3d,zone:_0x59a0c5,specificOffset:_0x428282,invalidReason:_0xb485d4}=wu(_0x9d736,_0x272dbe,_0x2a8d14);return[_0x298f3d,_0x59a0c5,_0x428282,_0xb485d4];}(_0x23d539,_0x3eb0d6,_0x51a7d0);return _0x48dfee?DateTime['invalid'](_0x48dfee):xu(_0x2d9883,_0xeb9b33,_0xb54ea6,'format\x20'+_0x51a7d0,_0x3eb0d6,_0x6934bf);}static['fromString'](_0x18c1db,_0x386ef0,_0x30e9d1={}){return DateTime['fromFormat'](_0x18c1db,_0x386ef0,_0x30e9d1);}static['fromSQL'](_0x385619,_0x7ee142={}){const [_0x3ea01a,_0x44e826]=function(_0xeeb015){return ch(_0xeeb015,[jh,$h],[Hh,Gh]);}(_0x385619);return xu(_0x3ea01a,_0x44e826,_0x7ee142,'SQL',_0x385619);}static['invalid'](_0x1acd35,_0x510d48=null){if(!_0x1acd35)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0xa56913=_0x1acd35 instanceof Invalid?_0x1acd35:new Invalid(_0x1acd35,_0x510d48);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0xa56913);return new DateTime({'invalid':_0xa56913});}static['isDateTime'](_0x578b85){return _0x578b85&&_0x578b85['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x4e9668,_0x4a29f4={}){const _0x4f8c78=bu(_0x4e9668,Locale['fromObject'](_0x4a29f4));return _0x4f8c78?_0x4f8c78['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0xf20f39,_0x2b879d={}){return Ou(Formatter['parseFormat'](_0xf20f39),Locale['fromObject'](_0x2b879d))['map'](t=>t['val'])['join']('');}static['resetCache'](){Hu=void 0x0,Gu['clear']();}['get'](_0x24f91c){return this[_0x24f91c];}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']?Tu(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?Tu(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?Tu(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?Eu(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?Eu(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?Eu(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?dl(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?Info['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?Info['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?Info['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?Info['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 _0xa6bbe5=0x5265c00,_0x3349d6=0xea60,_0x4dffed=Nl(this['c']),_0x2f6e64=this['zone']['offset'](_0x4dffed-_0xa6bbe5),_0x512834=this['zone']['offset'](_0x4dffed+_0xa6bbe5),_0x1acc8d=this['zone']['offset'](_0x4dffed-_0x2f6e64*_0x3349d6),_0x3f21b4=this['zone']['offset'](_0x4dffed-_0x512834*_0x3349d6);if(_0x1acc8d===_0x3f21b4)return[this];const _0x59a354=_0x4dffed-_0x1acc8d*_0x3349d6,_0x553768=_0x4dffed-_0x3f21b4*_0x3349d6,_0x234086=Iu(_0x59a354,_0x1acc8d),_0x5efd44=Iu(_0x553768,_0x3f21b4);return _0x234086['hour']===_0x5efd44['hour']&&_0x234086['minute']===_0x5efd44['minute']&&_0x234086['second']===_0x5efd44['second']&&_0x234086['millisecond']===_0x5efd44['millisecond']?[Au(this,{'ts':_0x59a354}),Au(this,{'ts':_0x553768})]:[this];}get['isInLeapYear'](){return Rl(this['year']);}get['daysInMonth'](){return Ml(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?Pl(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?Dl(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?Dl(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x4bcf7f={}){const {locale:_0x11e1ad,numberingSystem:_0x56a5d3,calendar:_0x24e0b1}=Formatter['create'](this['loc']['clone'](_0x4bcf7f),_0x4bcf7f)['resolvedOptions'](this);return{'locale':_0x11e1ad,'numberingSystem':_0x56a5d3,'outputCalendar':_0x24e0b1};}['toUTC'](_0x3191b3=0x0,_0xc95e86={}){return this['setZone'](FixedOffsetZone['instance'](_0x3191b3),_0xc95e86);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x1aa56d,{keepLocalTime:_0x3b6c27=!0x1,keepCalendarTime:_0x1d7370=!0x1}={}){if((_0x1aa56d=jc(_0x1aa56d,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x1aa56d['isValid']){let _0x23d095=this['ts'];if(_0x3b6c27||_0x1d7370){const _0x26c37e=_0x1aa56d['offset'](this['ts']),_0x4496e1=this['toObject']();[_0x23d095]=Cu(_0x4496e1,_0x26c37e,_0x1aa56d);}return Au(this,{'ts':_0x23d095,'zone':_0x1aa56d});}return DateTime['invalid'](vu(_0x1aa56d));}['reconfigure']({locale:_0x6701df,numberingSystem:_0x225cb6,outputCalendar:_0x3b2cb1}={}){return Au(this,{'loc':this['loc']['clone']({'locale':_0x6701df,'numberingSystem':_0x225cb6,'outputCalendar':_0x3b2cb1})});}['setLocale'](_0x36f4aa){return this['reconfigure']({'locale':_0x36f4aa});}['set'](_0x356e1a){if(!this['isValid'])return this;const _0x6eaff=Bl(_0x356e1a,Uu),{minDaysInFirstWeek:_0x3f4174,startOfWeek:_0x2d9474}=ml(_0x6eaff,this['loc']),_0x203ca4=!Ol(_0x6eaff['weekYear'])||!Ol(_0x6eaff['weekNumber'])||!Ol(_0x6eaff['weekday']),_0x6d3cc6=!Ol(_0x6eaff['ordinal']),_0x1f45d0=!Ol(_0x6eaff['year']),_0x3860f5=!Ol(_0x6eaff['month'])||!Ol(_0x6eaff['day']),_0x5293fb=_0x1f45d0||_0x3860f5,_0x558956=_0x6eaff['weekYear']||_0x6eaff['weekNumber'];if((_0x5293fb||_0x6d3cc6)&&_0x558956)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x3860f5&&_0x6d3cc6)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x8bc26c;_0x203ca4?_0x8bc26c=ul({...hl(this['c'],_0x3f4174,_0x2d9474),..._0x6eaff},_0x3f4174,_0x2d9474):Ol(_0x6eaff['ordinal'])?(_0x8bc26c={...this['toObject'](),..._0x6eaff},Ol(_0x6eaff['day'])&&(_0x8bc26c['day']=Math['min'](Ml(_0x8bc26c['year'],_0x8bc26c['month']),_0x8bc26c['day']))):_0x8bc26c=fl({...dl(this['c']),..._0x6eaff});const [_0x473ea0,_0x17ebbc]=Cu(_0x8bc26c,this['o'],this['zone']);return Au(this,{'ts':_0x473ea0,'o':_0x17ebbc});}['plus'](_0x4d55cc){if(!this['isValid'])return this;return Au(this,ku(this,Duration['fromDurationLike'](_0x4d55cc)));}['minus'](_0x1bdc20){if(!this['isValid'])return this;return Au(this,ku(this,Duration['fromDurationLike'](_0x1bdc20)['negate']()));}['startOf'](_0x3a5721,{useLocaleWeeks:_0x587214=!0x1}={}){if(!this['isValid'])return this;const _0x12c4e1={},_0x58a494=Duration['normalizeUnit'](_0x3a5721);switch(_0x58a494){case'years':_0x12c4e1['month']=0x1;case'quarters':case'months':_0x12c4e1['day']=0x1;case'weeks':case'days':_0x12c4e1['hour']=0x0;case'hours':_0x12c4e1['minute']=0x0;case'minutes':_0x12c4e1['second']=0x0;case'seconds':_0x12c4e1['millisecond']=0x0;}if('weeks'===_0x58a494){if(_0x587214){const _0x500cc1=this['loc']['getStartOfWeek'](),{weekday:_0x3eec01}=this;_0x3eec01<_0x500cc1&&(_0x12c4e1['weekNumber']=this['weekNumber']-0x1),_0x12c4e1['weekday']=_0x500cc1;}else _0x12c4e1['weekday']=0x1;}if('quarters'===_0x58a494){const _0x355ccc=Math['ceil'](this['month']/0x3);_0x12c4e1['month']=0x3*(_0x355ccc-0x1)+0x1;}return this['set'](_0x12c4e1);}['endOf'](_0x462255,_0x107550){return this['isValid']?this['plus']({[_0x462255]:0x1})['startOf'](_0x462255,_0x107550)['minus'](0x1):this;}['toFormat'](_0x5866bd,_0x3eece6={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x3eece6))['formatDateTimeFromString'](this,_0x5866bd):yu;}['toLocaleString'](_0x54f0b5=rc,_0x5c051a={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x5c051a),_0x54f0b5)['formatDateTime'](this):yu;}['toLocaleParts'](_0x553d43={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x553d43),_0x553d43)['formatDateTimeParts'](this):[];}['toISO']({format:_0xb4825c='extended',suppressSeconds:_0xa87fe0=!0x1,suppressMilliseconds:_0x5cdd05=!0x1,includeOffset:_0x523fd1=!0x0,extendedZone:_0x2ce13f=!0x1}={}){if(!this['isValid'])return null;const _0x5a157e='extended'===_0xb4825c;let _0x2e33a1=Pu(this,_0x5a157e);return _0x2e33a1+='T',_0x2e33a1+=Mu(this,_0x5a157e,_0xa87fe0,_0x5cdd05,_0x523fd1,_0x2ce13f),_0x2e33a1;}['toISODate']({format:_0x2c7641='extended'}={}){return this['isValid']?Pu(this,'extended'===_0x2c7641):null;}['toISOWeekDate'](){return Ru(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x5c52d0=!0x1,suppressSeconds:_0xa9cae1=!0x1,includeOffset:_0x2a22c6=!0x0,includePrefix:_0x5885bf=!0x1,extendedZone:_0x534b4d=!0x1,format:_0xd3822d='extended'}={}){if(!this['isValid'])return null;return(_0x5885bf?'T':'')+Mu(this,'extended'===_0xd3822d,_0xa9cae1,_0x5c52d0,_0x2a22c6,_0x534b4d);}['toRFC2822'](){return Ru(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return Ru(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?Pu(this,!0x0):null;}['toSQLTime']({includeOffset:_0x1d37b6=!0x0,includeZone:_0x55d749=!0x1,includeOffsetSpace:_0x2ee37f=!0x0}={}){let _0x57e859='HH:mm:ss.SSS';return(_0x55d749||_0x1d37b6)&&(_0x2ee37f&&(_0x57e859+='\x20'),_0x55d749?_0x57e859+='z':_0x1d37b6&&(_0x57e859+='ZZ')),Ru(this,_0x57e859,!0x0);}['toSQL'](_0x25d03a={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x25d03a):null;}['toString'](){return this['isValid']?this['toISO']():yu;}[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'](_0x24d43b={}){if(!this['isValid'])return{};const _0x4e3c5e={...this['c']};return _0x24d43b['includeConfig']&&(_0x4e3c5e['outputCalendar']=this['outputCalendar'],_0x4e3c5e['numberingSystem']=this['loc']['numberingSystem'],_0x4e3c5e['locale']=this['loc']['locale']),_0x4e3c5e;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x2c55e9,_0x1bb81e='milliseconds',_0xf01e69={}){if(!this['isValid']||!_0x2c55e9['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x5da5e0={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0xf01e69},_0x134927=(_0x5d46f3=_0x1bb81e,Array['isArray'](_0x5d46f3)?_0x5d46f3:[_0x5d46f3])['map'](Duration['normalizeUnit']),_0x121369=_0x2c55e9['valueOf']()>this['valueOf'](),_0x5782f7=ru(_0x121369?this:_0x2c55e9,_0x121369?_0x2c55e9:this,_0x134927,_0x5da5e0);var _0x5d46f3;return _0x121369?_0x5782f7['negate']():_0x5782f7;}['diffNow'](_0x408312='milliseconds',_0x367e48={}){return this['diff'](DateTime['now'](),_0x408312,_0x367e48);}['until'](_0x5c9c4a){return this['isValid']?Interval['fromDateTimes'](this,_0x5c9c4a):this;}['hasSame'](_0x1e50eb,_0x48ca22,_0x1feee8){if(!this['isValid'])return!0x1;const _0x1d08f4=_0x1e50eb['valueOf'](),_0x4702f5=this['setZone'](_0x1e50eb['zone'],{'keepLocalTime':!0x0});return _0x4702f5['startOf'](_0x48ca22,_0x1feee8)<=_0x1d08f4&&_0x1d08f4<=_0x4702f5['endOf'](_0x48ca22,_0x1feee8);}['equals'](_0x458351){return this['isValid']&&_0x458351['isValid']&&this['valueOf']()===_0x458351['valueOf']()&&this['zone']['equals'](_0x458351['zone'])&&this['loc']['equals'](_0x458351['loc']);}['toRelative'](_0xc07f7f={}){if(!this['isValid'])return null;const _0x2c047b=_0xc07f7f['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x5dacce=_0xc07f7f['padding']?this<_0x2c047b?-_0xc07f7f['padding']:_0xc07f7f['padding']:0x0;let _0x3b705e=['years','months','days','hours','minutes','seconds'],_0x4b02da=_0xc07f7f['unit'];return Array['isArray'](_0xc07f7f['unit'])&&(_0x3b705e=_0xc07f7f['unit'],_0x4b02da=void 0x0),Fu(_0x2c047b,this['plus'](_0x5dacce),{..._0xc07f7f,'numeric':'always','units':_0x3b705e,'unit':_0x4b02da});}['toRelativeCalendar'](_0x3ff900={}){return this['isValid']?Fu(_0x3ff900['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x3ff900,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x2219f0){if(!_0x2219f0['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return vl(_0x2219f0,_0x1fedde=>_0x1fedde['valueOf'](),Math['min']);}static['max'](..._0x477870){if(!_0x477870['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return vl(_0x477870,_0x4fb360=>_0x4fb360['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x2a35dc,_0x1bc267,_0x5317aa={}){const {locale:_0x55ec35=null,numberingSystem:_0x1ba9ad=null}=_0x5317aa;return wu(Locale['fromOpts']({'locale':_0x55ec35,'numberingSystem':_0x1ba9ad,'defaultToEN':!0x0}),_0x2a35dc,_0x1bc267);}static['fromStringExplain'](_0x13d07a,_0x1996c0,_0xefd903={}){return DateTime['fromFormatExplain'](_0x13d07a,_0x1996c0,_0xefd903);}static['buildFormatParser'](_0x2e1137,_0x50e7f6={}){const {locale:_0x43dc2b=null,numberingSystem:_0x1ae370=null}=_0x50e7f6,_0x2d538f=Locale['fromOpts']({'locale':_0x43dc2b,'numberingSystem':_0x1ae370,'defaultToEN':!0x0});return new TokenParser(_0x2d538f,_0x2e1137);}static['fromFormatParser'](_0x94f311,_0x31008d,_0xd614af={}){if(Ol(_0x94f311)||Ol(_0x31008d))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x5302e9=null,numberingSystem:_0x54593a=null}=_0xd614af,_0x579912=Locale['fromOpts']({'locale':_0x5302e9,'numberingSystem':_0x54593a,'defaultToEN':!0x0});if(!_0x579912['equals'](_0x31008d['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x579912+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x31008d['locale']);const {result:_0x3b8f0e,zone:_0xc23be9,specificOffset:_0x21a803,invalidReason:_0x512c04}=_0x31008d['explainFromTokens'](_0x94f311);return _0x512c04?DateTime['invalid'](_0x512c04):xu(_0x3b8f0e,_0xc23be9,_0xd614af,'format\x20'+_0x31008d['format'],_0x94f311,_0x21a803);}static get['DATE_SHORT'](){return rc;}static get['DATE_MED'](){return oc;}static get['DATE_MED_WITH_WEEKDAY'](){return ac;}static get['DATE_FULL'](){return cc;}static get['DATE_HUGE'](){return lc;}static get['TIME_SIMPLE'](){return hc;}static get['TIME_WITH_SECONDS'](){return uc;}static get['TIME_WITH_SHORT_OFFSET'](){return dc;}static get['TIME_WITH_LONG_OFFSET'](){return fc;}static get['TIME_24_SIMPLE'](){return mc;}static get['TIME_24_WITH_SECONDS'](){return gc;}static get['TIME_24_WITH_SHORT_OFFSET'](){return pc;}static get['TIME_24_WITH_LONG_OFFSET'](){return Oc;}static get['DATETIME_SHORT'](){return wc;}static get['DATETIME_SHORT_WITH_SECONDS'](){return bc;}static get['DATETIME_MED'](){return yc;}static get['DATETIME_MED_WITH_SECONDS'](){return _c;}static get['DATETIME_MED_WITH_WEEKDAY'](){return vc;}static get['DATETIME_FULL'](){return Tc;}static get['DATETIME_FULL_WITH_SECONDS'](){return Ec;}static get['DATETIME_HUGE'](){return Ac;}static get['DATETIME_HUGE_WITH_SECONDS'](){return Sc;}}function Zu(_0x562d5d){if(DateTime['isDateTime'](_0x562d5d))return _0x562d5d;if(_0x562d5d&&_0x562d5d['valueOf']&&wl(_0x562d5d['valueOf']()))return DateTime['fromJSDate'](_0x562d5d);if(_0x562d5d&&'object'==typeof _0x562d5d)return DateTime['fromObject'](_0x562d5d);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x562d5d+',\x20of\x20type\x20'+typeof _0x562d5d);}function Xu(_0x2f6dfe={},_0x33e3bd){if(void 0x0!==_0x2f6dfe['dateTimeFormat']&&'function'!=typeof _0x2f6dfe['dateTimeFormat'])throw new _0x1976e8('invalid-date-time-format');return _0x440ad6=>{const _0x47a7a3='string'==typeof _0x440ad6?DateTime['fromISO'](_0x440ad6):DateTime['fromJSDate'](_0x440ad6),_0x383167=DateTime['now'](),_0x5e0be6=Math['floor'](_0x383167['diff'](_0x47a7a3,'days')['days']);return _0x2f6dfe['dateTimeFormat']?_0x2f6dfe['dateTimeFormat'](_0x47a7a3['toJSDate'](),_0x33e3bd&&_0x33e3bd['t']?_0x33e3bd['t']:void 0x0):0x0===_0x5e0be6?_0x33e3bd?qa(_0x33e3bd,'Today')+'\x20'+_0x47a7a3['toFormat']('hh:mma'):_0x47a7a3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5e0be6?_0x33e3bd?qa(_0x33e3bd,'Yesterday')+'\x20'+_0x47a7a3['toFormat']('hh:mma'):_0x47a7a3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5e0be6<0x7?_0x33e3bd?qa(_0x33e3bd,'Last')+'\x20'+qa(_0x33e3bd,_0x47a7a3['toFormat']('EEEE'))+'\x20'+_0x47a7a3['toFormat']('hh:mma'):_0x47a7a3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x47a7a3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function qu(_0x2f0c69,_0xc104a9){const _0xb4bbf3=_0x2f0c69['mapper']['markerNameToElements'](_0xc104a9['name']);if(!_0xb4bbf3)return null;const _0x2e43dc=_0x254002(_0xb4bbf3['values']());return _0x2f0c69['view']['domConverter']['mapViewToDom'](_0x2e43dc)||null;}function Wu(_0xb9381a,_0x1aa03b){if(0x0===_0x1aa03b['length'])return null;const _0x46a376=[],_0x51b557=_0xb9381a['view']['domConverter'];for(const _0x1d528f of _0x1aa03b){const _0x234d2b=_0xb9381a['mapper']['markerNameToElements'](_0x1d528f['name']);if(!_0x234d2b)continue;const _0x4d952a=Array['from'](_0x234d2b)['map'](_0x59d188=>_0x51b557['mapViewToDom'](_0x59d188))['filter'](_0x33d856=>!!_0x33d856);_0x46a376['push'](..._0x4d952a);}if(0x0===_0x46a376['length'])return null;const _0x1d653d=[];for(const _0x499970 of _0x46a376){const _0x207462=_0x499970['getClientRects']()['item'](0x0);_0x207462&&_0x1d653d['push']({'x':_0x207462['x'],'y':_0x207462['y'],'domElement':_0x499970});}return 0x0===_0x1d653d['length']?null:(_0x1d653d['sort']((_0x54a8b2,_0x2a954d)=>_0x54a8b2['y']-_0x2a954d['y']||_0x54a8b2['x']-_0x2a954d['x']),_0x1d653d['map'](_0x24e3c3=>_0x24e3c3['domElement']));}function zu(_0x7b648f,{limit:_0x1873ba,suffix:_0x549290='...'}){const _0x207a12=[];let _0x16ba66=0x0;const _0x5cca8d=_0x7b648f['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3afb23=0x0;_0x3afb23<_0x5cca8d['length'];_0x3afb23++){let _0x2bcfc7=_0x5cca8d[_0x3afb23];const _0x450509=Yu(_0x2bcfc7);if(_0x2bcfc7['startsWith']('<')){if(_0x16ba66>=_0x1873ba){const _0x3fc9b4=_0x2bcfc7['match'](/[a-zA-Z]+/);if(!_0x3fc9b4){_0x5cca8d[_0x3afb23]='';continue;}const _0x517081=_0x3fc9b4[0x0];_0x2bcfc7['startsWith']('</')?(_0x207a12['length']&&(_0x2bcfc7=''),_0x207a12['pop']()):(_0x207a12['push'](_0x517081),_0x2bcfc7='');}}else{if(_0x16ba66>=_0x1873ba)_0x2bcfc7='';else{if(_0x16ba66+_0x450509['length']>=_0x1873ba){let _0x3e561f=_0x1873ba-_0x16ba66;if('\x20'===_0x450509[_0x3e561f-0x1])_0x3e561f--;else{const _0x46d72a=_0x450509['slice'](_0x3e561f)['indexOf']('\x20');-0x1!==_0x46d72a?_0x3e561f+=_0x46d72a:_0x3e561f=_0x2bcfc7['length'];}_0x2bcfc7=_0x450509['slice'](0x0,_0x3e561f)['join']('')+_0x549290,_0x16ba66=_0x1873ba;}else _0x16ba66+=_0x450509['length'];}}_0x5cca8d[_0x3afb23]=_0x2bcfc7;}return _0x5cca8d['join']('\x0a')['replace'](/\n/g,'');}function Yu(_0xbc83e9){const _0x509aaf=[];for(let _0x11f63d=0x0;_0x11f63d<_0xbc83e9['length'];_0x11f63d++){const _0x172d7a=_0xbc83e9['substring'](_0x11f63d)['match'](/^&[a-z0-9#]+;/);if(_0x172d7a){const _0x451cc9=_0x172d7a[0x0];_0x509aaf['push'](_0x451cc9),_0x11f63d+=_0x451cc9['length']-0x1;}else _0x509aaf['push'](_0xbc83e9[_0x11f63d]);}return _0x509aaf;}class ConfirmView extends _0x268b55{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x11cdca){super(_0x11cdca);const _0x41e0dc=this['bindTemplate'];this['set']('message',qa(_0x11cdca,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x11cdca,qa(_0x11cdca,'Yes'),_0x424b4d,'submit'),this['cancelView']=this['_createButtonView'](_0x11cdca,qa(_0x11cdca,'No'),_0x288b7f,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'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':_0x41e0dc['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'](_0x32dbcd,_0x3b3226,_0x3b39a7,_0x3cae52){const _0x5b2db6=new _0x13bcd9(_0x32dbcd);return _0x5b2db6['label']=_0x3b3226,_0x5b2db6['icon']=_0x3b39a7,_0x5b2db6['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x3cae52}}),_0x5b2db6['on']('execute',()=>this['fire'](_0x3cae52)),_0x5b2db6;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x19852f=>{this['keystrokes']['listenTo'](_0x19852f['element']),this['focusTracker']['add'](_0x19852f['element']);}),this['keystrokes']['set']('esc',(_0x3af5a1,_0x1bc042)=>{this['fire']('cancel'),_0x1bc042();});}}function Ku(_0x48fa46){return class _0xae8c4 extends _0x48fa46{['showConfirm'](_0x1fb2eb,_0x778dd5){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x1fb2eb,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x778dd5['appendChild'](this['confirmView']['element']),_0x778dd5['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x8c75c1,_0x1121a7,_0x4d19f0)=>{_0x4d19f0||_0x778dd5['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1dba3a=>this['confirmView']['on']('submit',_0x1dba3a));}['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 Ju(_0x4d4460){let _0x1e249b=0x0,_0x4d27cb=0x0;for(const _0x46fa46 of ed(_0x4d4460))_0x1e249b=(_0x1e249b<<0x5)-_0x1e249b+_0x46fa46,_0x1e249b&=_0x1e249b,[_0x1e249b,_0x4d27cb]=[_0x4d27cb,_0x1e249b];return nd(_0x1e249b)+nd(_0x4d27cb);}function*td(_0x22aec0){null==_0x22aec0||null==_0x22aec0?yield 0x12b9b0a1:0x0===_0x22aec0||!0x1===_0x22aec0?yield 0x0:0x1===_0x22aec0||0x1==_0x22aec0?yield 0x1:Array['isArray'](_0x22aec0)?yield*function*(_0x448836){for(const _0x12cf21 of _0x448836)yield*td(_0x12cf21);}(_0x22aec0):'object'==typeof _0x22aec0?yield*ed(_0x22aec0):'string'==typeof _0x22aec0?yield*id(_0x22aec0):'number'==typeof _0x22aec0&&(yield _0x22aec0);}function*ed(_0x3a4ff4){if(yield sd('{'),_0x3a4ff4){const _0x52e745=Object['keys'](_0x3a4ff4)['sort']();for(const _0x2766c0 of _0x52e745){yield*id(_0x2766c0),yield sd(':');const _0x5bb1af=_0x3a4ff4[_0x2766c0];yield*td(_0x5bb1af);}}yield sd('}');}function*id(_0x5788b6){yield sd('\x22');for(const _0xc0586a of _0x5788b6)yield sd(_0xc0586a);yield sd('\x22');}function sd(_0x579370){return _0x579370['charCodeAt'](0x0);}function nd(_0x2417ea){return(_0x2417ea*=Math['sign'](_0x2417ea))['toString'](0x24);}const rd=['initialData','context','toolbar','rootsAttributes'],od=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ad(_0xe47198,_0x3f01be,_0x128bf6,_0x3e33b5=[]){const _0x23dad1='string'==typeof _0xe47198?_0x128bf6['get'](_0xe47198)['constructor']:_0xe47198['prototype']['constructor'];if(_0x3f01be['has'](_0x23dad1))return _0x3f01be['get'](_0x23dad1);_0x3f01be['set'](_0x23dad1,!0x0);const _0x3fd427=[...od,..._0x3e33b5]['map'](_0x48e771=>{if(_0x128bf6['has'](_0x48e771))return _0x128bf6['get'](_0x48e771)['constructor'];})['filter'](_0x4fc56f=>_0x4fc56f);if(_0x23dad1&&_0x3fd427['includes'](_0x23dad1))return _0x3f01be['set'](_0x23dad1,!0x1),!0x1;if(!_0x23dad1['requires'])return _0x3f01be['set'](_0x23dad1,!0x0),!0x0;const _0x1a3edb=_0x23dad1['requires']['every'](_0x4c2bad=>ad(_0x4c2bad,_0x3f01be,_0x128bf6,_0x3e33b5));return _0x3f01be['set'](_0x23dad1,_0x1a3edb),_0x1a3edb;}function cd(_0x2b373e,_0x4ac72b){const _0x5dccea={};for(const _0x4884b5 of _0x2b373e['config']['names']())rd['includes'](_0x4884b5)||(_0x5dccea[_0x4884b5]=_0x2b373e['config']['get'](_0x4884b5));const _0x240284=_0x5dccea['plugins']||[],_0x27a412=_0x2b373e['constructor']['builtinPlugins']||[],_0x41a149=_0x240284['length']?_0x240284:_0x27a412,_0x4f0d8f=_0x5dccea['extraPlugins']||[];delete _0x5dccea['extraPlugins'];const _0x25d2db=_0x5dccea['removePlugins']||[];delete _0x5dccea['removePlugins'];const _0x8caa06=_0x2b373e['_context']['config']['get']('plugins')||[],_0x1d22d3=_0x41a149['concat'](_0x4f0d8f)['concat'](_0x8caa06)['map'](_0x490297=>'string'==typeof _0x490297?_0x27a412['find'](_0x31e324=>_0x31e324['pluginName']==_0x490297):_0x490297)['filter'](_0x337902=>!_0x25d2db['includes'](_0x337902)&&!_0x25d2db['includes'](_0x337902['pluginName'])),_0x472374=Array['from'](new Set(_0x1d22d3)),_0x2d3047=new Map();return _0x5dccea['plugins']=_0x472374['filter'](_0x4403b4=>ad(_0x4403b4,_0x2d3047,_0x2b373e['plugins'],_0x4ac72b)),_0x5dccea;}function ld(_0x44cc92,_0x10f73c){const _0x500164=[];_0x44cc92['document']['selection']['on']('change:range',()=>{const _0x1d8c9c=function(_0x560fc7,_0x322dd9){const _0x492e11=[];for(const _0x12ede1 of _0x560fc7['markers']){const _0x3e452a=_0x12ede1['getRange']();(_0x3e452a['containsPosition'](_0x322dd9)||_0x3e452a['start']['isEqual'](_0x322dd9)||_0x3e452a['end']['isEqual'](_0x322dd9))&&_0x492e11['push'](_0x12ede1);}return _0x492e11;}(_0x44cc92,_0x44cc92['document']['selection']['focus']),_0x1613d0=[],_0x4cacdf=[],_0x5ebac9=[];for(const _0xe68462 of _0x500164)_0x1d8c9c['includes'](_0xe68462)||_0x1613d0['push'](_0xe68462);for(const _0x517dd9 of _0x1d8c9c)_0x500164['includes'](_0x517dd9)||_0x4cacdf['push'](_0x517dd9),_0x5ebac9['push'](_0x517dd9);(_0x1613d0['length']||_0x4cacdf['length'])&&_0x10f73c({'left':_0x1613d0,'entered':_0x4cacdf}),_0x500164['length']=0x0,_0x500164['push'](..._0x5ebac9);});}const hd='Ctrl+Shift+E';function ud(_0x157df2,_0x584235){const _0x2e9122=_0x157df2['element'];_0x157df2['keystrokes']['listenTo'](_0x2e9122);for(const _0x2fdfdc of _0x584235)dd(_0x157df2,_0x2fdfdc);_0x584235['on']('change',(_0x16de79,_0x1f0d11)=>{for(const _0x1b8f6b of _0x1f0d11['removed'])fd(_0x157df2,_0x1b8f6b);for(const _0x3e2986 of Array['from'](_0x1f0d11['added'])['reverse']())dd(_0x157df2,_0x3e2986);}),_0x157df2['keystrokes']['set']('enter',(_0x23e47c,_0x55b332)=>{_0x2e9122===_0x23e47c['target']&&(_0x157df2['focusCycler']['focusFirst'](),_0x55b332());},{'filter':_0x5b9aaf=>_0x5b9aaf['target']===_0x2e9122}),_0x157df2['keystrokes']['set']('esc',(_0x24413f,_0x43ec39)=>{_0x2e9122!==_0x24413f['target']?_0x157df2['focus']():_0x157df2['fire']('escape'),_0x43ec39();}),_0x157df2['keystrokes']['set']('arrowdown',(_0x53da71,_0x2d0e28)=>{_0x2e9122===_0x53da71['target']&&(_0x157df2['fire']('arrowdown'),_0x2d0e28());}),_0x157df2['keystrokes']['set']('arrowup',(_0x5e0911,_0x4b2f41)=>{_0x2e9122===_0x5e0911['target']&&(_0x157df2['fire']('arrowup'),_0x4b2f41());});}function dd(_0x3ebe51,_0x493fbd){_0x493fbd['isRendered']&&(_0x3ebe51['focusTracker']['add'](_0x493fbd['element']),_0x3ebe51['keystrokes']['listenTo'](_0x493fbd['element']),ut(_0x493fbd)&&function(_0x362324,_0x3a6e02){const _0x1e38bf=_0x362324['actions'],_0x4e55d5=_0x3a6e02['actions'];for(const _0x3f0e72 of Object['keys'](_0x1e38bf))if(_0x3f0e72 in _0x4e55d5&&_0x1e38bf[_0x3f0e72]!==_0x4e55d5[_0x3f0e72])return!0x1;return!0x0;}(_0x3ebe51['focusCycler'],_0x493fbd['focusCycler'])&&_0x3ebe51['focusCycler']['chain'](_0x493fbd['focusCycler']));}function fd(_0x19f3ca,_0x5ef298){_0x19f3ca['focusTracker']['remove'](_0x5ef298['element']),_0x19f3ca['keystrokes']['stopListening'](_0x5ef298['element']),ut(_0x5ef298)&&_0x19f3ca['focusCycler']['unchain'](_0x5ef298['focusCycler']);}class Diff{['diff'](_0x53cf28,_0x21cde5,_0x5c2df4={}){let _0x59d384;'function'==typeof _0x5c2df4?(_0x59d384=_0x5c2df4,_0x5c2df4={}):'callback'in _0x5c2df4&&(_0x59d384=_0x5c2df4['callback']);const _0xae0831=this['castInput'](_0x53cf28,_0x5c2df4),_0x19c1d9=this['castInput'](_0x21cde5,_0x5c2df4),_0x36edd4=this['removeEmpty'](this['tokenize'](_0xae0831,_0x5c2df4)),_0x4c8f8e=this['removeEmpty'](this['tokenize'](_0x19c1d9,_0x5c2df4));return this['diffWithOptionsObj'](_0x36edd4,_0x4c8f8e,_0x5c2df4,_0x59d384);}['diffWithOptionsObj'](_0x562ef2,_0x52d876,_0x1c4bb1,_0x31109a){var _0x263ffa;const _0x327e24=_0x3fbe89=>(_0x3fbe89=this['postProcess'](_0x3fbe89,_0x1c4bb1),_0x31109a?void setTimeout(function(){_0x31109a(_0x3fbe89);},0x0):_0x3fbe89),_0x11f1ff=_0x52d876['length'],_0x34cfb9=_0x562ef2['length'];let _0x3237d0=0x1,_0x20243b=_0x11f1ff+_0x34cfb9;null!=_0x1c4bb1['maxEditLength']&&(_0x20243b=Math['min'](_0x20243b,_0x1c4bb1['maxEditLength']));const _0x27ec52=null!==(_0x263ffa=_0x1c4bb1['timeout'])&&void 0x0!==_0x263ffa?_0x263ffa:0x1/0x0,_0x245ab3=Date['now']()+_0x27ec52,_0xa8f784=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x3cfa51=this['extractCommon'](_0xa8f784[0x0],_0x52d876,_0x562ef2,0x0,_0x1c4bb1);if(_0xa8f784[0x0]['oldPos']+0x1>=_0x34cfb9&&_0x3cfa51+0x1>=_0x11f1ff)return _0x327e24(this['buildValues'](_0xa8f784[0x0]['lastComponent'],_0x52d876,_0x562ef2));let _0x4c0c8c=-0x1/0x0,_0xfde5af=0x1/0x0;const _0x40c6b0=()=>{for(let _0x25428d=Math['max'](_0x4c0c8c,-_0x3237d0);_0x25428d<=Math['min'](_0xfde5af,_0x3237d0);_0x25428d+=0x2){let _0x37b573;const _0x242cc5=_0xa8f784[_0x25428d-0x1],_0x32d21d=_0xa8f784[_0x25428d+0x1];_0x242cc5&&(_0xa8f784[_0x25428d-0x1]=void 0x0);let _0x132480=!0x1;if(_0x32d21d){const _0x2aa8a5=_0x32d21d['oldPos']-_0x25428d;_0x132480=_0x32d21d&&0x0<=_0x2aa8a5&&_0x2aa8a5<_0x11f1ff;}const _0x34a639=_0x242cc5&&_0x242cc5['oldPos']+0x1<_0x34cfb9;if(_0x132480||_0x34a639){if(_0x37b573=!_0x34a639||_0x132480&&_0x242cc5['oldPos']<_0x32d21d['oldPos']?this['addToPath'](_0x32d21d,!0x0,!0x1,0x0,_0x1c4bb1):this['addToPath'](_0x242cc5,!0x1,!0x0,0x1,_0x1c4bb1),_0x3cfa51=this['extractCommon'](_0x37b573,_0x52d876,_0x562ef2,_0x25428d,_0x1c4bb1),_0x37b573['oldPos']+0x1>=_0x34cfb9&&_0x3cfa51+0x1>=_0x11f1ff)return _0x327e24(this['buildValues'](_0x37b573['lastComponent'],_0x52d876,_0x562ef2))||!0x0;_0xa8f784[_0x25428d]=_0x37b573,_0x37b573['oldPos']+0x1>=_0x34cfb9&&(_0xfde5af=Math['min'](_0xfde5af,_0x25428d-0x1)),_0x3cfa51+0x1>=_0x11f1ff&&(_0x4c0c8c=Math['max'](_0x4c0c8c,_0x25428d+0x1));}else _0xa8f784[_0x25428d]=void 0x0;}_0x3237d0++;};if(_0x31109a)!function _0x5c2d2c(){setTimeout(function(){if(_0x3237d0>_0x20243b||Date['now']()>_0x245ab3)return _0x31109a(void 0x0);_0x40c6b0()||_0x5c2d2c();},0x0);}();else for(;_0x3237d0<=_0x20243b&&Date['now']()<=_0x245ab3;){const _0x2da7e3=_0x40c6b0();if(_0x2da7e3)return _0x2da7e3;}}['addToPath'](_0x221057,_0x1948e3,_0x594230,_0x35dcbf,_0x35021e){const _0x3504a4=_0x221057['lastComponent'];return _0x3504a4&&!_0x35021e['oneChangePerToken']&&_0x3504a4['added']===_0x1948e3&&_0x3504a4['removed']===_0x594230?{'oldPos':_0x221057['oldPos']+_0x35dcbf,'lastComponent':{'count':_0x3504a4['count']+0x1,'added':_0x1948e3,'removed':_0x594230,'previousComponent':_0x3504a4['previousComponent']}}:{'oldPos':_0x221057['oldPos']+_0x35dcbf,'lastComponent':{'count':0x1,'added':_0x1948e3,'removed':_0x594230,'previousComponent':_0x3504a4}};}['extractCommon'](_0x154b68,_0x479d18,_0xe49536,_0x5bc57c,_0x47e206){const _0x3ecab4=_0x479d18['length'],_0x14a21e=_0xe49536['length'];let _0x5a7884=_0x154b68['oldPos'],_0x33e185=_0x5a7884-_0x5bc57c,_0x2c98b5=0x0;for(;_0x33e185+0x1<_0x3ecab4&&_0x5a7884+0x1<_0x14a21e&&this['equals'](_0xe49536[_0x5a7884+0x1],_0x479d18[_0x33e185+0x1],_0x47e206);)_0x33e185++,_0x5a7884++,_0x2c98b5++,_0x47e206['oneChangePerToken']&&(_0x154b68['lastComponent']={'count':0x1,'previousComponent':_0x154b68['lastComponent'],'added':!0x1,'removed':!0x1});return _0x2c98b5&&!_0x47e206['oneChangePerToken']&&(_0x154b68['lastComponent']={'count':_0x2c98b5,'previousComponent':_0x154b68['lastComponent'],'added':!0x1,'removed':!0x1}),_0x154b68['oldPos']=_0x5a7884,_0x33e185;}['equals'](_0xe50784,_0x4d8f68,_0x22cfe5){return _0x22cfe5['comparator']?_0x22cfe5['comparator'](_0xe50784,_0x4d8f68):_0xe50784===_0x4d8f68||!!_0x22cfe5['ignoreCase']&&_0xe50784['toLowerCase']()===_0x4d8f68['toLowerCase']();}['removeEmpty'](_0x2032c3){const _0x2451c0=[];for(let _0x36eb8f=0x0;_0x36eb8f<_0x2032c3['length'];_0x36eb8f++)_0x2032c3[_0x36eb8f]&&_0x2451c0['push'](_0x2032c3[_0x36eb8f]);return _0x2451c0;}['castInput'](_0x240f64,_0x21ff4c){return _0x240f64;}['tokenize'](_0x155441,_0x13c20a){return Array['from'](_0x155441);}['join'](_0x3a9bab){return _0x3a9bab['join']('');}['postProcess'](_0x20c5b2,_0x339666){return _0x20c5b2;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x501710,_0x7a502b,_0x2bb78c){const _0x32826a=[];let _0x538611;for(;_0x501710;)_0x32826a['push'](_0x501710),_0x538611=_0x501710['previousComponent'],delete _0x501710['previousComponent'],_0x501710=_0x538611;_0x32826a['reverse']();const _0x2976f2=_0x32826a['length'];let _0x26be82=0x0,_0x2e41d5=0x0,_0x414d84=0x0;for(;_0x26be82<_0x2976f2;_0x26be82++){const _0x4e3d30=_0x32826a[_0x26be82];if(_0x4e3d30['removed'])_0x4e3d30['value']=this['join'](_0x2bb78c['slice'](_0x414d84,_0x414d84+_0x4e3d30['count'])),_0x414d84+=_0x4e3d30['count'];else{if(!_0x4e3d30['added']&&this['useLongestToken']){let _0x3641de=_0x7a502b['slice'](_0x2e41d5,_0x2e41d5+_0x4e3d30['count']);_0x3641de=_0x3641de['map'](function(_0x205fab,_0x2ba28e){const _0x1f279c=_0x2bb78c[_0x414d84+_0x2ba28e];return _0x1f279c['length']>_0x205fab['length']?_0x1f279c:_0x205fab;}),_0x4e3d30['value']=this['join'](_0x3641de);}else _0x4e3d30['value']=this['join'](_0x7a502b['slice'](_0x2e41d5,_0x2e41d5+_0x4e3d30['count']));_0x2e41d5+=_0x4e3d30['count'],_0x4e3d30['added']||(_0x414d84+=_0x4e3d30['count']);}}return _0x32826a;}}const md=new class ArrayDiff extends Diff{['tokenize'](_0x58b6f7){return _0x58b6f7['slice']();}['join'](_0x327329){return _0x327329;}['removeEmpty'](_0x102593){return _0x102593;}}();function gd(_0x24ea08,_0x279b68,_0x46cce4){return md['diff'](_0x24ea08,_0x279b68,_0x46cce4);}const pd='$elementId',Od='data-id';class DocumentCompare extends _0x90c2d8{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2f9368?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x383d13,_0x3d25c9)=>{_0x3d25c9['on']('ready',()=>{this['_integrateEditor'](_0x3d25c9);});});}get['editor'](){if(this['context']instanceof _0x2f9368)return this['context'];{const _0x5e4558=this['context']['editors']['first'];if(!_0x5e4558)throw new _0x1976e8('documentcompare-no-editor',this);return _0x5e4558;}}['getDiff'](_0x1d1fef,_0x20f3fe,_0x24b4e7={'anchor':'main','markDeletions':!0x1}){let _0x3f19ea,_0x2d6dcc;const _0x346a2a=this['editor'];if('string'==typeof _0x24b4e7['anchor']){const _0x2af943=_0x346a2a['model']['document']['getRoot'](_0x24b4e7['anchor']);if(!_0x2af943)throw new _0x1976e8('documentcompare-compare-no-root',this,{'anchor':_0x24b4e7['anchor']});_0x3f19ea=_0x2af943,_0x2d6dcc=_0x346a2a['model']['createPositionAt'](_0x2af943,0x0);}else _0x3f19ea=_0x24b4e7['anchor']['clone'](),_0x2d6dcc=_0x24b4e7['anchor']['clone']();const _0xf65303=_0x346a2a['data']['parse'](_0x1d1fef,_0x3f19ea),_0x34f4f9=_0x346a2a['data']['parse'](_0x20f3fe,_0x3f19ea);return new DocumentDiff(_0xf65303,_0x34f4f9,_0x346a2a,{'anchor':_0x2d6dcc,'markDeletions':_0x24b4e7['markDeletions']});}['isMarkedRemoveOperation'](_0x10aff8){return'marker'==_0x10aff8['type']&&_0x10aff8['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x1134c3){_0x1134c3['conversion']['for']('upcast')['add'](_0x50e5df=>{_0x50e5df['on']('element',(_0x448de3,_0x7c43d7,_0x3e6417)=>{if(_0x7c43d7['modelRange'])for(const _0x49163e of _0x7c43d7['modelRange']['getItems']({'shallow':!0x0})){if(_0x49163e['is']('$textProxy'))continue;const _0x4ea217=_0x7c43d7['viewItem']['getAttribute'](Od);_0x4ea217&&_0x3e6417['writer']['setAttribute'](pd,_0x4ea217,_0x49163e);}},{'priority':'lowest'});}),_0x1134c3['model']['schema']['addAttributeCheck'](()=>!0x0,pd);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x510b86,_0x48409e,_0x1aa44e,_0x4805db){this['_editor']=_0x1aa44e,this['_markDeletions']=!!_0x4805db['markDeletions'],this['_anchor']=_0x4805db['anchor'];const _0x3ff0dd=this['_tokenizeModel'](_0x510b86),_0x15de7b=this['_tokenizeModel'](_0x48409e);this['_diffItems']=this['_diffModelTokens'](_0x3ff0dd,_0x15de7b),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x510b86['markers'],_0x48409e['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0xc9c1d3=this['_editor']['model']['document'],_0x343536=[];let _0x29607c=_0xc9c1d3['version'];for(const _0x2e2f69 of this['_operationsData'])switch(_0x2e2f69['type']){case'attribute':{const _0x73dbd8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']),_0xab5ed3=_0x73dbd8['getShiftedBy'](_0x2e2f69['howMany']),_0x4ed593=new _0x41f7a7(_0x73dbd8,_0xab5ed3),_0x3490dd=JSON['parse'](_0x2e2f69['oldValue']),_0xef4bfb=JSON['parse'](_0x2e2f69['newValue']);_0x343536['push'](new _0x4973c6(_0x4ed593,_0x2e2f69['key'],_0x3490dd,_0xef4bfb,_0x29607c++));break;}case'insert':{const _0x2891c5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']),_0x41665c=this['_makeModelFromTokens'](_0x2e2f69['tokens']);_0x343536['push'](new _0x1120cd(_0x2891c5,_0x41665c,_0x29607c++));break;}case'remove':{const _0x397fc7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']),_0x5e803e=new _0x551298(_0xc9c1d3['graveyard'],[0x0]);_0x343536['push'](new _0x3903b3(_0x397fc7,_0x2e2f69['howMany'],_0x5e803e,_0x29607c++));break;}case'rename':{const _0x581ecb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']);_0x343536['push'](new _0x1ea698(_0x581ecb,_0x2e2f69['oldName'],_0x2e2f69['newName'],_0x29607c++));break;}case'split':{const _0x473fed=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']),_0x2936ec=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['path']['slice'](0x0,-0x1));_0x2936ec['offset']++,_0x343536['push'](new _0x302af4(_0x473fed,Number['NEGATIVE_INFINITY'],_0x2936ec,null,_0x29607c++));break;}case'merge':{const _0x511d40=_0x2e2f69['path']['slice'](),_0x1fec0e=_0x511d40['slice'](0x0,-0x1);_0x1fec0e[_0x1fec0e['length']-0x1]++,_0x1fec0e['push'](0x0);const _0x4de879=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1fec0e),_0x19f3c5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x511d40),_0x1f7ff7=new _0x551298(_0xc9c1d3['graveyard'],[0x0]);_0x343536['push'](new _0x4e1f2c(_0x4de879,Number['NEGATIVE_INFINITY'],_0x19f3c5,_0x1f7ff7,_0x29607c++));break;}case'marker':case'markedRemove':{let _0xdd46aa=null;if(_0x2e2f69['range']){const _0x2ec9c7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['range']['start']),_0x3a39b9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['range']['end']);_0xdd46aa=new _0x41f7a7(_0x2ec9c7,_0x3a39b9);}const _0x4429cc='marker'==_0x2e2f69['type']?_0x2e2f69['name']:'$markedRemove:'+_0x288d30();_0x343536['push'](new ts(_0x4429cc,null,_0xdd46aa,_0xc9c1d3['model']['markers'],!0x0,_0x29607c++));break;}case'unwrap':{const _0x431f97=_0x2e2f69['path']['slice']();_0x431f97['push'](0x0);const _0x4b4879=_0x2e2f69['path']['slice'](),_0x4a1648=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x431f97),_0x3e7644=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4b4879),_0xf9dddf=new _0x551298(_0xc9c1d3['graveyard'],[0x0]);_0x343536['push'](new _0x3903b3(_0x4a1648,_0x2e2f69['howMany'],_0x3e7644,_0x29607c++)),_0x343536['push'](new _0x3903b3(_0x3e7644['getShiftedBy'](_0x2e2f69['howMany']),0x1,_0xf9dddf,_0x29607c++));break;}case'wrap':{const _0x1b74aa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['range']['start']),_0x1c469f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e2f69['range']['end']),_0x1743f7=_0x2e2f69['token']['element']['_clone'](!0x1),_0x39d0ec=_0x2e2f69['range']['end']['slice']();_0x39d0ec['push'](0x0);const _0x56f399=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x39d0ec);_0x343536['push'](new _0x1120cd(_0x1c469f,_0x1743f7,_0x29607c++)),_0x343536['push'](new _0x3903b3(_0x1b74aa,_0x1c469f['offset']-_0x1b74aa['offset'],_0x56f399,_0x29607c++));break;}}return _0x343536;}['_tokenizeModel'](_0x12f1f8){const _0x556d28=[],_0x480010=_0x41f7a7['_createIn'](_0x12f1f8),_0x4d048a=new _0x515c2({'boundaries':_0x480010});let _0x3ba8fc='',_0x351edf=null;const _0x55f810=[''],_0x20e0be=new Map();for(const _0x3d4e52 of _0x4d048a)if('elementStart'==_0x3d4e52['type']||'elementEnd'==_0x3d4e52['type']){let _0x410d24=_0x55f810[0x0];''!==_0x3ba8fc&&(_0x556d28['push'](...this['_makeTokensFromTextByWords'](_0x3ba8fc,_0x351edf,_0x410d24)),_0x3ba8fc='');const _0x200474=_0x3d4e52['item'];let _0x2f8919;_0x200474['getAttribute'](pd)?_0x2f8919=_0x200474['getAttribute'](pd):'elementStart'==_0x3d4e52['type']?(_0x2f8919=bd(_0x200474),_0x20e0be['set'](_0x200474,_0x2f8919)):_0x2f8919=_0x20e0be['get'](_0x200474);const _0x11784c=this['_getElementCategory'](_0x200474);'solid'==_0x11784c&&('elementStart'==_0x3d4e52['type']?(_0x410d24=_0x2f8919,_0x55f810['unshift'](_0x410d24)):_0x55f810['shift']());const _0x23d0f2={'type':'element','element':_0x200474,'elementId':_0x2f8919,'category':_0x11784c,'isStart':'elementStart'==_0x3d4e52['type'],'limitId':_0x410d24};_0x556d28['push'](_0x23d0f2);}else''==_0x3ba8fc&&(_0x351edf=_0x3d4e52['previousPosition']['clone']()),_0x3ba8fc+=_0x3d4e52['item']['data'];return''!==_0x3ba8fc&&_0x556d28['push'](...this['_makeTokensFromTextByWords'](_0x3ba8fc,_0x351edf,_0x55f810[0x0])),_0x556d28;}['_makeTokensFromTextByWords'](_0x35c3b2,_0x289b1e,_0x31d834){const _0x46131a=_0x35c3b2['matchAll'](/(\s)/g),_0x5e8284=Array['from'](_0x46131a)['map'](_0xa4b213=>_0xa4b213['index']);_0x5e8284['push'](_0x35c3b2['length']),0x0==_0x5e8284[0x0]&&_0x5e8284['shift']();const _0x19e5f3=[],_0x13d4ed=_0x289b1e['parent'];let _0x33ed1a=0x0,_0x15d538=_0x289b1e['offset'];for(let _0x15fe63=0x0;_0x15fe63<_0x5e8284['length'];_0x15fe63++)_0x19e5f3['push']({'type':'text','data':_0x35c3b2['slice'](_0x33ed1a,_0x5e8284[_0x15fe63]),'parent':_0x13d4ed,'offset':_0x15d538,'limitId':_0x31d834}),_0x33ed1a=_0x5e8284[_0x15fe63],_0x15d538=_0x289b1e['offset']+_0x5e8284[_0x15fe63];return _0x19e5f3;}['_getElementCategory'](_0x2d6109){const _0x3b4929=this['_editor']['model']['schema'];return _0x3b4929['isLimit'](_0x2d6109)||_0x3b4929['isContent'](_0x2d6109)||_0x3b4929['isInline'](_0x2d6109)?'solid':_0x3b4929['isBlock'](_0x2d6109)?'block':'container';}['_diffModelTokens'](_0x12329d,_0x2675cf){const _0x546ce9=gd(_0x12329d,_0x2675cf,{'comparator':wd});this['_handleUnclosedBlockOpeningTags'](_0x546ce9);const _0x20e57a=_0x546ce9['flatMap'](_0x5b2abc=>{const _0x12fe98=_0x5b2abc['added']?'added':_0x5b2abc['removed']?'removed':'unchanged';return _0x5b2abc['value']['map'](_0x53766b=>({'token':_0x53766b,'change':_0x12fe98}));});let _0x15ef2e=0x0;for(const _0x478ea5 of _0x20e57a)'added'!=_0x478ea5['change']&&('unchanged'==_0x478ea5['change']&&(_0x478ea5['before']=_0x12329d[_0x15ef2e]),_0x15ef2e++);return _0x20e57a;}['_handleUnclosedBlockOpeningTags'](_0x954c1b){for(let _0x5c588b=0x0;_0x5c588b<_0x954c1b['length']-0x1;_0x5c588b++)if(_0x954c1b[_0x5c588b]['removed']&&_0x954c1b[_0x5c588b+0x1]['added']){const _0x816225=this['_findUnclosedBlockOpeningToken'](_0x954c1b[_0x5c588b]['value']);if(null!==_0x816225){const _0x5d154a=this['_findUnclosedBlockOpeningToken'](_0x954c1b[_0x5c588b+0x1]['value']),_0x429ce6=_0x954c1b[_0x5c588b]['value']['splice'](_0x816225),_0xf1fefe=_0x954c1b[_0x5c588b+0x1]['value']['splice'](_0x5d154a),_0x22b014=[_0xf1fefe['shift']()];_0x429ce6['shift']();const _0x38b1e1={'value':_0x429ce6,'removed':!0x0},_0x1a5af7={'value':_0xf1fefe,'added':!0x0},_0x22356f={'value':_0x22b014};_0x954c1b['splice'](_0x5c588b+0x2,0x0,_0x22356f,_0x38b1e1,_0x1a5af7);}}}['_findUnclosedBlockOpeningToken'](_0xabc1c7){let _0x150676=0x0,_0x4e0181=-0x1;for(let _0x4916a7=0x0;_0x4916a7<_0xabc1c7['length'];_0x4916a7++){const _0x41403f=_0xabc1c7[_0x4916a7];'element'==_0x41403f['type']&&'block'==_0x41403f['category']&&(_0x150676+=_0x41403f['isStart']?0x1:-0x1,_0x41403f['isStart']&&(_0x4e0181=_0x4916a7));}return 0x0===_0x150676?null:_0x4e0181;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x65d037=0x0;_0x65d037<this['_diffItems']['length'];_0x65d037++){const _0x5b47d0=this['_diffItems'][_0x65d037]['change'],_0xd8e685=[];_0xd8e685['push'](this['_diffItems'][_0x65d037]);let _0x59c30b=_0x65d037+0x1;for(;this['_diffItems'][_0x59c30b]&&this['_diffItems'][_0x59c30b]['change']==_0x5b47d0;)_0xd8e685['push'](this['_diffItems'][_0x59c30b]),_0x59c30b++,_0x65d037++;const _0x96d279=_0xd8e685['map'](_0x2b8e3d=>_0x2b8e3d['token']);if('unchanged'==_0x5b47d0)_0xd8e685['map'](_0xdc33b5=>_0xdc33b5['before'])['forEach'](_0x5bef51=>this['_traverseOverItem'](_0x5bef51));else{if('removed'==_0x5b47d0){if(this['_markDeletions']){const _0x4e697b=this['_path']['slice']();_0x96d279['forEach'](_0x3c6f04=>this['_traverseOverItem'](_0x3c6f04));const _0x177d3f=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x4e697b,'end':_0x177d3f}});}else this['_handleChanged'](_0x96d279,!0x0,this['_path']['slice']());}else{const _0x566d25=_0x96d279['filter'](_0x45b13d=>'element'!=_0x45b13d['type']||'container'!=_0x45b13d['category']);this['_handleChanged'](_0x566d25,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3abd43=0x0;_0x3abd43<this['_diffItems']['length'];_0x3abd43++){const _0x271ee7=this['_diffItems'][_0x3abd43]['change'],_0x4d56a7=[];_0x4d56a7['push'](this['_diffItems'][_0x3abd43]);let _0xd443e3=_0x3abd43+0x1;for(;this['_diffItems'][_0xd443e3]&&this['_diffItems'][_0xd443e3]['change']==_0x271ee7;)_0x4d56a7['push'](this['_diffItems'][_0xd443e3]),_0xd443e3++,_0x3abd43++;const _0x67cc9=_0x4d56a7['map'](_0x589f72=>_0x589f72['token']);if('unchanged'==_0x271ee7){const _0x19918b=_0x4d56a7['map'](_0x1fc7db=>_0x1fc7db['before']);this['_handleUnchanged'](_0x19918b,_0x67cc9);}else('removed'!=_0x271ee7||this['_markDeletions'])&&_0x67cc9['forEach'](_0x3601a7=>{this['_traverseOverItem'](_0x3601a7);});}}['_calculateMarkersOperationsData'](_0x3a9fc5,_0xe1723e){const _0x2f92a5={};for(const [_0x40b1dd]of _0x3a9fc5)_0x2f92a5[_0x40b1dd]=null;for(const [_0x3aea6e,_0xed1731]of _0xe1723e)_0x2f92a5[_0x3aea6e]=_0xed1731;const _0x390c72=Object['entries'](_0x2f92a5)['map'](([_0x1a60aa,_0x35e951])=>({'type':'marker','name':_0x1a60aa,'range':_0x35e951?{'start':_0x35e951['start']['path']['slice'](),'end':_0x35e951['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x390c72);}['_handleUnwraps'](){const _0x1d9ef1=new Map(),_0x11f669=[],_0x58ed47=[0x0];let _0x4a90d0=this['_diffItems']['length']+0x1;for(let _0x4f8ae0=this['_diffItems']['length']-0x1;_0x4f8ae0>=0x0;_0x4f8ae0--){const {token:_0x5f01a4,before:_0x1375e2,change:_0x2cbe25}=this['_diffItems'][_0x4f8ae0];if('removed'!=_0x2cbe25&&(_0x4a90d0=_0x4f8ae0),'element'!=_0x5f01a4['type']||'container'!=_0x5f01a4['category']||'added'==_0x2cbe25)continue;const _0x3628e3=_0x1375e2?_0x1375e2['element']:_0x5f01a4['element'];if(_0x5f01a4['isStart']){const _0x3d9079=_0x1d9ef1['get'](_0x3628e3),_0x58cd09=this['_diffItems'][_0x3d9079];('removed'==_0x2cbe25||'removed'==_0x58cd09['change'])&&_0x4a90d0<_0x3d9079&&(this['_operationsData']['push']({'type':'unwrap','path':_0x3628e3['getPath'](),'howMany':_0x3628e3['maxOffset']+_0x58ed47[0x0]}),_0x58ed47['shift'](),_0x58ed47[0x0]+=_0x3628e3['maxOffset']-0x1,_0x11f669['push'](_0x4f8ae0),_0x11f669['push'](_0x3d9079));}else _0x1d9ef1['set'](_0x3628e3,_0x4f8ae0),_0x58ed47['unshift'](0x0);}_0x11f669['sort']((_0x5503b6,_0x599522)=>_0x599522-_0x5503b6),_0x11f669['forEach'](_0x4858a6=>{const _0x3dc551=this['_diffItems'][_0x4858a6];'removed'==_0x3dc551['change']?this['_diffItems']['splice'](_0x4858a6,0x1):(_0x3dc551['change']='added',delete _0x3dc551['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x33e773=[];for(let _0x217af1=0x0;_0x217af1<this['_diffItems']['length'];_0x217af1++){const {change:_0x31c58d,token:_0x4fd5a1}=this['_diffItems'][_0x217af1];if('added'==_0x31c58d&&'element'==_0x4fd5a1['type']&&'container'==_0x4fd5a1['category']){if(_0x4fd5a1['isStart'])_0x33e773['push'](this['_path']['slice']());else{if(!_0x4fd5a1['isStart']){const _0x166d45=_0x33e773['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x166d45,'end':this['_path']['slice']()},'token':_0x4fd5a1}),this['_path'][this['_path']['length']-0x1]=_0x166d45[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x31c58d||this['_markDeletions'])&&this['_traverseOverItem'](_0x4fd5a1);}}['_handleUnchanged'](_0xd27328,_0x213258){for(let _0x5f2b71=0x0;_0x5f2b71<_0xd27328['length'];_0x5f2b71++){const _0x1da920=_0xd27328[_0x5f2b71];if('element'==_0x1da920['type']&&_0x1da920['isStart']){const _0x2c5872=_0x213258[_0x5f2b71];'block'==_0x1da920['category']&&this['_handleElementRename'](_0x1da920['element'],_0x2c5872['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1da920['element'],_0x2c5872['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2c5872);}else{if('element'!=_0x1da920['type']||_0x1da920['isStart']){if('text'==_0x1da920['type']){const _0x3aea8c=this['_path']['slice'](),_0x43eb71=[],_0x13376d=[];for(;_0xd27328[_0x5f2b71]&&'text'==_0xd27328[_0x5f2b71]['type'];)_0x43eb71['push'](_0xd27328[_0x5f2b71]),_0x13376d['push'](_0x213258[_0x5f2b71]),this['_path'][this['_path']['length']-0x1]+=_0xd27328[_0x5f2b71]['data']['length'],_0x5f2b71++;_0x5f2b71--,this['_handleTextAttributeChanges'](_0x43eb71,_0x13376d,_0x3aea8c);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x49c6e3,_0x511831,_0x1f3699){const _0x38b340=[],_0x4852e5=[],_0xda97a9=_0x1f3699['slice']();for(let _0x56291e=0x0;_0x56291e<_0x49c6e3['length'];_0x56291e++){const _0x3e816e=_0x49c6e3[_0x56291e],_0x3444b3=_0x1f3699['slice']();if('element'!=_0x3e816e['type']||_0x3e816e['isStart'])'element'==_0x3e816e['type']&&_0x3e816e['isStart']?(_0x1f3699['push'](0x0),_0x511831||this['_parents']['push'](_0x3e816e),_0x4852e5['push']({'before':_0x3444b3,'after':_0x1f3699['slice'](),'index':_0x56291e})):_0x1f3699[_0x1f3699['length']-0x1]+=_0x3e816e['data']['length'];else{let _0x5bb0d4;_0x1f3699['pop'](),_0x1f3699[_0x1f3699['length']-0x1]++,_0x5bb0d4=_0x511831?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x4852e5['length']?_0x4852e5['pop']():_0x38b340['push']({'before':_0x3444b3,'after':_0x1f3699['slice'](),'index':_0x56291e,'related':_0x5bb0d4});}}if(_0x4852e5['length']!==_0x38b340['length'])throw new _0x1976e8('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x49c6e3,'isRemove':_0x511831});const _0x253027=[{'after':_0xda97a9['slice'](),'index':-0x1},..._0x38b340,..._0x4852e5,{'before':_0x1f3699['slice'](),'index':_0x49c6e3['length']}];if(_0x511831){for(let _0x529583=_0x253027['length']-0x1;_0x529583>=0x1;_0x529583--){const _0x41f860=_0x253027[_0x529583-0x1]['after'],_0x5b2c4d=_0x253027[_0x529583]['before'],_0x5b5084=_0x5b2c4d[_0x5b2c4d['length']-0x1]-_0x41f860[_0x41f860['length']-0x1];_0x5b5084&&(this['_operationsData']['push']({'type':'remove','path':_0x41f860,'howMany':_0x5b5084}),_0x5b2c4d[_0x5b2c4d['length']-0x1]-=_0x5b5084);}for(const {before:_0x488e58}of _0x38b340)this['_operationsData']['push']({'type':'merge','path':_0x488e58});}else for(let _0x3bafa3=0x0;_0x3bafa3<_0x253027['length']-0x1;_0x3bafa3++){const _0x3abbd5=_0x253027[_0x3bafa3]['after'],_0x2c4d6d=_0x253027[_0x3bafa3+0x1]['before'],_0x96d209=_0x253027[_0x3bafa3]['index']+0x1,_0x3bbdbb=_0x253027[_0x3bafa3+0x1]['index'];if(_0x96d209!==_0x3bbdbb&&this['_operationsData']['push']({'type':'insert','path':_0x3abbd5,'tokens':_0x49c6e3['slice'](_0x96d209,_0x3bbdbb)}),_0x3bafa3<_0x38b340['length']){this['_operationsData']['push']({'type':'split','path':_0x2c4d6d});const _0x37a90c=_0x49c6e3[_0x4852e5[_0x4852e5['length']-0x1-_0x3bafa3]['index']],_0x538973=_0x38b340[_0x3bafa3]['after'],_0x1c80d9=_0x38b340[_0x3bafa3]['related']['element'];this['_handleElementRename'](_0x1c80d9,_0x37a90c['element'],_0x538973),this['_handleElementAttributeChanges'](_0x1c80d9,_0x37a90c['element'],_0x538973);}}}['_traverseOverItem'](_0x23d5e0){'element'==_0x23d5e0['type']&&_0x23d5e0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x23d5e0)):'element'!=_0x23d5e0['type']||_0x23d5e0['isStart']?'text'==_0x23d5e0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x23d5e0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0xbc8ece,_0xa8d2e,_0x127a2c){_0xbc8ece['name']!=_0xa8d2e['name']&&this['_operationsData']['push']({'type':'rename','path':_0x127a2c['slice'](),'oldName':_0xbc8ece['name'],'newName':_0xa8d2e['name']});}['_handleElementAttributeChanges'](_0xe09e21,_0x1b55c8,_0x1ab5b7){const _0xeec29a=this['_getAttributeChanges'](_0xe09e21['getAttributes'](),_0x1b55c8['getAttributes']());for(const _0x4b6e9d in _0xeec29a){const {oldValue:_0x40fb2c,newValue:_0x36b78b}=_0xeec29a[_0x4b6e9d];this['_operationsData']['push']({'type':'attribute','path':_0x1ab5b7['slice'](),'howMany':0x1,'key':_0x4b6e9d,'oldValue':_0x40fb2c,'newValue':_0x36b78b});}}['_handleTextAttributeChanges'](_0x299400,_0x5f6007,_0xd47112){const _0x44a18a=this['_operationsData'],_0x5d3707=_0x299400[0x0]['parent'],_0x146194=_0x299400[0x0]['offset'],_0x28b47b=_0x5f6007[0x0]['parent'],_0x1fe15d=_0x5f6007[0x0]['offset'],_0x23d878=_0x299400['reduce']((_0x94dd50,_0x292d7d)=>_0x94dd50+_0x292d7d['data']['length'],0x0),_0x40f305=this['_getAttrsForOffsets'](_0x5d3707,_0x146194,_0x23d878),_0x2713e4=this['_getAttrsForOffsets'](_0x28b47b,_0x1fe15d,_0x23d878),_0x139fa2={};for(let _0x9d8f74=0x0;_0x9d8f74<_0x23d878;_0x9d8f74++){const _0x544746=_0x40f305[_0x146194+_0x9d8f74],_0xdc9a04=_0x2713e4[_0x1fe15d+_0x9d8f74],_0x91d34b=this['_getAttributeChanges'](_0x544746,_0xdc9a04);for(const _0x8dfc98 in _0x139fa2)_0x91d34b[_0x8dfc98]||_0x5a6d5c(_0x8dfc98);for(const _0x3a076b in _0x91d34b){const {oldValue:_0x5b7306,newValue:_0x5e92fb}=_0x91d34b[_0x3a076b],_0x47b6f6=_0x139fa2[_0x3a076b];_0x47b6f6?_0x47b6f6['oldValue']==_0x5b7306&&_0x47b6f6['newValue']==_0x5e92fb?_0x47b6f6['length']++:(_0x5a6d5c(_0x3a076b),_0x139fa2[_0x3a076b]={'oldValue':_0x5b7306,'newValue':_0x5e92fb,'start':_0x9d8f74,'length':0x1}):_0x139fa2[_0x3a076b]={'oldValue':_0x5b7306,'newValue':_0x5e92fb,'start':_0x9d8f74,'length':0x1};}}for(const _0x40328b in _0x139fa2)_0x5a6d5c(_0x40328b);function _0x5a6d5c(_0x216e29){const _0x1beeff=_0x139fa2[_0x216e29],_0x3ac73b=_0xd47112['slice']();_0x3ac73b[_0x3ac73b['length']-0x1]+=_0x1beeff['start'],_0x44a18a['push']({'type':'attribute','path':_0x3ac73b,'howMany':_0x1beeff['length'],'key':_0x216e29,'oldValue':_0x1beeff['oldValue'],'newValue':_0x1beeff['newValue']}),delete _0x139fa2[_0x216e29];}}['_getAttributeChanges'](_0x3c87a4,_0x992d1){const _0x4dc721={};for(const [_0x31981f,_0x53965d]of _0x3c87a4)_0x4dc721[_0x31981f]={'oldValue':JSON['stringify'](_0x53965d),'newValue':'null'};for(const [_0x17cede,_0x53b218]of _0x992d1){const _0x821f3d=JSON['stringify'](_0x53b218);_0x4dc721[_0x17cede]?_0x4dc721[_0x17cede]['oldValue']==_0x821f3d?delete _0x4dc721[_0x17cede]:_0x4dc721[_0x17cede]['newValue']=_0x821f3d:_0x4dc721[_0x17cede]={'oldValue':'null','newValue':_0x821f3d};}return delete _0x4dc721[pd],_0x4dc721;}['_getAttrsForOffsets'](_0x5d9ac7,_0x405c2c,_0x23f05a){const _0x442ef6=new Array(_0x405c2c+_0x23f05a);let _0x48bfe2=_0x5d9ac7['getChildAtOffset'](_0x405c2c),_0x44746e=_0x48bfe2['startOffset'];for(;_0x48bfe2&&_0x44746e<_0x405c2c+_0x23f05a;){const _0x2859d5=Array['from'](_0x48bfe2['getAttributes']());_0x442ef6['fill'](_0x2859d5,_0x44746e,_0x44746e+_0x48bfe2['offsetSize']),_0x44746e+=_0x48bfe2['offsetSize'],_0x48bfe2=_0x48bfe2['nextSibling'];}return _0x442ef6;}['_getPositionFromAnchorAndPath'](_0x268f5b,_0x12f242){const _0x5d38a8=[..._0x268f5b['path']['slice'](0x0,-0x1),_0x268f5b['offset']+_0x12f242[0x0],..._0x12f242['slice'](0x1)];return new _0x551298(_0x268f5b['root'],_0x5d38a8);}['_makeModelFromTokens'](_0x3ca36c){const _0x3d1696=[];let _0x19729c=null;for(const _0x17a26a of _0x3ca36c)if('element'!=_0x17a26a['type']||_0x17a26a['isStart']||_0x19729c!=_0x17a26a['element']){if(!_0x19729c){if('text'==_0x17a26a['type']){const _0x32a909=_0x551298['_createAt'](_0x17a26a['parent'],_0x17a26a['offset']),_0x53c813=_0x41f7a7['_createFromPositionAndShift'](_0x32a909,_0x17a26a['data']['length']),_0x586b63=Array['from'](_0x53c813['getItems']())['map'](_0x21392b=>new _0x4ed4ec(_0x21392b['data'],_0x21392b['getAttributes']()));_0x3d1696['push'](..._0x586b63);}else{_0x19729c=_0x17a26a['element'];const _0x393d8d=_0x17a26a['element']['_clone'](!0x0);_0x393d8d['_removeAttribute'](pd);for(const _0x4836e7 of this['_editor']['model']['createRangeIn'](_0x393d8d)['getItems']())_0x4836e7['is']('element')&&_0x4836e7['_removeAttribute'](pd);_0x3d1696['push'](_0x393d8d);}}}else _0x19729c=null;return _0x3d1696;}}function wd(_0x58e738,_0x4ee310){return _0x58e738['type']===_0x4ee310['type']&&(_0x58e738['limitId']===_0x4ee310['limitId']&&('text'==_0x58e738['type']?_0x58e738['data']==_0x4ee310['data']:function(_0x177b8f,_0x4b193b){if(_0x177b8f['isStart']!=_0x4b193b['isStart'])return!0x1;if(_0x177b8f['isStart']&&_0x177b8f['elementId']!=_0x4b193b['elementId'])return!0x1;if(_0x177b8f['category']!=_0x4b193b['category'])return!0x1;if('block'==_0x177b8f['category'])return!0x0;if('container'==_0x177b8f['category']&&_0x177b8f['elementId']!=_0x4b193b['elementId'])return!0x1;return _0x177b8f['element']['name']==_0x4b193b['element']['name'];}(_0x58e738,_0x4ee310)));}function bd(_0x1083b9){return Ju({'name':_0x1083b9['name'],...Object['fromEntries'](_0x1083b9['getAttributes']())});}function yd({editor:_0x4aa698,changeGroups:_0xe684bd,documentContextContent:_0x1ff2ba,showDiff:_0x14e6b2,trimUnchanged:_0x34984d=!0x0}){return _0xe684bd['map'](_0xea23fe=>{const _0x540d06=new Document([]),_0x5b9f41=new Document([]);for(const _0x3a252e of _0xea23fe['changes'])if(_0x14e6b2&&'removed'==_0x3a252e['type']||_0x5b9f41['children']['push'](_0x3a252e['node']['cloneNode'](!0x0)),'new'!=_0x3a252e['type']&&(_0x14e6b2||'removed'!=_0x3a252e['type'])){const _0x39a554=Na(_0x4a6dcf=>Ba(_0x4a6dcf,'data-id')==_0x3a252e['id'],_0x1ff2ba,!0x0);_0x39a554&&_0x540d06['children']['push'](_0x39a554['cloneNode'](!0x0));}const {content:_0x1672ee,hasChanges:_0x2d96b6}=function(_0x8e4b92,_0x163fae,_0x4c074b,_0x9c0e08,_0x18039b=!0x0){const _0x54e00d=_0x8e4b92['plugins']['get']('DocumentCompare'),_0x127cca=Qa(_0x163fae),_0x752d16=Qa(_0x4c074b),_0x3ab441=_0x8e4b92['data']['parse'](_0x127cca,'$root'),_0x5b64d7=_0x8e4b92['model']['createPositionAt'](_0x3ab441,0x0),_0xfa6232=_0x54e00d['getDiff'](_0x127cca,_0x752d16,{'anchor':_0x5b64d7,'markDeletions':_0x9c0e08}),_0x445482=_0xfa6232['getOperations']();if(0x0==_0x445482['length'])return{'content':_0x163fae['cloneNode'](!0x0),'hasChanges':!0x1};_0x9c0e08?function(_0x52f319,_0x4d75b8,_0x3795a1){if(0x0==_0x52f319['length'])return;const _0x20fa49=_0x3795a1['plugins']['get']('DocumentCompare'),_0x2d2294=_0x3795a1['plugins']['get']('SuggestionsConversion');_0x3795a1['model']['change'](_0xe72056=>{const _0x45aa77=new Set();for(let _0xf26435=0x0;_0xf26435<_0x52f319['length'];_0xf26435++){const _0x107cd1=_0x52f319[_0xf26435];if(_0x107cd1['baseVersion']=null,_0x107cd1['isDocumentOperation']=!0x1,_0x20fa49['isMarkedRemoveOperation'](_0x107cd1)){const _0x243497=Ja(_0x107cd1['newRange'],_0x3795a1['model']),_0xbd094a='suggestion:deletion:'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0xbd094a,_0x243497);}else switch(_0x107cd1['type']){case'rename':{if(_0x107cd1['oldName']==_0x107cd1['newName'])break;_0xe72056['batch']['addOperation'](_0x107cd1),_0x3795a1['model']['applyOperation'](_0x107cd1);const _0x45ffb6='$elementName',_0x4588a3=_0x107cd1['position'],_0x295692=_0x3795a1['model']['createRange'](_0x4588a3,_0x3795a1['model']['createPositionAt'](_0x4588a3['nodeAfter'],'end')),_0x1fda7f='suggestion:attribute:'+_0x45ffb6+':'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0x1fda7f,_0x295692);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x107cd1['oldValue']==_0x107cd1['newValue'])break;_0xe72056['batch']['addOperation'](_0x107cd1),_0x3795a1['model']['applyOperation'](_0x107cd1);const _0x2d9f9d=_0x107cd1['key'];if(!_0x2d2294['isRegisteredAttribute'](_0x2d9f9d))break;const _0x344bac=Ja(_0x107cd1['range'],_0x3795a1['model']),_0x16dc48='suggestion:attribute:'+_0x2d9f9d+':'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0x16dc48,_0x344bac);break;}case'insert':{_0xe72056['batch']['addOperation'](_0x107cd1),_0x3795a1['model']['applyOperation'](_0x107cd1);if(_0x52f319[_0xf26435+0x1]&&'move'==_0x52f319[_0xf26435+0x1]['type']){_d(_0x4d75b8,_0x107cd1);break;}const _0x431781=_0x107cd1['position'],_0x28d400=_0x107cd1['howMany'],_0x2acb6b=Ja(_0x3795a1['model']['createRange'](_0x431781,_0x431781['getShiftedBy'](_0x28d400)),_0x3795a1['model']),_0x3c5981='suggestion:insertion:'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0x3c5981,_0x2acb6b);break;}case'split':{_0xe72056['batch']['addOperation'](_0x107cd1),_0x3795a1['model']['applyOperation'](_0x107cd1);const _0x2ae96c=_0x107cd1['splitPosition'],_0xa8131=_0x107cd1['moveTargetPosition'],_0x1b823e=_0x3795a1['model']['createRange'](_0x2ae96c,_0xa8131),_0x456c18='suggestion:insertion:'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0x456c18,_0x1b823e);break;}case'move':{_0xe72056['batch']['addOperation'](_0x107cd1),_0x3795a1['model']['applyOperation'](_0x107cd1),_0x52f319[_0xf26435-0x1]&&'insert'==_0x52f319[_0xf26435-0x1]['type']&&_d(_0x4d75b8,_0x107cd1);const _0x5b49b8=_0x107cd1['getMovedRangeStart'](),_0x396667=_0x107cd1['howMany'];for(let _0x483c5b=0x0;_0x483c5b<_0x396667;_0x483c5b++){const _0x310dad=_0x5b49b8['getShiftedBy'](_0x483c5b)['nodeAfter'];_0x45aa77['add'](_0x310dad);}break;}case'remove':{const _0x263c10=_0x107cd1['sourcePosition'],_0x48a96e=_0x107cd1['howMany'],_0x1992c9=new _0x194b32(_0x263c10,_0x48a96e);_0xe72056['batch']['addOperation'](_0x1992c9),_0x3795a1['model']['applyOperation'](_0x1992c9);break;}}}for(const _0x980191 of _0x45aa77){const _0x15fbfd=_0x3795a1['model']['createRangeOn'](_0x980191),_0x3a232c='suggestion:formatBlock:$fakeWrap:'+_0x288d30()+':$aiSuggestion';_0x4d75b8['markers']['set'](_0x3a232c,Ja(_0x15fbfd,_0x3795a1['model']));}});}(_0x445482,_0x3ab441,_0x8e4b92):_0x8e4b92['model']['change'](_0x191e64=>{for(const _0x1aaf74 of _0x445482)if('remove'==_0x1aaf74['type']){const _0x29c83a=_0x1aaf74['sourcePosition'],_0x980239=_0x1aaf74['howMany'],_0x5b7a30=new _0x194b32(_0x29c83a,_0x980239);_0x191e64['batch']['addOperation'](_0x5b7a30),_0x8e4b92['model']['applyOperation'](_0x5b7a30);}else{if('marker'==_0x1aaf74['type']){const _0x5ce5bd=_0x1aaf74['name'],_0x28beb0=_0x1aaf74['newRange'];null!==_0x28beb0?_0x3ab441['markers']['set'](_0x5ce5bd,_0x28beb0):_0x3ab441['markers']['delete'](_0x5ce5bd);}else _0x1aaf74['baseVersion']=null,_0x1aaf74['isDocumentOperation']=!0x1,_0x191e64['batch']['addOperation'](_0x1aaf74),_0x8e4b92['model']['applyOperation'](_0x1aaf74);}});if(_0x18039b){const _0x56df03=vd(_0x8e4b92,_0x445482,_0x3ab441);Td(_0x8e4b92['model'],_0x56df03),function(_0x2a7df6,_0x3cf865){const _0x439d1a=_0x3cf865['getFirstRange']()['start'];let _0x2ab9a4=_0x3cf865['getFirstRange']()['end'];const _0x21f50d=_0x439d1a['root'];(_0x2ab9a4['textNode']||_0x2ab9a4['nodeAfter']&&_0x2ab9a4['nodeAfter']['is']('$text'))&&(_0x539deb(_0x2ab9a4,'...'),_0x2ab9a4=_0x2ab9a4['getShiftedBy'](0x3)),(_0x439d1a['textNode']||_0x439d1a['nodeBefore']&&_0x439d1a['nodeBefore']['is']('$text'))&&(_0x539deb(_0x439d1a,'...'),function(_0x379c84,_0x610d3e,_0x101b01){for(let [_0x49abdc,_0x4861ba]of _0x379c84['markers']){const _0x5a72b9=_0x4861ba['_getTransformedByInsertion'](_0x610d3e,_0x101b01,!0x1);_0x4861ba=_0x5a72b9[0x0],_0x379c84['markers']['set'](_0x49abdc,_0x4861ba);}}(_0x21f50d,_0x439d1a,0x3),_0x439d1a['parent']==_0x2ab9a4['parent']&&(_0x2ab9a4=_0x2ab9a4['getShiftedBy'](0x3)));const _0xcab512=_0x2a7df6['createRange'](_0x2a7df6['createPositionAt'](_0x21f50d,0x0),_0x439d1a),_0x551471=_0x2a7df6['createRange'](_0x2ab9a4,_0x2a7df6['createPositionAt'](_0x21f50d,'end')),_0x378dc7=[..._0xcab512['getMinimalFlatRanges'](),..._0x551471['getMinimalFlatRanges']()];_0x378dc7['reverse']();for(const _0x1f2897 of _0x378dc7)_0x26d547(_0x1f2897),Ad(_0x21f50d,_0x1f2897);}(_0x8e4b92['model'],_0x56df03);}const _0xbc825a=_0x8e4b92['data']['stringify'](_0x3ab441,{'showSuggestionHighlights':!0x0});return{'content':Da(_0xbc825a),'hasChanges':!0x0};}(_0x4aa698,_0x540d06,_0x5b9f41,_0x14e6b2,_0x34984d);return{'type':_0xea23fe['changes'][0x0]['type'],'index':_0xea23fe['index'],'content':_0x1672ee,'hasChanges':_0x2d96b6};});}function _d(_0x2bcd41,_0xcc2a28){for(const [_0x5b3e88,_0xbaf075]of _0x2bcd41['markers']){const _0x1eb344=_0x41f7a7['_createFromRanges'](_0xbaf075['getTransformedByOperation'](_0xcc2a28));_0x2bcd41['markers']['set'](_0x5b3e88,_0x1eb344);}}function vd(_0x425f0b,_0x4d579b,_0xa9a26c){const _0x86f0b8=_0x425f0b['plugins']['get']('DocumentCompare');let _0x193012=_0x425f0b['model']['createPositionAt'](_0xa9a26c,Number['POSITIVE_INFINITY']),_0x2449e7=_0x425f0b['model']['createPositionAt'](_0xa9a26c,0x0);for(const _0x2f08f1 of _0x4d579b){let _0x3c05de,_0xba88cb;if(_0x86f0b8['isMarkedRemoveOperation'](_0x2f08f1))_0x3c05de=_0x2f08f1['newRange']['start'],_0xba88cb=_0x2f08f1['newRange']['end'];else switch(_0x193012=_0x193012['getTransformedByOperation'](_0x2f08f1),_0x2449e7=_0x2449e7['getTransformedByOperation'](_0x2f08f1),_0x2f08f1['type']){case'rename':_0x3c05de=_0x2f08f1['position'],_0xba88cb=_0x3c05de['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x3c05de=_0x2f08f1['range']['start'],_0xba88cb=_0x2f08f1['range']['end'];break;case'insert':_0x3c05de=_0x2f08f1['position'],_0xba88cb=_0x3c05de['getShiftedBy'](_0x2f08f1['howMany']);break;case'split':_0x3c05de=_0x2f08f1['splitPosition'],_0xba88cb=_0x2f08f1['moveTargetPosition'];break;case'merge':{const _0x2d46a2=_0x2f08f1['targetPosition']['path']['slice'](0x0,-0x1);_0x3c05de=_0x425f0b['model']['createPositionFromPath'](_0xa9a26c,_0x2d46a2),_0xba88cb=_0x3c05de['getShiftedBy'](0x1);break;}case'remove':{const _0x30411d=_0x2f08f1['howMany'],_0x18ac94=_0x2f08f1['sourcePosition']['_getTransformedByInsertion'](_0x2f08f1['targetPosition'],_0x30411d),_0x142bfb=_0x2f08f1['getMovedRangeStart']();'remove'==_0x2f08f1['type']?(_0x3c05de=_0x18ac94,_0xba88cb=_0x18ac94):(_0x3c05de=_0x142bfb,_0xba88cb=_0x142bfb['getShiftedBy'](_0x30411d));break;}}_0x3c05de&&_0x3c05de['isBefore'](_0x193012)&&(_0x193012=_0x3c05de['clone'](),_0x193012['stickiness']='toNone'),_0xba88cb&&_0xba88cb['isAfter'](_0x2449e7)&&(_0x2449e7=_0xba88cb['clone'](),_0x2449e7['stickiness']='toNone');}return _0x425f0b['model']['createSelection'](_0x425f0b['model']['createRange'](_0x193012,_0x2449e7));}function Td(_0x324ee2,_0x268938){Ed(_0x324ee2,_0x268938,'forward');const _0x7f0c00=_0x268938['getFirstRange']();_0x268938['setTo']([]),_0x268938['setTo'](_0x7f0c00,{'backward':!0x0}),Ed(_0x324ee2,_0x268938,'backward');}function Ed(_0x169efb,_0x341d94,_0x1566cc){let _0xd9e3d0=0x14;for(;_0xd9e3d0;){_0x169efb['modifySelection'](_0x341d94,{'unit':'word','direction':_0x1566cc}),_0xd9e3d0--;const _0x92e2a7=_0x341d94['focus']['forward'==_0x1566cc?'nodeBefore':'nodeAfter'];if(_0x92e2a7&&_0x92e2a7['is']('element')&&_0x169efb['schema']['isBlock'](_0x92e2a7)&&_0x169efb['schema']['isObject'](_0x92e2a7))break;}}function Ad(_0x491bd8,_0x4b1e04){for(const [_0x1e6464,_0x452fe8]of _0x491bd8['markers']){const _0x362aa5=_0x452fe8['_getTransformedByDeletion'](_0x4b1e04['start'],_0x4b1e04['end']['offset']-_0x4b1e04['start']['offset']);null!=_0x362aa5?_0x491bd8['markers']['set'](_0x1e6464,_0x362aa5):_0x491bd8['markers']['delete'](_0x1e6464);}}class AIReply extends _0x266f1a(){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x1f0db3,content:_0x176498='',isDone:_0x25c514=!0x1,interactionId:_0x3f76ab,areActionsDisabled:_0x2f8d3b,documentContextContent:_0x4e1f52,editor:_0x279da2,id:_0xb2470c}){super(),this['id']=_0xb2470c||_0x288d30(),this['interactionId']=_0x3f76ab,this['type']=_0x1f0db3,this['areActionsDisabled']=!!_0x2f8d3b,this['editor']=_0x279da2,this['aiResponseParser']=new AIResponseParser(),this['aiResponseApplier']=new AIResponseApplier(),this['documentContextContent']=Da(_0x4e1f52||''),this['set']('isDone',_0x25c514),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x176498);}['appendContent'](_0x2c17d3){this['set']('content',this['content']+_0x2c17d3);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x4a24f6,_0x5d78cc){this['changeGroups'][_0x4a24f6]['state']=_0x5d78cc,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x4a24f6,'state':_0x5d78cc});}['getContentParts']({showDiff:_0x31ffa0,groupIndex:_0xf21bfd}){if(!this['editor'])throw new _0x1976e8('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x3b01e0=this['_getCachedContentParts'](_0x31ffa0,_0xf21bfd);if(_0x3b01e0)return _0x3b01e0;let _0x36845d=[];if(void 0x0===_0xf21bfd)_0x36845d=this['changeGroups'];else{const _0x35baf4=this['changeGroups']['find'](({index:_0x5d32ef})=>_0x5d32ef===_0xf21bfd);if(!_0x35baf4)throw new _0x1976e8('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0xf21bfd});_0x36845d=[_0x35baf4];}const _0x3eb627=yd({'editor':this['editor'],'showDiff':_0x31ffa0,'changeGroups':_0x36845d,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x31ffa0,_0x3eb627),_0x3eb627;}['_getCachedContentParts'](_0x1cff0b,_0x9d5b42){const _0x42f93d=_0x1cff0b?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x42f93d]['length'])return null;const _0x2a2d1f=this['cachedSuggestionContentParts'][_0x42f93d];if(void 0x0===_0x9d5b42)return _0x2a2d1f['length']>0x0&&_0x2a2d1f['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x1cff0b,null),null):Sr(_0x2a2d1f);{const _0x86275e=_0x2a2d1f['find'](({index:_0x462957})=>_0x462957===_0x9d5b42);if(_0x86275e)return[Sr(_0x86275e)];}return null;}['_setCachedContentParts'](_0x5bddb2,_0x52cee6){const _0x4b93c7=_0x5bddb2?'withDiff':'withoutDiff';_0x52cee6?_0x52cee6['forEach'](_0x21d77b=>{const _0x3d191c=this['cachedSuggestionContentParts'][_0x4b93c7],_0x40db4a=_0x3d191c['find'](({index:_0x1523b7})=>_0x1523b7===_0x21d77b['index']);if(_0x40db4a){const _0x52f1f9=_0x3d191c['indexOf'](_0x40db4a);_0x3d191c['splice'](_0x52f1f9,0x1,_0x21d77b);}else _0x3d191c['push'](_0x21d77b);}):this['cachedSuggestionContentParts'][_0x4b93c7]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x874be=this['changeGroups'];this['updateChangeGroups']();const _0x32493d=this['_getDifferentChangeGroups'](_0x874be,this['changeGroups']);(_0x32493d['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x32493d),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x3f37a8,_0x5ce034){const _0x30244f=[];for(const _0xab72e3 of _0x5ce034){const _0x59113a=_0x3f37a8[_0xab72e3['index']];_0x59113a?_0x59113a['changes']['length']!==_0xab72e3['changes']['length']?_0x30244f['push'](_0xab72e3):_0x59113a['changes']['forEach']((_0x541575,_0x54c95d)=>{const _0x1d5767=_0xab72e3['changes'][_0x54c95d];_0x541575['id']!==_0x1d5767['id']&&_0x30244f['push'](_0xab72e3);}):_0x30244f['push'](_0xab72e3);}return _0x30244f;}['updateChangeGroups'](){const _0x1cb4c1=new ia('p',{},[new ia('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new ta(ho(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x15f209=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x1cb4c1,'cutAfterLastChange':!this['isDone']});if(!_0x15f209['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x15f209['parsedContent'];let _0x5a3e82=[];if(La(_0x59fee0=>{const _0x178dd9=Ba(_0x59fee0,'data-id');if(!_0x178dd9||!_0x37b58a(_0x178dd9))return!0x1;const _0x4e6386=[_0x59fee0,...Ha(_0x59fee0)]['at'](-0x2);if(_0x59fee0!=_0x4e6386){const _0x4a4190=Ba(_0x4e6386,'data-id');_0x37b58a(_0x4a4190)||(_0x5a3e82['push']({'node':_0x4e6386,'id':_0x4a4190,'type':'modified'}),_0x15f209['modifiedNodeIds']['push'](_0x4a4190));}else _0x15f209['modifiedNodeIds']['includes'](_0x178dd9)?_0x5a3e82['push']({'node':_0x59fee0,'type':'modified','id':_0x178dd9}):_0x15f209['newNodeIds']['includes'](_0x178dd9)?_0x5a3e82['push']({'node':_0x59fee0,'type':'new','id':_0x178dd9,'anchorId':Ba(_0x59fee0['previousSibling'],'data-id')}):_0x5a3e82['push']({'node':_0x59fee0,'type':'removed','id':_0x178dd9});return!0x0;},this['parsedMergedContent']),_0x5a3e82=_0x5a3e82['filter'](({node:_0x218adf})=>[...Ha(_0x218adf),_0x218adf]['every'](_0x5986df=>!Ba(_0x5986df,'data-unstable'))),0x0==_0x5a3e82['length'])return;const _0x2f4482=[[_0x5a3e82[0x0]]];for(let _0x147eaa=0x1;_0x147eaa<_0x5a3e82['length'];_0x147eaa++){const _0x48995c=_0x2f4482[_0x2f4482['length']-0x1],_0x214b19=_0x48995c[_0x48995c['length']-0x1];_0x5a3e82[_0x147eaa]['node']['previousSibling']==_0x214b19['node']&&'modified'!=_0x5a3e82[_0x147eaa]['type']&&'modified'!=_0x214b19['type']?_0x48995c['push'](_0x5a3e82[_0x147eaa]):_0x2f4482['push']([_0x5a3e82[_0x147eaa]]);}for(const _0x37c8d8 of _0x2f4482){const _0x13bf7d=_0x37c8d8[0x0],_0x13e369=_0x37c8d8[_0x37c8d8['length']-0x1],_0x1d31bc=_0x330f42(_0x13bf7d['node']['previousSibling']);_0x1d31bc&&_0x37c8d8['unshift'](_0x1d31bc);const _0x1fdbe7=_0x330f42(_0x13e369['node']['nextSibling']);_0x1fdbe7&&_0x37c8d8['push'](_0x1fdbe7);}function _0x37b58a(_0x29595c){return _0x15f209['modifiedNodeIds']['includes'](_0x29595c)||_0x15f209['newNodeIds']['includes'](_0x29595c)||_0x15f209['removedNodeIds']['includes'](_0x29595c);}function _0x330f42(_0x10cc42){if(_0x10cc42&&Ba(_0x10cc42,'data-id')&&!Ba(_0x10cc42,'data-unstable')){const _0x692910=Ba(_0x10cc42,'data-id');if(!_0x37b58a(_0x692910))return{'node':_0x10cc42,'type':'context','id':_0x692910};}return null;}this['changeGroups']=_0x2f4482['map']((_0x2ac163,_0x5d2164)=>({'changes':_0x2ac163,'state':'pending','index':_0x5d2164}));}}const Sd=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x5544ae(){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x293f48,editor:_0xdd7d8}){super(),this['id']=_0x288d30(),this['connector']=_0x293f48,this['isStopped']=!0x0,this['editor']=_0xdd7d8;}async['start'](){const _0x293f01=[];let _0x440427,_0x3fbb91,_0x57eff0;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x27d517=await this['currentRequest']['getStream']();for await(const _0x45f92f of _0x27d517){if(this['isStopped'])return;if('error'==_0x45f92f['event'])return void this['fire']('error',{'error':new _0x1976e8('ai-chat-interaction-error',this)});switch(_0x45f92f['event']){case'message-metadata':this['messageId']=_0x45f92f['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x45f92f['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x45f92f['data']['conversationTitle'],!0x0);break;case'source':_0x293f01['push'](_0x45f92f['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'](),_0x440427='modification-delta'==_0x45f92f['event']?'modification':'text',_0x3fbb91='modification-delta'==_0x45f92f['event']?_0x45f92f['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x440427&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x440427,'interactionId':this['id'],'id':_0x3fbb91}),'modification'==_0x440427&&(this['currentReply']['sources']=_0x293f01['splice'](0x0))),this['currentReply']['appendContent'](_0x45f92f['data']['textDelta']);break;case'mcp-tool-result':_0x57eff0=JSON['parse'](_0x45f92f['data']['result']),this['_handleToolResultData']({'toolName':_0x45f92f['data']['toolName'],'data':_0x57eff0['data'],'attributes':_0x57eff0['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x45f92f['data']['toolName'],'data':_0x45f92f['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x293f01['length']>0x0&&(this['currentReply']['sources']=_0x293f01['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x528930){return this['replies']['find'](_0x5caaa2=>_0x5caaa2['id']===_0x528930);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x4b19cc=>_0x4b19cc['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x4af17a){const _0x3b560=new AIReply({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x4af17a});return this['replies']['push'](_0x3b560),_0x3b560['delegate'](...Sd)['to'](this),this['fire']('replyCreated',_0x3b560),_0x3b560;}['setConversationTitle'](_0x45203c,_0xd7cdc7=!0x1){this['fire']('setConversationTitle',_0x45203c,_0xd7cdc7);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0xc48c58){this['fire']('toolDataReceived',{'type':'result','toolName':_0xc48c58['toolName'],'data':structuredClone(_0xc48c58['data']||{}),'attributes':structuredClone(_0xc48c58['attributes']||{})},this);}['_handleToolNotificationData'](_0x2d5d86){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x2d5d86['toolName'],'data':structuredClone(_0x2d5d86['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var Id=function(_0x4c99cb){return _0x4c99cb['TOOL']='mcp-tool-context',_0x4c99cb['FILE']='file',_0x4c99cb['DOCUMENT']='document',_0x4c99cb['URL']='web-resource',_0x4c99cb['TEXT']='text',_0x4c99cb['SELECTION']='selection',_0x4c99cb;}({}),Cd=function(_0x28b996){return _0x28b996['TEXT']='text',_0x28b996['MARKDOWN']='markdown',_0x28b996['HTML']='html',_0x28b996;}({});const kd=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']]),xd=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x266f1a(){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x52a246,config:_0x523184,ownerId:_0x3aa4be}){super(),this['_connector']=_0x52a246,this['_config']=_0x523184,this['_ownerId']=_0x3aa4be;}['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'](_0x3ad29e){const _0x31a563=await this['_createContextItemFromContent'](_0x3ad29e);return this['_addToConversationContextItem'](_0x31a563),'current-document'===_0x31a563['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x31a563;}async['_createContextItemFromContent'](_0x31cfe4){if(_0x31cfe4['type']===Id['DOCUMENT']){const _0x5cac50=await this['_connector']['fetchDocument'](this['_ownerId'],_0x31cfe4['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x31cfe4['type'],'content':_0x5cac50['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x5cac50['attributes']?.['version'],'sessionId':_0x5cac50['attributes']?.['sessionId']};}if(_0x31cfe4['type']===Id['TOOL'])return{'id':_0x31cfe4['id'],'uiId':_0x31cfe4['id'],'label':_0x31cfe4['data']?.['label']||_0x31cfe4['id'],'type':Id['TOOL'],'mcpServerName':_0x31cfe4['mcpServerName'],'toolName':_0x31cfe4['toolName'],'data':_0x31cfe4['data']||{}};return{'id':_0x31cfe4['id'],'uiId':_0x31cfe4['id'],'label':_0x31cfe4['attributes']?.['label']||_0x31cfe4['name']||_0x31cfe4['url']||_0x31cfe4['id'],'type':_0x31cfe4['type'],..._0x31cfe4?.['attributes']?.['resourceId']?{'resourceId':_0x31cfe4['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x1f67e1){const _0x32de94=this['_pendingContextItems']['get'](_0x1f67e1);_0x32de94?.['isReadOnly']||this['_removeContextItem'](_0x1f67e1);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x86615e of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x86615e['uiId']);const _0x4bc801=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x4bc801&&this['_addContextItem']({..._0x4bc801,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x307c6b){for(const _0x2b732a of _0x307c6b['values']())this['_addToConversationContextItem'](_0x2b732a);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'](_0x3db1f7){return Array['from'](_0x3db1f7['values']())['map'](_0x4a53d4=>this['_mapContextItemToRequestData'](_0x4a53d4))['filter'](_0x3f9e29=>null!==_0x3f9e29);}async['addFilesToContext'](_0x6ef521,_0x568198,_0x58c447=Id['FILE']){const _0x4689ed='files-'+_0x288d30();this['_startUploadOperation'](_0x4689ed);try{await Promise['all'](_0x6ef521['map'](async _0x531541=>{const _0x592dbe='file-'+_0x288d30(),_0x5c9b7f=zr(_0x531541['name']);try{this['_addContextItem']({'type':_0x58c447,'label':_0x568198?.['label']||_0x5c9b7f,'uiId':_0x592dbe,'resourceId':_0x568198?.['resourceId']},!0x0);const _0x4a111a=this['_connector']['uploadFile'](this['_ownerId'],_0x531541,_0x568198);this['_ongoingUploads']['set'](_0x592dbe,_0x4a111a['abortController']);const {id:_0x3c0942}=await _0x4a111a['getId']();this['_ongoingUploads']['delete'](_0x592dbe),this['_finishContextItemLoading']({'type':_0x58c447,'id':_0x3c0942,'label':_0x568198?.['label']||_0x5c9b7f,'uiId':_0x592dbe,'resourceId':_0x568198?.['resourceId']},!0x1);}catch(_0x55f279){this['_ongoingUploads']['delete'](_0x592dbe);if(!(_0x55f279 instanceof _0x1976e8&&_0x55f279['message']['startsWith']('ai-request-aborted'))){const _0xff906c=kd['get'](_0x55f279['code'])||'ai-chat-file-upload-failed',_0x2759c3=new _0x1976e8(_0xff906c,null,{'fileName':_0x5c9b7f,..._0x55f279});_0x2759c3['stack']=_0x55f279['stack'],this['fire']('error',{'error':_0x2759c3});}this['_removeContextItem'](_0x592dbe);}}));}finally{this['_finishUploadOperation'](_0x4689ed);}}['addCurrentDocumentToContext'](_0x9352ab){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x38264b={'type':Id['DOCUMENT'],'uiId':'current-document','label':_0x9352ab,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x38264b);}async['updateCurrentDocument'](_0x34c684,_0x5f2eca,_0x34d698,_0x242475){const _0x464990=this['_pendingContextItems']['get']('current-document');if(_0x464990&&_0x34c684){_0x464990['selection']=_0x242475?_0x242475['map'](_0x403988=>({'start':_0x403988['start'],'end':_0x403988['end']})):[];try{if(_0x464990['version']===_0x5f2eca)return;const {id:_0x2a7142}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x34c684,{'version':_0x5f2eca,'sessionId':_0x34d698})['getId']();_0x464990['id']=_0x2a7142,_0x464990['content']=_0x34c684,_0x464990['version']=_0x5f2eca,_0x464990['sessionId']=_0x34d698;}catch(_0x4c6101){const _0x1a51cf=new _0x1976e8('ai-chat-document-upload-failed',null);_0x1a51cf['stack']=_0x4c6101['stack'],this['fire']('error',{'error':_0x1a51cf});}}}['addSelectionToContext'](_0x5aa8a9){this['_addContextItem']({'type':Id['SELECTION'],'label':_0x5aa8a9,'uiId':'selection','content':_0x5aa8a9});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x316f0d,_0x7dfa2){const _0x5588a5='url-'+_0x288d30();this['_startUploadOperation'](_0x5588a5);const _0x263104='url-'+_0x288d30();try{this['_addContextItem']({'type':Id['URL'],'label':_0x7dfa2?.['label']||_0x316f0d,'uiId':_0x263104,'resourceId':_0x7dfa2?.['resourceId']},!0x0);const _0x5cd05b=this['_connector']['uploadUrl'](this['_ownerId'],_0x316f0d,_0x7dfa2);this['_ongoingUploads']['set'](_0x263104,_0x5cd05b['abortController']);const {id:_0x20fd79}=await _0x5cd05b['getId']();this['_ongoingUploads']['delete'](_0x263104),this['_finishContextItemLoading']({'type':Id['URL'],'id':_0x20fd79,'label':_0x7dfa2?.['label']||_0x316f0d,'uiId':_0x263104,'resourceId':_0x7dfa2?.['resourceId']},!0x1);}catch(_0x1e3340){this['_ongoingUploads']['delete'](_0x263104),(_0x1e3340['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x1976e8('ai-chat-url-upload-failed',this,{'url':_0x316f0d,'originalError':_0x1e3340}),'url':_0x316f0d}),this['_removeContextItem'](_0x263104));}finally{this['_finishUploadOperation'](_0x5588a5);}}['addToolItemToContext'](_0x53240a){_0x53240a['id']=_0x53240a['id']??_0x288d30()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x53240a['uiId'],_0x53240a),this['fire']('contextItemAdded',{'contextItem':_0x53240a,'isLoading':!0x1});}async['loadSourceResources'](_0xf53e04,_0x5ad892,_0x395d9b){const _0x33a0e9=this['_addContextOptionsState']['sources']['find'](_0x37dab2=>_0x37dab2['id']===_0xf53e04);if(!_0x33a0e9)return this['fire']('error',{'error':new _0x1976e8('ai-chat-source-not-found',this,{'sourceId':_0xf53e04}),'sourceId':_0xf53e04}),[];try{const _0x440178=(await _0x33a0e9['getResources'](_0x5ad892))['map'](_0x3729e8=>{const _0x32e573=this['_isResourceInContext'](_0x3729e8['id']);return{..._0x3729e8,'isInContext':_0x32e573};});return _0x33a0e9['resources']=_0x440178,this['fire']('sourceResourcesLoaded',{'sourceId':_0xf53e04,'source':_0x33a0e9,'resources':_0x440178,'uid':_0x395d9b}),_0x440178;}catch(_0x11830d){return this['fire']('error',{'error':new _0x1976e8('ai-chat-source-resources-load-failed',this,{'sourceId':_0xf53e04,'originalError':_0x11830d}),'sourceId':_0xf53e04,'sourceLabel':_0x33a0e9['label']}),[];}}async['addResourceToContext'](_0x44b028,_0xdf5a47){if(this['_isResourceInContext'](_0xdf5a47['id']))return;let _0x1b43b8=_0xdf5a47['data'];if(!_0x1b43b8&&_0x44b028['getData'])try{_0x1b43b8=await _0x44b028['getData'](_0xdf5a47['id']);}catch(_0x4db499){return void this['fire']('error',{'error':new _0x1976e8('ai-chat-resource-load-failed',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id'],'originalError':_0x4db499}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});}if(_0x1b43b8)switch(_0xdf5a47['type']){case Id['URL']:if('string'!=typeof _0x1b43b8)return void this['fire']('error',{'error':new _0x1976e8('ai-chat-context-invalid-data',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id'],'expectedType':'string','actualType':typeof _0x1b43b8}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});await this['addUrlToContext'](_0x1b43b8,{'label':_0xdf5a47['label'],'resourceId':_0xdf5a47['id']});break;case Id['FILE']:if(!(_0x1b43b8 instanceof File))return void this['fire']('error',{'error':new _0x1976e8('ai-chat-context-invalid-data',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id'],'expectedType':'File','actualType':typeof _0x1b43b8}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});await this['addFilesToContext']([_0x1b43b8],{'label':_0xdf5a47['label'],'resourceId':_0xdf5a47['id']});break;case Id['TEXT']:if('object'!=typeof _0x1b43b8||!('content'in _0x1b43b8)||!('type'in _0x1b43b8))return void this['fire']('error',{'error':new _0x1976e8('ai-chat-context-invalid-data',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x1b43b8}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});_0x1b43b8=AIChatContext['_convertTextResourceToFile'](_0x1b43b8,_0xdf5a47['label']),await this['addFilesToContext']([_0x1b43b8],{'label':_0xdf5a47['label'],'resourceId':_0xdf5a47['id']},Id['TEXT']);break;case Id['TOOL']:break;default:this['fire']('error',{'error':new _0x1976e8('ai-chat-context-unsupported-type',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id'],'resourceType':_0xdf5a47['type']}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});}else this['fire']('error',{'error':new _0x1976e8('ai-chat-resource-no-data',this,{'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']}),'resourceId':_0xdf5a47['id'],'sourceId':_0x44b028['id']});}static['_convertTextResourceToFile'](_0x3d7b45,_0x5a746b){switch(_0x3d7b45['type']){case Cd['MARKDOWN']:return new File([_0x3d7b45['content']],_0x5a746b,{'type':'text/markdown'});case Cd['HTML']:return new File([_0x3d7b45['content']],_0x5a746b,{'type':'text/html'});default:return new File([_0x3d7b45['content']],_0x5a746b,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x266ae1){switch(_0x266ae1['type']){case Id['FILE']:return{'type':Id['FILE'],'id':_0x266ae1['id']};case Id['URL']:return{'type':Id['URL'],'id':_0x266ae1['id']};case Id['DOCUMENT']:return{'type':Id['DOCUMENT'],'id':_0x266ae1['id'],..._0x266ae1['selection']?.['length']&&{'selection':_0x266ae1['selection']}};case Id['TEXT']:return{'type':Id['FILE'],'id':_0x266ae1['id']};case Id['TOOL']:{const _0x1b42c6=_0x266ae1;return{'type':Id['TOOL'],'mcpServerName':_0x1b42c6['mcpServerName'],'toolName':_0x1b42c6['toolName'],'data':_0x1b42c6['data'],'id':_0x1b42c6['id']};}default:return null;}}['_addContextItem'](_0x45eeaf,_0x2d4689=!0x1){if(this['_pendingContextItems']['set'](_0x45eeaf['uiId'],_0x45eeaf),_0x45eeaf['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x45eeaf,'isLoading':_0x2d4689}),'current-document'===_0x45eeaf['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x45eeaf['resourceId']){const _0x2e7c24=this['_findSourceIdsByResourceId'](_0x45eeaf['resourceId']);_0x2e7c24&&_0x2e7c24['forEach'](_0xfb5e44=>{this['_updateResourceInContextState'](_0xfb5e44,_0x45eeaf['resourceId'],!0x0);});}}['_removeContextItem'](_0x106560){const _0x1cc619=this['_pendingContextItems']['get'](_0x106560),_0x1f3f9b=this['_ongoingUploads']['get'](_0x106560);if(_0x1f3f9b&&(_0x1f3f9b['abort'](),this['_ongoingUploads']['delete'](_0x106560)),_0x1cc619?.['resourceId']){const _0x37502f=this['_findSourceIdsByResourceId'](_0x1cc619['resourceId']);_0x37502f&&_0x37502f['forEach'](_0x521cf1=>{this['_updateResourceInContextState'](_0x521cf1,_0x1cc619['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x106560),this['fire']('contextItemRemoved',{'uiId':_0x106560,'type':_0x1cc619?.['type']}),'current-document'===_0x106560&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x2aa38d,_0x1e00e5){if(this['_pendingContextItems']['has'](_0x2aa38d['uiId'])&&(this['_pendingContextItems']['set'](_0x2aa38d['uiId'],_0x2aa38d),this['fire']('contextItemLoadingEnded',{'contextItem':_0x2aa38d,'isLoading':_0x1e00e5}),_0x2aa38d['resourceId'])){const _0x5caec3=this['_findSourceIdsByResourceId'](_0x2aa38d['resourceId']);_0x5caec3&&_0x5caec3['forEach'](_0x8d271d=>{this['_updateResourceInContextState'](_0x8d271d,_0x2aa38d['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x5f1c98){this['_conversationContextItems']['set'](_0x5f1c98['uiId'],_0x5f1c98);}['_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'](_0xc1c948=>({..._0xc1c948,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x1dbc6f=>({..._0x1dbc6f,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0xda9742=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0xda9742,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x4e9e8e){for(const _0x1c1efe of this['_pendingContextItems']['values']())if(_0x1c1efe['resourceId']===_0x4e9e8e)return!0x0;for(const _0xad1960 of this['_conversationContextItems']['values']())if(_0xad1960['resourceId']===_0x4e9e8e)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x2b6f4e){const _0x18bfcb=[];for(const _0x1ab104 of this['_addContextOptionsState']['sources']){_0x1ab104['resources']['find'](_0x1086b6=>_0x1086b6['id']===_0x2b6f4e)&&_0x18bfcb['push'](_0x1ab104['id']);}return 0x0===_0x18bfcb['length']?null:_0x18bfcb;}['_updateResourceInContextState'](_0x5f4e7e,_0x1e36f4,_0x5b27d4){const _0x4d40b7=this['_addContextOptionsState']['sources']['find'](_0x200ac4=>_0x200ac4['id']===_0x5f4e7e);if(!_0x4d40b7)return;const _0x3fa2e3=_0x4d40b7['resources']['find'](_0x3b8262=>_0x3b8262['id']===_0x1e36f4);_0x3fa2e3&&(_0x3fa2e3['isInContext']=_0x5b27d4,this['fire']('resourceStateChanged',{'sourceId':_0x5f4e7e,'resourceId':_0x1e36f4,'isInContext':_0x5b27d4}));}['_startUploadOperation'](_0x214830){this['_ongoingUploadOperations']['set'](_0x214830,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x57bcad){this['_ongoingUploadOperations']['delete'](_0x57bcad),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const Rd=['capabilitiesUpdated'];class AICapabilities extends _0x5544ae(){['_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'](_0x530665){const _0x198a22={};return _0x530665&&_0x530665['isWebSearchEnabled']&&(_0x198a22['webSearch']={}),_0x530665&&_0x530665['isReasoningEnabled']&&(_0x198a22['reasoning']={}),_0x198a22;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x26859e){_0x26859e!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x26859e,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x2c32b0){_0x2c32b0!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x2c32b0,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x530b3c){super(_0x530b3c),this['conversationId']=_0x530b3c['conversationId'],this['contextItems']=_0x530b3c['contextItems'],this['capabilities']=_0x530b3c['capabilities'],this['userMessage']=_0x530b3c['userMessage'],this['model']=_0x530b3c['model'],this['attributes']=_0x530b3c['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 _0x5544ae(){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x356892){super(),this['options']=_0x356892,this['connector']=_0x356892['connector'],this['chatModels']=_0x356892['chatModels'],this['id']=_0x356892['conversationId'],this['isFromHistory']=_0x356892['isFromHistory'];}async['init'](_0x505a4f){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x505a4f,'ownerId':this['id']}),this['chatContext']['delegate'](...xd)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](...Rd)['to'](this),this['chatCapabilities']['init']();const _0x410283=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x410283});const _0x1fe185=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x1fe185&&await this['setModel'](_0x1fe185);}catch(_0x48d477){const _0x517d62=new _0x1976e8('ai-chat-conversation-init-failed',null,{'message':_0x48d477['message']||_0x48d477});_0x517d62['stack']=_0x48d477['stack'],this['fire']('error',{'error':_0x517d62});}}async['start'](){if(this['isStarted'])throw new _0x1976e8('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x1976e8('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x571097}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x571097,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x327cb8){const _0x427f4d=new _0x1976e8('ai-chat-conversation-start-failed',null,{'message':_0x327cb8['message'],'conversationId':this['id']});throw _0x427f4d['stack']=_0x327cb8['stack'],this['fire']('error',{'error':_0x427f4d}),_0x427f4d;}}async['load'](_0x18a6ab,_0x3922a5){try{const _0x9c8556=await this['connector']['fetchConversation'](_0x18a6ab)['getConversation'](),_0x56bf3a=await this['connector']['fetchConversationMessages'](_0x18a6ab)['getMessages'](),_0x1cce91=_0x56bf3a[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x9c8556['id'],'title'in _0x9c8556?this['fire']('setConversationTitle',_0x9c8556['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x3a5932=(await this['chatModels']['getAll']())['find'](_0x53e6c1=>_0x53e6c1['id']['toLowerCase']()===_0x1cce91['toLowerCase']());return this['selectedModel']=_0x3a5932,this['fire']('modelSelected',{'selectedModel':_0x3a5932,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x56bf3a,_0x3922a5,_0x1cce91),this['currentInteraction']=void 0x0,this;}catch(_0x10fd98){const _0x5eb0b2=new _0x1976e8('ai-chat-conversation-init-from-id-failed',null,{'message':_0x10fd98['message'],'conversationId':_0x18a6ab});throw _0x5eb0b2['stack']=_0x10fd98['stack'],this['fire']('error',{'error':_0x5eb0b2}),_0x5eb0b2;}}async['_processMessagesToInteractions'](_0x43f9e6,_0x5cbca4,_0x1b39d9){let _0x46121d;for(const _0x21a4fa of _0x43f9e6)if('user'===_0x21a4fa['role']){const _0x224677=await this['_extractContextItems'](_0x21a4fa),_0x4923d4={'isReasoningEnabled':Object['hasOwn'](_0x21a4fa['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x21a4fa['capabilities'],'webSearch')};_0x46121d=this['createInteraction']({'userMessage':_0x21a4fa['prompt'],'contextItems':_0x224677,'capabilities':_0x4923d4,'modelId':_0x1b39d9,'attributes':_0x21a4fa['attributes']}),this['currentInteraction']=_0x46121d,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x21a4fa['role']&&_0x46121d){const _0x94e3fb=[];for(const _0x6b3c0d of _0x21a4fa['content'])switch(_0x6b3c0d['type']){case'text':case'modification':{const _0x44d4eb=_0x46121d['getDocumentContext']()?.['sessionId']!==_0x5cbca4;_0x46121d['currentReply']=_0x46121d['createReply']({'type':_0x6b3c0d['type'],'isDone':!0x0,'interactionId':_0x46121d['id'],'areActionsDisabled':_0x44d4eb}),_0x46121d['currentReply']['appendContent'](_0x6b3c0d['content']),_0x94e3fb['length']>0x0&&(_0x46121d['currentReply']['sources']=_0x94e3fb['splice'](0x0));break;}case'url':_0x94e3fb['push'](_0x6b3c0d);break;case'mcp-tool-result':{const {data:_0x2b16c2,attributes:_0x4a3c43}=JSON['parse'](_0x6b3c0d['content']);_0x46121d['_handleToolResultData']({'toolName':_0x6b3c0d['toolName'],'data':_0x2b16c2,'attributes':_0x4a3c43});break;}}}}}async['_extractContextItems'](_0x33bfac){const _0x14941e=new Map();if(!_0x33bfac['content'])return _0x14941e;for(const _0x34e1a8 of _0x33bfac['content']){const _0x2f14ee=await this['chatContext']['populateFromMessage'](_0x34e1a8);_0x2f14ee&&_0x14941e['set'](_0x2f14ee['id'],_0x2f14ee);}return _0x14941e;}async['handleUserInteraction']({userMessage:_0x1b4b18,attributes:_0xbe4cde}){if(!this['isStarted'])throw new _0x1976e8('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x1976e8('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x592046=this['chatContext']['getPendingContextItems'](),_0x10e6ae=this['chatCapabilities']['getCapabilitiesConfig'](),_0x581583=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x1b4b18,'contextItems':_0x592046,'capabilities':_0x10e6ae,'modelId':_0x581583,'attributes':_0xbe4cde}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x347828){if(_0x347828 instanceof _0x1976e8)this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x347828});else{const _0x35180d=kd['get'](_0x347828['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x1976e8(_0x35180d,null,{'error':_0x347828})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x3f618d,contextItems:_0x4f144b,capabilities:_0xa5fdc8,modelId:_0xa69378,attributes:_0x572d56}){const _0x827ea3=new AIChatInteraction({'userMessage':_0x3f618d,'contextItems':_0x4f144b,'capabilities':_0xa5fdc8,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0xa69378,'attributes':_0x572d56});return _0x827ea3['delegate'](...Sd)['to'](this),this['interactions']['push'](_0x827ea3),this['fire']('interactionCreated',_0x827ea3),_0x827ea3;}['getInteraction'](_0x2e6ba8){return this['interactions']['find'](_0x40d50d=>_0x40d50d['id']===_0x2e6ba8);}['removeInteraction'](_0x58c261){const _0x3285b3=this['getInteraction'](_0x58c261);_0x3285b3&&(_0x3285b3['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x3285b3),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x5c45ae){this['chatContext']['addCurrentDocumentToContext'](_0x5c45ae);}async['updateCurrentDocumentInContext']({content:_0x46b528,version:_0x33699c,sessionId:_0x2e613b,selections:_0x4b9d30}){await this['chatContext']['updateCurrentDocument'](_0x46b528,_0x33699c,_0x2e613b,_0x4b9d30);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x356fac){this['chatContext']['addSelectionToContext'](_0x356fac);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x2002fa){this['chatContext']['addFilesToContext'](_0x2002fa);}['addUrlToContext'](_0x412342){this['chatContext']['addUrlToContext'](_0x412342);}['addToolItemToContext'](_0x381d1b){this['chatContext']['addToolItemToContext'](_0x381d1b);}['addResourceToContext'](_0x19eb33,_0x39686a){this['chatContext']['addResourceToContext'](_0x19eb33,_0x39686a);}['loadSourceResources'](_0x1b8ea0,_0xee9fea,_0x26ca74){return this['chatContext']['loadSourceResources'](_0x1b8ea0,_0xee9fea,_0x26ca74);}['removeFromContext'](_0x3b31ef){this['chatContext']['removeFromContext'](_0x3b31ef);}['setWebSearch'](_0x58b013){this['chatCapabilities']['setWebSearch'](_0x58b013);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x4a9cd7){this['chatCapabilities']['setReasoning'](_0x4a9cd7);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x4ca2f8){_0x4ca2f8?!0x1===await this['chatModels']['isAvailable'](_0x4ca2f8)&&(_0x2e934f('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x4ca2f8}),_0x4ca2f8=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x2e934f('ai-chat-conversation-set-model-null',{'conversation':this}),_0x4ca2f8=(await this['chatModels']['getAvailableModels']())[0x0]),_0x4ca2f8['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x4ca2f8,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x4ca2f8}));}}class AIModels extends _0x5544ae(){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x4f8bfb,config:_0x58bbc7,locale:_0x59011d}){super(),this['_connector']=_0x4f8bfb,this['_config']=_0x58bbc7,this['_locale']=_0x59011d;}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 _0x2c0ed4=await this['getAll']();let _0x3291ac;return _0x3291ac=this['_availableModels']?this['_filterModels'](_0x2c0ed4,this['_availableModels']):_0x2c0ed4['filter'](_0x53f30d=>_0x53f30d['recommended']),_0x3291ac;}async['getModel'](_0x1878a8){const _0x4b16a0=await this['getAll']();if(!_0x4b16a0['length'])return null;if(_0x1878a8){const _0x49cb5=this['_getModelById'](_0x4b16a0,_0x1878a8);if(_0x49cb5)return _0x49cb5;_0x2e934f('ai-chat-model-id-unrecognized',{'modelId':_0x1878a8,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x2f2712=await this['getAvailableModels']();if(!_0x2f2712['length'])return null;if(this['_defaultModelId']){const _0x4dea51=this['_getModelById'](_0x2f2712,this['_defaultModelId']);if(_0x4dea51)return _0x4dea51;_0x2e934f('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x2f2712[0x0]['id']});}return _0x2f2712[0x0];}async['isAvailable'](_0x2e53b5){return(await this['getAvailableModels']())['some'](_0x33219b=>_0x33219b['name']===_0x2e53b5['name']&&_0x33219b['provider']===_0x2e53b5['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x174124=this['_locale']['uiLanguage']||'en',_0x17fcd6=this['_connector']['getModels'](_0x174124),_0xc9c761=await _0x17fcd6['list']();this['_modelList']=_0xc9c761['items']['map'](_0x228678=>Pd(_0x228678)?{..._0x228678,'name':ho(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x228678);}catch(_0x87efcb){throw _0x74de25('ai-models-unable-to-retrieve',{'error':_0x87efcb}),_0x87efcb;}return[...this['_modelList']];}['_filterModels'](_0x263bc3,_0x57f539){let _0x410d20;if(_0x57f539){_0x410d20=[];const _0x14d131=new Set(),_0x535166='string'==typeof _0x57f539?[_0x57f539['toLocaleLowerCase']()]:_0x57f539['map'](_0xdd168c=>_0xdd168c['toLocaleLowerCase']());for(const _0x50258b of _0x535166)for(const _0x42bb37 of _0x263bc3)!_0x14d131['has'](_0x42bb37['id'])&&this['_isMatchingFilter'](_0x42bb37,_0x50258b)&&(_0x410d20['push'](_0x42bb37),_0x14d131['add'](_0x42bb37['id']));}else _0x410d20=_0x263bc3;return _0x410d20;}['_isMatchingFilter'](_0x49a67f,_0x39b574){const _0x37d209=_0x49a67f['id']['toLocaleLowerCase'](),_0x237ea7=_0x49a67f['name']['toLocaleLowerCase'](),_0x4b02a2=_0x49a67f['provider']['toLocaleLowerCase']();return _0x37d209===_0x39b574||_0x237ea7===_0x39b574||Pd(_0x49a67f)&&'auto'===_0x39b574||_0x4b02a2===_0x39b574||_0x37d209['startsWith'](_0x39b574);}['_getModelById'](_0x37ea8a,_0x5d8548){return _0x37ea8a['find'](_0x5c835a=>Pd(_0x5c835a)&&'auto'===_0x5d8548?_0x5c835a:_0x5c835a['id']===_0x5d8548)||null;}}function Pd(_0x27f0f2){return _0x27f0f2['id']['startsWith']('agent');}function Md(_0x516d06){if(_0x516d06 instanceof _0x2f9368)return _0x516d06;if(_0x516d06?.['editors']&&_0x516d06['editors']['get'](0x0))return _0x516d06['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.'),_0x516d06['editors']['get'](0x0);throw new _0x1976e8('ai-get-editor-from-context-no-editor');}function Nd({editor:_0x4fb74a,interaction:_0x2fc6b1,reply:_0x539118,groups:_0x47d666,transform:_0x5aae09,documentCompare:_0x5f4f03,documentCompareOptions:_0x21bece}){const _0x23ca3c=_0x2fc6b1['getDocumentContext']();if(!_0x23ca3c)return[];const _0x13818b=_0x23ca3c['content'],_0x4c66e2=_0x23ca3c['version'],_0x4c317d=_0x539118['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x13da00}of _0x47d666){const _0x2f71da=_0x13da00['filter'](_0x2951dd=>'new'!=_0x2951dd['type'])['map'](_0x25e9b4=>$a('data-id',_0x25e9b4['id'],_0x4c317d)),_0x55af02=_0x13da00['filter'](_0x34a4b0=>'removed'!=_0x34a4b0['type'])['map'](_0x5759ac=>_0x5759ac['node']['cloneNode'](!0x0));let _0x5e3a78=null;if(_0x2f71da['length']){_0x5e3a78=_0x2f71da[0x0]['previousSibling'];for(let _0x5c31f9=0x0;_0x5c31f9<_0x2f71da['length'];_0x5c31f9++)ka(_0x2f71da[_0x5c31f9]);}if(_0x55af02['length']){_0x5e3a78||(_0x13da00[0x0]['anchorId']?_0x5e3a78=$a('data-id',_0x13da00[0x0]['anchorId'],_0x4c317d):(_0x5e3a78=_0x55af02['shift'](),Pa(_0x4c317d,_0x5e3a78)));for(let _0x22aee8=0x0;_0x22aee8<_0x55af02['length'];_0x22aee8++)Ra(_0x5e3a78,_0x55af02[_0x22aee8]),_0x5e3a78=_0x55af02[_0x22aee8];}}const _0xfd7c7=Qa(_0x4c317d),_0x23d8f9=_0x5f4f03['getDiff'](_0x13818b,_0xfd7c7,_0x21bece)['getOperations']();if(_0x5aae09){const _0x4bd720=_0x4fb74a['model']['document']['history']['getOperations'](_0x4c66e2),_0x819090={'document':_0x4fb74a['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x180d0d(_0x23d8f9,_0x4bd720,_0x819090)['operationsA'];}return _0x23d8f9;}function Ld(_0x568422,_0x2d3158){if('marker'!=_0x2d3158['type'])return;const _0x32459d=_0x568422['model']['markers']['get'](_0x2d3158['name']);_0x32459d&&(_0x2d3158['oldRange']=_0x32459d['getRange']());}class AIChatController extends _0x90c2d8{['_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 dt(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 AIModels({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x372763=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x47b979,_0xf97e96)=>{this['_handleUIUserMessage']({'userMessage':_0xf97e96});}),this['listenTo'](_0x372763,'resizedTabs',(_0x1f20b5,_0x1ce7f8)=>{this['_setIsMaximized'](_0x1ce7f8);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x372763['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',(_0x22d15e,_0x1ed6bf)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x1ed6bf));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0xd572f1,_0x426dff)=>{this['activeConversation']?.['addUrlToContext'](_0x426dff);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x4a211c,_0x369366)=>{_0x369366['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x3bf777,_0x428347)=>{this['activeConversation']?.['addResourceToContext'](_0x428347['source'],_0x428347['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x326db7,_0x49fb0f)=>{this['_removeFromContext'](_0x49fb0f);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x1b053c,_0x18dadb)=>{this['activeConversation']?.['loadSourceResources'](_0x18dadb['sourceId'],_0x18dadb['query'],_0x18dadb['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x5952f3,_0x5b6bff)=>{this['activeConversation']?.['setModel'](_0x5b6bff);}),this['listenTo'](this['_aiChatUi'],'like',(_0x2b2653,{replyId:_0x4debb9})=>{console['log']('Liked\x20response',_0x4debb9);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x2a00fe,{replyId:_0x54a24f})=>{console['log']('Disliked\x20response',_0x54a24f);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x184a5a,_0xdc79d7)=>{this['_insertSuggestion'](_0xdc79d7);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x86081c,{replyId:_0x1066ec,partIndex:_0x579714})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x1066ec,_0x579714);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x2a163b,{replyId:_0x2d93cc,partIndex:_0x14ca07})=>{const _0x357d98=this['_getDocumentRangeForReplyChanges'](_0x2d93cc,_0x14ca07);_0x357d98&&'$graveyard'!=_0x357d98['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x357d98['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x157844,_0x1c4e9e)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x1c4e9e);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x482137,{replyId:_0x4a9829,showDiff:_0x4b86ca})=>{const {reply:_0x4ac6ae}=this['getInteractionAndReplyById'](_0x4a9829),_0x2245da=_0x4ac6ae['getContentParts']({'showDiff':_0x4b86ca});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x4ac6ae['id'],'parts':_0x2245da,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x40068f,{replyId:_0x2a84d0,partIndex:_0xee4002})=>{this['_rejectSuggestion']({'replyId':_0x2a84d0,'partIndex':_0xee4002}),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:_0x3d6a31,partIndex:_0x2689e5}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0xcd57de}=this['getInteractionAndReplyById'](_0x3d6a31),_0x2191aa=_0xcd57de['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x2689e5});this['_aiChatBalloon']['updateContent']({'part':_0x2191aa[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x474f96,partIndex:_0x1d21c6}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x474f96,'partIndex':_0x1d21c6}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x36633b,partIndex:_0x163c1d}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x36633b,'partIndex':_0x163c1d}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x1d7bd7,partIndex:_0x37fa8d}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x1d7bd7,'partIndex':_0x37fa8d}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x8adabb,partIndex:_0x1ceb66}=this['_currentPreviewedChangeGroup'],_0x2f9827=this['_getPresentableSiblingContentPartIndex'](_0x8adabb,_0x1ceb66,'next');null!==_0x2f9827&&this['_openBalloonFor'](_0x8adabb,_0x2f9827);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x1cce72,partIndex:_0x1ea261}=this['_currentPreviewedChangeGroup'],_0x3db678=this['_getPresentableSiblingContentPartIndex'](_0x1cce72,_0x1ea261,'previous');null!==_0x3db678&&this['_openBalloonFor'](_0x1cce72,_0x3db678);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x8eb18a,{id:_0x5195bb})=>{if('aiChatBalloon'!==_0x5195bb)return;const {replyId:_0x3fa957,partIndex:_0x5afc14}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x3fa957,'index':_0x5afc14,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof _0x2f9368?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x31105e,_0x119db9)=>{_0x119db9['on']('ready',()=>{this['_integrateEditor'](_0x119db9);});});const _0x5effd2=this['context']['config']['get']('ai.chat.initialConversation');let _0xccdc0b=_0x5effd2;if('lastCreated'!=_0x5effd2||(_0xccdc0b=await this['_getLastCreatedConversationId'](),_0xccdc0b))return'new'==_0xccdc0b?this['_startConversationSafely']():this['loadConversation'](_0xccdc0b);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x46a640){const _0x22d7de=Md(this['context']);if(!_0x22d7de['plugins']['has']('TrackChanges'))throw new _0x1976e8('ai-no-track-changes',null);const _0x118f34=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x3257a5,interaction:_0x291458}=this['getInteractionAndReplyById'](_0x46a640['replyId']),_0xc7fd7e=this['_getDocumentRangeForReplyChanges'](_0x46a640['replyId'],_0x46a640['partIndex']),_0x29bd41=void 0x0!==_0x46a640['partIndex']?[_0x3257a5['changeGroups'][_0x46a640['partIndex']]]:_0x3257a5['changeGroups']['filter'](_0x583a72=>'pending'==_0x583a72['state']),_0x5ae71b=_0x29bd41['map'](_0xe1a41d=>_0x3257a5['changeGroups']['indexOf'](_0xe1a41d));if(!_0xc7fd7e||'$graveyard'==_0xc7fd7e['range']['root']['rootName'])return void _0x5ae71b['forEach'](_0x5e4390=>_0x3257a5['setChangeGroupState'](_0x5e4390,'outdated'));_0x5ae71b['forEach'](_0x3374b3=>_0x3257a5['setChangeGroupState'](_0x3374b3,'accepted'));const _0x11b990=Nd({'editor':_0x22d7de,'reply':_0x3257a5,'interaction':_0x291458,'groups':_0x29bd41,'transform':!0x0,'documentCompare':_0x118f34,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x320b2d;_0xc7fd7e&&this['_scrollToSuggestionRange'](_0xc7fd7e['range']),_0x22d7de['model']['change'](_0x4f5ba0=>{_0x320b2d=_0x4f5ba0['batch'],_0x22d7de['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x11b990),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x320b2d,{'interactionId':_0x291458['id'],'replyId':_0x3257a5['id'],'indexes':_0x5ae71b['slice']()}),this['_updateRatings'](_0x3257a5);}['_applySuggestion'](_0x1bb76a){const _0x2d33bf=Md(this['context']),_0x47efb7=this['context']['plugins']['get'](DocumentCompare),{reply:_0x577b8a,interaction:_0x43c1f2}=this['getInteractionAndReplyById'](_0x1bb76a['replyId']),_0x38b64c=this['_getDocumentRangeForReplyChanges'](_0x1bb76a['replyId'],_0x1bb76a['partIndex']),_0x5003a6=void 0x0!==_0x1bb76a['partIndex']?[_0x577b8a['changeGroups'][_0x1bb76a['partIndex']]]:_0x577b8a['changeGroups']['filter'](_0x199c46=>'pending'==_0x199c46['state']),_0x52e634=_0x5003a6['map'](_0x2298e3=>_0x577b8a['changeGroups']['indexOf'](_0x2298e3));if(!_0x38b64c||'$graveyard'==_0x38b64c['range']['root']['rootName'])return void _0x52e634['forEach'](_0x494380=>_0x577b8a['setChangeGroupState'](_0x494380,'outdated'));_0x52e634['forEach'](_0x3db966=>_0x577b8a['setChangeGroupState'](_0x3db966,'accepted'));const _0x2ef48a=Nd({'editor':_0x2d33bf,'reply':_0x577b8a,'interaction':_0x43c1f2,'groups':_0x5003a6,'transform':!0x0,'documentCompare':_0x47efb7,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x3d11e6;_0x38b64c&&this['_scrollToSuggestionRange'](_0x38b64c['range']),_0x2d33bf['model']['change'](_0x113b9f=>{_0x3d11e6=_0x113b9f['batch'];for(const _0x4c8e1e of _0x2ef48a)_0x4c8e1e['baseVersion']=_0x2d33bf['model']['document']['version'],Ld(_0x2d33bf,_0x4c8e1e),_0x113b9f['batch']['addOperation'](_0x4c8e1e),_0x2d33bf['model']['applyOperation'](_0x4c8e1e);}),this['_batchToChanges']['set'](_0x3d11e6,{'interactionId':_0x43c1f2['id'],'replyId':_0x577b8a['id'],'indexes':_0x52e634['slice']()}),this['_updateRatings'](_0x577b8a);}['_rejectSuggestion'](_0x37aa52){const {reply:_0x4939ea}=this['getInteractionAndReplyById'](_0x37aa52['replyId']);_0x4939ea['setChangeGroupState'](_0x37aa52['partIndex'],'rejected');}['_openBalloonFor'](_0x1d7672,_0x5de1c9){if(!this['_aiChatBalloon'])return;const {reply:_0x152b1e}=this['getInteractionAndReplyById'](_0x1d7672),_0xa265d0=_0x152b1e['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x31583b,_0x54c540;if(void 0x0!==_0x5de1c9?(_0x54c540=_0xa265d0['find'](_0x7972a=>_0x7972a['index']==_0x5de1c9),_0x31583b=_0x54c540?.['index']):(_0x54c540=_0xa265d0[0x0],_0x31583b=_0x54c540['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x1d7672&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x31583b)return;const _0x36105d=this['_getUserPresentableContentPartDocumentRange'](_0x1d7672,_0x152b1e,_0x54c540);if(!_0x36105d)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x1d7672,'partIndex':_0x31583b},this['_scrollToSuggestionRange'](_0x36105d,!0x0);const _0x895813=this['_getPresentableSiblingContentPartIndex'](_0x1d7672,_0x31583b,'next');this['_aiChatBalloon']['updateContent']({'part':_0x54c540,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x31583b,'title':ho(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x31583b+0x1)['toString']()),'showRotator':null!==_0x895813,'ranges':[_0x36105d],'areActionsDisabled':_0x152b1e['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x1d7672,_0x31583b),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x1d7672,'index':_0x31583b,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x40146e,_0x2a54e5,_0xdfd6ed){const {reply:_0x584922}=this['getInteractionAndReplyById'](_0x40146e),_0x44180f=_0x584922['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x44180f['length'])return null;const _0x3f368f=_0x44180f['findIndex'](_0x44f91f=>_0x44f91f['index']==_0x2a54e5),_0x4b666a='next'==_0xdfd6ed?0x1:-0x1;let _0x3fd563=_0x44180f['at']((_0x3f368f+_0x4b666a)%_0x44180f['length'])['index'],_0x2517dd=_0x44180f[_0x3fd563];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x40146e,_0x584922,_0x2517dd);){if(_0x3fd563=_0x44180f['at']((_0x3fd563+_0x4b666a)%_0x44180f['length'])['index'],_0x3fd563===_0x3f368f)return null;_0x2517dd=_0x44180f[_0x3fd563];}return _0x3fd563;}['_getUserPresentableContentPartDocumentRange'](_0x372fdb,_0x2516fb,_0x398fa0){const _0x53e5c9=_0x2516fb['changeGroups'];if(!_0x398fa0['hasChanges'])return null;const _0x4d9900=_0x53e5c9['find'](_0x35de79=>_0x35de79['index']==_0x398fa0['index']);if('pending'!==_0x4d9900?.['state'])return null;const _0xaa0d44=this['_getDocumentRangeForReplyChanges'](_0x372fdb,_0x398fa0['index']);if(!_0xaa0d44)return null;const {range:_0x180698,currentIndex:_0xaa1e0e}=_0xaa0d44;return'$graveyard'==_0x180698['root']['rootName']?(_0x2516fb['setChangeGroupState'](_0xaa1e0e,'outdated'),null):_0xaa0d44['range'];}['_getDocumentRangeForReplyChanges'](_0x5eebbc,_0x24a829){const _0x69e9e6=Md(this['context']),{reply:_0x4924cb,interaction:_0x1b4825}=this['getInteractionAndReplyById'](_0x5eebbc),_0xca4600=_0x4924cb['changeGroups']['filter'](_0x488137=>'pending'==_0x488137['state']),_0x45153a=_0xca4600['map'](_0x2fc8a9=>_0x4924cb['changeGroups']['indexOf'](_0x2fc8a9));void 0x0===_0x24a829&&(_0x24a829=_0x45153a[0x0]);const _0x3e4aeb=_0x45153a['indexOf'](_0x24a829);if(-0x1==_0x3e4aeb)return null;const _0x208f52=_0xca4600[_0x3e4aeb],_0x4b4066=new Document([]),_0x509206=new Document([]);for(const _0x33b210 of _0x208f52['changes'])if('removed'!=_0x33b210['type']&&_0x509206['children']['push'](_0x33b210['node']['cloneNode'](!0x0)),'new'!=_0x33b210['type']){const _0x3dad2c=Na(_0x30766a=>Ba(_0x30766a,'data-id')==_0x33b210['id'],_0x4924cb['documentContextContent'],!0x0);_0x4b4066['children']['push'](_0x3dad2c['cloneNode'](!0x0));}if(0x0==_0x4b4066['children']['length']){if(_0x208f52['changes'][0x0]['anchorId']){const _0x42909d=$a('data-id',_0x208f52['changes'][0x0]['anchorId'],_0x4924cb['documentContextContent']);_0x4b4066['children']['unshift'](_0x42909d['cloneNode'](!0x0)),_0x509206['children']['unshift'](_0x42909d['cloneNode'](!0x0)),_0x42909d['nextSibling']&&(_0x4b4066['children']['push'](_0x42909d['nextSibling']['cloneNode'](!0x0)),_0x509206['children']['push'](_0x42909d['nextSibling']['cloneNode'](!0x0)));}else{const _0x4a86a5=_0x4924cb['documentContextContent']['children'][0x0];if(!_0x4a86a5)return null;_0x4b4066['children']['push'](_0x4a86a5['cloneNode'](!0x0)),_0x509206['children']['push'](_0x4a86a5['cloneNode'](!0x0));}}const _0x416a55=_0x1b4825['getDocumentContext'](),_0x4eec02=_0x69e9e6['data']['parse'](_0x416a55['content']),_0x52460d=Qa(_0x4b4066),_0x315b1c=_0x69e9e6['data']['parse'](_0x52460d),_0x7eb8d0=_0x69e9e6['data']['parse'](_0x52460d),_0x11f399=_0x69e9e6['model']['createPositionAt'](_0x315b1c,0x0),_0x27f694=Qa(_0x509206),_0x4cba37={'anchor':_0x11f399,'markDeletions':!0x1},_0x1967e1=_0x69e9e6['plugins']['get'](DocumentCompare)['getDiff'](_0x52460d,_0x27f694,_0x4cba37)['getOperations']();if(!_0x1967e1['length'])return null;_0x69e9e6['model']['change'](_0x249846=>{for(const _0x16f9a8 of _0x1967e1)if('remove'==_0x16f9a8['type']){const _0x1c200d=_0x16f9a8['sourcePosition'],_0x7d61de=_0x16f9a8['howMany'],_0x40ec3a=new _0x194b32(_0x1c200d,_0x7d61de);_0x249846['batch']['addOperation'](_0x40ec3a),_0x69e9e6['model']['applyOperation'](_0x40ec3a);}else'marker'!==_0x16f9a8['type']&&(_0x16f9a8['baseVersion']=null,_0x16f9a8['isDocumentOperation']=!0x1,_0x249846['batch']['addOperation'](_0x16f9a8),_0x69e9e6['model']['applyOperation'](_0x16f9a8));});const _0x485384=vd(_0x69e9e6,_0x1967e1,_0x315b1c);Td(_0x69e9e6['model'],_0x485384);const _0x11ed12=_0x485384['getFirstRange']()['start']['path']['slice'](),_0x88bcac=_0x485384['getFirstRange']()['end']['path']['slice'](),_0x4ba62a=[];let _0x12479a=_0x315b1c,_0x4c15f2=_0x7eb8d0;for(let _0x5784eb=0x0;_0x5784eb<_0x88bcac['length'];_0x5784eb++){const _0x2db534=_0x12479a['maxOffset']-_0x88bcac[_0x5784eb];_0x4ba62a[_0x5784eb]=_0x4c15f2['maxOffset']-_0x2db534,_0x12479a=_0x12479a['getChildAtOffset'](_0x88bcac[_0x5784eb]),_0x4c15f2=_0x4c15f2['getChildAtOffset'](_0x4ba62a[_0x5784eb]);}const _0x2f8447=_0x69e9e6['model']['createRange'](_0x69e9e6['model']['createPositionFromPath'](_0x7eb8d0,_0x11ed12),_0x69e9e6['model']['createPositionFromPath'](_0x7eb8d0,_0x4ba62a)),_0x198c0d=_0x7eb8d0['getChild'](0x0)['getAttribute'](pd),_0x4dedf4=Array['from'](_0x4eec02['getChildren']())['find'](_0xef47bf=>_0xef47bf['getAttribute'](pd)==_0x198c0d)['getPath'](),_0x39d4cd=_0x2f8447['start']['path']['slice'](),_0x4bb374=_0x2f8447['end']['path']['slice']();_0x39d4cd[0x0]=_0x4dedf4[0x0]+_0x39d4cd[0x0],_0x4bb374[0x0]=_0x4dedf4[0x0]+_0x4bb374[0x0];let _0x4d531b=_0x69e9e6['model']['createRange'](_0x69e9e6['model']['createPositionFromPath'](_0x69e9e6['model']['document']['getRoot'](),_0x39d4cd),_0x69e9e6['model']['createPositionFromPath'](_0x69e9e6['model']['document']['getRoot'](),_0x4bb374));const _0x5223a8=_0x69e9e6['model']['document']['history']['getOperations'](_0x416a55['version']);for(const _0x21f25e of _0x5223a8)_0x4d531b=_0x41f7a7['_createFromRanges'](_0x4d531b['getTransformedByOperation'](_0x21f25e));return{'range':_0x4d531b,'currentIndex':_0x24a829};}['_integrateEditor'](_0x2f1599){if(!_0x2f1599['plugins']['has']('Undo'))return;const _0x1fa349=_0x2f1599['commands']['get']('undo'),_0x3273d6=_0x2f1599['commands']['get']('redo');this['listenTo'](_0x1fa349,'revert',(_0x438a93,_0x36b560,_0x5c1db6)=>{const _0x1a18fa=this['_batchToChanges']['get'](_0x36b560);if(!_0x1a18fa)return;const _0x37b723=this['activeConversation']['getInteraction'](_0x1a18fa['interactionId'])['getReply'](_0x1a18fa['replyId']);_0x1a18fa['indexes']['forEach'](_0xf0022c=>_0x37b723['setChangeGroupState'](_0xf0022c,'pending')),this['_batchToChanges']['delete'](_0x36b560),this['_batchToChanges']['set'](_0x5c1db6,_0x1a18fa);}),this['listenTo'](_0x3273d6,'revert',(_0x499f90,_0x533d1e,_0x4f5e34)=>{const _0x1ba8c3=this['_batchToChanges']['get'](_0x533d1e);if(!_0x1ba8c3)return;const _0xd90e15=this['activeConversation']['getInteraction'](_0x1ba8c3['interactionId'])['getReply'](_0x1ba8c3['replyId']);_0x1ba8c3['indexes']['forEach'](_0x471f12=>_0xd90e15['setChangeGroupState'](_0x471f12,'accepted')),this['_batchToChanges']['delete'](_0x533d1e),this['_batchToChanges']['set'](_0x4f5e34,_0x1ba8c3);});}async['loadConversation'](_0x630c0e){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](AITabs)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x630c0e)['getConversation'](),await this['_startConversationSafely'](_0x630c0e),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x630c0e,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x4c2424){this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x630c0e}),this['_logError'](new _0x1976e8('ai-chat-conversation-not-found',this,{'error':_0x4c2424}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x128691=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x1c570d=await _0x128691['getConversations']();return _0x1c570d['length']?_0x1c570d[0x0]['id']:'new';}catch(_0x45c8ec){return this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x288d30()}),this['_logError'](new _0x1976e8('ai-chat-conversation-init-failed',this,{'error':_0x45c8ec})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x42a431){this['activeConversation']['id']===_0x42a431&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](ho(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x2733c8=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x2733c8),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x22935b,attributes:_0x16e5da}){await this['_handleUIUserMessage']({'userMessage':_0x22935b,'attributes':_0x16e5da});}['getGroupId'](){const _0x53549f=this['context']['config']['get']('collaboration.channelId');if(!_0x53549f)throw new _0x1976e8('ai-chat-missing-channel-id',this);return _0x53549f;}async['_startConversationSafely'](_0x409f8e){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x409f8e);}catch(_0x2fb1a7){this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x409f8e||_0x288d30()}),console['error'](_0x2fb1a7),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0xcb18af){let _0x3a7f0f;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0xcb18af||!this['activeConversation']?_0x3a7f0f=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x3a7f0f=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x4414e3=this['getGroupId'](),_0x2f54ed=_0xcb18af||_0x288d30();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x3a7f0f,'conversationId':_0x2f54ed,'group':_0x4414e3,'getEditor':()=>Md(this['context']),'isFromHistory':!!_0xcb18af}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x152480,_0x26684f)=>{this['_aiChatUi']['createConversation'](_0x26684f),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0xcb18af||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x5bccfa,_0x188a80)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x188a80['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x53a9b7,_0x2ca8f6)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x2ca8f6);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x1e775f=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x1e775f);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x1b5119=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x1b5119);}),this['activeConversation']['on']('webSearchFinished',(_0x2d1125,_0x136767)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x136767,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x5923b1,_0x32b765)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x32b765,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x56c5bd,_0x2c41d2)=>{this['_aiChatUi']['removeFeedInteraction'](_0x2c41d2['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x5ebc46,_0x5526cc,_0x4b69a8)=>{this['updateConversationTitle'](_0x5526cc,_0x4b69a8);}),this['activeConversation']['on']('replyCreated',(_0xf8cbfa,_0x13f5c2)=>{'text'===_0x13f5c2['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x13f5c2):this['_aiChatUi']['addFeedItemAISuggestion'](_0x13f5c2);}),this['activeConversation']['on']('replyContentUpdated',async(_0x157a7c,_0x893299)=>{await this['_updateReplyContent']({'reply':_0x893299});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x3ff843,{reply:_0x102d67,index:_0x34a711,state:_0x28ad20})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x102d67['id'],'index':_0x34a711,'state':_0x28ad20}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x102d67['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x34a711&&this['_aiChatBalloon']?.['setState'](_0x28ad20);}),this['activeConversation']['on']('contextItemAdded',(_0x416179,_0x305249)=>{if(this['_aiChatUi']['addContextItem'](_0x305249['contextItem'],_0x305249['isLoading']),'selection'===_0x305249['contextItem']['type']){const _0x1037b8=[...Md(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x1037b8,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x507cc9,_0x871a21)=>{this['_aiChatUi']['removeContextItem'](_0x871a21['uiId']),'current-document'==_0x871a21['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x871a21['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x447208,_0x358c17)=>{this['_aiChatUi']['setContextItemLoading'](_0x358c17['contextItem']['uiId'],_0x358c17['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x58e4dd,_0x22cb3c)=>{this['_aiChatUi']['setConversationContext'](_0x22cb3c['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x350843,_0xd0a30d)=>{this['_aiChatUi']['setAddContextOptions'](_0xd0a30d['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x104d0e,_0x33cab7)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x33cab7['sourceId'],_0x33cab7['source'],_0x33cab7['resources'],_0x33cab7['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x28d4df,_0x242201)=>{this['_aiChatUi']['updateResourceState'](_0x242201['sourceId'],_0x242201['resourceId'],_0x242201['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x5aa019,_0x327e74)=>{this['_aiChatUi']['updateCapabilities'](_0x327e74);}),this['activeConversation']['on']('modelSelected',async(_0x1a15df,_0x37eab4)=>{const _0x921bd0=(await this['_aiChatModels']['getAll']())['find'](_0x59f764=>_0x59f764['id']===_0x37eab4['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x921bd0,_0x37eab4['isDisabled']);}),this['activeConversation']['on']('error',(_0x23f8e3,{error:_0x4e0c2a,interactionId:_0x153b4b,fileName:_0x446d13,url:_0x5db9ff,sourceId:_0x1729a2,sourceLabel:_0x27fb6d})=>{const _0x4ff98d=_0x153b4b?_0x153b4b+':'+_0x288d30():_0x288d30();_0x4e0c2a['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':ho(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x4ff98d}):_0x4e0c2a['message']['startsWith']('ai-chat-conversation-init-failed')||_0x4e0c2a['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x446d13),'id':_0x4ff98d}):_0x4e0c2a['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x5db9ff),'id':_0x4ff98d}):_0x4e0c2a['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x4ff98d}):_0x4e0c2a['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x4ff98d}):_0x4e0c2a['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x1729a2&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x1729a2),this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x27fb6d||'source'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):_0x4e0c2a['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x4ff98d}),this['_logError'](_0x4e0c2a));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0xcb18af||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x251761,attributes:_0x3ae9da}){if(!this['activeConversation'])throw new _0x1976e8('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x19272d=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x19272d);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x251761,'attributes':_0x3ae9da});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0xdd69e3){this['_aiChatUi']['setIsMaximized'](_0xdd69e3);}['_logError'](_0x2aa0c1){_0x74de25(_0x2aa0c1['message']);}['_removeFromContext'](_0x2a765a){this['activeConversation']?.['removeFromContext'](_0x2a765a);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x8bcf0d){const [_0x547729,_0x43fc05]=_0x8bcf0d['split'](':'),_0x5c2626=this['activeConversation']['getInteraction'](_0x547729),_0x1b7ee0=_0x5c2626['getReply'](_0x43fc05);return{'interaction':_0x5c2626,'reply':_0x1b7ee0};}['_scrollToSuggestionRange'](_0x18e96d,_0x33cb70=!0x1){const _0x57f35d=Md(this['context']),_0x2064ca={'target':_0x57f35d['editing']['view']['domConverter']['viewRangeToDom'](_0x57f35d['editing']['mapper']['toViewRange'](_0x18e96d)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x33cb70};_0x33cb70&&(_0x2064ca['alignToTop']=!0x0),_0xe93d68(_0x2064ca);}['updateConversationTitle'](_0x2a80d5,_0x5e085f=!0x1){this['_aiChatUi']['setConversationTitle'](_0x2a80d5||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x5e085f);}async['_updateReplyContent']({reply:_0x459ccc,renderingStrategy:_0x511edf}){const {id:_0x2acb21,interactionId:_0xdfc36c,isDone:_0x4036e5,type:_0x50fa7f,parsedContent:_0x34e13f}=_0x459ccc,_0x3bbcad=_0xdfc36c+':'+_0x2acb21;if('modification'===_0x50fa7f){const _0x5da700=_0x459ccc['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x3bbcad,'parts':_0x5da700,'renderingStrategy':_0x511edf,'isDone':_0x4036e5});}else'text'===_0x50fa7f&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x3bbcad,'parsedContent':_0x34e13f,'renderingStrategy':_0x511edf,'isDone':_0x4036e5});_0x4036e5&&_0x459ccc['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x3bbcad,_0x459ccc['sources']);}async['_stopLastInteraction'](){const _0x4816c8=this['activeConversation']?.['lastInteraction'];_0x4816c8&&(_0x4816c8['stop'](),this['_aiChatUi']['stopInteraction'](_0x4816c8));}async['_flushLastInteractionUI'](){const _0x1e24a4=this['activeConversation']?.['lastInteraction'];if(_0x1e24a4){for await(const _0x50371b of _0x1e24a4['replies'])await this['_updateReplyContent']({'reply':_0x50371b,'renderingStrategy':'static'});}}['_updateRatings'](_0x4b8ebd){const _0x587e12={'positiveCount':_0x4b8ebd['changeGroups']['filter'](_0x212c88=>'accepted'===_0x212c88['state'])['length'],'totalCount':_0x4b8ebd['changeGroups']['length'],'modificationId':_0x4b8ebd['id']},_0x27a8d8=this['activeConversation']['getInteraction'](_0x4b8ebd['interactionId'])['messageId'];_0x27a8d8&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x27a8d8,_0x587e12);}['_registerToolDataCallback'](_0x354b89){let _0x39fec9=null,_0x663dd8=null;this['on']('toolDataReceived',(_0x289a03,_0x55c6f2,_0x450256)=>{_0x450256['id']!==_0x39fec9&&(_0x39fec9=_0x450256['id'],_0x663dd8=this['_getAIChatInteractionAPI'](_0x450256)),_0x354b89(_0x55c6f2,_0x663dd8);});}['_getAIChatInteractionAPI'](_0x68408){const _0x2a33c8=this['_aiChatUi'],_0x412428=()=>{_0x68408['resetWebSearchState'](),_0x68408['resetReasoningState'](),_0x2a33c8['clearLoadingMessage']();},_0x535065=()=>{_0x68408['currentReply']&&(_0x68408['currentReply']['done'](),_0x68408['currentReply']=void 0x0);};return{'insertTextReply':(_0x337c5c,_0x1c9946)=>{_0x535065(),_0x412428();const _0x1a02ff=_0x68408['currentReply']=_0x68408['createReply']({'type':'text','interactionId':_0x68408['id'],'content':_0x337c5c,'id':_0x1c9946||_0x288d30()});return _0x535065(),_0x1a02ff;},'insertCustomElement':async(_0x4bd17f,_0x5e6006)=>(_0x535065(),_0x412428(),_0x2a33c8['addFeedItemCustomElement'](_0x4bd17f,_0x5e6006||_0x288d30())),'setLoadingMessage':_0x788199=>{_0x2a33c8['setLoadingMessage'](_0x788199);},'clearLoadingMessage':()=>{_0x2a33c8['clearLoadingMessage']();}};}}const Dd='ai-selection';class AIEditing extends _0x90c2d8{constructor(_0xfc46a6){super(_0xfc46a6),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 _0x4835a8=Md(this['context']),_0x524a67=_0x4835a8['plugins']['has']('RealTimeCollaborationClient')&&_0x4835a8['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x524a67||_0x288d30();}return this['_sessionId'];}async['getDocumentData'](){const _0x39c498=Md(this['context']),_0x438ff8=_0x39c498['model'],_0x1ec408=_0x39c498['data']['toView'](_0x438ff8['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0xeee70a=new _0x21b52e(_0x39c498['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x1ec408,_0xeee70a);let _0x2694ab=await this['_getDocumentDataStringFromView'](_0x1ec408);const _0x9dd252=this['_getMarkersInDocumentOrder'](),_0x5108a4=[];for(const _0x4d0e1f of _0x9dd252){const _0x57d1b8='<'+_0x4d0e1f['name']+':start></'+_0x4d0e1f['name']+':start>',_0x1f8fcf=_0x2694ab['indexOf'](_0x57d1b8);_0x2694ab=_0x2694ab['substring'](0x0,_0x1f8fcf)+_0x2694ab['substring'](_0x1f8fcf+_0x57d1b8['length']);const _0x48bd99='<'+_0x4d0e1f['name']+':end></'+_0x4d0e1f['name']+':end>',_0x1344ef=_0x2694ab['indexOf'](_0x48bd99);_0x2694ab=_0x2694ab['substring'](0x0,_0x1344ef)+_0x2694ab['substring'](_0x1344ef+_0x48bd99['length']),_0x5108a4['push']({'markerName':_0x4d0e1f['name'],'start':_0x1f8fcf,'end':_0x1344ef,'htmlFragment':_0x2694ab['substring'](_0x1f8fcf,_0x1344ef)});}return{'content':_0x2694ab,'version':_0x39c498['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x5108a4};}async['afterInit'](){this['context']instanceof _0x2f9368?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3c8031,_0x26d0f0)=>{_0x26d0f0['on']('ready',()=>{this['_integrateEditor'](_0x26d0f0);});});}['_setOutputDataProcessor'](_0x2ca0f5){this['_outputDataProcessor']=_0x2ca0f5;}async['_getDocumentDataStringFromView'](_0x158e2e){let _0x474221;const _0x1801f6=Md(this['context']);if(this['_outputDataProcessor']){const _0x49f3ea=_0x1801f6['data']['processor']['domConverter']['viewToDom'](_0x158e2e),_0x44f655=await this['_outputDataProcessor'](_0x49f3ea);_0x474221=_0x1801f6['data']['processor']['htmlWriter']['getHtml'](_0x44f655);}else _0x474221=_0x1801f6['data']['processor']['toData'](_0x158e2e);return _0x474221;}['_integrateEditor'](_0x34bf9d){_0x34bf9d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Dd,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x34bf9d['conversion']['for']('dataDowncast')['markerToElement']({'model':Dd,'view':(_0x5955c9,{writer:_0x513f01,options:_0x16ad77})=>_0x16ad77['convertAiChatSelectionMarker']?_0x513f01['createUIElement'](_0x5955c9['markerName']+':'+(_0x5955c9['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x7c8921,_0x859288,_0x54801b=!0x1,_0x3c381a=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x3c381a)return!0x1;const _0x2b7572=Md(this['context'])['model'];return _0x2b7572['change'](_0xfc562a=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x859288,this['_displayedFakeSelectionLocked']=_0x54801b;let _0x480f0a=0x0;for(let _0x5e4c0d of _0x7c8921){const _0x15adc7=Dd+':'+_0x480f0a;if(_0x5e4c0d['start']['isAtEnd']){const _0xe9cb23=_0x5e4c0d['start']['getLastMatchingPosition'](({item:_0x423903})=>!_0x2b7572['schema']['isContent'](_0x423903),{'boundaries':_0x5e4c0d});_0x5e4c0d=_0xfc562a['createRange'](_0xe9cb23,_0x5e4c0d['end']);}_0xfc562a['addMarker'](_0x15adc7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e4c0d}),_0x480f0a++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x3df4ab){if(this['_displayedFakeSelectionId']!=_0x3df4ab)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x56a756=Md(this['context']),_0x3960cc=_0x56a756['model']['markers']['getMarkersGroup'](Dd);return _0x56a756['model']['change'](_0x21fc95=>{for(const _0x5d0f3c of _0x3960cc)_0x21fc95['removeMarker'](_0x5d0f3c);}),!0x0;}async['modelToDataWithIds'](_0x35d8a9){const _0x5ef5f8=Md(this['context']),_0x9ecefc=_0x5ef5f8['data']['toView'](_0x35d8a9),_0x28d808=new _0x21b52e(_0x5ef5f8['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x9ecefc,_0x28d808),this['_getDocumentDataStringFromView'](_0x9ecefc);}['_setDataIdsOnChildren'](_0x1e215b,_0x17ab53){let _0x2cecf8=!0x1;const _0x19366e=new Set();for(const _0x1234c7 of _0x1e215b['getChildren']()){const _0x5facc1=_0x1234c7['is']('emptyElement')||_0x1234c7['is']('containerElement');if(!_0x1234c7['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x1234c7,_0x17ab53)||_0x5facc1)&&(_0x17ab53['setAttribute']('data-id',this['_nextDataId'](_0x19366e),_0x1234c7),_0x2cecf8=!0x0);}return _0x2cecf8;}['_nextDataId'](_0x3ed357){let _0x56d7f9;do{_0x56d7f9='';for(let _0x49cbc3=0x0;_0x49cbc3<0x4;_0x49cbc3++)_0x56d7f9+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x3ed357['has'](_0x56d7f9));return _0x3ed357['add'](_0x56d7f9),_0x56d7f9;}['getSelectionText'](){const {model:_0x32e5e6}=Md(this['context']),_0x3ba1f3=_0x32e5e6['document']['selection'],_0x4cbc34=[];for(const _0x520391 of _0x3ba1f3['getRanges']())for(const _0x138d3f of _0x520391['getItems']())_0x138d3f['is']('$textProxy')?_0x4cbc34['push'](_0x138d3f['data']):_0x138d3f['is']('element')&&_0x4cbc34['length']>0x0&&'\x20'!==_0x4cbc34[_0x4cbc34['length']-0x1]&&_0x4cbc34['push']('\x20');return _0x4cbc34['length']?'\x22'+_0x4cbc34['join']('')['trim']()+'\x22':ho(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x279129=Md(this['context'])['model'];return Array['from'](_0x279129['markers']['getMarkersGroup'](Dd))['sort']((_0x20e02a,_0x12a8b4)=>_0x20e02a['getStart']()['isBefore'](_0x12a8b4['getStart']())?-0x1:_0x20e02a['getStart']()['isAfter'](_0x12a8b4['getStart']())?0x1:0x0);}}const Qd=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],$d=[...Qd,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var Vd,Ud='undefined'==typeof document?void 0x0:document,Bd=!!Ud&&'content'in Ud['createElement']('template'),Fd=!!Ud&&Ud['createRange']&&'createContextualFragment'in Ud['createRange']();function jd(_0x585390){return _0x585390=_0x585390['trim'](),Bd?function(_0x23fa18){var _0x1b7d34=Ud['createElement']('template');return _0x1b7d34['innerHTML']=_0x23fa18,_0x1b7d34['content']['childNodes'][0x0];}(_0x585390):Fd?function(_0x5e745a){return Vd||(Vd=Ud['createRange']())['selectNode'](Ud['body']),Vd['createContextualFragment'](_0x5e745a)['childNodes'][0x0];}(_0x585390):function(_0x4fe854){var _0x1cc739=Ud['createElement']('body');return _0x1cc739['innerHTML']=_0x4fe854,_0x1cc739['childNodes'][0x0];}(_0x585390);}function Hd(_0x5c8465,_0xb6e93b){var _0x13ccae,_0xc066a5,_0x4fd55f=_0x5c8465['nodeName'],_0x3ed808=_0xb6e93b['nodeName'];return _0x4fd55f===_0x3ed808||(_0x13ccae=_0x4fd55f['charCodeAt'](0x0),_0xc066a5=_0x3ed808['charCodeAt'](0x0),_0x13ccae<=0x5a&&_0xc066a5>=0x61?_0x4fd55f===_0x3ed808['toUpperCase']():_0xc066a5<=0x5a&&_0x13ccae>=0x61&&_0x3ed808===_0x4fd55f['toUpperCase']());}function Gd(_0x48ecc8,_0x27ae55,_0x4e7651){_0x48ecc8[_0x4e7651]!==_0x27ae55[_0x4e7651]&&(_0x48ecc8[_0x4e7651]=_0x27ae55[_0x4e7651],_0x48ecc8[_0x4e7651]?_0x48ecc8['setAttribute'](_0x4e7651,''):_0x48ecc8['removeAttribute'](_0x4e7651));}var Zd={'OPTION':function(_0x1e7310,_0x3dd46f){var _0x3aecf8=_0x1e7310['parentNode'];if(_0x3aecf8){var _0x660f8=_0x3aecf8['nodeName']['toUpperCase']();'OPTGROUP'===_0x660f8&&(_0x660f8=(_0x3aecf8=_0x3aecf8['parentNode'])&&_0x3aecf8['nodeName']['toUpperCase']()),'SELECT'!==_0x660f8||_0x3aecf8['hasAttribute']('multiple')||(_0x1e7310['hasAttribute']('selected')&&!_0x3dd46f['selected']&&(_0x1e7310['setAttribute']('selected','selected'),_0x1e7310['removeAttribute']('selected')),_0x3aecf8['selectedIndex']=-0x1);}Gd(_0x1e7310,_0x3dd46f,'selected');},'INPUT':function(_0x3018a8,_0x19fe11){Gd(_0x3018a8,_0x19fe11,'checked'),Gd(_0x3018a8,_0x19fe11,'disabled'),_0x3018a8['value']!==_0x19fe11['value']&&(_0x3018a8['value']=_0x19fe11['value']),_0x19fe11['hasAttribute']('value')||_0x3018a8['removeAttribute']('value');},'TEXTAREA':function(_0x2f7c92,_0x514090){var _0xe47f7=_0x514090['value'];_0x2f7c92['value']!==_0xe47f7&&(_0x2f7c92['value']=_0xe47f7);var _0x21d477=_0x2f7c92['firstChild'];if(_0x21d477){var _0x57eeb0=_0x21d477['nodeValue'];if(_0x57eeb0==_0xe47f7||!_0xe47f7&&_0x57eeb0==_0x2f7c92['placeholder'])return;_0x21d477['nodeValue']=_0xe47f7;}},'SELECT':function(_0x5c6325,_0x50ec28){if(!_0x50ec28['hasAttribute']('multiple')){for(var _0x55713f,_0x22026c,_0x55767e=-0x1,_0x43dcd6=0x0,_0x6d61aa=_0x5c6325['firstChild'];_0x6d61aa;)if('OPTGROUP'===(_0x22026c=_0x6d61aa['nodeName']&&_0x6d61aa['nodeName']['toUpperCase']()))(_0x6d61aa=(_0x55713f=_0x6d61aa)['firstChild'])||(_0x6d61aa=_0x55713f['nextSibling'],_0x55713f=null);else{if('OPTION'===_0x22026c){if(_0x6d61aa['hasAttribute']('selected')){_0x55767e=_0x43dcd6;break;}_0x43dcd6++;}!(_0x6d61aa=_0x6d61aa['nextSibling'])&&_0x55713f&&(_0x6d61aa=_0x55713f['nextSibling'],_0x55713f=null);}_0x5c6325['selectedIndex']=_0x55767e;}}};function Xd(){}function qd(_0x4b21ba){if(_0x4b21ba)return _0x4b21ba['getAttribute']&&_0x4b21ba['getAttribute']('id')||_0x4b21ba['id'];}var Wd=function(_0x77c9a){return function(_0x17cca7,_0x6e5292,_0x5519ab){if(_0x5519ab||(_0x5519ab={}),'string'==typeof _0x6e5292){if('#document'===_0x17cca7['nodeName']||'HTML'===_0x17cca7['nodeName']||'BODY'===_0x17cca7['nodeName']){var _0x34d0c6=_0x6e5292;(_0x6e5292=Ud['createElement']('html'))['innerHTML']=_0x34d0c6;}else _0x6e5292=jd(_0x6e5292);}else 0xb===_0x6e5292['nodeType']&&(_0x6e5292=_0x6e5292['firstElementChild']);var _0x4d12b9=_0x5519ab['getNodeKey']||qd,_0x470338=_0x5519ab['onBeforeNodeAdded']||Xd,_0x55aa1c=_0x5519ab['onNodeAdded']||Xd,_0x4b9fc7=_0x5519ab['onBeforeElUpdated']||Xd,_0x477259=_0x5519ab['onElUpdated']||Xd,_0x37f942=_0x5519ab['onBeforeNodeDiscarded']||Xd,_0x521e27=_0x5519ab['onNodeDiscarded']||Xd,_0x41a9d2=_0x5519ab['onBeforeElChildrenUpdated']||Xd,_0x2e3bbd=_0x5519ab['skipFromChildren']||Xd,_0x19d630=_0x5519ab['addChild']||function(_0x326a14,_0x2203ea){return _0x326a14['appendChild'](_0x2203ea);},_0x4ea282=!0x0===_0x5519ab['childrenOnly'],_0x46b283=Object['create'](null),_0x573718=[];function _0x5186dc(_0x8d8864){_0x573718['push'](_0x8d8864);}function _0x1b6b3e(_0x251210,_0xaf5bd8){if(0x1===_0x251210['nodeType'])for(var _0x210f0b=_0x251210['firstChild'];_0x210f0b;){var _0x246aa1=void 0x0;_0xaf5bd8&&(_0x246aa1=_0x4d12b9(_0x210f0b))?_0x5186dc(_0x246aa1):(_0x521e27(_0x210f0b),_0x210f0b['firstChild']&&_0x1b6b3e(_0x210f0b,_0xaf5bd8)),_0x210f0b=_0x210f0b['nextSibling'];}}function _0x354ab9(_0x4cadb7,_0x21e761,_0x23bb4a){!0x1!==_0x37f942(_0x4cadb7)&&(_0x21e761&&_0x21e761['removeChild'](_0x4cadb7),_0x521e27(_0x4cadb7),_0x1b6b3e(_0x4cadb7,_0x23bb4a));}function _0x47861c(_0x3f0666){if(0x1===_0x3f0666['nodeType']||0xb===_0x3f0666['nodeType'])for(var _0x5e77cc=_0x3f0666['firstChild'];_0x5e77cc;){var _0x45ba86=_0x4d12b9(_0x5e77cc);_0x45ba86&&(_0x46b283[_0x45ba86]=_0x5e77cc),_0x47861c(_0x5e77cc),_0x5e77cc=_0x5e77cc['nextSibling'];}}function _0x420a6f(_0x333909){_0x55aa1c(_0x333909);for(var _0x488d56=_0x333909['firstChild'];_0x488d56;){var _0x29eb51=_0x488d56['nextSibling'],_0x5807b7=_0x4d12b9(_0x488d56);if(_0x5807b7){var _0x29325b=_0x46b283[_0x5807b7];_0x29325b&&Hd(_0x488d56,_0x29325b)?(_0x488d56['parentNode']['replaceChild'](_0x29325b,_0x488d56),_0x1f303e(_0x29325b,_0x488d56)):_0x420a6f(_0x488d56);}else _0x420a6f(_0x488d56);_0x488d56=_0x29eb51;}}function _0x1f303e(_0x170f9e,_0x533888,_0x4d9771){var _0x329de5=_0x4d12b9(_0x533888);if(_0x329de5&&delete _0x46b283[_0x329de5],!_0x4d9771){var _0x5752d7=_0x4b9fc7(_0x170f9e,_0x533888);if(!0x1===_0x5752d7)return;if(_0x5752d7 instanceof HTMLElement&&_0x47861c(_0x170f9e=_0x5752d7),_0x77c9a(_0x170f9e,_0x533888),_0x477259(_0x170f9e),!0x1===_0x41a9d2(_0x170f9e,_0x533888))return;}'TEXTAREA'!==_0x170f9e['nodeName']?function(_0x48482e,_0x13c79f){var _0x3b19bc,_0x27b3e3,_0x182fed,_0x45c832,_0x41b0e0,_0x3d5d2a=_0x2e3bbd(_0x48482e,_0x13c79f),_0x419f16=_0x13c79f['firstChild'],_0x511337=_0x48482e['firstChild'];t:for(;_0x419f16;){for(_0x45c832=_0x419f16['nextSibling'],_0x3b19bc=_0x4d12b9(_0x419f16);!_0x3d5d2a&&_0x511337;){if(_0x182fed=_0x511337['nextSibling'],_0x419f16['isSameNode']&&_0x419f16['isSameNode'](_0x511337)){_0x419f16=_0x45c832,_0x511337=_0x182fed;continue t;}_0x27b3e3=_0x4d12b9(_0x511337);var _0x126f8f=_0x511337['nodeType'],_0xa7bd95=void 0x0;if(_0x126f8f===_0x419f16['nodeType']&&(0x1===_0x126f8f?(_0x3b19bc?_0x3b19bc!==_0x27b3e3&&((_0x41b0e0=_0x46b283[_0x3b19bc])?_0x182fed===_0x41b0e0?_0xa7bd95=!0x1:(_0x48482e['insertBefore'](_0x41b0e0,_0x511337),_0x27b3e3?_0x5186dc(_0x27b3e3):_0x354ab9(_0x511337,_0x48482e,!0x0),_0x27b3e3=_0x4d12b9(_0x511337=_0x41b0e0)):_0xa7bd95=!0x1):_0x27b3e3&&(_0xa7bd95=!0x1),(_0xa7bd95=!0x1!==_0xa7bd95&&Hd(_0x511337,_0x419f16))&&_0x1f303e(_0x511337,_0x419f16)):0x3!==_0x126f8f&&0x8!=_0x126f8f||(_0xa7bd95=!0x0,_0x511337['nodeValue']!==_0x419f16['nodeValue']&&(_0x511337['nodeValue']=_0x419f16['nodeValue']))),_0xa7bd95){_0x419f16=_0x45c832,_0x511337=_0x182fed;continue t;}_0x27b3e3?_0x5186dc(_0x27b3e3):_0x354ab9(_0x511337,_0x48482e,!0x0),_0x511337=_0x182fed;}if(_0x3b19bc&&(_0x41b0e0=_0x46b283[_0x3b19bc])&&Hd(_0x41b0e0,_0x419f16))_0x3d5d2a||_0x19d630(_0x48482e,_0x41b0e0),_0x1f303e(_0x41b0e0,_0x419f16);else{var _0x5eae40=_0x470338(_0x419f16);!0x1!==_0x5eae40&&(_0x5eae40&&(_0x419f16=_0x5eae40),_0x419f16['actualize']&&(_0x419f16=_0x419f16['actualize'](_0x48482e['ownerDocument']||Ud)),_0x19d630(_0x48482e,_0x419f16),_0x420a6f(_0x419f16));}_0x419f16=_0x45c832,_0x511337=_0x182fed;}!function(_0x5eedb3,_0x5367bb,_0x251402){for(;_0x5367bb;){var _0x5160cd=_0x5367bb['nextSibling'];(_0x251402=_0x4d12b9(_0x5367bb))?_0x5186dc(_0x251402):_0x354ab9(_0x5367bb,_0x5eedb3,!0x0),_0x5367bb=_0x5160cd;}}(_0x48482e,_0x511337,_0x27b3e3);var _0x3f800f=Zd[_0x48482e['nodeName']];_0x3f800f&&_0x3f800f(_0x48482e,_0x13c79f);}(_0x170f9e,_0x533888):Zd['TEXTAREA'](_0x170f9e,_0x533888);}_0x47861c(_0x17cca7);var _0x279c94=_0x17cca7,_0x5a9dae=_0x279c94['nodeType'],_0x15882b=_0x6e5292['nodeType'];if(!_0x4ea282){if(0x1===_0x5a9dae)0x1===_0x15882b?Hd(_0x17cca7,_0x6e5292)||(_0x521e27(_0x17cca7),_0x279c94=function(_0x4dfb5d,_0x58fa5f){for(var _0x4b9934=_0x4dfb5d['firstChild'];_0x4b9934;){var _0x2c8a65=_0x4b9934['nextSibling'];_0x58fa5f['appendChild'](_0x4b9934),_0x4b9934=_0x2c8a65;}return _0x58fa5f;}(_0x17cca7,function(_0x5ce02f,_0x2790bd){return _0x2790bd&&'http://www.w3.org/1999/xhtml'!==_0x2790bd?Ud['createElementNS'](_0x2790bd,_0x5ce02f):Ud['createElement'](_0x5ce02f);}(_0x6e5292['nodeName'],_0x6e5292['namespaceURI']))):_0x279c94=_0x6e5292;else{if(0x3===_0x5a9dae||0x8===_0x5a9dae){if(_0x15882b===_0x5a9dae)return _0x279c94['nodeValue']!==_0x6e5292['nodeValue']&&(_0x279c94['nodeValue']=_0x6e5292['nodeValue']),_0x279c94;_0x279c94=_0x6e5292;}}}if(_0x279c94===_0x6e5292)_0x521e27(_0x17cca7);else{if(_0x6e5292['isSameNode']&&_0x6e5292['isSameNode'](_0x279c94))return;if(_0x1f303e(_0x279c94,_0x6e5292,_0x4ea282),_0x573718)for(var _0x3d32b5=0x0,_0x2dd921=_0x573718['length'];_0x3d32b5<_0x2dd921;_0x3d32b5++){var _0x5743b9=_0x46b283[_0x573718[_0x3d32b5]];_0x5743b9&&_0x354ab9(_0x5743b9,_0x5743b9['parentNode'],!0x1);}}return!_0x4ea282&&_0x279c94!==_0x17cca7&&_0x17cca7['parentNode']&&(_0x279c94['actualize']&&(_0x279c94=_0x279c94['actualize'](_0x17cca7['ownerDocument']||Ud)),_0x17cca7['parentNode']['replaceChild'](_0x279c94,_0x17cca7)),_0x279c94;};}(function(_0x3e4949,_0x490690){var _0x5d2783,_0x3b0493,_0x5ecee2,_0x1a65b5,_0x496c0c=_0x490690['attributes'];if(0xb!==_0x490690['nodeType']&&0xb!==_0x3e4949['nodeType']){for(var _0x2bc85e=_0x496c0c['length']-0x1;_0x2bc85e>=0x0;_0x2bc85e--)_0x3b0493=(_0x5d2783=_0x496c0c[_0x2bc85e])['name'],_0x5ecee2=_0x5d2783['namespaceURI'],_0x1a65b5=_0x5d2783['value'],_0x5ecee2?(_0x3b0493=_0x5d2783['localName']||_0x3b0493,_0x3e4949['getAttributeNS'](_0x5ecee2,_0x3b0493)!==_0x1a65b5&&('xmlns'===_0x5d2783['prefix']&&(_0x3b0493=_0x5d2783['name']),_0x3e4949['setAttributeNS'](_0x5ecee2,_0x3b0493,_0x1a65b5))):_0x3e4949['getAttribute'](_0x3b0493)!==_0x1a65b5&&_0x3e4949['setAttribute'](_0x3b0493,_0x1a65b5);for(var _0x553b67=_0x3e4949['attributes'],_0x362d7e=_0x553b67['length']-0x1;_0x362d7e>=0x0;_0x362d7e--)_0x3b0493=(_0x5d2783=_0x553b67[_0x362d7e])['name'],(_0x5ecee2=_0x5d2783['namespaceURI'])?(_0x3b0493=_0x5d2783['localName']||_0x3b0493,_0x490690['hasAttributeNS'](_0x5ecee2,_0x3b0493)||_0x3e4949['removeAttributeNS'](_0x5ecee2,_0x3b0493)):_0x490690['hasAttribute'](_0x3b0493)||_0x3e4949['removeAttribute'](_0x3b0493);}});class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x1a1ef4){this['options']={'delay':_0x1a1ef4['delay']??0x14,'textNodeStyle':_0x1a1ef4['textNodeStyle'],'onStreamUpdate':_0x1a1ef4['onStreamUpdate']||(()=>{})};}async['stream']({document:_0xc49f36,targetElement:_0x2664fe,abortSignal:_0x16e204}){this['isStreaming']&&this['stop'](),_0x16e204?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=ca(_0xc49f36,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x3cb220=0x0;_0x3cb220<this['currentIndex'];_0x3cb220++)this['nodesList'][_0x3cb220]['shouldBeStreamed']=!0x0;do{const _0x16926c=Date['now'](),_0x55df4e=this['nodesList'][this['currentIndex']],_0x36b2f6=_0x16926c-this['lastUpdateTime'];if(_0x55df4e){_0x55df4e['shouldBeStreamed']=!0x0;let _0x299fbc=_0x55df4e['parent'];for(;_0x299fbc;)_0x299fbc['shouldBeStreamed']=!0x0,_0x299fbc=_0x299fbc['parent'];}if(_0x36b2f6<this['options']['delay'])try{const {promise:_0x436f5b,abortController:_0x5c5ed2}=Jd(this['options']['delay']-_0x36b2f6);this['timeoutAbortController']=_0x5c5ed2,await _0x436f5b;}catch(_0x58afba){return;}Wd(_0x2664fe,'<'+_0x2664fe['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x2664fe['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:_0x205143}){Array['from'](_0x205143['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x18cfae=>{_0x18cfae['replaceWith'](_0x18cfae['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x35af0b){let _0x4462af='';if(function(_0x20420c){return oa(_0x20420c);}(_0x35af0b)){for(const _0x1e3dc1 of _0x35af0b['children'])_0x4462af+=this['renderNode'](_0x1e3dc1);}else{if(Kd(_0x35af0b)){if(!_0x35af0b['shouldBeStreamed'])return'';const _0x118e74=_0x35af0b,_0x46b6cc=Object['entries'](_0x118e74['attribs'])['map'](([_0x3cae5d,_0xa5703b])=>_0x3cae5d+'=\x22'+_0xa5703b+'\x22')['join']('\x20');_0x4462af+='<'+_0x118e74['tagName']+(_0x46b6cc?'\x20'+_0x46b6cc:'')+'>';for(const _0x1178c2 of aa(_0x1baa3f=_0x118e74)?_0x1baa3f['children']:[])_0x4462af+=this['renderNode'](_0x1178c2);_0x4462af+='</'+_0x118e74['tagName']+'>';}else{if(!Yd(_0x35af0b))return'';if(!_0x35af0b['shouldBeStreamed'])return'';!function(_0x443495){if(!_0x443495['parent']||!Kd(_0x443495['parent']))return!0x1;if(!zd['includes'](_0x443495['parent']['tagName']))return!0x1;return!Ia(_0x443495)['match'](/^\s*[<>]\s*$/);}(_0x35af0b)?_0x4462af+=Ta(_0x35af0b):_0x4462af+=Ta(new ia('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x35af0b]));}}var _0x1baa3f;return _0x4462af;}['getParsedDocumentNodeList'](){const _0x2bf643=[];return function(_0x10fa3a,_0xfeddf2){const _0x1ebf4d=_0x7a09e4=>{if(_0xfeddf2(_0x7a09e4),_0x7a09e4 instanceof NodeWithChildren)for(let _0xe55a63=0x0;_0xe55a63<_0x7a09e4['children']['length'];_0xe55a63++){const _0x287a5e=_0x7a09e4['children'][_0xe55a63];_0x1ebf4d(_0x287a5e);}};for(let _0x474c47=0x0;_0x474c47<_0x10fa3a['children']['length'];_0x474c47++)_0x1ebf4d(_0x10fa3a['children'][_0x474c47]);}(this['document'],_0x4890e2=>{if(Yd(_0x4890e2)){const _0xfc777c=this['splitTextNodeIntoWordNodes'](_0x4890e2);_0xfc777c['length']&&_0x2bf643['push'](..._0xfc777c);}_0x4890e2['isWordSplitSource']||_0x4890e2['isWordSplitResult']||_0x2bf643['push'](_0x4890e2);}),_0x2bf643;}['splitTextNodeIntoWordNodes'](_0x44602b){if(_0x44602b['isWordSplitSource']||_0x44602b['isWordSplitResult'])return[];const _0x5f24f2=Ia(_0x44602b)['match'](/(?:\s*\S+\s*)/g),_0x5887fd=[];if(_0x5f24f2&&_0x5f24f2['length']>0x1){for(const _0x4442a0 of _0x5f24f2){const _0x2d5722=new ta(_0x4442a0);_0x2d5722['isWordSplitResult']=!0x0,Ma(_0x44602b,_0x2d5722),_0x5887fd['push'](_0x2d5722);}_0x44602b['isWordSplitSource']=!0x0,ka(_0x44602b);}return _0x5887fd;}}const zd=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function Yd(_0x31cd42){return na(_0x31cd42);}function Kd(_0x1de9d0){return sa(_0x1de9d0);}function Jd(_0x412f1a){const _0x3e8888=new AbortController();return{'promise':new Promise((_0x537e26,_0x4a9173)=>{const _0xe14508=setTimeout(_0x537e26,_0x412f1a);_0x3e8888['signal']['addEventListener']('abort',()=>{clearTimeout(_0xe14508),_0x4a9173();});}),'abortController':_0x3e8888};}class AIChatFeedItemView extends _0x268b55{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x2a6479){super();const _0x20cb4f=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']=_0x2a6479,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x20cb4f['if']('isDone','ck-ai-chat__feed__item_done'),_0x20cb4f['if']('isVisible','ck-hidden',_0x367fb1=>!_0x367fb1),'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'](_0x22e471=>{_0x22e471['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0xbbfab0,_0xf27aaf,_0x5198aa){await this['htmlStreamer']['stream']({'document':_0xbbfab0,'targetElement':_0xf27aaf,'abortSignal':_0x5198aa});}}class AISuggestionHeaderView extends _0x268b55{['showChangesToggleView'];constructor(_0x500dff,_0x3da314){super(_0x500dff),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new ShowChangesToggleView(_0x500dff),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':ho(_0x500dff,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x3da314['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x4e2321=>_0x4e2321?_0x45bc94:_0xb69449),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x3b186c=new _0x2b9920();_0x3b186c['content']=_0x18cd8b,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x3da314['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x3b186c,{'tag':'span','children':[ho(_0x500dff,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class ShowChangesToggleView extends _0x13bcd9{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const tf={'accepted':_0x760a6a,'rejected':_0x2376d0,'outdated':_0x2376d0};class AISuggestionContentPartStateView extends _0x268b55{['stateIconView'];constructor(_0x497cfa){super(_0x497cfa);const _0x39a37f=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',_0x39a37f['to']('state',_0x4d3760=>'ck-ai-suggestion__content-part-state_'+_0x4d3760),_0x39a37f['if']('isVisible','ck-hidden',_0xef82af=>!_0xef82af)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x39a37f['to']('state',_0x177e61=>{switch(_0x177e61){case'accepted':return ho(_0x497cfa,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return ho(_0x497cfa,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return ho(_0x497cfa,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x4f634e){this['state']=_0x4f634e;}}class StateIconView extends _0x2b9920{constructor(){super(),this['set']('state','accepted'),this['content']=tf[this['state']],this['on']('change:state',()=>{this['content']=tf[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x2c1653{['_applyButton'];['_suggestButton'];constructor(_0xe1dc21,_0x3f44bf,_0x339c14){super(_0xe1dc21);const _0x138cde=Boolean(_0x339c14);this['set']('isEnabled',!_0x138cde),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x5ef508=[];if(_0x138cde){const _0x19cd69=new _0x13bcd9(_0xe1dc21);_0x19cd69['set']({'label':ho(_0xe1dc21,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x355e1c}),_0x5ef508['push'](_0x19cd69);}else{_0x3f44bf['includes']('applySuggestion')&&(this['_applyButton']=new _0x13bcd9(_0xe1dc21),this['_applyButton']['set']({'label':ho(_0xe1dc21,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x760a6a}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x5ef508['push'](this['_applyButton'])),_0x3f44bf['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x13bcd9(_0xe1dc21),this['_suggestButton']['set']({'label':ho(_0xe1dc21,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x568cef}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x5ef508['push'](this['_suggestButton']));const _0x5e952d=new _0x13bcd9(_0xe1dc21);_0x5e952d['set']({'label':ho(_0xe1dc21,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2376d0}),_0x5e952d['bind']('isEnabled')['to'](this),_0x5e952d['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x5ef508['push'](_0x5e952d);}this['items']['addMany'](_0x5ef508);const _0x5dad59=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x5dad59['if']('isVisible','ck-hidden',_0x24401c=>!_0x24401c)]}});}['setButtonsVisibility']({showApplyButton:_0x166d9e,showSuggestButton:_0x12f1b7}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x166d9e),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x12f1b7);}}class AISuggestionContentPartHeaderView extends _0x268b55{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x3f1a5d,{part:_0x22dab4,uiIndex:_0x6128b2,availableActions:_0x3966f2,areActionsDisabled:_0x477d81}){super(_0x3f1a5d),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x3f1a5d,_0x3966f2,_0x477d81),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x22dab4['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x22dab4['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x22dab4['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x3f1a5d),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x3f1a5d,_0x6128b2),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',(_0x1090a7,_0x4bbe24,_0x4f43df,_0x27c635)=>{'pending'===_0x27c635?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x4f43df?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x4f43df),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x268b55{constructor(_0x388068,_0x52d1bd){super(_0x388068),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[ho(_0x388068,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x52d1bd['toString']())]});}}class AISuggestionStreamableContentView extends _0x268b55{['htmlStreamer'];constructor(_0x575b35){super(_0x575b35),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:_0x1dd583,renderingStrategy:_0x1c71e9,abortSignal:_0x421ed7}){'streaming'===_0x1c71e9?await this['htmlStreamer']['stream']({'document':_0x1dd583['content'],'targetElement':this['element'],'abortSignal':_0x421ed7}):this['element']['innerHTML']=Qa(_0x1dd583['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0x268b55{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x1c9a5c,{part:_0x35ce38,uiIndex:_0x5c576b,areActionsDisabled:_0x577e56,availableActions:_0x1f1aae}){super(_0x1c9a5c);const _0x49ef82=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x468470=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x577e56;};this['on']('change:state',_0x468470),this['on']('change:isDone',_0x468470),_0x468470(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x1c9a5c,{'part':_0x35ce38,'uiIndex':_0x5c576b,'availableActions':_0x1f1aae,'areActionsDisabled':_0x577e56}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](...Qd)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x1c9a5c),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x49ef82['to']('state',_0x19a6fd=>'ck-ai-suggestion__body__content-part_'+_0x19a6fd),_0x49ef82['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x49ef82['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x49ef82['if']('isVisible','ck-hidden',_0x5daf88=>!_0x5daf88)]},'children':this['_children'],'on':{'mouseenter':_0x49ef82['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x35ce38['index']});}),'mouseleave':_0x49ef82['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x35ce38['index']});}),'click':_0x49ef82['to'](_0xd413ee=>{const _0x267db6=_0xd413ee['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x267db6)&&this['fire']('showChangeInText',{'index':_0x35ce38['index']});})}});}async['updateContent']({part:_0x249156,renderingStrategy:_0x5bb73e,showUnchangedParts:_0x26bddc=!0x1,abortSignal:_0xc16014}){this['partDefinition']=_0x249156,this['isVisible']=this['partDefinition']['hasChanges']||_0x26bddc,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x249156,'renderingStrategy':_0x5bb73e,'abortSignal':_0xc16014});}['markAsDone'](){this['isDone']=!0x0;}}class PromiseQueue extends _0x5544ae(){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x5dc255){const _0x23764e=this['createTask'](_0x5dc255);return this['queue']['push'](_0x23764e),this['_processQueue'](),_0x23764e['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(_0x18cf71=>{this['once']('_queueEmpty',()=>{_0x18cf71();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x456db4=this['queue']['shift']();try{await _0x456db4['callback'](this['_abortController']['signal']),_0x456db4['resolve']();}catch(_0x465b34){_0x456db4['reject'](_0x465b34);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x30a4e3){let _0x5e8c33,_0x4d3ab3;const _0x5a2b39=new Promise((_0x1ccaec,_0x393236)=>{_0x5e8c33=_0x1ccaec,_0x4d3ab3=_0x393236;});return{'callback':_0x30a4e3,'resolve':_0x5e8c33,'reject':_0x4d3ab3,'completePromise':_0x5a2b39};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x2bcea4){super(_0x2bcea4),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x2bcea4['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x85e9b8){this['element']['innerHTML']=_0x85e9b8;}}const ef=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x268b55{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x48ed17,_0x59a1c3=[...ef],_0x354ad6){super(_0x48ed17);const _0xba6c60=this['bindTemplate'],_0x3745ce=Boolean(_0x354ad6);if(this['set']('isEnabled',!_0x3745ce),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x3745ce){const _0x5f4c17=new _0x13bcd9(_0x48ed17);_0x5f4c17['set']({'label':ho(_0x48ed17,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x355e1c});const _0x185ca4=new _0x268b55(_0x48ed17);_0x185ca4['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[ho(_0x48ed17,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x5f4c17]}]}),this['children']['add'](_0x185ca4);}else this['_applyChangesButton']=new _0x13bcd9(_0x48ed17),this['_applyChangesButton']['set']({'label':ho(_0x48ed17,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x59a1c3['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new _0x13bcd9(_0x48ed17),this['_insertSuggestionsButton']['set']({'label':ho(_0x48ed17,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x59a1c3['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'](_0x12e6ce=>{_0x12e6ce['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',_0xba6c60['if']('isVisible','ck-hidden',_0x3b74e7=>!_0x3b74e7)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x365ac8){this['isVisible']=_0x365ac8;}['_switchButtonLabelsPlurality'](_0x32619d){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x32619d?(this['_applyChangesButton']['label']=ho(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=ho(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=ho(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=ho(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class AIWebSourcesView extends _0x268b55{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x42371b,_0x48d5da){super(_0x42371b),this['bodyCollection']=_0x48d5da,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',_0x1d9f6e=>!_0x1d9f6e)]},'children':this['children']});const _0x2d4d25=new _0x268b55(this['locale']),_0x5882e9=new _0x2b9920();_0x5882e9['content']=_0x4fd4b1,_0x2d4d25['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x5882e9,{'tag':'span','children':[{'text':ho(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x2d4d25),this['_setupBalloonPanel'](_0x42371b);}['addSource'](_0x8c6668){this['children']['add'](new AIWebSourceView(this['locale'],_0x8c6668,this['balloonPanelView']));}['_setupBalloonPanel'](_0xfc05b0){this['balloonPanelView']=new ft(_0xfc05b0),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class AIWebSourceView extends _0x13bcd9{['balloonPanelView'];['source'];constructor(_0x11d235,_0x27df9b,_0x15a48c){super(_0x11d235),this['source']=_0x27df9b,this['balloonPanelView']=_0x15a48c,this['set']({'label':_0x27df9b['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x2d5e50=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x2d5e50['to'](()=>{window['open'](_0x27df9b['url'],'_blank');}),'mouseenter':_0x2d5e50['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x2d5e50['to'](()=>{this['_hideTooltip']();})}}),_0x27df9b['favicon']){const _0x2fb9d7=new _0x268b55(_0x11d235);_0x2fb9d7['setTemplate']({'tag':'img','attributes':{'src':_0x27df9b['favicon']||_0x4fd4b1,'alt':_0x27df9b['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x2fb9d7);}else this['set']('icon',_0x4fd4b1);}['_createTooltipContentView'](_0x280bb9,_0xa54875){const _0x10ebf7=new _0x268b55(_0x280bb9),_0x4fecd8=[];let _0x4bd523;_0xa54875?.['favicon']?(_0x4bd523=new _0x268b55(_0x280bb9),_0x4bd523['setTemplate']({'tag':'img','attributes':{'src':_0xa54875['favicon'],'alt':_0xa54875['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x4bd523=new _0x2b9920(),_0x4bd523['content']=_0x4fd4b1,_0x4bd523['extendTemplate']({'attributes':{'alt':_0xa54875['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x4fecd8['push'](_0x4bd523);const _0x37e80e=new _0x268b55(_0x280bb9);_0x37e80e['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0xa54875['url']},'children':[{'text':new URL(_0xa54875['url'])?.['hostname']}]}),_0x4fecd8['push'](_0x37e80e);const _0x33234e=new _0x268b55(_0x280bb9);_0x33234e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x4fecd8});const _0x1792b9=new _0x268b55(_0x280bb9);return _0x1792b9['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0xa54875['title']['length']>0x190?_0xa54875['title']['substring'](0x0,0x190)+'...':_0xa54875['title']}]}),_0x10ebf7['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x33234e,_0x1792b9]}),_0x10ebf7;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[ft['defaultPositions']['northArrowSouth'],ft['defaultPositions']['northArrowSouthWest'],ft['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 _0x405186=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x405186);}}class AISuggestionBodyView extends _0x268b55{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x102b30,_0x3902f2){super(_0x102b30);const {areActionsDisabled:_0x129e6f,showUnchangedParts:_0x4c6f25,availableActions:_0x239dff}=_0x3902f2;this['_areActionsDisabled']=_0x129e6f,this['_showUnchangedParts']=_0x4c6f25,this['_availableActions']=_0x239dff,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new PromiseQueue(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':ho(_0x102b30,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x102b30,_0x3902f2['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new AIWebSourcesView(this['locale'],_0x3902f2['bodyCollection']),_0x3902f2['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](...Qd)['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:_0xb5dc55,renderingStrategy:_0x3b23e7,abortSignal:_0x58aeb8}){this['_children']['length']?_0xb5dc55['forEach'](_0x4e72e9=>{const _0x5b5cff=this['_cachedContentParts']['findIndex'](_0x444583=>_0x444583['index']==_0x4e72e9['index']);-0x1===_0x5b5cff?this['_cachedContentParts']['push'](_0x4e72e9):this['_cachedContentParts'][_0x5b5cff]=_0x4e72e9;}):this['_cachedContentParts']=_0xb5dc55;const _0x3b685e=this['_showUnchangedParts']?_0xb5dc55:_0xb5dc55['filter'](_0x4672a3=>_0x4672a3['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x3b685e['length']>0x1);for(const _0x696b8d of _0x3b685e)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x5c69ea=>{let _0x3d5998=this['getPartView'](_0x696b8d['index']);_0x3d5998||(_0x3d5998=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x696b8d,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x3d5998['delegate'](...Qd)['to'](this),this['_children']['add'](_0x3d5998),this['hasPendingParts']=!0x0),await _0x3d5998['updateContent']({'part':_0x696b8d,'renderingStrategy':_0x3b23e7,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x5c69ea}),_0x3d5998['markAsDone']();});return _0x58aeb8?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x2b5169,_0x1a4c78){const _0x1573e3=this['getPartView'](_0x2b5169);_0x1573e3&&(_0x1573e3['state']=_0x1a4c78),this['hasPendingParts']='pending'==_0x1a4c78||Array['from'](this['_children'])['some'](_0x3caf1e=>'pending'==_0x3caf1e['state']);}['setPartActive'](_0x1946b4,_0x4a7d92){if(!0x1===_0x1946b4){for(const _0x1f4b0b of this['_children'])_0x1f4b0b['isActive']=!0x1;}else{const _0x5cbdfb=this['getPartView'](_0x1946b4);_0x5cbdfb&&(_0x5cbdfb['isActive']=_0x4a7d92);}}['updateSources'](_0x548fc0){_0x548fc0['forEach'](_0x22eb9e=>this['_sourcesView']['addSource'](_0x22eb9e)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x455b33){return this['_children']['find'](_0x5016da=>_0x5016da['partDefinition']['index']==_0x455b33)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0xa3ae96=!this['_cachedContentParts']['find'](({hasChanges:_0xab2c74})=>_0xab2c74),_0x2ab40f=!!this['_cachedContentParts']['find'](({hasChanges:_0x48fe11})=>!_0x48fe11);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x2ab40f,_0xa3ae96?this['_emptyPartsWarningView']['setContent'](ho(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](ho(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_children']['forEach'](_0x290fd3=>_0x290fd3['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x2c23da=>_0x2c23da['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x268b55{['bodyView'];['children'];['headerView'];constructor(_0x173535,_0x55e146,_0x32a35b){super(_0x173535);const {showDiff:_0x9ca1f0,areActionsDisabled:_0x2b5f7d,showUnchangedParts:_0x54ecd1,availableActions:_0x144a3b}=_0x55e146;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x173535,{'showDiff':_0x9ca1f0}),this['headerView']['on']('toggleShowChanges',(_0x34796b,_0x5870eb)=>{this['areChangesVisible']=_0x5870eb['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x5870eb['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x173535,{'areActionsDisabled':_0x2b5f7d,'showUnchangedParts':!!_0x54ecd1,'availableActions':_0x144a3b,'bodyCollection':_0x32a35b}),this['bodyView']['delegate'](...Qd)['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'](_0x349a0f){await this['bodyView']['updateContentParts'](_0x349a0f);}['updateSources'](_0x460171){this['bodyView']['updateSources'](_0x460171);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x17f396,_0x2dd21d,_0xc0f47e){super(_0x2dd21d),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x17f396,{'showDiff':_0x2dd21d['showDiff'],'areActionsDisabled':_0x2dd21d['areActionsDisabled'],'availableActions':_0x2dd21d['availableActions']},_0xc0f47e),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x1c13b8,_0xde0ca5)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0xde0ca5['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',(_0x30f680,{index:_0x5ceacc})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x5ceacc});}),this['containerView']['on']('applySuggestion',(_0x4275e3,{index:_0x24f077}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x24f077});}),this['containerView']['on']('insertSuggestion',(_0x524a4c,{index:_0x27c3d6}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x27c3d6});}),this['containerView']['on']('rejectSuggestion',(_0x37b4f1,{index:_0xc4c7fc})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0xc4c7fc});}),this['containerView']['on']('mouseOverSuggestion',(_0x9373f5,{index:_0x4ddc56})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4ddc56});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x383fd5,{index:_0x5a0327})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5a0327});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x4afc2e){await this['containerView']['updateContent'](_0x4afc2e);}['updatePartState'](_0x122081,_0x4c3b80){this['containerView']['bodyView']['updatePartState'](_0x122081,_0x4c3b80);}['setPartActive'](_0xc0da2b,_0x2172c1){!0x1===_0xc0da2b?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0xc0da2b,_0x2172c1);}['updateSources'](_0xeb784f){this['containerView']['updateSources'](_0xeb784f);}['getPartView'](_0x38b2cf){return this['containerView']['bodyView']['getPartView'](_0x38b2cf);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x315d4a,_0x5671a1,_0x38ea66){super(_0x5671a1),this['_bodyCollection']=_0x38ea66,this['locale']=_0x315d4a,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x268b55(),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':Da(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x14fab5,renderingStrategy:_0x14b3c0,abortSignal:_0x3ca634}){'streaming'===_0x14b3c0?await this['streamIntoElement'](_0x14fab5,this['replyContainer']['element'],_0x3ca634):this['replyContainer']['element']['innerHTML']=Ta(_0x14fab5);}['updateSources'](_0x21efb1){const _0x32ef87=new AIWebSourcesView(this['locale'],this['_bodyCollection']);_0x32ef87['children']['addMany'](_0x21efb1['map'](_0x3d0058=>new AIWebSourceView(this['locale'],_0x3d0058,_0x32ef87['balloonPanelView']))),_0x32ef87['isVisible']=!0x0,this['children']['add'](_0x32ef87);}}class AISpinnerView extends _0x513369{constructor(_0x166eae=void 0x0){super();const _0x8fe613=_0x166eae?'ck-ai-spinner_'+_0x166eae:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x8fe613]}});}}const sf={'file':_0x2b2bb8,'document':_0x470dc5,'web-resource':_0x1d13d1,'text':_0x2b2bb8,'selection':_0x4c8c62,'mcp-tool-context':_0x470dc5},nf='ck-ai-chat-context-chip',rf='ck-ai-chat-context-chip_wide',of='ck-ai-chat-context-chip_document',af='ck-ai-chat-context-chip__label',cf='ck-ai-chat-context-chip__type-icon',lf='ck-ai-chat-context-controls__chip-tooltip',hf='n';class AIChatContextItemButtonView extends _0x13bcd9{constructor(_0x4d4aab,_0x5c2e34,_0x2f5b29,_0xcd7793,_0x53a28a=!0x1){super(_0x4d4aab),this['_isAnimationOnEnterEnabled']=_0xcd7793,this['_initializeProperties'](_0x5c2e34,_0x2f5b29,_0x53a28a),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'](_0x17e28f,_0x98f286,_0x242fb3){this['set']('label',_0x17e28f['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x17e28f['type']),this['set']('id',_0x17e28f['uiId']),this['set']('readonly',_0x98f286),this['set']('isLoading',_0x242fb3);}['_setupTemplate'](){const _0x42f84f=this['_createIconView'](),_0x8292f0=this['_createRemoveButton'](),_0x3187b6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x3187b6),'children':this['_createTemplateChildren'](_0x42f84f,_0x8292f0,_0x3187b6)});}['_createTemplateAttributes'](_0x348608){return{'class':[nf,_0x348608['if']('itemType',of,_0x320d58=>'document'==_0x320d58),_0x348608['if']('itemType',rf,_0x3d008d=>'selection'==_0x3d008d)],'data-cke-tooltip-text':_0x348608['to']('label',uf),'data-cke-tooltip-position':hf,'data-cke-tooltip-class':lf};}['_createTemplateChildren'](_0x35680d,_0x5980e5,_0x3ace90){const _0x35a288=this['_createLabelElement'](_0x3ace90),_0x520089=this['_createLoaderIcon']();return this['readonly']?[_0x35680d,_0x35a288]:[_0x35680d,_0x520089,_0x35a288,_0x5980e5];}['_createLabelElement'](_0x2896fd){return{'tag':'span','attributes':{'class':af},'children':[{'text':_0x2896fd['to']('label')}]};}['_createRemoveButton'](){const _0x39df53=new _0x13bcd9(this['locale']);return _0x39df53['set']({'label':ho(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':tn}),this['_setupRemoveButtonEvent'](_0x39df53),_0x39df53;}['_setupRemoveButtonEvent'](_0x5e16b9){_0x5e16b9['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x12f153=this['bindTemplate'],_0x3637f1=new _0x2b9920();return _0x3637f1['content']=sf[this['itemType']],_0x3637f1['extendTemplate']({'attributes':{'class':[cf,_0x12f153['if']('isLoading','ck-hidden',_0xf1b995=>_0xf1b995)]}}),_0x3637f1;}['_handleAnimationEndOnce'](_0x12e87d,_0x2e1320){if(!_0x12e87d)return;const _0x226f65=()=>{_0x2e1320(),_0x12e87d['removeEventListener']('animationend',_0x226f65),_0x12e87d['removeEventListener']('webkitAnimationEnd',_0x226f65);};_0x12e87d['addEventListener']('animationend',_0x226f65),_0x12e87d['addEventListener']('webkitAnimationEnd',_0x226f65);}['_createLoaderIcon'](){const _0x5730af=new AISpinnerView('small');return _0x5730af['bind']('isVisible')['to'](this,'isLoading',_0x1651f4=>_0x1651f4),_0x5730af;}}function uf(_0x54ebc9){if(!_0x54ebc9)return _0x54ebc9;if(_0x54ebc9['length']<=0x78)return _0x54ebc9;const _0x3ddbe7=_0x54ebc9['slice'](0x0,0x78),_0x5ca23b=_0x3ddbe7['lastIndexOf']('\x20');return(_0x5ca23b>0x0?_0x3ddbe7['slice'](0x0,_0x5ca23b):_0x3ddbe7)+'…';}const df={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},ff='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0xf6b76e,_0x4c0a8a,_0xf092d9,_0x1995e2,_0x5bbf7d){this['_locale']=_0xf6b76e,this['_visibleChips']=_0x4c0a8a,this['_config']={...df,..._0xf092d9,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0xf092d9['cssClasses']}},this['_overflowChips']=new _0xe4e0d0(),this['_bodyCollection']=_0x1995e2,this['_parentView']=_0x5bbf7d||null;}['setContainerElement'](_0x4a03f4){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x4a03f4,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 _0x59685d=[...this['_visibleChips'],...this['_overflowChips']],_0x112615=this['_createCalculationContainer'](),_0xf786da=this['_calculateOverflowInContainer'](_0x112615,_0x59685d),_0x27aa7c=_0x112615['_ancestorsToRestore'];_0x27aa7c&&this['_restoreAncestorVisibility'](_0x27aa7c),_0x112615['remove'](),this['_applyOverflowResults'](_0x59685d,_0xf786da);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),mt({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x455e1b=new _0x13bcd9(this['_locale']);_0x455e1b['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x2c44fe=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x2c44fe['push'](this['_config']['cssClasses']['controlsButton']),_0x455e1b['extendTemplate']({'attributes':{'class':_0x2c44fe}}),_0x455e1b;}['_createShowMoreBalloonPanelView'](){const _0x20b290=new ft(this['_locale']);return _0x20b290['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x20b290),_0x20b290;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x293a22=>{_0x293a22['disableAnimationOnEnter']();});const _0xafcdee=new _0x268b55(this['_locale']);_0xafcdee['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0xafcdee);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x5cbfae=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x5cbfae?'':'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'](_0x570ab9){const _0x2f8f98=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x969971=this['_containerElement']?.['classList'];if(_0x969971){const _0x1e4f7a=_0x969971[0x0]||'',_0x523c07=_0x570ab9['querySelector']('.'+_0x1e4f7a),_0x37c8bd=_0x570ab9['querySelector'](_0x2f8f98);return _0x523c07||_0x37c8bd||_0x570ab9;}return _0x570ab9['querySelector'](_0x2f8f98)||_0x570ab9;}['_calculateContainerWidth'](){const _0x479986=this['_parentView']?.['element']||this['_containerElement'];if(!_0x479986)return ff;const _0x3c392c=window['getComputedStyle'](_0x479986)['width'];if('auto'===_0x3c392c||'0px'===_0x3c392c||!_0x3c392c){const _0x15a62c=_0x479986['parentElement'];if(_0x15a62c){const _0x1164d9=window['getComputedStyle'](_0x15a62c);return'auto'!==_0x1164d9['width']?_0x1164d9['width']:ff;}return ff;}return _0x3c392c;}['_applyCalculationStyles'](_0x9aaefa,_0x3df4b8){this['_config']['cssClasses']['calculationContainer']&&_0x9aaefa['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x9aaefa['style']['width']=_0x3df4b8,_0x9aaefa['style']['position']='absolute',_0x9aaefa['style']['top']='-9999px',_0x9aaefa['style']['left']='-9999px',_0x9aaefa['style']['opacity']='0',_0x9aaefa['style']['pointerEvents']='none',_0x9aaefa['style']['zIndex']='-1',_0x9aaefa['style']['visibility']='visible\x20!important',_0x9aaefa['style']['display']='block\x20!important',_0x9aaefa['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x21c3b2){_0x21c3b2['forEach'](({element:_0x36b00d,originalDisplay:_0x6fe07f,originalVisibility:_0x59dbd9})=>{_0x36b00d['style']['display']=_0x6fe07f,_0x36b00d['style']['visibility']=_0x59dbd9;});}['_makeAncestorsVisible'](_0x2919e5){const _0x364cc6=[];let _0x15475e=_0x2919e5;for(;_0x15475e&&_0x15475e!==document['body'];){const _0xaa60ff=window['getComputedStyle'](_0x15475e);'none'!==_0xaa60ff['display']&&'hidden'!==_0xaa60ff['visibility']||(_0x364cc6['push']({'element':_0x15475e,'originalDisplay':_0x15475e['style']['display'],'originalVisibility':_0x15475e['style']['visibility']}),_0x15475e['style']['display']='block',_0x15475e['style']['visibility']='visible'),_0x15475e=_0x15475e['parentElement'];}return _0x364cc6;}['_createContainerElements'](){let _0x1d301c,_0x50138d;return this['_parentView']?.['element']?(_0x1d301c=this['_parentView']['element']['cloneNode'](!0x0),_0x50138d=this['_findTargetContainer'](_0x1d301c)):(_0x1d301c=document['createElement']('div'),_0x50138d=_0x1d301c),{'calculationContainer':_0x1d301c,'targetContainer':_0x50138d};}['_createCalculationContainer'](){const {calculationContainer:_0x285b3a,targetContainer:_0x5a738f}=this['_createContainerElements'](),_0xdcf6df=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x285b3a,_0xdcf6df);const _0x30461d=this['_parentView']?.['element']||this['_containerElement'],_0x2e821f=_0x30461d?.['parentElement'];_0x2e821f?_0x2e821f['appendChild'](_0x285b3a):document['body']['appendChild'](_0x285b3a),_0x285b3a['_targetContainer']=_0x5a738f;const _0x589b87=this['_makeAncestorsVisible'](_0x2e821f||null);return _0x285b3a['offsetWidth'],_0x285b3a['_ancestorsToRestore']=_0x589b87,_0x285b3a;}['_calculateOverflowInContainer'](_0x388629,_0x36c0ca){const _0x40ec3c=_0x388629['_targetContainer']||_0x388629,_0x57bcdc=[],{rowCount:_0x32b993}=this['_renderChipsAndCountRows'](_0x40ec3c,_0x36c0ca);if(_0x32b993<=this['_config']['maxVisibleRows'])return _0x57bcdc;const _0x37130e=_0x36c0ca['slice']();for(;_0x37130e['length']>0x0;){if(this['_testButtonFit'](_0x388629,_0x40ec3c,_0x37130e)){const _0x1c03a6=_0x36c0ca['filter'](_0x5ba8af=>!_0x37130e['includes'](_0x5ba8af));_0x57bcdc['push'](..._0x1c03a6);break;}if(!_0x37130e['pop']())break;}return _0x57bcdc;}['_renderChipsAndCountRows'](_0x3791c7,_0x4c5597){_0x3791c7['innerHTML']='',_0x4c5597['forEach'](_0x4246d4=>{if(_0x4246d4['element']){const _0x4ae17f=_0x4246d4['element']['cloneNode'](!0x0);_0x3791c7['appendChild'](_0x4ae17f);}}),_0x3791c7['offsetWidth'];const _0x11b3ba=_0x3791c7['children'],_0xdb1ad6=[];return Array['from'](_0x11b3ba)['forEach'](_0x528ea7=>{const _0x478c95=_0x528ea7['getBoundingClientRect']()['top'];_0xdb1ad6['some'](_0xcc0f0d=>Math['abs'](_0xcc0f0d-_0x478c95)<this['_config']['rowDetectionTolerance'])||_0xdb1ad6['push'](_0x478c95);}),{'rowCount':_0xdb1ad6['length']};}['_createMockButton'](){const _0x365c78=document['createElement']('button');return _0x365c78['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x365c78['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x365c78['textContent']='+\x201',_0x365c78;}['_testButtonFit'](_0x223431,_0x14d0fd,_0x774c93){this['_renderChipsAndCountRows'](_0x14d0fd,_0x774c93);const _0x21061d=this['_createMockButton']();_0x223431['appendChild'](_0x21061d),_0x223431['offsetWidth'];const _0x48cc16=[..._0x14d0fd['children'],_0x21061d],_0xe00f5e=[];_0x48cc16['forEach'](_0xac31c8=>{const _0x70f88f=_0xac31c8['getBoundingClientRect']()['top'];_0xe00f5e['some'](_0x1da84d=>Math['abs'](_0x1da84d-_0x70f88f)<this['_config']['rowDetectionTolerance'])||_0xe00f5e['push'](_0x70f88f);});const _0x581a03=_0xe00f5e['length'];return _0x21061d['remove'](),_0x581a03<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x5a10a1,_0x1f1ddb){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x5a10a1['forEach'](_0x20b237=>{_0x1f1ddb['includes'](_0x20b237)?this['_overflowChips']['add'](_0x20b237):this['_visibleChips']['add'](_0x20b237);});}['_updateOverflowUI'](_0x364eb4){if(_0x364eb4>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x364eb4>0x0&&this['_showMoreButtonView']){const _0x2950ee=''+this['_config']['showMoreLabelPrefix']+(_0x364eb4<0x63?_0x364eb4:'99');this['_showMoreButtonView']['label']=_0x2950ee;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x4312dd,_0x55841d){this['_distributeChips'](_0x4312dd,_0x55841d),this['_updateOverflowUI'](_0x55841d['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x523bcc=>{_0x523bcc[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 _0x4a96ce=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x4a96ce['width']||0x0===_0x4a96ce['height'])return!0x1;const _0x401838=window['innerHeight']||document['documentElement']['clientHeight'],_0x325101=window['innerWidth']||document['documentElement']['clientWidth'],_0x34c043=0xc8;return _0x4a96ce['bottom']>=-0xc8&&_0x4a96ce['top']<=_0x401838+_0x34c043&&_0x4a96ce['right']>=-0xc8&&_0x4a96ce['left']<=_0x325101+_0x34c043;}}const mf='ck-ai-chat__feed__context-chips',gf='ck-ai-chat-context-chips-wrapper',pf='ck-ai-chat-context-chips-wrapper-balloon',Of='ck-ai-chat-controls-button',wf='ck-ai-chat-controls_context_show-more-button',bf='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0x268b55{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x4b6419,_0x6027cf,_0x3bced3){super(_0x4b6419),this['_bodyCollection']=_0x3bced3,this['_createContextChips'](_0x6027cf);const _0x33e5ba={'cssClasses':{'showMoreButton':wf,'showMoreBalloon':bf,'overflowContainer':pf,'controlsButton':Of}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x4b6419,this['_contextChips'],_0x33e5ba,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[mf,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':gf},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x3b51f0=this['element']['querySelector']('.'+gf);_0x3b51f0&&(this['_overflowManager']['setContainerElement'](_0x3b51f0),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x2179c1){for(const _0x196d2f of _0x2179c1){const _0x501dfb=new AIChatContextItemButtonView(this['locale'],_0x196d2f,!0x0,!0x1);this['_contextChips']['add'](_0x501dfb);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x53b31f,_0x2d58ec,_0x4200b0){super(_0x2d58ec),this['_locale']=_0x53b31f,this['_bodyCollection']=_0x4200b0,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'](_0x1281f2=>!_0x1281f2['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x268b55(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(_0x186ea2,_0x3f30b0){super(_0x3f30b0);const {isWebSearchEnabled:_0x258b98,isReasoningEnabled:_0x15f749}=_0x3f30b0['capabilities'],_0x560d06=[];let _0x4f5c71='';_0x258b98&&_0x15f749?(_0x4f5c71=ho(_0x186ea2,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x560d06['push'](yf(_0x4fd4b1)),_0x560d06['push'](yf(_0x293dfe))):_0x258b98?(_0x4f5c71=ho(_0x186ea2,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x560d06['push'](yf(_0x4fd4b1))):_0x15f749&&(_0x4f5c71=ho(_0x186ea2,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x560d06['push'](yf(_0x293dfe))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x4f5c71?'':'ck-hidden']}});const _0x4afd81=new _0x268b55();_0x4afd81['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x560d06,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x4f5c71]}]}),this['children']['add'](_0x4afd81),this['capabilities']=_0x3f30b0['capabilities'];}}function yf(_0x41ed84){const _0x1687c3=new _0x2b9920();return _0x1687c3['content']=_0x41ed84,_0x1687c3;}const _f=['wheel','touchstart','pointerdown','keydown'],vf=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class ScrollManager{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x12b3de){this['element']=_0x12b3de,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0xad6043 of _f){const _0x254199='keydown'!==_0xad6043;this['element']['addEventListener'](_0xad6043,this['_onUserEvent']['bind'](this),{'passive':_0x254199,'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'](_0x5023a2){if(this['isRunning']){if('keydown'===_0x5023a2['type']){const _0xfce616=_0x5023a2['key'];if(!vf['includes'](_0xfce616))return;}_0x5023a2 instanceof WheelEvent?_0x5023a2['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x2827d3,scrollHeight:_0x1b98e5,clientHeight:_0x412dc1}=this['element'];return _0x1b98e5-_0x2827d3-_0x412dc1<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends _0x268b55{constructor(_0xa218f,_0x444151){super(_0xa218f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x444151)});}['_createSkeletonItems'](_0x4e4fb6){const _0x489714=['ck','ck-ai-skeleton__item'];return _0x4e4fb6['map'](_0xdfdc9d=>{let _0x12ea9b='';switch(_0xdfdc9d['attributes']['align']){case'right':_0x12ea9b='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x12ea9b='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x12ea9b='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0xdfdc9d['tag'],'attributes':{'class':[..._0x489714,_0xdfdc9d['attributes']['class']?_0xdfdc9d['attributes']['class']:''],'style':'width:\x20'+_0xdfdc9d['attributes']['width']+';\x20height:\x20'+_0xdfdc9d['attributes']['height']+';'+_0x12ea9b}};});}}const Tf={'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':Ef(0x5,'100%','44px','right'),'aiChatResources':Ef(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 Ef(_0x28aeb2,_0x47f944,_0x1daa14,_0x495fc1){return new Array(_0x28aeb2)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x47f944,'height':_0x1daa14,'align':_0x495fc1}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x549be1){super(_0x549be1),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 _0x268b55{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x142b4f,_0x466a9f){super(_0x142b4f),this['_bodyCollection']=_0x466a9f,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](...$d)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new ScrollManager(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x43d885,_0x4571f8){let _0x5cc2ca;return'ai-reply'===_0x43d885?_0x5cc2ca=new AIChatFeedReplyItemView(this['locale'],_0x4571f8,this['_bodyCollection']):'ai-suggestion-reply'===_0x43d885?(_0x5cc2ca=new AIChatFeedSuggestionItemView(this['locale'],_0x4571f8,this['_bodyCollection']),_0x5cc2ca['bind']('isTrackChangesOn')['to'](this)):_0x5cc2ca='user-message'===_0x43d885?new AIChatFeedUserMessageItemView(this['locale'],_0x4571f8,this['_bodyCollection']):'interaction-header'===_0x43d885?new AIChatFeedInteractionHeaderView(this['locale'],_0x4571f8):'custom-element'===_0x43d885?new AIChatFeedCustomElementView(_0x4571f8):new AIChatFeedErrorItemView(_0x4571f8),this['children']['add'](_0x5cc2ca),_0x5cc2ca;}async['updateReplyItem']({id:_0x47851e,parsedContent:_0x19eb3d,renderingStrategy:_0x29dd2c,abortSignal:_0x158668}){const _0x4bf821=this['getItemById'](_0x47851e);if(!(_0x4bf821 instanceof AIChatFeedReplyItemView))throw new _0x1976e8('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x4bf821,'id':_0x47851e,'parsedContent':_0x19eb3d});await _0x4bf821['updateContent']({'parsedContent':_0x19eb3d,'renderingStrategy':_0x29dd2c,'abortSignal':_0x158668});}async['updateWebSources'](_0x47cf18,_0x51c4be){const _0x5e80ab=this['getItemById'](_0x47cf18);if(_0x5e80ab instanceof AIChatFeedSuggestionItemView)_0x5e80ab['updateSources'](_0x51c4be);else{if(!(_0x5e80ab instanceof AIChatFeedReplyItemView))throw new _0x1976e8('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x5e80ab,'id':_0x47cf18,'sources':_0x51c4be});_0x5e80ab['updateSources'](_0x51c4be);}}async['updateSuggestionItem']({id:_0x3d8cf4,parts:_0xceff7,renderingStrategy:_0x4906e7,abortSignal:_0xf95caf}){const _0x53c6d6=this['getItemById'](_0x3d8cf4);if(!(_0x53c6d6 instanceof AIChatFeedSuggestionItemView))throw new _0x1976e8('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x53c6d6,'id':_0x3d8cf4,'parts':_0xceff7});await _0x53c6d6['updateContent']({'parts':_0xceff7,'renderingStrategy':_0x4906e7,'abortSignal':_0xf95caf});}['updateSuggestionPartState']({id:_0x126545,index:_0x187a4b,state:_0x573b63}){const _0x586b25=this['getItemById'](_0x126545);if(!(_0x586b25 instanceof AIChatFeedSuggestionItemView))throw new _0x1976e8('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x126545});_0x586b25['updatePartState'](_0x187a4b,_0x573b63);}['setSuggestionPartActive']({id:_0x4b7132,index:_0x164778,isActive:_0x2346a2}){const _0x13ef8a=this['getItemById'](_0x4b7132);if(!(_0x13ef8a instanceof AIChatFeedSuggestionItemView))throw new _0x1976e8('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x4b7132});this['children']['filter'](_0x936fb5=>_0x936fb5 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x41ad15=>{_0x41ad15['setPartActive'](!0x1);}),_0x13ef8a['setPartActive'](_0x164778,_0x2346a2);}['markItemAsDone'](_0x769f4){this['getItemById'](_0x769f4)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0xc1b311=>_0xc1b311['options']['id']);}['removeItem'](_0x17ceac){this['children']['remove'](this['getItemById'](_0x17ceac));}['hasItem'](_0x4f7f0f){return!!this['children']['find'](_0x165b0e=>_0x165b0e['options']['id']['includes'](_0x4f7f0f));}['scrollToSuggestion'](_0x3b5fbe,_0x2bc926){const _0x159e85=this['getItemById'](_0x3b5fbe);if(!(_0x159e85 instanceof AIChatFeedSuggestionItemView))return void _0x2e934f('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x3b5fbe,'partIndex':_0x2bc926});const _0x51b584=_0x159e85['getPartView'](_0x2bc926);_0x51b584?_0x5be5fe(_0x51b584['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x2e934f('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x3b5fbe,'partIndex':_0x2bc926});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x1b3c28=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x1b3c28,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x45c806=new AISkeletonView(this['locale'],Tf['aiFeed']);return _0x45c806['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x1e1063=>!_0x1e1063)]}}),_0x45c806;}['_createFeedItems'](){const _0x4b927c=new _0x268b55(this['locale']);return _0x4b927c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x4b927c;}['_createFeedLoader'](){const _0x53481b=new _0x268b55(this['locale']);return _0x53481b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x24aa71=>!_0x24aa71)]},'children':this['_createLoaderChildren']()}),_0x53481b;}['_createLoaderChildren'](){const _0x35bcae=new AISpinnerView();return _0x35bcae['isVisible']=!0x0,[_0x35bcae,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x2640ad){const _0x3ad136=this['children']['find'](_0x1ea984=>_0x1ea984['options']['id']['includes'](_0x2640ad));if(!_0x3ad136)throw new _0x1976e8('ai-chat-feed-view-item-not-found',this,{'id':_0x2640ad});return _0x3ad136;}['setLoadingMessage'](_0x3ff6bb){this['set']('loadingMessage',_0x3ff6bb);}['toggleLoadingSkeleton'](_0x3a39c4){this['set']('isLoadingSkeletonVisible',_0x3a39c4);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0xb67f93{['filter'](){let _0x580430=0x0;for(const _0xc9bec9 of this['items'])_0x580430+=_0xc9bec9['items']['length'];return{'resultsCount':_0x580430,'totalItemsCount':_0x580430};}}const Af='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0xd41a04{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x4dfc99,_0x5901f6){super(_0x4dfc99,{'queryView':{'label':'','creator':et,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x4dfc99),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x5901f6,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',(_0x3106d2,_0x13ae95)=>!_0x3106d2&&!_0x13ae95),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x442e4a,_0x4e8fd4)=>{this['isUploadInProgress']||this['isEmpty']||_0x442e4a['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x4e8fd4());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x363a71=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x363a71)return this['queryView']['errorText']=ho(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x5e16d2=zr(_0x363a71);this['fire']('sendUserMessage',_0x5e16d2),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x24897b){this['queryView']['fieldView']['set']('placeholder',_0x24897b);}['focus'](_0x30c8d6=!0x1){super['focus'](),_0x30c8d6&&(this['element']['classList']['contains'](Af)||(this['element']['classList']['add'](Af),setTimeout(()=>{this['element']['classList']['remove'](Af);},0x320)));}['_createSubmitButton'](){const _0x404ab3=new _0x13bcd9(this['locale']);return _0x404ab3['set']({'icon':_0x55f40f,'label':ho(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x404ab3['on']('execute',()=>{this['submit']();}),_0x404ab3;}['setIsUploadInProgress'](_0x4cba1d){this['isUploadInProgress']=_0x4cba1d;}['_setUpAddContextButtonPositioning'](){const _0x1c94cc=this['locale'],_0x27d382=()=>{_0x81fd87['window']['requestAnimationFrame'](()=>{if(_0x2f9433(this['element'])){const _0x56a48d=new _0x20d411(this['queryView']['fieldView']['element']),_0x236680=new _0x20d411(this['_addContextButtonView']['element']),_0x504336=_0x56a48d['width'],_0xa1490='rtl'===_0x1c94cc['uiLanguageDirection']?'right':'left';_0x56a48d['excludeScrollbarsAndBorders']();const _0x2eb55b=_0x504336-_0x56a48d['width']+0x1;this['_addContextButtonView']['element']['style'][_0xa1490]='calc('+(_0x504336-_0x236680['width']-_0x2eb55b)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x27d382),this['on']('render',()=>{_0x27d382(),this['_queryViewResizeObserver']=new _0x3af96d(this['queryView']['fieldView']['element'],()=>{_0x27d382();});});}}const Sf='ck-ai-chat__prompt-capabilities',If='ck-ai-chat-controls-button',Cf='ck-ai-chat-controls-button--commands',kf='ck-ai-button-tertiary',xf='ck-ai-chat-controls__model-selection',Rf='ck-ai-chat-controls__model-selection__item-name',Pf='ck-ai-chat-controls__model-selection__item-description',Mf='ck-ai-chat-controls__model-selection__item-capabilities',Nf='n';class AIChatPromptCapabilitiesView extends _0x268b55{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x52b91a){super(_0x52b91a),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',_0x34cf54=>'selector'===_0x34cf54),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x2955ee=>_0x2955ee?this['_modelSelectionDropdown']['buttonView']['label']:ho(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x1205b0=>_0x1205b0),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x43b799=>_0x43b799),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x2ed9e4=>ho(this['locale'],_0x2ed9e4?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0xa5543b=>_0xa5543b),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x17cced=>ho(this['locale'],_0x17cced?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[Sf]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0xe4e0d0(),gt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x51964b,_0x29e36c){if(_0x29e36c)this['set']('modelDisplayMode','hidden');else{const _0xa6b087=0x1===_0x51964b['length'];this['set']('modelDisplayMode',_0xa6b087?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x51964b?.['length'])for(const _0x212780 of _0x51964b){const _0x4b3bd7=new pt({'label':_0x212780['name'],'withText':!0x0,'role':'menuitemradio','id':_0x212780['id'],'model':_0x212780});_0x4b3bd7['bind']('isOn')['to'](this,'activeModelId',_0x265386=>_0x265386===_0x212780['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4b3bd7,'labelView':new Lf(this['locale'],_0x212780)});}}['setWebSearch'](_0x5234de){this['set']('webSearchActive',_0x5234de);}['setReasoning'](_0x4685fa){this['set']('reasoningActive',_0x4685fa);}['setModel'](_0x54e1db){if(!_0x54e1db)return;this['activeModelId']=_0x54e1db['id'],this['activeModelName']=_0x54e1db['name']||_0x54e1db['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x54e1db['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x54e1db['name']);const _0x6c3570=_0x54e1db['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x6c3570),this['_webSearchButton']['set']('isVisible',_0x6c3570);const _0x2bf7b4=_0x54e1db['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x2bf7b4),this['_reasoningButton']['set']('isVisible',_0x2bf7b4);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x15a715){this['set']('modelSelectorEnabled',!0x1),_0x15a715&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x521001=new _0x13bcd9();return _0x521001['set']({'label':ho(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x4fd4b1,'class':If,'isToggleable':!0x0,'tooltipPosition':Nf}),_0x521001['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x521001;}['_createReasoningButton'](){const _0x1892bc=new _0x13bcd9();return _0x1892bc['set']({'label':ho(this['locale'],'AI_CHAT_REASONING'),'icon':_0x293dfe,'class':If,'isToggleable':!0x0,'tooltipPosition':Nf}),_0x1892bc['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x1892bc;}['_createCommandsButton'](){const _0xca08a=new _0x13bcd9();return _0xca08a['set']({'label':ho(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x3a679f,'withText':!0x0,'class':If,'isToggleable':!0x0,'tooltip':ho(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':Nf}),_0xca08a['extendTemplate']({'attributes':{'class':[Cf]}}),_0xca08a['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0xca08a;}['_createModelSelectionDropdown'](){const _0x2a4282=st(this['locale']);return _0x2a4282['set']({'panelPosition':'ne','class':[xf]}),_0x2a4282['buttonView']['set']({'label':ho(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Nf,'class':kf}),this['listenTo'](_0x2a4282,'execute',_0x34cf7b=>{this['fire']('selectModel',_0x34cf7b['source']['model']);}),_0x2a4282;}['_createModelNameView'](){const _0x27bf04=new Df(this['locale']);return _0x27bf04['bind']('text')['to'](this,'activeModelName',_0x4cc166=>_0x4cc166??''),_0x27bf04['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3b84f9=>'name'===_0x3b84f9),_0x27bf04;}}let Lf=class ModelButtonLabelView extends _0x288660{constructor(_0x2803ef,_0x134fca){super();const _0x2c5cde=this['bindTemplate'],_0x32fe86=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2c5cde['to']('style'),'id':_0x2c5cde['to']('id')},'children':[{'tag':'div','attributes':{'class':[Rf]},'children':[{'text':_0x2c5cde['to']('text')}]},{'tag':'div','attributes':{'class':[Pf]},'children':[{'tag':'span','children':[{'text':_0x134fca['description']}]}]},{'tag':'div','attributes':{'class':[Mf]},'children':_0x32fe86}]}),_0x32fe86['addMany'](this['_getCapabilityParts'](_0x2803ef,_0x4fd4b1,'AI_CHAT_SEARCH_WEB',_0x134fca['capabilities']['webSearch']?.['enabled']??!0x1)),_0x32fe86['addMany'](this['_getCapabilityParts'](_0x2803ef,_0x293dfe,'AI_CHAT_REASONING',_0x134fca['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x37b19d,_0x1bd4e5,_0x1f7e8a,_0x27031c){const _0x1cd3b6=new _0x2b9920();_0x1cd3b6['content']=_0x1bd4e5;const _0x400a27=new _0x268b55(_0x37b19d);_0x400a27['setTemplate']({'tag':'span','children':[{'text':ho(_0x37b19d,_0x1f7e8a)+':\x20'}]});const _0x3e7140=new _0x268b55(_0x37b19d);return _0x3e7140['setTemplate']({'tag':'span','children':[{'text':ho(_0x37b19d,_0x27031c?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x1cd3b6,_0x400a27,_0x3e7140];}},Df=class ModelNameView extends _0x268b55{constructor(_0x18e671){super(_0x18e671),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x224f66=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x224f66['if']('isVisible','ck-hidden',_0x4ecfe3=>!_0x4ecfe3)]},'children':[{'text':_0x224f66['to']('text')}]});}};const Qf='ck-ai-chat-context-controls__url-form',$f='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x268b55{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x257b26){super(_0x257b26),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),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 tt({'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'](_0x551b33=>{this['focusTracker']['add'](_0x551b33['element']),this['keystrokes']['listenTo'](_0x551b33['element']);}),Ot({'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'](_0x54709e){this['urlInputField']['errorText']=_0x54709e,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x525a53=new _0x13bcd9(this['locale']);return _0x525a53['set']({'icon':_0xdffb48,'tooltip':ho(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x1ec86f,_0x281408,_0xc4d3d3)=>{_0x525a53['set']({'class':['ck-button-icon\x20ck-button-back'+(_0xc4d3d3?'':'\x20ck-hidden')]});}),_0x525a53;}['_createUrlInputField'](){const _0x44ef75=new wt(this['locale'],bt);return _0x44ef75['set']({'label':ho(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x44ef75['fieldView']['set']({'placeholder':ho(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x44ef75;}['_createConfirmButton'](){const _0x1b53b5=new _0x13bcd9(this['locale']);return _0x1b53b5['set']({'icon':_0x339869,'tooltip':ho(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1b53b5;}['_setupTemplate'](){const _0x3e5e86=new yt(this['locale'],{'label':ho(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x3e5e86['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':Qf,'tabindex':'-1'},'children':[_0x3e5e86,{'tag':'div','attributes':{'class':$f},'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',_0x28e856=>{_0x28e856['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x3d9602,_0x406ad6)=>{this['clear'](),this['fire']('cancel'),_0x406ad6();});}['_handleSubmit'](){const _0x43e832=this['getValue']()['trim']();_0x43e832?this['_isValidUrl'](_0x43e832)?(this['clearError'](),this['fire']('submitUrl',_0x43e832)):this['setError'](ho(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](ho(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x210d62=this['getValue']()['trim'](),_0xc2602d=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x210d62['length']>0x0&&!_0xc2602d;}['_isValidUrl'](_0x39ff7e){try{return!!new URL(_0x39ff7e);}catch{return!0x1;}}}const Vf='ck-ai-chat-resources__item',Uf='ck-ai-chat-resources__item--in-context',Bf='ck-ai-chat-resources__item-title',Ff='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0x3c0063{['resource'];['_titleView'];['_iconView'];constructor(_0x529163,_0x561e6c){super(_0x529163),this['resource']=_0x561e6c,this['set']('isInContext',!!_0x561e6c['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x1d3e86){if(_0x1d3e86['isInContext'])return _0x339869;switch(_0x1d3e86['type']){case Id['DOCUMENT']:return _0x470dc5;case Id['URL']:return _0x1d13d1;case Id['FILE']:case Id['TEXT']:return _0x2b2bb8;default:return _0x4a9db9;}}['highlightText'](_0x4f5651){if(!_0x4f5651||''===_0x4f5651['trim']())return void this['_titleView']['highlightText'](null);const _0x24bd99=new RegExp(Yr(_0x4f5651),'gi');this['_titleView']['highlightText'](_0x24bd99);}['updateResourceState'](_0x6b1892){this['resource']['isInContext']=_0x6b1892,this['isInContext']=_0x6b1892,this['_updateIcon']();}['_createTitleView'](){const _0x10b6b1=new _t();return _0x10b6b1['text']=this['resource']['label'],_0x10b6b1['extendTemplate']({'tag':'span','attributes':{'class':[Bf]}}),_0x10b6b1;}['_createIconView'](){const _0x410f56=new _0x2b9920();return _0x410f56['content']=this['getResourceIcon'](this['resource']),_0x410f56;}['_setupTemplate'](){const _0x66977c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[Vf,_0x66977c['if']('isVisible','ck-hidden',_0x1be5c5=>!_0x1be5c5),_0x66977c['if']('isInContext',Uf)]},'children':[{'tag':'div','attributes':{'class':[Ff]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x66977c['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const jf='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0xb67f93{['_source'];constructor(_0x40b669,_0x2ec232){super(_0x40b669),this['_source']=_0x2ec232,this['extendTemplate']({'attributes':{'class':[jf]}});}['setResources'](_0x50fc12,_0x53f9bf){this['items']['clear']();let _0x280ab2=_0x50fc12;if(this['_source']['useDefaultFiltering']&&_0x53f9bf&&''!==_0x53f9bf['trim']()){const _0x322793=new RegExp(_0x53f9bf['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x280ab2=_0x50fc12['filter'](_0x4ab864=>_0x322793['test'](_0x4ab864['label']));}for(const _0x3d9a62 of _0x280ab2){const _0x59143c=new AIChatResourceListItemView(this['locale'],_0x3d9a62);_0x59143c['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x3d9a62);}),this['items']['add'](_0x59143c);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x53f9bf);}['highlightText'](_0x396110){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x4a3b24=>{_0x4a3b24['highlightText'](_0x396110);});}['updateResourceState'](_0x4723da,_0x3101e4){for(const _0x5d820d of this['items']){const _0x13e649=_0x5d820d;_0x13e649['resource']['id']===_0x4723da&&_0x13e649['updateResourceState'](_0x3101e4);}}['_handleResourceSelection'](_0x358de5,_0x1290a1){this['fire']('addResourceToContext',{'source':_0x358de5,'resource':_0x1290a1});}}class AIChatContextResourcesSearchInputView extends wt{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5297a3){const t=_0x5297a3['t'],_0x2d56ef={'showResetButton':!0x0,'showIcon':!0x0,'creator':bt,'label':ho(_0x5297a3,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5297a3,_0x2d56ef['creator']),this['label']=_0x2d56ef['label'],this['_viewConfig']=_0x2d56ef,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5297a3,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3d2a30){this['fire']('search',_0x3d2a30);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2b9920(),this['iconView']['content']=_0x63a8cb,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2520c0,t){this['resetButtonView']=new _0x13bcd9(_0x2520c0),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x288b7f,'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',_0x1104e8=>!_0x1104e8),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 _0x268b55{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x4079fb,_0x198c99){super(_0x4079fb),this['_source']=_0x198c99['source'],this['_searchInputVisibleFrom']=_0x198c99['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 vt([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 _0x2a6f8b=new _0x268b55(this['locale']);return _0x2a6f8b['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x587de5,_0x2703e2)=>{this['loadResources'](_0x2703e2),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x2703e2);}),_0x2a6f8b;}['_createResourcesListView'](){const _0x44ed76=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x44ed76['delegate']('addResourceToContext')['to'](this),_0x44ed76['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x44ed76;}['_createSkeletonView'](){const _0x1dc00f=new AISkeletonView(this['locale'],Tf['aiChatResources']);return _0x1dc00f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x5441a7=>!_0x5441a7)]}}),_0x1dc00f;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x28c752){const _0x3ae742=_0x288d30();this['_latestLoadResourcesUid']=_0x3ae742,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x28c752,'uid':_0x3ae742}),this['isLoading']=!0x0;}['setResources'](_0x468dcd,_0x1d2fb0){if(_0x1d2fb0&&_0x1d2fb0!==this['_latestLoadResourcesUid'])return;const _0x39d6c9=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x468dcd,_0x39d6c9),_0x468dcd['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x3a96c9,_0x359c97){this['_resourcesListView']['updateResourceState'](_0x3a96c9,_0x359c97);}}const Hf='ck-ai-chat-context-controls__source-balloon-panel',Gf='ck-button-icon\x20ck-button-back',Zf='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x26b20e,_0x4fe71c,_0xbb5c16){this['_locale']=_0x26b20e,this['_bodyCollection']=_0x4fe71c,this['_config']=_0xbb5c16;}['showSourceResourcesBalloon']({source:_0x35dd0e,withBackButton:_0x1c6c7b}){let _0xf1dd66=this['_sourceResourceBalloons']['get'](_0x35dd0e['id']);_0xf1dd66||(_0xf1dd66=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x35dd0e['id'],_0xf1dd66),this['_setupSingleResourceBalloonClickOutsideHandler'](_0xf1dd66)),this['_addSourceResourceContent']({'balloonPanel':_0xf1dd66,'source':_0x35dd0e,'withBackButton':_0x1c6c7b}),_0xf1dd66['show']();const _0x3d5d0f=this['_config']['getTargetElement']();_0x3d5d0f&&_0xf1dd66['pin']({'target':_0x3d5d0f,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x3ab44d,_0x241933,_0x576856){const _0x512ee0=this['_sourceResourceBalloons']['get'](_0x3ab44d);if(!_0x512ee0)return;const _0xcff079=this['_getResourcesViewFromBalloon'](_0x512ee0);_0xcff079&&(_0xcff079['setResources'](_0x241933,_0x576856),_0xcff079['once']('change:isLoading',()=>{_0x512ee0['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x27598){const _0x4796ca=this['_sourceResourceBalloons']['get'](_0x27598);_0x4796ca&&requestAnimationFrame(()=>{_0x4796ca['hide'](),this['_sourceResourceBalloons']['delete'](_0x27598),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x27871e of this['_sourceResourceBalloons']['values']())if(_0x27871e['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x298690,_0x143b3d,_0x2e2881){const _0x9b68f4=this['_sourceResourceBalloons']['get'](_0x298690);if(!_0x9b68f4||!_0x9b68f4['isVisible'])return;const _0x5a7f44=this['_config']['getTargetElement']();if(!_0x5a7f44)return;_0x9b68f4['pin']({'target':_0x5a7f44,'limiter':this['_config']['getLimiterElement']()});const _0x140021=this['_getResourcesViewFromBalloon'](_0x9b68f4);_0x140021&&_0x140021['updateResourceState'](_0x143b3d,_0x2e2881);}['destroy'](){for(const _0x3de803 of this['_sourceResourceBalloons']['values']())_0x3de803['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x58bec8=new ft(this['_locale']);return _0x58bec8['extendTemplate']({'attributes':{'class':Hf}}),this['_bodyCollection']['add'](_0x58bec8),_0x58bec8;}['_addSourceResourceContent']({balloonPanel:_0x3cdef8,source:_0x1aab7b,withBackButton:_0x246324}){_0x3cdef8['content']['clear']();const _0x57147c=this['_createBalloonHeader']({'balloonPanel':_0x3cdef8,'source':_0x1aab7b,'withBackButton':_0x246324});_0x3cdef8['content']['add'](_0x57147c);const _0x525659=this['_createBalloonResourcesView'](_0x1aab7b);_0x3cdef8['content']['add'](_0x525659);}['_createBalloonHeader']({balloonPanel:_0x3985a5,source:_0x19253b,withBackButton:_0x395aa8}){const _0x48c412=new yt(this['_locale'],{'label':_0x19253b['label'],'class':Zf});return _0x395aa8&&_0x48c412['children']['add'](this['_createBackButton'](_0x3985a5),0x0),_0x48c412;}['_createBackButton'](_0x4b09e1){const _0x561c7e=new _0x13bcd9(this['_locale']);return _0x561c7e['set']({'icon':_0xdffb48,'tooltip':ho(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':Gf}),_0x561c7e['on']('execute',()=>{_0x4b09e1['hide'](),this['_config']['onBackToContext']();}),_0x561c7e;}['_createBalloonResourcesView'](_0x190352){const _0x184727=new AIChatContextResourcesView(this['_locale'],{'source':_0x190352,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x184727['on']('loadSourceResources',(_0x147468,_0x125315)=>{this['_config']['onLoadSourceResources'](_0x125315);}),_0x184727['on']('addResourceToContext',(_0x1aba4d,_0x10b807)=>{this['_config']['onResourceSelected'](_0x10b807['source'],_0x10b807['resource']),this['closeSourceResourceBalloon'](_0x190352['id']);}),_0x184727;}['_getResourcesViewFromBalloon'](_0x1efdf3){const _0x3cd4e3=_0x1efdf3['content']['get'](0x1);return _0x3cd4e3 instanceof AIChatContextResourcesView?_0x3cd4e3:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x4a3158){mt({'emitter':_0x4a3158,'contextElements':[_0x4a3158['element']],'callback':()=>{_0x4a3158['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x4a3158['isVisible']});}}const Xf=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],qf='ck-ai-chat-context-controls',Wf='ck-ai-chat-context-controls__pending-contexts',zf='ck-ai-chat-context-controls__add-context-balloon-panel',Yf='ck-ai-chat-context-controls__add-context-button',Kf='ck-ai-chat-context-controls__url-balloon-panel',Jf='ck-ai-chat-context-controls__balloon-button',tm='ck-ai-chat-context-controls__balloon-button-source',em='ck-ai-chat-controls-button',im='ck-ai-chat-context-chips-wrapper-balloon',sm='ck-ai-chat-controls_context_show-more-button',nm='ck-ai-chat-context-controls__show-more-balloon-panel',rm='ck-ai-chat',om=[ft['defaultPositions']['northArrowSouthWest'],ft['defaultPositions']['northArrowSouth'],ft['defaultPositions']['northArrowSouthEast'],ft['defaultPositions']['southArrowNorthWest'],ft['defaultPositions']['southArrowNorth'],ft['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0x268b55{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x2a44d6,_0x2bdee5){super(_0x2a44d6),this['bodyCollection']=_0x2bdee5['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x2a44d6),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x2a44d6),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x2a44d6),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x2a44d6,_0x2bdee5);const _0x2635bd={'cssClasses':{'showMoreButton':sm,'showMoreBalloon':nm,'overflowContainer':im,'controlsButton':em}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x2a44d6,this['_currentContextsChips'],_0x2635bd,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'](_0x20b250,_0x257435){const _0x54ccd1=this['_createContextButton'](_0x20b250,'current',!0x0,_0x257435);this['_addContextToCollection'](_0x54ccd1,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x595afa){this['_removeContextFromCollection'](_0x595afa,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x595afa,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x77e0b1,_0x3ae1c5){let _0x5b4419=this['_currentContextsChips']['find'](_0x81cc3e=>_0x81cc3e['id']===_0x77e0b1);_0x5b4419||(_0x5b4419=this['_overflowManager']['overflowChips']['find'](_0x57e6f6=>_0x57e6f6['id']===_0x77e0b1)),_0x5b4419&&(_0x5b4419['isLoading']=_0x3ae1c5);}['setConversationContext'](_0x5148ae){this['_conversationContextsChips']['clear']();for(const _0x5d0b4c of _0x5148ae){const _0x3bb687=this['_createContextButton'](_0x5d0b4c,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x3bb687,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x1a2bbf,_0x786191,_0x24a666){this['_resourcesBalloonView']['updateResourceState'](_0x1a2bbf,_0x786191,_0x24a666);}['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:_0x5a5fa1,withBackButton:_0x12ef44}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x5a5fa1,'withBackButton':_0x12ef44}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0xbc004c,_0xbbc9f,_0x27d47c,_0x49fb32){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0xbc004c,_0x27d47c,_0x49fb32);}['closeSourceResourceBalloon'](_0x4120b8){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x4120b8),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x230815){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x230815),this['_setAddContextButtonEnabled'](_0x230815);}['_setAddContextButtonEnabled'](_0x2e37a){const _0x592a54=!_0x2e37a['document']['isHidden']&&_0x2e37a['document']['enabled'],_0x22fcf4=_0x2e37a['urls']['enabled'],_0x56dc55=_0x2e37a['files']['enabled'],_0x13ead7=_0x2e37a['sources']['length']>0x0,_0xdf47cf=_0x2e37a['customItems']&&_0x2e37a['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x592a54||_0x22fcf4||_0x56dc55||_0x13ead7||_0xdf47cf;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[qf,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':Wf},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x6580ee){const _0x4a95f9=new _0x13bcd9(_0x6580ee);return _0x4a95f9['set']({'label':ho(_0x6580ee,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':em+'\x20'+Yf,'icon':_0x102fde,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x4a95f9;}['_createAddContextBalloonPanelView'](_0x4f668d){return this['_createBaseBalloonPanel'](_0x4f668d,zf);}['_createUrlBalloonPanelView'](_0x2a7825){const _0x4b772b=this['_createBaseBalloonPanel'](_0x2a7825,Kf);return this['_addUrlContent'](_0x4b772b,_0x2a7825),_0x4b772b;}['_createResourcesBalloonView'](_0x5d9daa,_0x429cbb){const _0x396465={'searchInputVisibleFrom':_0x429cbb['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om});},'onResourceSelected':(_0x289e3e,_0x167026)=>{this['fire']('addResourceToContext',{'source':_0x289e3e,'resource':_0x167026});},'onLoadSourceResources':_0x519cef=>{this['fire']('loadSourceResources',_0x519cef);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x5d9daa,_0x429cbb['bodyCollection'],_0x396465);}['_getLimiterElement'](){return this['element']?.['closest']('.'+rm)||document['body'];}['_createBaseBalloonPanel'](_0x205858,_0x268bcf){const _0x31ced3=new ft(_0x205858);return _0x31ced3['extendTemplate']({'attributes':{'class':_0x268bcf}}),this['bodyCollection']['add'](_0x31ced3),_0x31ced3;}['_setBalloonPanelContent'](_0x4b047f,_0xc966c4,_0x5d83d6){if(_0x4b047f['content']['clear'](),!_0x5d83d6['document']['isHidden']&&_0x5d83d6['document']['enabled']){const _0x1fb039=this['_createBalloonButton'](_0xc966c4,{'label':ho(_0xc966c4,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x470dc5});_0x1fb039['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x4b047f['content']['add'](_0x1fb039);}if(_0x5d83d6['urls']['enabled']){const _0x1bd6ee=this['_createBalloonButton'](_0xc966c4,{'label':ho(_0xc966c4,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x1d13d1});_0x1bd6ee['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om}),this['_urlInputView']['focus']();}),_0x4b047f['content']['add'](_0x1bd6ee);}if(_0x5d83d6['files']['enabled']){const _0x460748=new Tt(_0xc966c4);_0x460748['set']({'label':ho(_0xc966c4,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x390755,'withText':!0x0,'tooltip':!0x0,'class':Jf,'allowMultipleFiles':!0x0}),_0x460748['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x460748['on']('done',(_0x1e0a80,_0x2a0746)=>{this['fire']('addFileToContext',_0x2a0746);}),_0x460748['tooltip']=!0x0,_0x4b047f['content']['add'](_0x460748);}for(const _0x4d5ee5 of _0x5d83d6['sources']){const _0x464861=this['_createBalloonButton'](_0xc966c4,{'label':_0x4d5ee5['label'],'icon':_0x4d5ee5['icon']||_0x4a9db9,'type':'source'});_0x4b047f['content']['add'](_0x464861),_0x464861['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x4d5ee5,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x40207a of _0x5d83d6['customItems']||[]){const _0x109090=this['_createBalloonButton'](_0xc966c4,{'label':_0x40207a['label'],'icon':_0x40207a['icon']||_0x4a9db9,'type':'customItem'});_0x4b047f['content']['add'](_0x109090),_0x109090['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x40207a);});}this['_hasExactlyOneSource']=0x1===_0x4b047f['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x7e6ca2,_0x280626){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x280626),this['_urlInputView']['on']('submitUrl',(_0x5d7121,_0x127783)=>{this['_handleUrlSubmit'](_0x127783);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om});}),_0x7e6ca2['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x3760e2,_0x2355b0){const _0x46a6ad='source'===_0x2355b0['type']?new SourcesBalloonButtonView(_0x3760e2):new _0x13bcd9(_0x3760e2);return _0x46a6ad['set']({'label':_0x2355b0['label'],'icon':_0x2355b0['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Jf}),_0x46a6ad;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){mt({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x5816f9){const _0x2a2bb4=this['_addContextBalloonConfig'];_0x2a2bb4['buttonView']['isOn']=_0x5816f9,_0x5816f9?_0x2a2bb4['balloonView']['show']():_0x2a2bb4['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x22ce16,buttonView:_0x4b2b24,hideMethod:_0x10708a}=this['_addContextBalloonConfig'];mt({'emitter':_0x22ce16,'contextElements':[_0x22ce16['element'],_0x4b2b24['element']],'callback':()=>{_0x10708a();},'activator':()=>_0x4b2b24['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x45f3cf,_0xba297c,_0x106fa4=!0x1,_0x2b8104=!0x1){const _0x141b9f='conversation'===_0xba297c||!0x0===_0x45f3cf['isReadOnly'],_0x476990=new AIChatContextItemButtonView(this['locale'],_0x45f3cf,_0x141b9f,_0x106fa4,_0x2b8104);return _0x141b9f||_0x476990['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x476990['id']);}),_0x476990;}['_addContextToCollection'](_0x4ded3b,_0x264ef2){_0x264ef2['add'](_0x4ded3b,0x0);}['_removeContextFromCollection'](_0x152e81,_0x13bb8d){const _0x45c9a1=_0x13bb8d['find'](_0x477b41=>_0x477b41['id']===_0x152e81);_0x45c9a1&&_0x13bb8d['remove'](_0x45c9a1);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x18afde){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x18afde);}}class SourcesBalloonButtonView extends _0x13bcd9{['arrowView'];constructor(_0x31b230){super(_0x31b230),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[tm]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x2fda9a=new _0x2b9920();return _0x2fda9a['content']=_0x473336,_0x2fda9a['extendTemplate']({'attributes':{'class':tm+'__arrow'}}),_0x2fda9a;}}class AIChatControlsLoaderView extends _0x268b55{['_cancelButtonView'];['_loaderView'];constructor(_0xc5832e){super(_0xc5832e),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 _0x473e47=new _0x13bcd9(this['locale']);return _0x473e47['set']({'label':ho(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':_0x5a16c4}),_0x473e47['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x473e47;}['_createLoaderView'](){const _0x333678=new _0x268b55(this['locale']);return _0x333678['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':ho(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x333678;}}class AIChatControlsView extends _0x268b55{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x2150d9,_0x40ee21){super(_0x2150d9),this['_contextPanelView']=this['_createContextPanelView'](_0x2150d9,{'bodyCollection':_0x40ee21['bodyCollection'],'searchInputVisibleFrom':_0x40ee21['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x2150d9),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x2150d9),this['_loaderView']=this['_createLoaderView'](_0x2150d9),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x2150d9),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'](...Xf)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x5c2dc3=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x5c2dc3['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x5c2dc3['if']('isLoading','ck-hidden',_0x45a634=>_0x45a634||!this['isModelAvailable']),_0x5c2dc3['if']('isModelAvailable','ck-hidden',_0x46364f=>!_0x46364f||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x5c2dc3['if']('isLoading','ck-hidden',_0x389116=>!_0x389116)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x5c2dc3['if']('isModelAvailable','ck-hidden',_0x1eb396=>_0x1eb396)]},'children':[this['_modelUnavailableMessageView']]}]}),mt({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x433181,_0x58851b){return new AIChatContextPanelView(_0x433181,_0x58851b);}['_createPromptInputView'](_0x464b85){return new AIChatPromptInputView(_0x464b85,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x144cb1){return new AIChatPromptCapabilitiesView(_0x144cb1);}['_createLoaderView'](_0x11ad0a){return new AIChatControlsLoaderView(_0x11ad0a);}['_createModelUnavailableMessageView'](_0x5ed773){const _0x8021dc=new AIChatModelUnavailableMessageView(_0x5ed773);return _0x8021dc['delegate']('startConversation')['to'](this),_0x8021dc;}['_handlePromptInputFocus'](_0x4c492f,_0x1eca23,_0x50c362){_0x50c362?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x9df70d,_0x4bf916){this['_contextPanelView']['addContextItem'](_0x9df70d,_0x4bf916);}['removeContextItem'](_0x275f5b){this['_contextPanelView']['removeContextItem'](_0x275f5b);}['setContextItemLoading'](_0x5f53f6,_0x4d240e){this['_contextPanelView']['setContextItemLoading'](_0x5f53f6,_0x4d240e);}['setIsUploadInProgress'](_0x4dffeb){this['_promptInputView']['setIsUploadInProgress'](_0x4dffeb);}['setConversationContext'](_0x18d8ff){this['_contextPanelView']['setConversationContext'](_0x18d8ff);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0xe93755,_0x2e88c5,_0x1f77d4){this['_contextPanelView']['updateResourceState'](_0xe93755,_0x2e88c5,_0x1f77d4);}['setWebSearch'](_0x5dd481){this['_promptCapabilitiesView']['setWebSearch'](_0x5dd481);}['setReasoning'](_0x27641d){this['_promptCapabilitiesView']['setReasoning'](_0x27641d);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x13cf91){this['_contextPanelView']['setAddContextOptions'](_0x13cf91);}['setInputPlaceholder'](_0x3df07e){this['_promptInputView']['setPlaceholderText'](_0x3df07e);}['setModelList'](_0x22a916,_0x1abb69){this['_promptCapabilitiesView']['setModelList'](_0x22a916,_0x1abb69);}['setModel'](_0x5c569e){_0x5c569e?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x5c569e)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x306a60){this['_promptCapabilitiesView']['disableModelSelector'](_0x306a60);}['populateSourceResourceBalloon'](_0x88cbb0,_0x8f77a5,_0x11f6c6,_0x4e93a5){this['_contextPanelView']['populateSourceResourceBalloon'](_0x88cbb0,_0x8f77a5,_0x11f6c6,_0x4e93a5);}['closeSourceResourceBalloon'](_0x19266d){this['_contextPanelView']['closeSourceResourceBalloon'](_0x19266d);}['focusPromptInput'](_0x1c6376=!0x1){this['_promptInputView']['focus'](_0x1c6376);}['setPromptInputValue'](_0x2f7a35){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x2f7a35;}}class AIChatModelUnavailableMessageView extends _0x268b55{constructor(_0x2fae59){super(_0x2fae59);const _0x14ea77=new _0x13bcd9(_0x2fae59);_0x14ea77['set']({'label':ho(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x14ea77['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':ho(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x14ea77]}]});}}class AIChatHeaderView extends yt{['conversationStartButton'];['resizeButton'];constructor(_0x3d47f3,_0x4a3cf2){super(_0x3d47f3,{'label':ho(_0x3d47f3,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':_0x29038e}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x3d47f3),this['children']['add'](this['conversationStartButton']),_0x4a3cf2&&(this['resizeButton']=uo(_0x3d47f3,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x47e425){const _0x249eed=new _0x13bcd9(_0x47e425);return _0x249eed['set']({'label':ho(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x9fced7,'class':'ck-ai-chat__start-conversation'}),_0x249eed['on']('execute',()=>{this['fire']('startConversation');}),_0x249eed;}}class AIDisclaimerView extends _0x268b55{constructor(_0x3dff17){super(_0x3dff17),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':ho(_0x3dff17,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends _0x268b55{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x4b3edb,_0x2e5f16){super(_0x4b3edb),this['_bodyCollection']=new dt(_0x4b3edb),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x4b3edb,_0x2e5f16['showResizeButton']),this['chatHeader']['delegate'](...$d)['to'](this),this['chatFeed']=new AIChatFeedView(_0x4b3edb,this['_bodyCollection']),this['chatFeed']['delegate'](...$d)['to'](this),this['chatControls']=new AIChatControlsView(_0x4b3edb,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x2e5f16['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](...$d)['to'](this),this['chatDisclaimer']=new AIDisclaimerView(_0x4b3edb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x4b3edb['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x2216e7,_0x484635,_0x1c2c2e,_0x12993e){this['chatControls']['populateSourceResourceBalloon'](_0x2216e7,_0x484635,_0x1c2c2e,_0x12993e);}['closeSourceResourceBalloon'](_0x539680){this['chatControls']['closeSourceResourceBalloon'](_0x539680);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x90c2d8{static get['requires'](){return[AITabs];}['_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(_0xdb262e){super(_0xdb262e);const _0x2793fe=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x2793fe['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](...$d)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x3ab349,{showDiff:_0x3c090f})=>{this['showDiff']=_0x3c090f;}),_0x2793fe['view']['addTab']({'id':'chat','buttonLabel':ho(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x29038e,'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x751979=>_0x751979),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x39f7a5=>_0x39f7a5),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0xfc78df){const _0x4538a8=this['context']['config']['get']('ai.chat.welcomeMessage')??ho(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0xfc78df['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x4538a8}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0xadb9b0,staticMessage:_0x258164}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xadb9b0,'initialContent':'<p>'+_0x258164+'</p>'});}['addFeedItemUserMessage'](_0x1f7c06){const _0x35127f=_0x1f7c06['attributes']?.['displayedPrompt']||_0x1f7c06['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x1f7c06['contextItems']['values']()),'initialContent':'<p>'+_0x35127f+'</p>','id':_0x1f7c06['id']});}['addFeedItemError']({errorMessage:_0x5a635b,id:_0x384cc1}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x5a635b+'</p>','id':_0x384cc1});}['addFeedItemAIReply'](_0x386154){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x386154['interactionId']+':'+_0x386154['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x20223a){const _0x262432=Md(this['context']);let _0x39bcbe=_0x262432['config']['get']('ai.availableReplyActions')||[...ef];if(_0x262432['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x53a91d=_0x262432['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x53a91d,'value');}}else _0x39bcbe=_0x39bcbe['filter'](_0x138109=>'insertSuggestion'!=_0x138109);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x20223a['interactionId']+':'+_0x20223a['id'],'areActionsDisabled':_0x20223a['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x39bcbe}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x24e288,_0x292b21){const _0x2b0bf4=this['_view']['chatFeed']['children']['last'];if(_0x2b0bf4 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x2b0bf4),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x24e288['id'],'capabilities':{'isWebSearchEnabled':_0x2b0bf4['capabilities']['isWebSearchEnabled']||_0x292b21['isWebSearchEnabled'],'isReasoningEnabled':_0x2b0bf4['capabilities']['isReasoningEnabled']||_0x292b21['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x24e288['id'],'capabilities':_0x292b21});}async['addFeedItemCustomElement'](_0x3c4497,_0x4bb5df){let _0x3f8eb8;return await this['_promiseQueue']['enqueue'](async()=>{_0x3f8eb8=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x3c4497,'id':_0x4bb5df});}),_0x3f8eb8;}['removeFeedItem'](_0x53d05d){this['_view']['chatFeed']['removeItem'](_0x53d05d);}['hasFeedItem'](_0x3a8428){return this['_view']['chatFeed']['hasItem'](_0x3a8428);}['updateFeedInteractionHeader'](_0x3f4260){const _0x473e33=this['_view']['chatFeed']['children']['find'](_0x37011c=>_0x37011c['options']['id']==_0x3f4260['id']&&_0x37011c instanceof AIChatFeedInteractionHeaderView);_0x473e33&&_0x473e33['set']('isVisible',_0x3f4260['isVisible']);}async['updateFeedItemAIReplyContent'](_0x94bf17){const _0x2430c8=_0x94bf17['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x1b238d=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x94bf17,'abortSignal':_0x1b238d,'renderingStrategy':_0x2430c8}),_0x94bf17['isDone']&&this['markFeedItemAsDone'](_0x94bf17['id']);});}['updateFeedItemAIReplySources'](_0x47fd94,_0x29bdce){this['_view']['chatFeed']['updateWebSources'](_0x47fd94,_0x29bdce);}async['updateFeedItemAIReplySuggestionContent'](_0xb3581a){const _0x59bda6=_0xb3581a['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x295b1e=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0xb3581a,'abortSignal':_0x295b1e,'renderingStrategy':_0x59bda6}),_0xb3581a['isDone']&&this['markFeedItemAsDone'](_0xb3581a['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x599f16){this['_view']['chatFeed']['updateSuggestionPartState'](_0x599f16);}['setFeedItemAIReplySuggestionPartActive'](_0x759aab){this['_view']['chatFeed']['setSuggestionPartActive'](_0x759aab);}['markFeedItemAsDone'](_0x59cbb5){this['_view']['chatFeed']['markItemAsDone'](_0x59cbb5);}['removeFeedInteraction'](_0x2e2c62){this['_view']['chatFeed']['getItemIds']()['filter'](_0x1e6a8e=>_0x1e6a8e['startsWith'](_0x2e2c62))['forEach'](_0x479d70=>this['_view']['chatFeed']['removeItem'](_0x479d70));}['startInteraction'](){const _0x25476e=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x25476e),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x24b3c3){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x148df9=>_0x148df9['startsWith'](_0x24b3c3['id']))['forEach'](_0x15a12a=>this['markFeedItemAsDone'](_0x15a12a)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x5f0feb,_0x9697c3){this['_view']['chatControls']['addContextItem'](_0x5f0feb,_0x9697c3);}['removeContextItem'](_0x2924a5){this['_view']['chatControls']['removeContextItem'](_0x2924a5);}['setContextItemLoading'](_0xc90098,_0x246594){this['_view']['chatControls']['setContextItemLoading'](_0xc90098,_0x246594);}['setIsUploadInProgress'](_0x1ca451){this['_view']['chatControls']['setIsUploadInProgress'](_0x1ca451);}['setConversationContext'](_0x8ae387){this['_view']['chatControls']['setConversationContext'](_0x8ae387);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x1d3a90,_0x4bf6ea,_0x2bbe43){this['_view']['chatControls']['updateResourceState'](_0x1d3a90,_0x4bf6ea,_0x2bbe43);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x165a3a){this['_view']['chatControls']['setAddContextOptions'](_0x165a3a);}['updateCapabilities'](_0x20b869){this['_view']['chatControls']['setWebSearch'](_0x20b869['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x20b869['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x20b869));}['setSelectedModel'](_0x1c814c,_0x5bc3d6){this['_view']['chatControls']['setModel'](_0x1c814c),_0x5bc3d6&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x45f117){this['feedItemRenderingStrategy']=_0x45f117;}['toggleLoadingSkeleton'](_0x16ba4e){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x16ba4e);}['resetConversationTitle'](){this['setConversationTitle'](ho(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x2c82df,_0xf6c9e9=!0x1){if(_0xf6c9e9&&!_0x23edb8()&&_0x2c82df['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x2c82df);this['_view']['chatHeader']['label']=_0x2c82df;}['setLoadingMessage'](_0x45282c){this['_view']['chatFeed']['setLoadingMessage'](_0x45282c);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x330b73){let _0x5872d7=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x330b73[_0x5872d7],_0x5872d7++,_0x5872d7===_0x330b73['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['setIsMaximized'](_0x46ac45){this['_view']['chatHeader']['isMaximized']=_0x46ac45;}['prepareLoadingMessage'](_0x42cdf0){return _0x42cdf0['isWebSearchEnabled']&&_0x42cdf0['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x42cdf0['isWebSearchEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x42cdf0['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x5f57b6){return _0x5f57b6?_0x5f57b6['isWebSearchEnabled']&&_0x5f57b6['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x5f57b6['isWebSearchEnabled']?ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x5f57b6['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x1cd4c3,_0x229690,_0x448eee,_0x2afcd6){this['_view']['populateSourceResourceBalloon'](_0x1cd4c3,_0x229690,_0x448eee,_0x2afcd6);}['closeSourceResourceBalloon'](_0x12ce68){this['_view']['closeSourceResourceBalloon'](_0x12ce68);}['setPromptInputValue'](_0xe79b6a){this['_view']['chatControls']['setPromptInputValue'](_0xe79b6a);}['focusPromptInput'](_0x46f48e=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x46f48e);}['scrollFeedToSuggestion'](_0xa1b798,_0x4f31c3){this['_view']['chatFeed']['scrollToSuggestion'](_0xa1b798,_0x4f31c3);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0xb67f93{['sections'];constructor(_0x285122,_0x1e43c4){super(_0x285122),this['sections']=_0x1e43c4,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x326f2e){let _0x5f3cee=0x0,_0x468b1e=0x0;for(const _0x322303 of this['sections']){const {resultsCount:_0x5327da,totalItemsCount:_0x4a614b}=_0x322303['filter'](_0x326f2e);_0x5f3cee+=_0x5327da,_0x468b1e+=_0x4a614b;}return{'resultsCount':_0x5f3cee,'totalItemsCount':_0x468b1e};}}class AIChatHistoryListView extends _0x3c0063{['title'];['itemsViews'];['_itemsListView'];constructor(_0x102980,{title:_0x4d1536,items:_0xd8cd2a}){super(_0x102980);const _0x4ba52a=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x4d1536,this['itemsViews']=_0xd8cd2a;const _0x49f7a4=new _0x268b55(_0x102980);_0x49f7a4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0xb67f93(_0x102980),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x4ba52a['if']('isVisible','ck-hidden',_0x5da495=>!_0x5da495)]},'children':[_0x49f7a4,this['_itemsListView']]});}['filter'](_0x34fb42){const _0xc7db24=this['itemsViews']['length'];let _0x2677e1=0x0;for(const _0x238e6c of this['itemsViews']){if(_0x34fb42){const _0x7c9389=_0x238e6c['isMatching'](_0x34fb42);_0x238e6c['isVisible']=!!_0x7c9389,_0x238e6c['highlightText'](_0x34fb42);}else _0x238e6c['isVisible']=!0x0,_0x238e6c['highlightText'](null);_0x238e6c['isVisible']&&_0x2677e1++;}return this['isVisible']=_0x2677e1>0x0,{'resultsCount':_0x2677e1,'totalItemsCount':_0xc7db24};}['getItem'](_0x35328d){return this['itemsViews']['find'](_0x3f38ab=>_0x3f38ab['id']===_0x35328d);}['removeItem'](_0x339f00){const _0x115d74=this['itemsViews']['indexOf'](_0x339f00);-0x1!==_0x115d74&&(this['itemsViews']['splice'](_0x115d74,0x1),this['_itemsListView']['items']['remove'](_0x339f00));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
Ku(_0x3c0063){['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(_0x5cf9f5,_0x31998f){super(_0x5cf9f5);const _0x5ca7e8=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x31998f['pinned']),this['set']('loadingState',null),this['id']=_0x31998f['id'];const {title:_0x253eee,createdAt:_0x185e55,active:_0x6d01fe=!0x1}=_0x31998f;this['_titleView']=new _t(),this['_titleView']['text']=_0x253eee,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x3f46a6=this['_createCheckView'](),_0x41fa5c=this['_createPinButtonView'](_0x5cf9f5),_0x17805b=this['_createMenuDropdownView'](),_0x3c5740=this['_createEditInputView'](_0x5cf9f5,_0x253eee),_0x1a8fdb=this['_createAcceptEditButtonView'](_0x5cf9f5,_0x3c5740),_0x1029c1=this['_createCancelEditButtonView'](_0x5cf9f5,_0x3c5740);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x41fa5c),this['actions']['add'](_0x17805b),this['on']('change:isEdit',(_0x590687,_0x35a35a,_0x1603ea)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x1603ea?(this['actions']['add'](_0x1a8fdb),this['actions']['add'](_0x1029c1),this['mainContent']['add'](_0x3c5740),_0x3c5740['element']['focus']()):(this['actions']['add'](_0x41fa5c),this['actions']['add'](_0x17805b),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x6d01fe?'ck-ai-chat-history__item--active':'',_0x5ca7e8['if']('isVisible','ck-hidden',_0x24edc5=>!_0x24edc5),_0x5ca7e8['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',_0x5ca7e8['if']('loadingState','ck-hidden',_0x3cb397=>!!_0x3cb397)]},'children':_0x6d01fe?[_0x3f46a6]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x5ca7e8['if']('loadingState','ck-hidden',_0x47ac0f=>!_0x47ac0f)]},'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',_0x5ca7e8['if']('loadingState','ck-hidden',_0x233bec=>!!_0x233bec)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x5ca7e8['if']('loadingState','ck-hidden',_0x5cef73=>!_0x5cef73)]},'children':[{'text':_0x5ca7e8['to']('loadingState',_0x182fa9=>_0x182fa9?ho(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x182fa9]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x185e55]}]},{'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'](_0x2e5702){this['_titleView']['text']=zr(_0x2e5702);}['updateLoadingState'](_0x4b8c8b,_0x4b5cba){this['set']('loadingState',_0x4b5cba?_0x4b8c8b:null);}['_createCheckView'](){const _0x25cc6f=new _0x2b9920();return _0x25cc6f['set']({'content':_0x424b4d}),_0x25cc6f;}['_createPinButtonView'](_0x153a1f){const _0x512696=new _0x13bcd9(_0x153a1f);return _0x512696['set']({'label':ho(_0x153a1f,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x144108,'withText':!0x1,'tooltip':!0x0}),_0x512696['bind']('isOn')['to'](this,'pinned'),_0x512696['on']('execute',()=>{const _0x2afe90=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x2afe90});}),_0x512696;}['_createMenuDropdownView'](){const _0x589660=st(this['locale'],LateFocusDropdownButtonView),_0x217007=_0x589660['panelView']['children'];_0x589660['buttonView']['set']({'label':ho(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x38053d}),_0x589660['panelPosition']='sw';const _0x1dcf86=new _0x13bcd9(this['locale']);_0x1dcf86['label']=ho(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x1dcf86['withText']=!0x0,_0x1dcf86['on']('execute',()=>{this['isEdit']=!0x0;});const _0x79578d=new _0x13bcd9(this['locale']);_0x79578d['label']=ho(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x79578d['withText']=!0x0,_0x79578d['on']('execute',()=>{this['showConfirm'](ho(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x555127=new _0xb67f93(this['locale']),_0x2bddc1=new _0x3c0063(this['locale']);_0x2bddc1['children']['add'](_0x1dcf86);const _0x894ff0=new _0x3c0063(this['locale']);return _0x894ff0['children']['add'](_0x79578d),_0x555127['items']['addMany']([_0x2bddc1,_0x894ff0]),_0x217007['add'](_0x555127),_0x589660;}['_createEditInputView'](_0x89e62b,_0x27b31d){const _0x43a881=new Et(_0x89e62b),_0x57c1be=_0x43a881['bindTemplate'];return _0x43a881['value']=_0x27b31d,_0x43a881['extendTemplate']({'on':{'keydown':_0x57c1be['to'](_0x50f8d4=>{'Enter'==_0x50f8d4['key']&&this['_commitEditInputValue'](_0x43a881);})}}),_0x43a881;}['_createAcceptEditButtonView'](_0x5c2e56,_0x2af4b5){const _0x293da1=new _0x13bcd9(_0x5c2e56);return _0x293da1['set']({'icon':_0x424b4d,'withText':!0x1,'tooltip':ho(_0x5c2e56,'AI_CHAT_HISTORY_ACCEPT')}),_0x293da1['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x293da1['on']('execute',()=>{this['_commitEditInputValue'](_0x2af4b5);}),_0x293da1;}['_commitEditInputValue'](_0x36efbc){const _0x4d4c34=_0x36efbc['element']['value']||'';this['_titleView']['text']=_0x4d4c34,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x4d4c34});}['_createCancelEditButtonView'](_0x677da4,_0xc5f08a){const _0xc3818c=new _0x13bcd9(_0x677da4);return _0xc3818c['set']({'icon':_0x288b7f,'withText':!0x1,'tooltip':ho(_0x677da4,'AI_CHAT_HISTORY_CANCEL')}),_0xc3818c['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0xc3818c['on']('execute',()=>{this['isEdit']=!0x1,_0xc5f08a['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0xc3818c;}['_createSpinnerView'](){const _0x1f9329=new AISpinnerView('tiny');return _0x1f9329['isVisible']=!0x0,_0x1f9329;}['isMatching'](_0x266f67){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x266f67)?{'title':!0x0}:null;}['highlightText'](_0x265b43){this['_titleView']['highlightText'](_0x265b43);}}class AIChatHistoryView extends _0x268b55{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x5aa576,_0x4a16ac){super(_0x5aa576),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 _0x32f4e3=new yt(_0x5aa576,{'label':ho(_0x5aa576,'AI_CHAT_HISTORY_HEADING'),'icon':_0x55c7b3,'class':'ck-ai-header\x20ck-ai-header_history'});_0x4a16ac&&(this['resizeButton']=uo(_0x5aa576,this),_0x32f4e3['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x5aa576,[]),this['sectionsView']['delegate'](...am)['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',_0x4bfca1=>!_0x4bfca1)]}}),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':[_0x32f4e3,{'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 _0x2c02f1=new At(this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x5d64cb=>ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x5d64cb),'secondary':ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0xb6d00b=this['_createErrorView']();return _0xb6d00b['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x4294e7=>!_0x4294e7)]}}),_0x2c02f1['on']('render',()=>{_0x2c02f1['children']['add'](_0xb6d00b,0x1);}),_0x2c02f1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x281099=>!_0x281099)]}}),_0x2c02f1;}['_createSkeletonView'](){const _0x4b299e=new AISkeletonView(this['locale'],Tf['aiHistory']);return _0x4b299e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x19eac1=>!_0x19eac1)]}}),_0x4b299e;}['_createErrorView'](){const _0x74a889=new _0x268b55(this['locale']),_0x1b66d9=new _0x13bcd9(this['locale']);_0x1b66d9['set']({'withText':!0x1,'icon':_0x288b7f,'class':'ck-ai-notification_error__dismiss-button'}),_0x1b66d9['bind']('isVisible')['to'](this,'hasItems',_0x1467e0=>!!_0x1467e0),_0x1b66d9['on']('execute',()=>{this['errorMessage']='';});const _0x1c9298=this['bindTemplate'];return _0x74a889['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x1c9298['to']('errorMessage')}]},_0x1b66d9]}),_0x74a889;}['_createEmptyStateView'](){const _0x2bba69=new _0x13bcd9(this['locale']);_0x2bba69['set']({'label':ho(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x9fced7,'class':'ck-ai-chat__start-conversation'}),_0x2bba69['on']('execute',()=>{this['fire']('openChat');});const _0x414d63=new _0x268b55(this['locale']);return _0x414d63['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x4fb506=>!_0x4fb506)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[ho(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x2bba69]}),_0x414d63;}['_createListItemViews'](_0x36d357,_0x1babf8){const _0x9d271f=[];for(const _0x558781 of _0x36d357){const _0x485fba=new AIChatHistoryListItemView(_0x1babf8,_0x558781);_0x485fba['delegate'](...am)['to'](this),_0x9d271f['push'](_0x485fba);}return _0x9d271f;}['updateHistoryItemsWithCategories'](_0x108045){const _0x5058f3=this['locale']||'en',_0x2adb77=[];for(const _0x27a6a9 of _0x108045){const _0x5bc6aa=this['_createListItemViews'](_0x27a6a9['items'],_0x5058f3);_0x2adb77['push'](new AIChatHistoryListView(_0x5058f3,{'title':_0x27a6a9['title'],'items':_0x5bc6aa}));}this['sectionsView']['sections']=_0x2adb77,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x2adb77),this['hasItems']=_0x108045['some'](_0x2c8634=>_0x2c8634['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x15a95a){for(const _0x440366 of this['sectionsView']['sections']){const _0x27692d=_0x440366['getItem'](_0x15a95a);if(_0x27692d){if(_0x440366['removeItem'](_0x27692d),0x0===_0x440366['itemsViews']['length']){const _0x3a5187=this['sectionsView']['sections']['indexOf'](_0x440366);-0x1!==_0x3a5187&&(this['sectionsView']['sections']['splice'](_0x3a5187,0x1),this['sectionsView']['items']['remove'](_0x440366));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x3403f7,_0x46de62){for(const _0x5348ce of this['sectionsView']['sections']){const _0x24acb8=_0x5348ce['getItem'](_0x3403f7);if(_0x24acb8){_0x24acb8['updateTitle'](_0x46de62);break;}}}['updateItemLoadingState'](_0x517184,_0x2d0232,_0x1f9bfa){for(const _0x22104d of this['sectionsView']['sections']){const _0x29c21a=_0x22104d['getItem'](_0x517184);if(_0x29c21a){_0x29c21a['updateLoadingState'](_0x2d0232,_0x1f9bfa);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x1c0a8b=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x1c0a8b);}}}const am=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends _0x90c2d8{static get['requires'](){return[AITabs];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x524a12){super(_0x524a12);const _0x323aff=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x323aff['showResizeButton']),this['_historyView']['delegate'](...am)['to'](this),_0x323aff['view']['addTab']({'id':'history','buttonLabel':ho(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x55c7b3,'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x32cf28){this['_historyView']['removeHistoryItem'](_0x32cf28);}['updateItems'](_0x33ffa3){this['_historyView']['updateHistoryItemsWithCategories'](_0x33ffa3);}['updateItemTitle'](_0x3d875f,_0x173475){this['_historyView']['updateItemTitle'](_0x3d875f,_0x173475);}['updateItemLoadingState'](_0x37728e,_0x53f882,_0x565941){this['_historyView']['updateItemLoadingState'](_0x37728e,_0x53f882,_0x565941);}['setLoadingSkeleton'](_0xc9e61d){this['_historyView']['isLoading']=_0xc9e61d;}['showError'](_0x21e3ac){this['_historyView']['errorMessage']=_0x21e3ac;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x36c24e){this['_historyView']['isMaximized']=_0x36c24e;}}class AIChatHistoryItem extends _0x266f1a(){['id'];['createdAt'];constructor({id:_0x1c0b4a,title:_0x446319,createdAt:_0x55aab9,updatedAt:_0x2cfa82,pinned:_0x3d285f}){super(),this['id']=_0x1c0b4a,this['createdAt']=new Date(_0x55aab9),this['set']('title',_0x446319),this['set']('updatedAt',_0x2cfa82?new Date(_0x2cfa82):null),this['set']('pinned',_0x3d285f||!0x1);}['updateTitle'](_0x378c52){this['set']('title',zr(_0x378c52)),this['updatedAt']=new Date();}['updatePinned'](_0x571a23){this['set']('pinned',_0x571a23),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x5544ae(){['items']=[];['connector'];['group'];constructor({connector:_0x461b21,group:_0x14c7e1}){super(),this['connector']=_0x461b21,this['group']=_0x14c7e1;}async['init'](){try{const _0x462826=this['connector']['fetchConversations'](this['group']),_0x921936=await _0x462826['getConversations']();this['loadItems'](_0x921936);}catch(_0x18d339){this['fire']('error',{'error':_0x18d339,'operation':'init'});}}['addItem'](_0x33ce6a){this['items']['push'](_0x33ce6a);}async['removeItem'](_0x1db453){const _0x574e5e=this['items']['findIndex'](_0x108bda=>_0x108bda['id']===_0x1db453);if(-0x1===_0x574e5e)return!0x1;try{return await this['connector']['deleteConversation'](_0x1db453)['execute'](),this['items']['splice'](_0x574e5e,0x1),this['fire']('itemRemoved',{'itemId':_0x1db453}),!0x0;}catch(_0x3817ed){return this['fire']('error',{'error':_0x3817ed,'operation':'removeItem','itemId':_0x1db453}),!0x1;}}['getItem'](_0x4585ad){return this['items']['find'](_0x5bae35=>_0x5bae35['id']===_0x4585ad);}async['updateItemTitle'](_0x5457b0,_0x461b7d){const _0x19c521=this['getItem'](_0x5457b0);if(!_0x19c521)return!0x1;try{return await this['connector']['updateConversation'](_0x5457b0,{'title':_0x461b7d})['getResult'](),_0x19c521['updateTitle'](_0x461b7d),this['fire']('itemUpdated',{'itemId':_0x5457b0,'updates':{'title':_0x461b7d}}),!0x0;}catch(_0x4d040a){return this['fire']('error',{'error':_0x4d040a,'operation':'updateItemTitle','itemId':_0x5457b0}),!0x1;}}async['updateItemPinned'](_0x257bdf,_0x45f69d){const _0x3ea9da=this['getItem'](_0x257bdf);if(!_0x3ea9da)return!0x1;try{return await this['connector']['updateConversation'](_0x257bdf,{'pinned':_0x45f69d})['getResult'](),_0x3ea9da['updatePinned'](_0x45f69d),this['fire']('itemUpdated',{'itemId':_0x257bdf,'updates':{'pinned':_0x45f69d}}),!0x0;}catch(_0x25adff){return this['fire']('error',{'error':_0x25adff,'operation':'updateItemPinned','itemId':_0x257bdf}),!0x1;}}['loadItems'](_0x447847){try{this['items']=[],_0x447847['map'](_0x41ab9a=>{this['addItem'](new AIChatHistoryItem(_0x41ab9a));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x48d676){this['fire']('error',{'error':_0x48d676,'operation':'loadItems'});}}['getItems'](_0x2eed52={}){const _0x5b94d6=void 0x0!==_0x2eed52['pinned']&&_0x2eed52['pinned'],_0x5dce8b=_0x2eed52['from']?new Date(_0x2eed52['from']['getFullYear'](),_0x2eed52['from']['getMonth'](),_0x2eed52['from']['getDate']()):null,_0x569b1a=_0x2eed52['to']?new Date(_0x2eed52['to']['getFullYear'](),_0x2eed52['to']['getMonth'](),_0x2eed52['to']['getDate']()):null;return this['items']['filter'](_0x25cf63=>{if(_0x25cf63['pinned']!==_0x5b94d6)return!0x1;if(_0x569b1a){const _0x5bca03=new Date(_0x25cf63['createdAt']['getFullYear'](),_0x25cf63['createdAt']['getMonth'](),_0x25cf63['createdAt']['getDate']());return _0x5dce8b?_0x5dce8b['getTime']()===_0x569b1a['getTime']()?_0x5bca03['getTime']()===_0x5dce8b['getTime']():_0x5bca03<_0x569b1a&&_0x5bca03>=_0x5dce8b:_0x5bca03<_0x569b1a;}return!0x0;});}}class AIChatHistoryController extends _0x90c2d8{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,AITabs];}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 _0x3e56c9=this['context']['plugins']['get'](AITabs);try{const _0x2ffda3=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x2ffda3}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x31aa02,_0x4d6c49)=>{this['_setItemLoading'](_0x4d6c49['id'],'remove'),this['_handleRemove'](_0x4d6c49['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0xb3337c,_0x5dedc7)=>{this['_setItemLoading'](_0x5dedc7['id'],'rename'),this['_handleEditTitle'](_0x5dedc7['id'],_0x5dedc7['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x2d6032,_0x167bb4)=>{void 0x0!==_0x167bb4['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x167bb4['itemId'],_0x167bb4['updates']['title']),void 0x0!==_0x167bb4['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x167bb4['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x480f41,_0x4000ea)=>{this['_aiChatController']['handleRemovedConversation'](_0x4000ea['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x4000ea['itemId']),this['_clearItemLoading'](_0x4000ea['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x29f649,_0x4e2f2a)=>{this['_handleHistoryErrorUI'](_0x4e2f2a['error'],_0x4e2f2a['operation'],_0x4e2f2a['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x126350,_0x18e15c)=>{this['_handleSelectConversation'](_0x18e15c['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x29d502,_0x10e96d)=>{const _0x31580a=_0x10e96d['pinned']?'pin':'unpin';this['_setItemLoading'](_0x10e96d['id'],_0x31580a),this['_handleTogglePin'](_0x10e96d['id'],_0x10e96d['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x3e56c9['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x3e56c9['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x3e56c9,'resizedTabs',(_0x2280b3,_0x33e9b1)=>{this['_setIsMaximized'](_0x33e9b1);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x3e56c9['resize']();});}catch(_0x2b578f){this['_handleHistoryErrorUI'](_0x2b578f,'init');}}async['_handleEditTitle'](_0x3d5c73,_0x2704b1){await this['history']['updateItemTitle'](_0x3d5c73,_0x2704b1);}async['_handleTogglePin'](_0x48788b,_0x4bb43f){await this['history']['updateItemPinned'](_0x48788b,_0x4bb43f);}async['_handleRemove'](_0x1292b8){await this['history']['removeItem'](_0x1292b8);}async['_handleSelectConversation'](_0x3a13e7){await this['_aiChatController']['loadConversation'](_0x3a13e7);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x238db1=this['_aiChatController']['activeConversation']?.['id'],_0x20fcd0=this['_getCategorizedItems']()['map'](_0x433684=>({'title':_0x433684['title'],'items':_0x433684['items']['map'](_0x27f4c3=>({'id':_0x27f4c3['id'],'title':_0x27f4c3['title']||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x27f4c3['createdAt'])['toLocaleDateString'](),'active':_0x27f4c3['id']===_0x238db1,'pinned':_0x27f4c3['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x20fcd0);}['_setItemLoading'](_0x4175e0,_0x41b578){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x4175e0,_0x41b578,!0x0);}['_clearItemLoading'](_0x3d04d6){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x3d04d6,null,!0x1);}['_handleHistoryErrorUI'](_0x1cbef7,_0x2c46df,_0x39f96c){const _0x2a1da3=this['_generateErrorMessage'](_0x2c46df,_0x39f96c);this['_aiChatHistoryUi']['showError'](_0x2a1da3),_0x39f96c&&this['_clearItemLoading'](_0x39f96c),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x2697b3,_0x133cb1){const _0x28c5f7=_0x133cb1?this['history']['getItem'](_0x133cb1):null,_0x48e38b=_0x28c5f7?.['title']||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x2697b3){case'updateItemTitle':return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x48e38b);case'updateItemPinned':{const _0x165a05=ho(this['context']['locale'],_0x28c5f7?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x165a05,_0x48e38b]);}case'removeItem':return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x48e38b);case'init':case'loadItems':return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x20eb5a=new Date(),_0x2132e1=new Date(_0x20eb5a['getFullYear'](),_0x20eb5a['getMonth'](),_0x20eb5a['getDate']()),_0x9f7c3b=new Date(_0x2132e1);_0x9f7c3b['setDate'](_0x9f7c3b['getDate']()-0x1);const _0x348d2c=new Date(_0x2132e1);_0x348d2c['setDate'](_0x348d2c['getDate']()-0xe);const _0x33efea=this['history']['getItems']({'pinned':!0x0}),_0xcd9adc=this['history']['getItems']({'from':_0x2132e1,'to':_0x2132e1}),_0x44a4bb=this['history']['getItems']({'from':_0x9f7c3b,'to':_0x9f7c3b}),_0x572d29=this['history']['getItems']({'from':_0x348d2c,'to':_0x9f7c3b}),_0x1bba8d=this['history']['getItems']({'to':_0x348d2c}),_0x252b12=[];return _0x33efea['length']>0x0&&_0x252b12['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x33efea}),_0xcd9adc['length']>0x0&&_0x252b12['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0xcd9adc}),_0x44a4bb['length']>0x0&&_0x252b12['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x44a4bb}),_0x572d29['length']>0x0&&_0x252b12['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x572d29}),_0x1bba8d['length']>0x0&&_0x252b12['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x1bba8d}),_0x252b12;}['_setIsMaximized'](_0x588076){this['_aiChatHistoryUi']['setIsMaximized'](_0x588076);}}class AIChatHistory extends _0x90c2d8{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0x90c2d8{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28eb4c){super(_0x28eb4c),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:_0x119474,attributes:_0x4f1b37}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x119474,'attributes':_0x4f1b37});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x19b70f){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x19b70f);}}class AIChatShortcutView extends _0x13bcd9{['id'];constructor(_0xacd0e0,_0x9b675b){super(_0xacd0e0);const {id:_0x2b0cd6,type:_0x406fac,icon:_0x2ce56e}=_0x9b675b;this['id']=_0x2b0cd6,this['set']({'label':_0x9b675b['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x9b675b['id']}}),_0x2ce56e?this['icon']=_0x2ce56e:'chat'===_0x406fac?this['icon']=_0x4f7daa:'review'===_0x406fac?this['icon']=_0x14ee79:'translate'===_0x406fac&&(this['icon']=_0x3c547a);}}class AIChatShortcutsView extends _0x268b55{['listView'];constructor(_0x2ad274,_0x5efaa6){super(_0x2ad274);const _0x304d44=_0x5efaa6['map'](_0xa26fe=>{const _0x4ece22=new _0x3c0063(this['locale']),_0x29cda5=new AIChatShortcutView(this['locale'],_0xa26fe);return _0x4ece22['children']['add'](_0x29cda5),_0x29cda5['delegate']('execute')['to'](this),_0x4ece22;});this['listView']=new _0xb67f93(this['locale']),this['listView']['items']['addMany'](_0x304d44),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const cm='chat-shortcuts';var lm=function(_0x3bfbcb){return _0x3bfbcb['CHAT']='chat',_0x3bfbcb['REVIEW']='review',_0x3bfbcb['TRANSLATE']='translate',_0x3bfbcb;}({});class AIChatShortcuts extends _0x90c2d8{['_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 _0x3abecc=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x3abecc['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x3abecc,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x3f0c0d=Object['values'](lm);this['_shortcuts']['forEach'](_0x13eb15=>{let _0xf91927=!0x0;if(_0x13eb15['id']&&_0x13eb15['label']&&_0x3f0c0d['includes'](_0x13eb15['type'])?'chat'===_0x13eb15['type']&&(_0xf91927='string'==typeof _0x13eb15['prompt']):_0xf91927=!0x1,!_0xf91927)throw new _0x1976e8('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x13eb15});});}['_injectShortcuts'](){const _0x472730=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x472730['addFeedItemCustomElement'](this['_shortcutsView']['element'],cm),this['_shortcutsView']['on']('execute',_0x73934a=>{const _0x39eb2f=_0x73934a['source']['id'];this['_executeShortcut'](_0x39eb2f);});}['_removeShortcuts'](){const _0x400c2f=this['context']['plugins']['get'](AIChatUI);_0x400c2f['hasFeedItem'](cm)&&_0x400c2f['removeFeedItem'](cm),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x4c4a6d){const _0x3421ac=this['_shortcuts']['find'](_0x5b608a=>_0x5b608a['id']===_0x4c4a6d),_0x26dc1c=_0x3421ac['type'];'chat'===_0x26dc1c?this['_runChatShortcut'](_0x3421ac):'review'===_0x26dc1c?_0x3421ac['check']?this['_runReviewShortcut'](_0x3421ac):this['_switchTab']('reviewMode'):'translate'===_0x26dc1c&&(_0x3421ac['language']?this['_runTranslateShortcut'](_0x3421ac):this['_switchTab']('translate'));}['_switchTab'](_0x10c13d){if(!this['context']['plugins']['has']('AITabs'))throw new _0x1976e8('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x10c13d});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x10c13d);}async['_runChatShortcut']({prompt:_0x11c129,draftMode:_0x570069,useWebSearch:_0xc6b426=!0x1,useReasoning:_0x30e26a=!0x1,model:_0x448026}){const _0x1e389d=this['context']['plugins']['get']('AIChat'),_0x4a7151=this['context']['plugins']['get']('AIChatController'),_0x5cfec4=_0x4a7151['activeConversation'];let _0x5f5905;_0x5f5905=_0x448026?await _0x5cfec4['chatModels']['getModel'](_0x448026):await _0x5cfec4['chatModels']['getDefault'](),_0x5f5905&&await _0x5cfec4['setModel'](_0x5f5905),_0x5cfec4['setWebSearch'](_0xc6b426),_0x5cfec4['setReasoning'](_0x30e26a),_0x4a7151['addCurrentDocumentToChatContext'](),_0x570069?(this['_aiChatUI']['setPromptInputValue'](_0x11c129),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x1e389d['sendMessage']({'message':_0x11c129});}['_runReviewShortcut']({check:_0x3fa2bc,model:_0x326958,prompt:_0x4d346e,params:_0x5c6e95}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x1976e8('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x5f3072={'id':_0x3fa2bc,'isCustom':'custom'===_0x3fa2bc};_0x326958&&_0x4d346e&&(_0x5f3072['args']={'model':_0x326958,'prompt':_0x4d346e}),_0x5c6e95&&(_0x5f3072['params']=_0x5c6e95),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x5f3072);}['_runTranslateShortcut']({language:_0x56d359}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x1976e8('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x56d359,'args':{'language':_0x56d359}});}}class ToggleAICommand extends _0x1110b9{constructor(_0x2013ee){super(_0x2013ee);const _0x159853=_0x2013ee['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x159853,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x8b6336=this['editor']['plugins']['get']('AITabs')['view'];_0x8b6336['isVisible']=!_0x8b6336['isVisible'];}}class AIToggleButtonUI extends _0x4ac504{static get['requires'](){return[AITabs];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x173c26=this['editor'];_0x173c26['commands']['add']('toggleAi',new ToggleAICommand(_0x173c26)),_0x173c26['ui']['componentFactory']['add']('toggleAi',()=>{const _0x4da3ab=this['_createAIUIButton'](_0x13bcd9);return _0x4da3ab['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x4da3ab;}),_0x173c26['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x4f7e22=this['_createAIUIButton'](ot);return _0x4f7e22['set']({'role':'menuitemcheckbox'}),_0x4f7e22;});}['_createAIUIButton'](_0x46eedb){const _0xb4da3b=this['editor'],_0x4fc0a6=_0xb4da3b['commands']['get']('toggleAi'),_0x297e4e=new _0x46eedb(_0xb4da3b['locale']);return _0x297e4e['set']({'label':ho(_0xb4da3b['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x260b26,'isToggleable':!0x0}),_0x297e4e['bind']('isEnabled')['to'](_0x4fc0a6),_0x297e4e['bind']('isOn')['to'](_0x4fc0a6,'value',_0x59b2a1=>!!_0x59b2a1),this['listenTo'](_0x297e4e,'execute',()=>{_0x4fc0a6['execute']();}),_0x297e4e;}}const hm=['applySuggestion','insertSuggestion','showNext','showPrevious'];class AIBalloonView extends _0x268b55{['_errorView'];constructor(_0x2e7a6e){super(_0x2e7a6e),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x2f8369){this['showError'](_0x2f8369);}['showError'](_0x8383b8){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x8383b8,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x3a4bb6=new _0x268b55(this['locale']),_0x17458=new _0x268b55(this['locale']);return _0x17458['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x3a4bb6['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x3ee718=>!_0x3ee718)]},'children':[_0x17458]}),_0x3a4bb6;}}const um=0xa;class AIBalloon extends _0x90c2d8{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'](_0x2d487b){const {id:_0x3c56eb}=this['_currentConfig']??{};this['_currentConfig']=_0x2d487b;const {id:_0x7587a8}=this['_currentConfig'];this['isOpen']&&_0x3c56eb===_0x7587a8?this['_updateDialog']():this['_showDialog']();}['close'](){const _0xd66d97=Md(this['context'])['plugins']['get']('Dialog');_0xd66d97['isOpen']&&this['_currentConfig']&&_0xd66d97['id']===this['_currentConfig']['id']&&_0xd66d97['hide']();}['_updateDialog'](){const _0x5a009f=Md(this['context'])['plugins']['get']('Dialog'),{icon:_0x1730d5,title:_0x50e872}=this['_currentConfig'];_0x5a009f['view']?.['headerView']&&(_0x5a009f['view']['headerView']['label']=_0x50e872,_0x5a009f['view']['headerView']['iconView']&&_0x1730d5&&(_0x5a009f['view']['headerView']['iconView']['content']=_0x1730d5)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x5a009f['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x17f5e6){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x17f5e6);}['_showDialog'](){const _0x9d845d=Md(this['context'])['plugins']['get']('Dialog'),{id:_0x4aa971,title:_0x14fc1e,icon:_0x4795da,class:_0x2a1685,mainView:_0x45180c}=this['_currentConfig'];_0x45180c['delegate'](...hm)['to'](this),_0x9d845d['show']({'title':_0x14fc1e,'icon':_0x4795da,'hasCloseButton':!0x0,'id':_0x4aa971,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x2a1685||''),'content':_0x45180c,'onShow':_0xf93c94=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x2aa917=this['_getSelectionElements']();_0x2aa917&&_0x2aa917[0x0]&&_0xe93d68({'target':_0x2aa917[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0xf93c94['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x4aa971});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x4aa971}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x93931b,_0x3a5b0e){if(!_0x3a5b0e)return null;const _0x42fca1=this['_getSelectionElements']();if(!_0x42fca1||0x0===_0x42fca1['length'])return{'left':Math['round'](_0x3a5b0e['left']+_0x3a5b0e['width']/0x2-_0x93931b['width']/0x2),'top':Math['round'](_0x3a5b0e['top']+_0x3a5b0e['height']/0x2-_0x93931b['height']/0x2)};const _0xba5c7=Math['round'](_0x3a5b0e['left']+_0x3a5b0e['width']/0x2-_0x93931b['width']/0x2),_0x2c1b76=_0x42fca1['map'](_0x40145e=>new _0x20d411(_0x40145e)),_0x3f35fe=_0x93931b['height'];return{'left':_0xba5c7,'top':this['_calculateOptimalTopPosition'](_0x2c1b76,_0x3f35fe,_0x3a5b0e)};}['_calculateOptimalTopPosition'](_0x509ff5,_0x53f2bd,_0x2425c9){const _0x4bf0e4=new _0x20d411(_0x81fd87['window']),_0x3a3f89=_0x509ff5['map'](_0x49c4a2=>_0x49c4a2['getVisible']())['filter'](_0x2b31e9=>_0x2b31e9),_0x287bda=_0x20d411['getBoundingRect'](_0x3a3f89);if(!_0x287bda)return Math['round'](_0x2425c9['top']+_0x2425c9['height']/0x2);const _0x20b3c=_0x4bf0e4['getIntersection'](_0x287bda);if(!_0x20b3c)return Math['round'](_0x2425c9['top']+_0x2425c9['height']/0x2);const _0x37f89e=_0x2425c9['getVisible'](),_0x4cdb29=_0x37f89e&&_0x287bda['height']>_0x37f89e['height'],_0x33d1a7=_0x20b3c['top'],_0x21b117=_0x20b3c['bottom'];if(_0x4cdb29){const _0x283a23=(_0x37f89e||_0x4bf0e4)['height']/0x2-_0x53f2bd/0x2,_0x8b5a6d=_0x33d1a7-um-_0x2425c9['top'],_0x4b7d0e=_0x2425c9['bottom']-_0x21b117-um;return _0x8b5a6d>=_0x53f2bd?Math['max'](um,_0x33d1a7-_0x53f2bd-um):_0x4b7d0e>=_0x53f2bd?_0x21b117+um:Math['max'](um,_0x283a23);}const _0x2ac23b=_0x33d1a7-_0x53f2bd,_0x23b746=_0x2425c9['bottom']-_0x21b117-um,_0x5524a2=_0x33d1a7-um-_0x2425c9['top'];let _0x5b3575;if(_0x23b746>=_0x53f2bd)_0x5b3575=_0x21b117+um;else{if(_0x5524a2>=_0x53f2bd)_0x5b3575=_0x2ac23b-um;else _0x5b3575=_0x33d1a7+_0x287bda['height']/0x2-_0x53f2bd/0x2;}return _0x5b3575;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x2b1335=Md(this['context']);this['listenTo'](_0x2b1335['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x7e4ec5,data:{newRange:_0x2b1784}}of _0x2b1335['model']['document']['differ']['getChangedMarkers']())if(_0x7e4ec5['startsWith'](Dd+':')&&(_0x2b1784&&(_0x2b1784['start']['isEqual'](_0x2b1784['end'])||'$graveyard'==_0x2b1784['root']['rootName'])||null==_0x2b1784)){const _0x2b853f=ho(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x2b853f),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x42cfcd=Md(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x42cfcd['model']['document']);}['_getSelectionElements'](){const _0x2b5034=Md(this['context']);return Wu(_0x2b5034['editing'],[..._0x2b5034['model']['markers']['getMarkersGroup']('ai-selection'),..._0x2b5034['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class AIMiniToolbarView extends _0x2c1653{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x5e86be,_0x330626={}){super(_0x5e86be),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x330626};const _0x55c327=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x55c327?'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'](_0x17d548){this['showChangesButton']['isEnabled']=_0x17d548;}['_setupRatingButtons'](){this['likeButton']=new _0x13bcd9(this['locale']),this['likeButton']['set']({'icon':_0x889361,'label':ho(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x13bcd9(this['locale']),this['dislikeButton']['set']({'icon':_0xd53e83,'label':ho(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 _0x13bcd9(this['locale']),this['copyButton']['set']({'icon':_0x134fe4,'label':ho(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x4bfc78=new _0x2b9920();_0x4bfc78['set']({'content':_0x339869}),_0x4bfc78['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'](_0x4bfc78);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x13bcd9(this['locale']),this['showChangesButton']['set']({'icon':_0x111689,'label':ho(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',_0x4db818=>_0x4db818?_0x482ef6:_0x111689),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends AIBalloonView{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0xfd84a3,_0x5ae34b){super(_0xfd84a3);const _0x73942a=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0xc1a0cc(),this['_keystrokes']=new _0x3c1644(),this['_focusables']=this['createCollection'](),this['focusCycler']=new tt({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x5ae34b,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0xfd84a3),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0xfd84a3,_0x5ae34b['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x5ae34b),this['_stateView']=new AISuggestionContentPartStateView(_0xfd84a3),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new AIMiniToolbarView(_0xfd84a3,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0xfd84a3,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x2ea8e5,_0x130228,_0x1a6350,_0xdf7daf)=>{let _0x162b36,_0x5e5f6f;'pending'===_0xdf7daf?(_0x162b36=this['_partToolbarView'],_0x5e5f6f=this['_stateView']):(_0x162b36=this['_stateView'],_0x5e5f6f=this['_partToolbarView']),this['_stateView']['setState'](_0x1a6350),_0x162b36['isVisible']=!0x1,_0x5e5f6f['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x73942a['to']('_state',_0x57686a=>'ck-ai-chat-balloon-main_state_'+_0x57686a)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x5ae34b);});}['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'](_0x42efea){_0x42efea?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x42efea);}['setState'](_0x30e6ec){this['_state']=_0x30e6ec;}['showError'](_0x15a6b5){super['showError'](_0x15a6b5),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x160ed2){super['showBlockingError'](_0x160ed2),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x168dfd){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x168dfd;}['togglePartToolbarEnabled'](_0x5aecea){this['_partToolbarView']['isEnabled']=_0x5aecea;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x2309c6,showSuggestButton:_0x3d3bc4}){_0x2309c6=_0x2309c6&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3d3bc4=_0x3d3bc4&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x2309c6,'showSuggestButton':_0x3d3bc4});}['_createNextButtonView'](){const _0x140aa8=new _0x13bcd9(this['locale']);return _0x140aa8['set']({'icon':_0x404565,'label':ho(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x140aa8['on']('execute',()=>{this['fire']('showNext');}),_0x140aa8;}['_createPreviousButtonView'](){const _0x4108f3=new _0x13bcd9(this['locale']);return _0x4108f3['set']({'icon':_0x32e715,'label':ho(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x4108f3['on']('execute',()=>{this['fire']('showPrevious');}),_0x4108f3;}}class AIChatBalloonToolbarContainerView extends _0x268b55{constructor(_0x5c26f6,_0x2e74d1){super(_0x5c26f6),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x2e74d1});}}class AIChatBalloon extends _0x4ac504{static get['requires'](){return[it,AIBalloon];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x2ce8bd){super(_0x2ce8bd),this['set']('showDiff',!0x1);}['open'](_0x2511ff){const _0x5dcfad=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x5dcfad['plugins']['get']('AIBalloon')['open']({..._0x2511ff,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x2511ff['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x2511ff['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x1fdcac){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x1fdcac);}['setState'](_0xa42886){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0xa42886);}['_createChatBalloonView'](){const _0x134289=this['editor'],_0xba59f2=_0x134289['plugins']['get']('AIBalloon'),_0x3df560=_0x134289['commands']['get']('trackChanges');let _0x123c9a=_0x134289['config']['get']('ai.availableReplyActions')||[...ef];_0x134289['plugins']['has']('TrackChanges')||(_0x123c9a=_0x123c9a['filter'](_0x5b86c1=>'insertSuggestion'!=_0x5b86c1));const _0x2ffc38=new AIChatBalloonView(_0x134289['locale'],{'availableActions':_0x123c9a,'showApplyButton':!0x0,'showSuggestButton':!!_0x3df560});return _0x2ffc38['bind']('showDiff')['to'](this),_0x2ffc38['delegate'](...Qd)['to'](this),_0x2ffc38['delegate']('showPrevious','showNext')['to'](this),_0xba59f2['delegate']('dialogClosed')['to'](this),_0x2ffc38['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2ffc38['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2ffc38['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x3df560&&_0x2ffc38['bind']('isTrackChangesOn')['to'](_0x3df560,'value'),_0x2ffc38['render'](),_0x2ffc38;}['_toggleRotatorButtonsInDialogHeader'](_0x2cf27b){const _0x3a823e=this['editor'],_0x1e305b=_0x3a823e['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x2cf27b),_0x1e305b['has'](this['_chatBalloonView']['previousButtonView'])||(_0x1e305b['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x3a823e['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x1e305b['remove'](this['_chatBalloonView']['previousButtonView']),_0x1e305b['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x4ac504{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function dm(_0x1f8aab){const {editor:_0x4dcb8c,action:_0x27db3d,withText:_0x2cb9ee=!0x1,withIcon:_0x195333=!0x0,isInDropdown:_0x107099=!0x0,shouldPreventFocus:_0x444c76=!0x1}=_0x1f8aab;return()=>{const _0x1cba86=_0x4dcb8c['locale'],_0x5e8068=new _0x13bcd9(_0x1cba86),_0x2daffd=_0x5e8068['bindTemplate'];_0x107099&&_0x5e8068['extendTemplate']({'on':{'mouseenter':_0x2daffd['to'](()=>{_0x444c76&&_0x444c76()||_0x5e8068['focus']();})}});const _0x175728=_0x27db3d['icon']??_0x27db3d['parent']?.['icon'];return _0x5e8068['set']({'label':_0x27db3d['displayedPrompt'],'withText':_0x2cb9ee,'role':'menuitem','icon':_0x195333?_0x175728??_0x7d0de9:void 0x0,'tooltip':!_0x2cb9ee,'class':'ck-ai-quick-actions-button','isEnabled':_0x27db3d['isEnabled']}),_0x5e8068['on']('execute',()=>{_0x4dcb8c['editing']['view']['focus'](),_0x4dcb8c['commands']['execute']('aiQuickAction',_0x27db3d);}),_0x5e8068;};}class DropdownMenuButtonWithHighlightView extends St{['arrowView'];constructor(_0x415068,_0xd7f701){super(_0x415068,_0xd7f701);const _0x4439e3=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',_0x15fc8f=>String(_0x15fc8f)),'data-cke-tooltip-disabled':_0x4439e3['to']('isOn')},'on':{'mouseenter':_0x4439e3['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x5d7c32=new _0x2b9920();return _0x5d7c32['content']=_0x473336,_0x5d7c32['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x5d7c32;}}class AIQuickActionsFilteredListView extends _0xb67f93{['_allListItems'];['_allSearchableItems'];constructor(_0x5aead6,_0x47e987,_0x500894){super(_0x5aead6),this['_allListItems']=_0x47e987,this['_allSearchableItems']=_0x500894;}['filter'](_0x230787){if(!_0x230787)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x548012=_0x230787['source']['toLowerCase']()['trim'](),_0x4532cb=this['_allSearchableItems']['filter'](_0x39beab=>(_0x39beab['groupLabel']?_0x39beab['label']+'\x20('+_0x39beab['groupLabel']+')':_0x39beab['label'])['toLowerCase']()['includes'](_0x548012));return this['items']['clear'](),this['items']['addMany'](_0x4532cb['sort']((_0x57ad91,_0x3668a2)=>{const _0x59d284=_0x57ad91['groupLabel'],_0x3f382a=_0x3668a2['groupLabel'];return _0x59d284||_0x3f382a?_0x59d284?0x1:-0x1:0x0;})['map'](_0x27e766=>_0x27e766['item'])),this['_highlightQuery'](_0x548012,_0x4532cb),{'resultsCount':_0x4532cb['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0xb426af,_0x34b5fe){if(!_0xb426af)return;const _0x27f3fb=new RegExp(Yr(_0xb426af),'gi');_0x34b5fe['forEach'](_0x220450=>{_0x220450['highlightViews']&&_0x220450['highlightViews']['forEach'](_0xa94e66=>{'function'==typeof _0xa94e66['highlightText']&&_0xa94e66['highlightText'](_0x27f3fb);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0xb0a0d3=>{_0xb0a0d3['highlightViews']&&_0xb0a0d3['highlightViews']['forEach'](_0x5c4069=>{'function'==typeof _0x5c4069['highlightText']&&_0x5c4069['highlightText'](null);});});}}const fm='menu',mm='menuitem';class AIQuickActionsDropdownContentView extends _0x268b55{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x250d1a,_0x1dc8c4,_0x4f07a3,_0x368924,_0x2660b1=!0x1){const _0x131505=_0x250d1a['locale'];super(_0x131505),this['_bodyCollection']=_0x368924,this['_hasSearch']=_0x2660b1;const _0x3f5c2c=this['_createListItems'](_0x250d1a,_0x1dc8c4,_0x4f07a3);this['optionsListView']=new AIQuickActionsFilteredListView(_0x131505,_0x3f5c2c,this['_allSearchableItems']),this['optionsListView']['role']=fm,this['optionsListView']['items']['addMany'](_0x3f5c2c),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),_0x2660b1&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x3f5c2c,this['focusCycler']=new tt({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x2660b1&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x20970f=_0x2660b1&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new vt(_0x20970f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x131505['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new At(this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':ho(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':ho(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x1da3df=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x1da3df);}['_createListItems'](_0x3e6a2d,_0x23f085,_0x2a7de4){const _0x37adb5=new vt();return _0x23f085['forEach'](_0x279bd9=>{if('actions'in _0x279bd9){const {listItem:_0x9e1b96}=this['_createActionGroupButton'](_0x3e6a2d,_0x279bd9,_0x2a7de4);_0x37adb5['add'](_0x9e1b96),_0x279bd9['actions']['forEach'](_0x5a6c56=>{this['_createActionButton'](_0x3e6a2d,_0x5a6c56,_0x279bd9['label'],_0x279bd9['icon']);const {listItem:_0x1b457b,highlightViews:_0x24f65f}=this['_createSearchResultActionButton'](_0x3e6a2d,_0x5a6c56,_0x279bd9['label'],_0x279bd9['icon']);this['_allSearchableItems']['push']({'item':_0x1b457b,'label':_0x5a6c56['displayedPrompt'],'groupLabel':_0x279bd9['label'],'highlightViews':_0x24f65f});});}else{const {listItem:_0x2826fb}=this['_createActionButton'](_0x3e6a2d,_0x279bd9);_0x37adb5['add'](_0x2826fb);const _0x5d5029=_0x2826fb['children']['first'];if(_0x5d5029){const {listItem:_0x5a726c,highlightViews:_0x19fe16}=this['_createSearchResultActionButton'](_0x3e6a2d,_0x279bd9);this['_allSearchableItems']['push']({'item':_0x5a726c,'label':_0x5d5029['label']||'','highlightViews':_0x19fe16});}}}),_0x37adb5;}['_createActionButton'](_0x4a02c5,_0x2d313f,_0x22d039,_0x3de806){const _0x5f146a=new _0x3c0063(this['locale']);if(_0x22d039&&_0x3de806){const _0x3e2dff=new _0x13bcd9(this['locale']),_0x52a3ad=_0x3e2dff['bindTemplate'],_0x563ece=new _t();_0x563ece['text']=_0x2d313f['displayedPrompt'];const _0x5573fa=new _t();_0x5573fa['text']=_0x22d039;const _0x2a745e=new _0x2b9920();_0x2a745e['content']=_0x3de806,_0x2a745e['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x115c1e=new _0x268b55(this['locale']);_0x115c1e['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x4095a4=new _0x268b55(this['locale']);return _0x4095a4['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x3e2dff['set']({'label':_0x2d313f['displayedPrompt']+'\x20('+_0x22d039+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x3e2dff['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':[_0x563ece,_0x115c1e,_0x2a745e,_0x5573fa,_0x4095a4],'on':{'mouseenter':_0x52a3ad['to'](()=>{this['_isSearchFocused']()||_0x3e2dff['focus']();}),'click':_0x52a3ad['to'](()=>{_0x3e2dff['fire']('execute');})}}),_0x3e2dff['on']('execute',()=>{_0x4a02c5['editing']['view']['focus'](),_0x4a02c5['commands']['execute']('aiQuickAction',_0x2d313f);}),_0x5f146a['children']['add'](_0x3e2dff),{'listItem':_0x5f146a,'highlightViews':[_0x563ece,_0x5573fa]};}{const _0x1439d8=new It(),_0x1f203c=new _0x13bcd9(this['locale'],_0x1439d8),_0x330056=_0x1f203c['bindTemplate'],_0x50342c=_0x2d313f['icon']??_0x2d313f['parent']?.['icon'],_0x440198=void 0x0!==_0x2d313f['icon'];return _0x1f203c['set']({'label':_0x2d313f['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x440198?_0x50342c??_0x7d0de9:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x1f203c['extendTemplate']({'on':{'mouseenter':_0x330056['to'](()=>{this['_isSearchFocused']()||_0x1f203c['focus']();})}}),_0x1f203c['on']('execute',()=>{_0x4a02c5['editing']['view']['focus'](),_0x4a02c5['commands']['execute']('aiQuickAction',_0x2d313f);}),_0x5f146a['children']['add'](_0x1f203c),{'listItem':_0x5f146a,'highlightViews':[_0x1439d8]};}}['_createSearchResultActionButton'](_0x151606,_0x401376,_0x1167c1,_0x14824c){return _0x1167c1&&_0x14824c?this['_createSearchResultGroupedActionButton'](_0x151606,_0x401376,_0x1167c1,_0x14824c):this['_createSearchResultIndividualActionButton'](_0x151606,_0x401376);}['_createSearchResultGroupedActionButton'](_0x14fa1a,_0xac70f5,_0x1b0b3f,_0x42c394){const _0xec20af=new _0x3c0063(this['locale']),_0x57cd06=new _0x13bcd9(this['locale']),_0x5a3895=_0x57cd06['bindTemplate'],{view:_0x2fc1ce,highlightView:_0x160342}=this['_createSearchResultGroupRow'](_0x1b0b3f,_0x42c394),{view:_0x1bb2a2,highlightView:_0x374b3c}=this['_createSearchResultActionRow'](_0xac70f5['displayedPrompt']),_0x4b82c1=this['_createSearchResultContentView'](_0x2fc1ce,_0x1bb2a2);return _0x57cd06['set']({'label':_0xac70f5['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}),_0x57cd06['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':[_0x4b82c1],'on':{'mouseenter':_0x5a3895['to'](()=>{this['_isSearchFocused']()||_0x57cd06['focus']();}),'click':_0x5a3895['to'](()=>{this['_handleSearchResultButtonClick'](_0x57cd06);})}}),this['_setupActionButtonExecution'](_0x57cd06,_0x14fa1a,_0xac70f5),_0xec20af['children']['add'](_0x57cd06),{'listItem':_0xec20af,'highlightViews':[_0x160342,_0x374b3c]};}['_createSearchResultIndividualActionButton'](_0x44500b,_0x24a042){const _0x548650=new _0x3c0063(this['locale']),_0x2014b4=new It(),_0x5c6221=new _0x13bcd9(this['locale'],_0x2014b4),_0x54794b=_0x5c6221['bindTemplate'];return _0x5c6221['set']({'label':_0x24a042['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x5c6221['extendTemplate']({'on':{'mouseenter':_0x54794b['to'](()=>{this['_isSearchFocused']()||_0x5c6221['focus']();})}}),this['_setupActionButtonExecution'](_0x5c6221,_0x44500b,_0x24a042),_0x548650['children']['add'](_0x5c6221),{'listItem':_0x548650,'highlightViews':[_0x2014b4]};}['_createSearchResultGroupRow'](_0x2bfb0e,_0x14495f){const _0x5a0cc7=new _0x268b55(this['locale']),_0x317998=new _0x2b9920();_0x317998['content']=_0x14495f,_0x317998['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x2dd435=new _t();return _0x2dd435['text']=_0x2bfb0e,_0x5a0cc7['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x317998,_0x2dd435]}),{'view':_0x5a0cc7,'highlightView':_0x2dd435};}['_createSearchResultActionRow'](_0x5c3da7){const _0x3a0d5c=new _0x268b55(this['locale']),_0x12f3b4=new _t();return _0x12f3b4['text']=_0x5c3da7,_0x3a0d5c['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x12f3b4]}),{'view':_0x3a0d5c,'highlightView':_0x12f3b4};}['_createSearchResultContentView'](_0x1f3e4c,_0x449308){const _0x29a24c=new _0x268b55(this['locale']);return _0x29a24c['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x1f3e4c,_0x449308]}),_0x29a24c;}['_setupActionButtonExecution'](_0x2446ea,_0x54d58d,_0x41b70e){_0x2446ea['on']('execute',()=>{_0x54d58d['editing']['view']['focus'](),_0x54d58d['commands']['execute']('aiQuickAction',_0x41b70e);});}['_createActionGroupButton'](_0x388e36,_0x3051fb,_0x37511d){const _0x703a2f=new _0x3c0063(this['locale']),_0x3ed9d7=new It(),_0x30aa11=new DropdownMenuButtonWithHighlightView(this['locale'],_0x3ed9d7),_0x141431=_0x30aa11['bindTemplate'],_0x2514d7=this['_getPanelKeystroke'](_0x37511d),_0xc7b7f1=this['_createGroupActionsList'](_0x388e36,_0x3051fb['actions'],_0x37511d);_0x30aa11['set']({'label':_0x3051fb['label'],'withText':!0x0,'role':mm,'icon':_0x3051fb['icon']??_0x7d0de9,'isEnabled':_0x3051fb['actions']['some'](_0x4a6b3c=>_0x4a6b3c['isEnabled'])}),_0x30aa11['extendTemplate']({'on':{'mouseenter':_0x141431['to'](()=>{this['_isSearchFocused']()||_0x30aa11['focus']();})}});const _0x51bb82=new ft(this['locale']);return _0x51bb82['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x141431['to'](_0x39981c=>{this['_handlePanelKeydown'](_0x39981c,_0x2514d7,_0x30aa11,_0x51bb82);})}}),_0x30aa11['bind']('isOn')['to'](_0x51bb82,'isVisible'),this['_bodyCollection']['add'](_0x51bb82),_0x51bb82['content']['add'](_0xc7b7f1),this['_setupGroupMenuBehavior'](_0x30aa11,_0x51bb82),_0x703a2f['children']['add'](_0x30aa11),{'listItem':_0x703a2f,'highlightView':_0x3ed9d7};}['_createGroupActionsList'](_0x47783a,_0x13736d,_0x1e0043){const _0x2b0896=new _0xb67f93(this['locale']);return _0x2b0896['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x13736d['forEach'](_0x405241=>{const _0x557961=new _0x3c0063(this['locale']),_0x26e5ce=dm({'editor':_0x47783a,'action':_0x405241,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x557961['children']['add'](_0x26e5ce),_0x1e0043['focusTracker']['add'](_0x26e5ce),_0x2b0896['items']['add'](_0x557961);}),_0x2b0896;}['_setupGroupMenuBehavior'](_0x12b0a3,_0xe9b520){const _0x4af1d4=_0x12b0a3['bindTemplate'],_0x89d882=this['_getButtonKeystroke'](_0x12b0a3);_0x12b0a3['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x4af1d4['to'](()=>{this['_showNestedPanel'](_0xe9b520,_0x12b0a3);}),'mouseleave':_0x4af1d4['to'](_0xac3a66=>{const _0x558faf=_0xac3a66['relatedTarget'];this['_isMovingToNestedMenu'](_0x558faf,_0xe9b520)||this['_hideNestedPanel'](_0xe9b520);}),'keydown':_0x4af1d4['to'](_0x10a19b=>{_0x10a19b['key']==_0x89d882&&(this['_showNestedPanel'](_0xe9b520,_0x12b0a3),_0xe9b520['content']['get'](0x0)['focus']());})}}),_0xe9b520['on']('render',()=>{_0xe9b520['element']?.['addEventListener']('mouseleave',_0x238e78=>{const _0x2ec377=_0x238e78['relatedTarget'];_0x12b0a3['element']?.['contains'](_0x2ec377)||this['_isMovingToNestedMenu'](_0x2ec377,_0xe9b520)||this['_hideNestedPanel'](_0xe9b520);});});}['_showNestedPanel'](_0x2c54a3,_0x4df9de){this['_openNestedPanels']['forEach'](_0x5831d1=>{_0x5831d1!==_0x2c54a3&&_0x5831d1['isVisible']&&_0x5831d1['hide']();}),_0x2c54a3['show'](),_0x2c54a3['pin']({'positions':[Ct['eastSouth']],'target':_0x4df9de['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x2c54a3);}['_hideNestedPanel'](_0x153b59){_0x153b59['hide'](),this['_openNestedPanels']['delete'](_0x153b59);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x44bba7=>_0x44bba7['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x188233,_0x2087e5){if(!_0x188233)return!0x1;if(_0x2087e5['element']?.['contains'](_0x188233))return!0x0;const _0x28e67a=_0x188233;return _0x28e67a['closest']&&(null!==_0x28e67a['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x28e67a['closest']('.ck-ai-quick-actions-group-list')||null!==_0x28e67a['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'](_0x4ce3e8){return'rtl'===_0x4ce3e8['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x4cecbb){return'rtl'===_0x4cecbb['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x5d62e1,_0x2d61c8,_0x467865,_0x410126){_0x5d62e1['key']==_0x2d61c8&&(_0x467865['focus'](),this['_hideNestedPanel'](_0x410126));}['_handleSearchResultButtonClick'](_0xbafd2a){_0xbafd2a['fire']('execute');}}function gm(_0x16255f){const {editor:_0x4ee705,content:_0x29f955,buttonDefinition:_0x9b96ba,bodyCollection:_0x42ece7,hasSearch:_0x5b6819=!0x1}=_0x16255f;return()=>{const _0x2f5ed9=_0x4ee705['locale'],_0x2beefb=st(_0x2f5ed9);_0x2beefb['buttonView']['set']({'icon':_0x9b96ba['icon']??_0x7d0de9,'label':_0x9b96ba['label'],'tooltip':!0x0}),_0x2beefb['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x335d2c=new AIQuickActionsDropdownContentView(_0x4ee705,_0x29f955,_0x2beefb,_0x42ece7,_0x5b6819);if(_0x2beefb['panelView']['children']['add'](_0x335d2c),_0x5b6819){const _0x222dc8='ai-quick-actions-dropdown-selection';_0x2beefb['on']('change:isOpen',(_0x419324,_0x3a556b,_0x4bf91f)=>{if(_0x4bf91f){if(_0x4ee705['plugins']['has']('AIEditing')){const _0x345b2c=_0x4ee705['plugins']['get'](AIEditing),_0x10aa09=_0x4ee705['model']['document']['selection'],_0x493b4b=Array['from'](_0x10aa09['getRanges']());_0x493b4b['length']>0x0&&_0x345b2c['showFakeVisualSelection'](_0x493b4b,_0x222dc8,!0x1,!0x0);}}else _0x4ee705['plugins']['has']('AIEditing')&&_0x4ee705['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x222dc8),_0x335d2c['resetSearch']();});}return _0x2beefb;};}const pm='<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>',Om='<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>',wm='<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 bm=function(_0x1de58f){return _0x1de58f['CHAT']='CHAT',_0x1de58f['ACTION']='ACTION',_0x1de58f['REVIEW']='REVIEW',_0x1de58f;}({}),ym=function(_0x544f32){return _0x544f32['CHAT']='AIChat',_0x544f32['ACTION']='AIActions',_0x544f32['REVIEW']='AIReviewMode',_0x544f32;}({});class AIQuickActionsUI extends _0x4ac504{static get['requires'](){return[kt,AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x40ca36=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x40ca36),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0xe36da4){return function(_0x1e83bd){const _0x4b29cd=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x1e83bd['uiLanguage']),_0x5c92d8=_0x4b29cd||'English',_0x26a6fb=[{'id':'ask-ai','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':_0x55ad45},{'id':'chat-commands','label':ho(_0x1e83bd,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x55ad45,'actions':[{'id':'explain','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':pm['replace']('%0',_0x5c92d8),'type':'CHAT'},{'id':'summarize','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':Om['replace']('%0',_0x5c92d8),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':wm['replace']('%0',_0x5c92d8),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':_0x1f9391},{'id':'continue','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':_0x39c0fb},{'id':'fix-grammar','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':_0x3d755b},{'id':'adjust-length','label':ho(_0x1e83bd,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x17df0e,'actions':[{'id':'make-shorter','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':ho(_0x1e83bd,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x30cb6b,'actions':[{'id':'make-tone-casual','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x3c547a,'actions':[{'id':'translate-to-english','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':ho(_0x1e83bd,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':ho(_0x1e83bd,'AI_QUICK_ACTIONS_OTHER'),'icon':_0xd8c12d,'actions':[]}];return _0x26a6fb;}(_0xe36da4);}async['_getDefaultAndCustomActions'](){const _0x180fc6=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x1554b3=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x571d2f=[];try{_0x571d2f=await new AIModels({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x2aed1b){const _0x3cb358=new _0x1976e8('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x2aed1b});_0x74de25(_0x3cb358['message']);}finally{const _0x4587dd=_0x1554b3['map'](_0x4f304d=>({..._0x4f304d,'icon':void 0x0})),_0x8c8e7b=_0x180fc6['find'](_0x2b1546=>'other'===_0x2b1546['id']);_0x8c8e7b['actions']['push'](..._0x4587dd),_0x180fc6['forEach'](_0x241f38=>{if('actions'in _0x241f38)_0x241f38['actions']['forEach'](_0x1bb3bf=>{if(_0x1bb3bf['isEnabled']=!!_0x571d2f['find'](_0x377394=>_0x377394['id']===_0x1bb3bf['model'])||void 0x0===_0x1bb3bf['model'],!_0x1bb3bf['isEnabled']){const _0xd37db0=new _0x1976e8('ai-quick-actions-unavailable-model',this,{'actionId':_0x1bb3bf['id'],'modelId':_0x1bb3bf['model']});_0x74de25(_0xd37db0['message']);}});else{if(_0x241f38['isEnabled']=!!_0x571d2f['find'](_0x47d7ab=>_0x47d7ab['id']===_0x241f38['model'])||void 0x0===_0x241f38['model'],!_0x241f38['isEnabled']){const _0x2cc141=new _0x1976e8('ai-quick-actions-unavailable-model',this,{'actionId':_0x241f38['id'],'modelId':_0x241f38['model']});_0x74de25(_0x2cc141['message']);}}});}return _0x180fc6;}['_initializeQuickActionsComponentsAndCommands'](){const _0xd9958b=new dt(this['editor']['locale']);_0xd9958b['attachToDom'](),this['_initializeQuickActionsDropdown'](_0xd9958b),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0xd9958b);}['_initializeQuickActionsDropdown'](_0x3898df){const _0x4c4b85=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',gm({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x7d0de9,'label':ho(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x3898df,'hasSearch':_0x4c4b85}));}['_prepareQuickActionsDefinition'](_0x44da5e){this['_quickActionsDefinition']=_0x44da5e['map'](_0x5196ef=>{if('actions'in _0x5196ef){const _0x226e8a=_0x5196ef;return{..._0x226e8a,'actions':_0x226e8a['actions']['map'](_0x19f85f=>{const {actions:_0x11a9a0,..._0xb9fa29}=_0x226e8a;return{..._0x19f85f,'parent':_0xb9fa29};})['filter'](_0x32ca0b=>this['_shouldIncludeAction'](_0x32ca0b))};}return _0x5196ef;})['filter'](_0x57a931=>'actions'in _0x57a931?_0x57a931['actions']['length']>0x0:this['_shouldIncludeAction'](_0x57a931));}['_shouldIncludeAction'](_0x320ac8){const _0x16448d=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](ym[_0x320ac8['type']])&&!_0x16448d['includes'](_0x320ac8['id'])&&!('CHAT'===_0x320ac8['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x50665c){this['_quickActionsDefinition']['forEach'](_0x5bb609=>{if('actions'in _0x5bb609){const _0x1a64e7=gm({'editor':this['editor'],'content':_0x5bb609['actions'],'buttonDefinition':_0x5bb609,'bodyCollection':_0x50665c});this['editor']['ui']['componentFactory']['add'](_0x5bb609['id'],_0x1a64e7),_0x5bb609['actions']['forEach'](_0x12255e=>{const _0x1eb813=dm({'editor':this['editor'],'action':_0x12255e});this['editor']['ui']['componentFactory']['add'](_0x12255e['id'],_0x1eb813);});}else{const _0x2a3369=dm({'editor':this['editor'],'action':_0x5bb609,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x5bb609['id'],_0x2a3369);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x29420d=>{const _0x584466=new rt(_0x29420d),_0x4a0159=ho(_0x29420d,'AI_QUICK_ACTIONS_HEADING');_0x584466['buttonView']['set']({'label':_0x4a0159,'icon':_0x7d0de9});const _0x2202b5=new ct(_0x29420d);_0x2202b5['set']({'ariaLabel':_0x4a0159,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x37c43a=>{if('actions'in _0x37c43a){const _0x2bb90f=_0x37c43a,_0x1a8dd9=new lt(_0x29420d,_0x584466),_0x40a776=new rt(_0x29420d),_0xfdc3fb=new ct(_0x29420d);_0x40a776['buttonView']['set']({'label':_0x2bb90f['label'],'icon':_0x2bb90f['icon']}),_0x2bb90f['actions']['forEach'](_0x50be01=>{const _0x5b6de1=new lt(_0x29420d,_0x40a776),_0x3c2713=new ot(_0x29420d);_0x3c2713['set']({'label':_0x50be01['displayedPrompt'],'icon':_0x50be01['icon'],'role':'menuitem','isEnabled':_0x50be01['isEnabled']}),_0x3c2713['on']('execute',()=>{this['_executeQuickAction'](_0x50be01);}),_0x3c2713['delegate']('execute')['to'](_0x40a776),_0x5b6de1['children']['add'](_0x3c2713),_0xfdc3fb['items']['add'](_0x5b6de1);}),_0x40a776['panelView']['children']['add'](_0xfdc3fb),_0x1a8dd9['children']['add'](_0x40a776),_0x2202b5['items']['add'](_0x1a8dd9);}else{const _0x2e3691=_0x37c43a,_0xa06d22=new lt(_0x29420d,_0x584466),_0x15291a=new ot(_0x29420d);_0x15291a['set']({'label':_0x2e3691['displayedPrompt'],'icon':_0x2e3691['icon'],'role':'menuitem','isEnabled':_0x2e3691['isEnabled']}),_0x15291a['on']('execute',()=>{this['_executeQuickAction'](_0x2e3691);}),_0x15291a['delegate']('execute')['to'](_0x584466),_0xa06d22['children']['add'](_0x15291a),_0x2202b5['items']['add'](_0xa06d22);}});const _0x35ff74=Object['values'](ym)['some'](_0x11bc23=>this['editor']['plugins']['has'](_0x11bc23));return _0x584466['set']({'isEnabled':_0x35ff74}),_0x584466['panelView']['children']['add'](_0x2202b5),_0x584466;});}['_executeQuickAction'](_0xab2213){const _0x2efc83=this['editor'];_0x2efc83['editing']['view']['focus'](),_0x2efc83['commands']['execute']('aiQuickAction',_0xab2213);const _0x5d43f1=_0x2efc83['ui']['view']['menuBarView'];_0x5d43f1&&_0x5d43f1['close']&&_0x5d43f1['close']();}}class AIQuickActionsCommand extends _0x1110b9{['execute'](_0x4e5ebe){switch(this['_expandSelectionIfCollapsed'](),_0x4e5ebe['type']){case bm['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x280760=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x1976e8('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x280760});}this['_handleAIChatAction'](_0x4e5ebe);break;case bm['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x365049=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x1976e8('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x365049});}this['_handleAIActionsAction'](_0x4e5ebe);break;case bm['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x7e71e2=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new _0x1976e8('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x7e71e2});}this['_handleAIReviewAction'](_0x4e5ebe);}}async['_handleAIChatAction'](_0x5e616c){const _0x409ebf=this['editor']['plugins']['get']('AIChat'),_0x41ca84=this['editor']['plugins']['get']('AIChatController'),_0x36b7a4=this['editor']['plugins']['get']('AITabs')['view'];if(_0x36b7a4['isVisible']||(_0x36b7a4['isVisible']=!0x0),'chat'!==_0x36b7a4['activeTab']&&_0x36b7a4['activateTab']('chat'),'ask-ai'===_0x5e616c['id'])_0x41ca84['removeSelectionFromChatContext'](),await _0x409ebf['addSelectionToChatContext'](),_0x409ebf['focusPromptInput']();else await _0x409ebf['startConversation'](),_0x41ca84['removeSelectionFromChatContext'](),await _0x409ebf['addSelectionToChatContext'](),_0x409ebf['focusPromptInput'](),await _0x409ebf['sendMessage']({'message':_0x5e616c['prompt']||_0x5e616c['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x5e616c['id']},'displayedPrompt':_0x5e616c['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x2cec2d=this['editor'],_0x2f08bb=_0x2cec2d['model']['document']['selection'];if(!_0x2f08bb['isCollapsed'])return;const _0x344594=_0x254002(_0x2f08bb['getSelectedBlocks']())||_0x2cec2d['model']['schema']['getLimitElement'](_0x2f08bb);_0x2cec2d['model']['change'](_0x9c3fb3=>{_0x9c3fb3['setSelection'](_0x344594,'in');});}['_handleAIActionsActionLabel'](_0x28da5b){return _0x28da5b['parent']?.['label']&&'other'!==_0x28da5b['parent']?.['id']?_0x28da5b['parent']['label']+':\x20'+_0x28da5b['displayedPrompt']:_0x28da5b['displayedPrompt'];}async['_handleAIActionsAction'](_0x16bc47){const _0x4cea8c=this['editor']['plugins']['get']('AIActions'),_0x49d5d6=_0x16bc47['prompt']?{'userMessage':_0x16bc47['prompt'],'model':_0x16bc47['model']}:{'actionName':_0x16bc47['actionName']||_0x16bc47['id'],'args':_0x16bc47['args']},_0x38731f=this['_handleAIActionsActionLabel'](_0x16bc47);await _0x4cea8c['executeAction'](_0x49d5d6,_0x38731f,_0x16bc47['icon']);}async['_handleAIReviewAction'](_0x1d0323){console['log']('handleAIReviewAction',_0x1d0323);}}class AIQuickActionsEditing extends _0x4ac504{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2ae986=this['editor'],_0x58d58d=new AIQuickActionsCommand(this['editor']);if(_0x2ae986['commands']['add']('aiQuickAction',_0x58d58d),_0x2ae986['plugins']['has']('AIChat')){const _0x126481=this['editor']['plugins']['get']('AIChat');_0x2ae986['model']['document']['selection']['on']('change:range',(_0x3f48e2,_0x182c75)=>{_0x182c75['directChange']&&_0x126481['removeSelectionFromChatContext']();});}}}class AIActionsReply extends AIReply{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x57ebfe=gd(this['documentContextContent']['children']['map'](_0x7ab3a8=>({'node':_0x7ab3a8,'id':Ba(_0x7ab3a8,'data-id')})),this['parsedMergedContent']['children']['map'](_0x3f26f2=>({'node':_0x3f26f2,'id':Ba(_0x3f26f2,'data-id')||_0x288d30()})),{'comparator':(_0x2c7695,_0x99ef8)=>_0x2c7695['id']==_0x99ef8['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x57ebfe['length']&&_0x57ebfe[_0x57ebfe['length']-0x1]['removed'];)_0x57ebfe['pop']();}const _0x25c1c4=_0x57ebfe['map'](_0x4b74b6=>{const _0x444704=_0x4b74b6['added']?'new':_0x4b74b6['removed']?'removed':'modified';return{'node':_0x4b74b6['value'][0x0]['node'],'type':_0x444704,'id':_0x4b74b6['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x25c1c4,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x36b0b0,_0x5636ba){return _0x5636ba;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x3b06c1){super(_0x3b06c1),this['content']=_0x3b06c1['content'],this['version']=_0x3b06c1['version'],this['actionName']=_0x3b06c1['actionName'],this['args']=_0x3b06c1['args'],this['userMessage']=_0x3b06c1['userMessage'],this['model']=_0x3b06c1['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':Id['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x351a10){const _0x3bc043=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x351a10});return this['replies']['push'](_0x3bc043),_0x3bc043['delegate'](...Sd)['to'](this),this['fire']('replyCreated',_0x3bc043),_0x3bc043;}}class AIActionsBalloonToolbarView extends _0x2c1653{constructor(_0x4dc03c,_0x1b6de9=!0x0,_0xee6b10=!0x0){super(_0x4dc03c),this['set']('isEnabled',!0x1),_0x1b6de9&&(this['applyButton']=this['_createButton'](ho(_0x4dc03c,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0xee6b10&&(this['suggestButton']=this['_createButton'](ho(_0x4dc03c,'AI_BALLOON_SUGGEST_BUTTON'),_0x1b6de9?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x1b6de9,'showSuggestButton':_0xee6b10}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x7b6f51,showSuggestButton:_0x455b86}){this['applyButton']&&(this['applyButton']['isVisible']=_0x7b6f51),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x455b86);}['_createButton'](_0x141e99,_0x1f26eb){const _0x4d5bc9=new _0x13bcd9(this['locale']);return _0x4d5bc9['set']({'label':_0x141e99,'class':_0x1f26eb,'isVisible':!0x0,'withText':!0x0}),_0x4d5bc9;}}class AIActionsBalloonDisclaimerView extends _0x268b55{constructor(_0x3d7bf8){super(_0x3d7bf8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':ho(_0x3d7bf8,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x268b55{constructor(_0x53a253){super(_0x53a253),this['set']('isVisible',!0x0);const _0x2c5dc3=new AISpinnerView('small');_0x2c5dc3['isVisible']=!0x0;const _0x22fefb=new _0x268b55(this['locale']);_0x22fefb['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[ho(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x41de8a=>!_0x41de8a)]},'children':[_0x2c5dc3,_0x22fefb]});}}class AIActionsBalloonView extends AIBalloonView{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x1a51ba,_0x31680d){super(_0x1a51ba),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x31680d,this['_focusTracker']=new _0xc1a0cc(),this['_keystrokes']=new _0x3c1644(),this['_focusables']=this['createCollection'](),this['focusCycler']=new tt({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new vt(),this['_addContentWrapper'](_0x31680d),this['_addDisclaimerView'](),this['_addToolbar'](_0x31680d),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'](_0x31680d);});}['render'](){super['render']();for(const _0x32e112 of this['_focusables'])this['_focusTracker']['add'](_0x32e112['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x3c7e0c){-0x1===_0x3c7e0c?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x3c5fe3){this['_isLoading']=_0x3c5fe3;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x38fc0d){super['showError'](_0x38fc0d),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x2dec6a){super['showBlockingError'](_0x2dec6a),this['setErrorState']();}['addMiniToolbarItem'](_0x1be1d9){this['_miniToolbarView']['items']['has'](_0x1be1d9)||this['_miniToolbarView']['items']['add'](_0x1be1d9);}['removeMiniToolbarItem'](_0x1c3ccc){this['_miniToolbarView']['items']['has'](_0x1c3ccc)&&this['_miniToolbarView']['items']['remove'](_0x1c3ccc);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x3e25f2,showSuggestButton:_0x2df63e}){_0x3e25f2=_0x3e25f2&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2df63e=_0x2df63e&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x3e25f2,'showSuggestButton':_0x2df63e});}async['updateContent'](_0x67c08d){await this['_streamableContentView']['update'](_0x67c08d);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x559070){this['_contentWrapper']=new _0x268b55(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'](_0x559070['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x2a0cb7,showSuggestButton:_0x4e5d63}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x2a0cb7,_0x4e5d63),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',(_0x25e1d9,_0x17995b,_0xd22b4f)=>!(_0x25e1d9||_0x17995b||_0xd22b4f)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x2a0cb7,'showSuggestButton':_0x4e5d63}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x3f3bc8){return this['_miniToolbarView']=new AIMiniToolbarView(this['locale'],_0x3f3bc8),this['_miniToolbarView']['delegate'](...Qd)['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',(_0x1b3eb7,_0x14b978)=>!(_0x1b3eb7||_0x14b978)),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 _0x2c8b89=new _0x13bcd9(this['locale']),_0x55b9b2=new _0x13bcd9(this['locale']),_0x5e330d=new AIActionsBalloonNavigationCounterView(this['locale']),_0x1730be=new _0x13bcd9(this['locale']);_0x2c8b89['set']({'icon':_0x543aed,'label':ho(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x55b9b2['set']({'icon':_0xdffb48,'tooltip':ho(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x1730be['set']({'icon':_0x106d04,'tooltip':ho(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x2c8b89['bind']('isEnabled')['to'](this,'isBusy',_0x58e8d3=>!_0x58e8d3),_0x2c8b89['on']('execute',()=>{this['fire']('tryAgain');}),_0x55b9b2['bind']('isEnabled')['to'](this,'isBusy',_0x96f741=>!_0x96f741),_0x55b9b2['on']('execute',()=>{this['fire']('showPrevious');}),_0x1730be['bind']('isEnabled')['to'](this,'isBusy',_0x668df2=>!_0x668df2),_0x1730be['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x55b9b2,this['_navigationCounter']=_0x5e330d,this['_navigationNextButton']=_0x1730be,this['_navigationTryAgainButton']=_0x2c8b89;}['updateMiniToolbarButtons'](_0x30dc89,_0x4d5210){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x1d8491=_0x30dc89>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x1d8491){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x54a577=_0x30dc89-_0x4d5210;this['_navigationCounter']['setInteractionCount'](_0x54a577+'/'+_0x30dc89),this['_navigationPreviousButton']['isEnabled']=_0x4d5210<_0x30dc89-0x1,this['_navigationNextButton']['isEnabled']=_0x4d5210>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'](_0x5d7e72){this['_isLoading']=_0x5d7e72;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x3fb996=this['_getScrollableElement']();_0x3fb996&&!this['_scrollManager']&&(this['_scrollManager']=new ScrollManager(_0x3fb996));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x268b55{constructor(_0x48ba0c){super(_0x48ba0c);const _0x175885=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x175885['to']('interactionCount')}]});}['setInteractionCount'](_0x5addaa){this['set']('interactionCount',_0x5addaa);}}class AIActions extends _0x4ac504{static get['requires'](){return[AIConnector,it,AIEditing,AIBalloon,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(_0x38a48a){super(_0x38a48a),this['_bodyCollection']=new dt(this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x4ec475,_0x28832b,_0x4b13dd){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x3c8fdd,anchorData:_0x1486a4}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x4ec475,_0x3c8fdd,_0x1486a4,_0x28832b,_0x4b13dd);}}const {modelFragment:_0x4e195c,anchorData:_0x4f62a5}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x4ec475,_0x4e195c,_0x4f62a5,_0x28832b,_0x4b13dd);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x164886=this['editor']['plugins']['has']('TrackChanges');let _0x543000=this['editor']['config']['get']('ai.availableReplyActions')||[...ef];_0x164886||(_0x543000=_0x543000['filter'](_0xbb0561=>'insertSuggestion'!=_0xbb0561));const _0x5edb10=this['editor']['commands']['get']('trackChanges'),_0x90ef64=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x164886,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x543000});return _0x90ef64['bind']('isBusy')['to'](this),_0x5edb10&&_0x90ef64['bind']('isTrackChangesOn')['to'](_0x5edb10,'value'),_0x90ef64['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x90ef64['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x90ef64['on']('showNext',()=>{this['_navigateToNext']();}),_0x90ef64;}['_getExecuteDataRegular'](){const _0xd2e465=this['editor']['model']['document']['selection'];if(_0xd2e465['isCollapsed']){const _0x5ac8f8=_0x254002(_0xd2e465['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0xd2e465);this['editor']['model']['change'](_0x32af13=>{_0x32af13['setSelection'](_0x5ac8f8,'in');});}const _0x53995b=_0xd2e465['getFirstRange'](),_0x54b875=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0xd2e465),_0x53995b['start'],_0x53995b['end']);this['_copyMarkersToFragment'](_0x54b875,_0xd2e465,{'isTableSelection':!0x1});const _0x46e189=_0xd2e465['getFirstRange']()['start'],_0x1029e8=new Map();let _0x1a65a3=_0x54b875;for(let _0x900dcd=0x0;_0x900dcd<_0x46e189['path']['length'];_0x900dcd++)_0x1029e8['set'](_0x1a65a3,_0x46e189['path'][_0x900dcd]),_0x1a65a3=_0x1a65a3['getChild'](0x0);return{'modelFragment':_0x54b875,'anchorData':_0x1029e8};}['_getExecuteDataInTable'](){const _0x34211b=this['editor']['model']['document']['selection'],_0x19fb67=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x5a17df=_0x34211b['getFirstRange']()['start']['parent']['parent'],_0x428365=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x5a17df),this['editor']['model']['createPositionAfter'](_0x5a17df)),_0x1573d6=this['_wrapWithCommonAncestors'](_0x19fb67,_0x428365['start'],_0x428365['end']);this['_copyMarkersToFragment'](_0x1573d6,_0x34211b,{'isTableSelection':!0x0});const _0x48c75b=_0x34211b['getFirstRange']()['start'],_0x25023a=new Map();let _0x43d093=_0x1573d6;for(let _0x4eaf22=0x0;_0x4eaf22<_0x48c75b['path']['length'];_0x4eaf22++)if(_0x25023a['set'](_0x43d093,_0x48c75b['path'][_0x4eaf22]),_0x4eaf22<_0x48c75b['path']['length']-0x1)_0x43d093=_0x43d093['getChild'](0x0);else{let _0x8e4d4f=_0x43d093['nextSibling'];for(;_0x8e4d4f;)_0x25023a['set'](_0x8e4d4f,_0x48c75b['path'][_0x4eaf22]),_0x8e4d4f=_0x8e4d4f['nextSibling'];}return{'modelFragment':_0x1573d6,'anchorData':_0x25023a};}async['_executeAction'](_0x1c16bb,_0x4a201f,_0x24d875,_0x13d35a,_0x2ae1de){const _0x4ecd0a=this['editor']['plugins']['get'](AIEditing),_0x3b8c60=this['editor']['plugins']['get'](AIBalloon),_0x5f4f6f=this['editor']['model']['document']['selection'],_0x21ed00=await _0x4ecd0a['modelToDataWithIds'](_0x4a201f),_0x2c044e=this['editor']['model']['document']['version'],_0x195bd9=[..._0x5f4f6f['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x3b8c60['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x13d35a,'icon':_0x2ae1de||_0x7d0de9,'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x195bd9,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x3b8c60),this['_interactionParams']={'action':_0x1c16bb,'content':_0x21ed00,'version':_0x2c044e,'aiBalloon':_0x3b8c60,'modelFragment':_0x4a201f,'anchorData':_0x24d875},this['_setupApplyListeners'](),this['listenTo'](_0x3b8c60,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x3b8c60,'dialogClosed',(_0xd6c5ad,{id:_0x5f0afd})=>{if('aiActionsBalloon'===_0x5f0afd){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x4ab529=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x513cab=_0x4ab529['changeGroups'][0x0];_0x513cab&&'pending'===_0x513cab['state']&&_0x4ab529['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x3b8c60);}}),this['_createInteraction'](_0x21ed00,_0x2c044e,_0x3b8c60,_0x1c16bb);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x288427,anchorData:_0x45d0fd}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x288427,_0x45d0fd,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x288427,_0x45d0fd,!0x0);});}['_wrapWithCommonAncestors'](_0x37b0bd,_0x3725d3,_0x45c920){const _0x5e597d=this['editor']['model']['createRange'](_0x3725d3,_0x45c920)['getCommonAncestor'](),_0x3ed599=_0x5e597d['is']('documentFragment')?[]:_0x5e597d['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x3ed599['length']){const _0x3716cf=_0x3ed599['map'](_0xc193dc=>_0xc193dc['_clone'](!0x1));for(let _0x54742b=0x1;_0x54742b<_0x3716cf['length'];_0x54742b++)_0x3716cf[_0x54742b-0x1]['_appendChild'](_0x3716cf[_0x54742b]);return _0x3716cf[_0x3716cf['length']-0x1]['_appendChild'](_0x37b0bd),new _0x2d8c8e(_0x3716cf[0x0]);}return _0x37b0bd;}['_copyMarkersToFragment'](_0xf6036b,_0x15190c,_0x4b8f28={'isTableSelection':!0x1}){const _0xc48e01=this['editor']['model'],_0x19d1fe=Array['from'](_0x15190c['getRanges']()),_0x498ed0=_0x15190c['getFirstRange']()['start'];for(const _0x4ce403 of _0xc48e01['markers']){if(_0x4ce403['name']['startsWith'](Dd)||!_0x4ce403['affectsData'])continue;const _0x453cf6=_0x4ce403['getRange']();if(!_0x19d1fe['some'](_0x2d0d33=>_0x2d0d33['containsRange'](_0x453cf6,!0x0)))continue;const _0x4b795e=this['_regularCalculateMarkerPath'](_0x453cf6['start'],_0x498ed0,_0x4b8f28['isTableSelection']),_0x1b0fe0=this['_regularCalculateMarkerPath'](_0x453cf6['end'],_0x498ed0,_0x4b8f28['isTableSelection']),_0x2c4ab7=_0xc48e01['createPositionFromPath'](_0xf6036b,_0x4b795e),_0x402b36=_0xc48e01['createPositionFromPath'](_0xf6036b,_0x1b0fe0);if(!_0x2c4ab7['isEqual'](_0x402b36)){const _0x4ab34f=_0xc48e01['createRange'](_0x2c4ab7,_0x402b36);_0xf6036b['markers']['set'](_0x4ce403['name'],_0x4ab34f);}}}['_regularCalculateMarkerPath'](_0x9b5e42,_0x3207ac,_0x594348=!0x1){const _0x572201=[..._0x9b5e42['path']['slice']()];for(let _0x55700c=0x0;_0x55700c<Math['max'](_0x3207ac['path']['length'],_0x9b5e42['path']['length']);_0x55700c++){const _0x4cbb00=_0x3207ac['path'][_0x55700c]||0x0,_0x2da66d=(_0x9b5e42['path'][_0x55700c]||0x0)-_0x4cbb00;if(_0x572201[_0x55700c]=_0x2da66d,0x0!==_0x2da66d&&!_0x594348)break;}return _0x572201;}async['_createInteraction'](_0x4f66ed,_0x52013c,_0x1c0837,_0x38e5e2){const _0x3157a8=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x38e5e2,'content':_0x4f66ed,'version':_0x52013c,'aiBalloon':_0x1c0837,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x1e8f66=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x3157a8,'content':_0x4f66ed,'version':_0x52013c,..._0x38e5e2});this['_interactions']['push'](_0x1e8f66);const _0x5c09e3=(_0x4fbf56,_0x571236=!0x1,_0x82ce64='streaming')=>this['_promiseQueue']['enqueue'](async _0x290ec3=>{try{const _0x277891=yd({'editor':_0x3157a8,'changeGroups':_0x4fbf56['changeGroups'],'documentContextContent':_0x4fbf56['documentContextContent'],'showDiff':_0x571236,'trimUnchanged':!0x1});_0x277891['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x277891[0x0],'renderingStrategy':_0x82ce64,'abortSignal':_0x290ec3});}catch(_0x239854){if(this['_isAbortError'](_0x239854))return;throw _0x239854;}});this['_interaction']['on']('replyCreated',(_0x33b83e,_0x46206b)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x5c09e3(_0x46206b)['catch'](_0x2efa52=>{this['_isAbortError'](_0x2efa52)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x2efa52),this['_setErrorState'](_0x1e8f66));});}),this['_interaction']['on']('replyContentUpdated',(_0x3fdc0c,_0x174cb5)=>{_0x5c09e3(_0x174cb5)['catch'](_0x3310ea=>{this['_isAbortError'](_0x3310ea)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x3310ea),this['_setErrorState'](_0x1e8f66));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x2ae944){this['_isAbortError'](_0x2ae944)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x2ae944),this['_setErrorState'](_0x1e8f66));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x2ed89b,{showDiff:_0x5608ac})=>{try{this['_balloonShowDiff']=_0x5608ac;const _0x2dabbf=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x2dabbf&&await _0x5c09e3(_0x2dabbf,_0x5608ac,'static');}catch(_0x4a0790){this['_isAbortError'](_0x4a0790)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x4a0790),this['_setErrorState'](_0x1e8f66));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x50a6e2,{reply:_0x295e3b})=>{const _0x5dcaed={'positiveCount':_0x295e3b['changeGroups']['filter'](_0x3b6a99=>'accepted'===_0x3b6a99['state'])['length'],'totalCount':_0x295e3b['changeGroups']['length']},_0x21f375=this['_interaction']['actionCallId'],_0x451e12=this['_interaction']['actionName'];_0x451e12?this['_aiConnector']['upsertAIActionRating'](_0x451e12,_0x21f375,_0x5dcaed):this['_aiConnector']['upsertCustomAIActionRating'](_0x21f375,_0x5dcaed);}),this['_setLoadingState']();try{const _0x16827c=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x16827c;}catch(_0x27b028){if(this['_isAbortError'](_0x27b028))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x1e8f66);}}['_applyChanges'](_0x4f4b02,_0x5a7290,_0x2ffcc4){const _0x3962e3=this['editor'];if(_0x2ffcc4&&!_0x3962e3['plugins']['has']('TrackChanges'))throw new _0x1976e8('ai-no-track-changes',null);const _0x214f2e=this['editor']['plugins']['get'](DocumentCompare),_0xb40e2b=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0xb40e2b||!_0xb40e2b['replies']['length'])return;const _0x382139=_0xb40e2b['replies'][_0xb40e2b['replies']['length']-0x1],_0x52ea3b=_0x382139['changeGroups'];_0x382139['setChangeGroupState'](0x0,'accepted');let _0xa1ac27=Nd({'editor':_0x3962e3,'reply':_0x382139,'interaction':_0xb40e2b,'groups':_0x52ea3b,'transform':!0x1,'documentCompare':_0x214f2e,'documentCompareOptions':{'anchor':_0x3962e3['model']['createPositionAt'](_0x4f4b02,0x0),'markDeletions':_0x2ffcc4}});_0xa1ac27=this['_filterOperationsOutsideRange'](_0xa1ac27,_0x5a7290);for(const _0x11f4e2 of _0xa1ac27)this['_anchorOperation'](_0x5a7290,_0x11f4e2,_0x3962e3['model']['document']['getRoot']());const _0x175e01=_0xb40e2b['getDocumentContext']()['version'],_0x422ee1=_0x3962e3['model']['document']['history']['getOperations'](_0x175e01),_0x12af10={'document':_0x3962e3['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x322a87=_0x180d0d(_0xa1ac27,_0x422ee1,_0x12af10)['operationsA'];_0x3962e3['model']['change'](_0x14e0f0=>{if(_0x14e0f0['setSelection'](_0x3962e3['model']['document']['selection']['focus']),_0x2ffcc4)_0x3962e3['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x322a87);else{for(const _0x354f66 of _0x322a87)_0x354f66['baseVersion']=_0x3962e3['model']['document']['version'],Ld(_0x3962e3,_0x354f66),_0x14e0f0['batch']['addOperation'](_0x354f66),_0x3962e3['model']['applyOperation'](_0x354f66);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x4f9431,_0x53e1ab){return _0x4f9431['filter'](_0x492da0=>{if('rename'==_0x492da0['type']){const _0x1899d1=_0x492da0['position']['nodeAfter'];return!_0x53e1ab['has'](_0x1899d1);}if(_0x492da0['type']['indexOf']('Attribute')>-0x1){const _0x12fe31=_0x492da0['range']['start']['nodeAfter'];return!_0x53e1ab['has'](_0x12fe31);}return!0x0;});}['_anchorOperation'](_0x2608e8,_0xbcdcba,_0xcab69c){const _0x33dc98=_0xbcdcba['clone']();for(const _0x1533f4 in _0xbcdcba){const _0x2e94a6=_0xbcdcba[_0x1533f4];_0x2e94a6 instanceof _0x41f7a7?_0xbcdcba[_0x1533f4]=new _0x41f7a7(_0x2be0d5(_0x2e94a6['start']),_0x2be0d5(_0x2e94a6['end'])):_0x2e94a6 instanceof _0x551298&&(_0xbcdcba[_0x1533f4]=_0x2be0d5(_0x2e94a6));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x33dc98['type'])){if(_0x33dc98['isDocumentOperation']=!0x1,_0x33dc98['baseVersion']=null,'remove'==_0x33dc98['type']){const _0x1e7edb=_0x33dc98['sourcePosition'],_0x49775b=_0x33dc98['howMany'];new _0x194b32(_0x1e7edb,_0x49775b)['_execute']();}else _0x33dc98['_execute']();}function _0x2be0d5(_0x5a481a){if('$graveyard'==_0x5a481a['root']['rootName'])return _0x5a481a;const _0x385038=[];let _0x4aeceb=_0x5a481a['root'];for(let _0x4d53bd=0x0;_0x4d53bd<_0x5a481a['path']['length'];_0x4d53bd++){const _0x51ba50=_0x2608e8['get'](_0x4aeceb)||0x0;_0x385038[_0x4d53bd]=_0x5a481a['path'][_0x4d53bd]+_0x51ba50,_0x4aeceb=_0x4aeceb['getChildAtOffset'](_0x5a481a['path'][_0x4d53bd]);}return new _0x551298(_0xcab69c,_0x385038,_0x5a481a['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x3927a6,content:_0x38e47e,version:_0x340ab1,aiBalloon:_0x3f6135}=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'](_0x38e47e,_0x340ab1,_0x3f6135,_0x3927a6)['catch'](_0x4e60ef=>{this['_isAbortError'](_0x4e60ef)||console['error']('Error\x20refreshing\x20interaction:',_0x4e60ef);});}['_isAbortError'](_0x4b6f7f){return!!_0x4b6f7f['message']&&_0x4b6f7f['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 _0x60e02=this['_interactions']['length'];this['_currentInteractionIndex']<_0x60e02-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x16f033){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x16f033;const _0x2e9005=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x2e9005)return;if(_0x2e9005['hasError'])return this['_setErrorState'](_0x2e9005),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x2e9005['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x288b31=_0x2e9005['replies'][_0x2e9005['replies']['length']-0x1];if(_0x288b31){const _0xc9b34a=this['editor'];try{const _0x176d76=yd({'editor':_0xc9b34a,'changeGroups':_0x288b31['changeGroups'],'documentContextContent':_0x288b31['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x2228e2=>setTimeout(_0x2228e2,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x176d76[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x53f093){this['_isAbortError'](_0x53f093)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x53f093);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x14530b){const _0xec4d2c=ho(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0xec4d2c),_0x14530b['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 _0x4ac504{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4ede21){super(_0x4ede21),_0x4ede21['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x268b55{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0xe0d52d,_0x396c30){super(_0xe0d52d),this['id']=_0x396c30,this['set']('status','pending'),this['set']('changeId',_0x396c30),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',(_0x4506d8,_0xe4783b)=>{_0xe4783b&&_0xe4783b['target']&&'A'===_0xe4783b['target']['tagName']&&_0xe4783b['preventDefault'](),this['fire']('activateChange',{'id':_0x396c30,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x396c30,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x396c30,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x1954bf=new _0x268b55(this['locale']);return _0x1954bf['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',_0x3b5dee=>!_0x3b5dee)]}}),_0x1954bf;}['_createAcceptButtonView'](){const _0x12d41c=new _0x13bcd9(this['locale']);return _0x12d41c['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x12d41c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2b7845=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x2b7845['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x55e088=>'pending'!==_0x55e088&&'accepted'!==_0x55e088),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x4cb08b=>'pending'===_0x4cb08b),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x3af112=>'accepted'===_0x3af112)]}}),this['on']('change:status',(_0x35bebd,_0x147f76,_0x20a0ff)=>{_0x12d41c['isEnabled']='pending'===_0x20a0ff,'accepted'===_0x20a0ff&&(_0x12d41c['label']=ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x12d41c['icon']=_0x424b4d);}),_0x12d41c;}['_createDismissButtonView'](){const _0x4d898=new _0x13bcd9(this['locale']);return _0x4d898['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x4d898['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x39323a=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x39323a['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x24dedd=>'pending'!==_0x24dedd&&'rejected'!==_0x24dedd),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x338316=>'pending'===_0x338316),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x1b2046=>'rejected'===_0x1b2046)]}}),this['on']('change:status',(_0x115c55,_0x4fccad,_0x1dd9ef)=>{_0x4d898['isEnabled']='pending'===_0x1dd9ef,'rejected'===_0x1dd9ef&&(_0x4d898['label']=ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x4d898['icon']=_0x288b7f);}),_0x4d898;}['_createInfoButtonView'](){const _0x1974e3=new _0x13bcd9(this['locale']);return _0x1974e3['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x355e1c,'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x1974e3['bind']('isOn')['to'](this,'isInfoToggleOn',_0x13225e=>_0x13225e),_0x1974e3['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x1974e3;}['_createOutdatedButtonView'](){const _0x75dd3a=new _0x13bcd9(this['locale']);return _0x75dd3a['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x3d6de1,'withText':!0x0,'isEnabled':!0x1}),_0x75dd3a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x3d2529=>'outdated'!==_0x3d2529)],'disabled':'disabled'}}),_0x75dd3a;}}class AIReviewCoreBalloonSuggestionItemView extends ft{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x37369f,_0x1644cf){super(_0x37369f),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']()),_0x1644cf['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x181ce5){this['resultItemView']['changeId']=_0x181ce5['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x181ce5['contentDiffed'];}['showBalloon'](_0x5bff37,_0x45c90a,_0x2e2718,_0x536187,_0x258727,_0x4ad8d0){const _0x45dc37=_0x45c90a();if(!_0x45dc37)return;this['updateContent'](_0x5bff37),this['show']();const _0x210d19=Array['from'](_0x45dc37['getClientRects']())['reverse'](),_0x1bcf20=this['_getPointedRectIndexFromEvent'](_0x2e2718,_0x210d19),_0x51b0f5=_0x210d19[_0x1bcf20??0x0];'click'===_0x536187?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x45c90a(),_0x1bcf20,_0x5bff37['id'],_0x258727,_0x4ad8d0)||_0x51b0f5})):'hover'===_0x536187&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x45c90a(),_0x1bcf20,_0x5bff37['id'])||_0x51b0f5}));}['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'](){mt({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0xce205=[this['element']];return this['_pinnedTargetElement']&&_0xce205['push'](this['_pinnedTargetElement']),_0xce205;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x2f5e78=new _0x268b55();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x2f5e78['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']]}]}),_0x2f5e78;}['_getBestRectPositionOnClick'](_0x2b8cb9,_0x2b1864,_0x1ab554,_0x258004,_0x5cc2a7){if(!_0x2b8cb9)return null;const _0x5ee016=this['position']['replace']('arrow_',''),_0x34eb9a=Array['from'](_0x2b8cb9['getClientRects']());let _0x1197c9,_0x19d2dd=_0x34eb9a['reverse']();return void 0x0!==_0x2b1864&&this['_isPinnedRectVisible'](_0x19d2dd[_0x2b1864],_0x258004,_0x5cc2a7)?(_0x1197c9=_0x19d2dd[_0x2b1864],this['_pinnedRectIndex']=_0x2b1864):this['_isPinnedRectVisible'](_0x19d2dd[0x0],_0x258004,_0x5cc2a7)&&void 0x0===_0x2b1864?_0x1197c9=_0x19d2dd[0x0]:(_0x19d2dd='s'==_0x5ee016[0x0]?[..._0x34eb9a]['reverse']():_0x34eb9a,_0x19d2dd['forEach'](_0x490efc=>{this['_isPinnedRectVisible'](_0x490efc,_0x258004,_0x5cc2a7)&&(_0x1197c9=_0x490efc);})),this['_pinnedTargetChangeId']=_0x1ab554,this['_pinnedTargetElement']=_0x2b8cb9,_0x1197c9||_0x2b8cb9['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x3964b4,_0xd37a70,_0x210b6e){if(!_0x3964b4)return null;const _0x5a61ad=Array['from'](_0x3964b4['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0xd37a70&&this['_pinnedTargetChangeId']!==_0x210b6e)return this['_pinnedRectIndex']=_0xd37a70,this['_pinnedTargetElement']=_0x3964b4,this['_pinnedTargetChangeId']=_0x210b6e,_0x5a61ad[_0xd37a70];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x210b6e){if(_0x3964b4!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x5a61ad[this['_pinnedRectIndex']];}return void 0x0!==_0xd37a70&&this['_pinnedTargetChangeId']!==_0x210b6e?(this['_pinnedRectIndex']=_0xd37a70,this['_pinnedTargetElement']=_0x3964b4,this['_pinnedTargetChangeId']=_0x210b6e,_0x5a61ad[_0xd37a70]):_0x3964b4['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0xdd6cb9,_0x2bc676){if(_0xdd6cb9)for(let _0x20605a=0x0;_0x20605a<_0x2bc676['length'];_0x20605a++){const _0x394b78=_0x2bc676[_0x20605a];if(_0xdd6cb9['clientX']>=_0x394b78['left']-0x3&&_0xdd6cb9['clientX']<=_0x394b78['right']+0x3&&_0xdd6cb9['clientY']>=_0x394b78['top']-0x3&&_0xdd6cb9['clientY']<=_0x394b78['bottom']+0x3)return _0x20605a;}}['_isPinnedRectVisible'](_0x2c246c,_0xcb4087,_0x126c77){const _0x327d3b=new _0x20d411(_0x2c246c),_0x58c822=_0xcb4087||document['documentElement'],_0x4503cd=_0x327d3b['getIntersection'](_0x1d8150(_0x126c77)),_0x1b6c19=new _0x20d411(_0x58c822)['getIntersection'](_0x327d3b);return!!(_0x4503cd&&_0x1b6c19&&_0x327d3b['width']>0x0);}}const _m=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class AIReviewCoreUI extends _0x90c2d8{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[AITabs];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39ef4c){super(_0x39ef4c),this['_bodyCollection']=new dt(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._m)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x416a2c=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x416a2c);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x56b537){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0xa48ab8=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x56b537,_0xa48ab8);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x5b1412){_0x5b1412&&('error-general'!==_0x5b1412['status']?'error-chunk'!==_0x5b1412['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x2bfdbe){this['_mainView']['addCheckRunResult'](_0x2bfdbe);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x867f8a){this['_mainView']['showGeneralReviewCoreErrorView'](_0x867f8a??ho(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x5b8d7d,_0x26aa57){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x5b8d7d,_0x26aa57);}['setActiveStateInResults'](_0x28de0b){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x3f5bde=>{_0x3f5bde['id']===_0x28de0b&&_0x3f5bde['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0xca28b=>_0xca28b['setItemAsInactive']());}['updateChangeState'](_0x1e4d37,_0x37c473){'accepted'===_0x37c473||'rejected'===_0x37c473||'outdated'===_0x37c473?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x1e4d37,_0x37c473):this['_mainView']['reviewCheckResultsView']['showResult'](_0x1e4d37,_0x37c473);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x524813,_0x546316,_0x72a568,_0x3078d8,_0x472661,_0xc7c726){this['_balloonSuggestionView']['showBalloon'](_0x524813,_0x546316,_0x72a568,_0x3078d8,_0x472661,_0xc7c726);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x395558){const _0x44bbf5=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x284a64=>_0x284a64['id']===_0x395558);return _0x44bbf5?_0x44bbf5['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class AIReviewCoreGeneralErrorView extends _0x268b55{constructor(_0x8737d){super(_0x8737d),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x59e96d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x59e96d['if']('isVisible','ck-hidden',_0x2c0d92=>!_0x2c0d92)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x59e96d['to']('errorMessage')}]}]});}}class AIReviewCoreView extends _0x268b55{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x1af370,_0x5e8b5f){super(_0x1af370),this['reviewCoreHeader']=_0x5e8b5f['header'],this['generalErrorView']=new AIReviewCoreGeneralErrorView(_0x1af370),this['reviewCheckListView']=_0x5e8b5f['list'],this['reviewCheckListView']['delegate'](..._m)['to'](this),this['reviewCheckResultsView']=_0x5e8b5f['results'],this['reviewCheckResultsView']['delegate'](..._m)['to'](this),this['reviewCompletedView']=_0x5e8b5f['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'](_0x1f4df5){this['reviewCheckResultsView']['addResult'](_0x1f4df5),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'](_0x223cf1){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x223cf1;}['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 _0x13bcd9{constructor(_0x2568b6,_0x39a420){super(_0x39a420),this['set']({'label':_0x2568b6,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x3c0063{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3b67f4,_0x5d3e32){super(_0x3b67f4),this['_contents']=_0x5d3e32,this['_resultViews']=new vt(),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 AIDisclaimerView(_0x3b67f4),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 _0x4d3de4=this['_createCombinedSkeletonLoader'](),_0x1c902d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1c902d['if']('isLoading','ck-ai_review__check-run_loading',_0x350d3e=>_0x350d3e),_0x1c902d['if']('isResultReady','ck-ai_review__check-run_ready',_0x4c4c1a=>_0x4c4c1a),_0x1c902d['if']('isVisible','ck-hidden',_0x5e8ba6=>!_0x5e8ba6)]},'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',_0x65c8a5=>_0x65c8a5)]},'children':this['_resultViews']},_0x4d3de4]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x23b277){const _0x43d6ae=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x23b277['id']);_0x43d6ae['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x43d6ae),_0x43d6ae['resultResponseView']['element']['innerHTML']=_0x23b277['contentDiffed'];}['hideResult'](_0xc89b0e,_0x48212a){if('pending'===_0x48212a)return;const _0xbae2be=this['_resultViews']['find'](_0x2ed9af=>_0x2ed9af['id']===_0xc89b0e);_0xbae2be&&(_0xbae2be['status']=_0x48212a,_0xbae2be['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x5c6cb0,_0x1adae8){if('pending'!==_0x1adae8)return;const _0x1d9c23=this['_resultViews']['find'](_0x10a4a6=>_0x10a4a6['id']===_0x5c6cb0);_0x1d9c23&&(_0x1d9c23['status']=_0x1adae8,_0x1d9c23['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x316fd8,_0x24af63){this['headerTitle']=_0x316fd8,this['headerSubtitle']=_0x24af63||'';}['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'],Tf['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1c6b66=new _0x268b55(this['locale']),_0x33c6a7=[];for(let _0x5b22f1=0x0;_0x5b22f1<0x10;_0x5b22f1++){const _0x20b229=this['_createSkeletonLoader']();_0x20b229['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x33c6a7['push'](_0x20b229);}return _0x1c6b66['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x13fd22=>!_0x13fd22)]},'children':_0x33c6a7}),_0x1c6b66;}['_createErrorView'](){const _0x3aac04=new _0x268b55(this['locale']),_0x5182b1=new _0x13bcd9(this['locale']),t=this['locale']['t'];return _0x3aac04['delegate']('retryReview')['to'](this),_0x5182b1['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x5182b1['on']('execute',()=>{this['fire']('retryReview');}),_0x3aac04['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xd1e17b=>!_0xd1e17b),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x40d9d2=>'chunk'===_0x40d9d2)]},'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',_0x4cd115=>'chunk'===_0x4cd115)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5ac56f=>'general'!==_0x5ac56f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2caf51=>'chunk'!==_0x2caf51)]},'children':[{'text':ho(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x5182b1]}),_0x3aac04;}['_createCancelButtonView'](){const _0x3cb2b1=new _0x13bcd9(this['locale']);return _0x3cb2b1['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5a16c4}),_0x3cb2b1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2d6269=>_0x2d6269),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x53578e=>_0x53578e)]}}),_0x3cb2b1['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3cb2b1;}['_createToggleDiffButtonView'](){const _0x4f585=new _0x13bcd9(this['locale']);_0x4f585['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4f585['bind']('isEnabled')['to'](this,'isError',_0x5b71e8=>!_0x5b71e8),_0x4f585['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50375d=>!_0x50375d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3125cc=>_0x3125cc)]}});const _0x290ceb=ho(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4e0289=ho(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4f585['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2d534a=>_0x2d534a),_0x4f585['bind']('icon')['to'](this,'isToggleDiffOn',_0x242366=>_0x242366?_0x2972c7:_0x26d6a8),_0x4f585['bind']('label')['to'](this,'isToggleDiffOn',_0x5acbd0=>_0x5acbd0?_0x290ceb:_0x4e0289),_0x4f585['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4f585;}['_createAcceptAllButtonView'](){const _0x60a332=new _0x13bcd9(this['locale']);return _0x60a332['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x60a332['bind']('isEnabled')['to'](this,'isError',_0x5ca772=>!_0x5ca772),_0x60a332['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4ef296=>!_0x4ef296),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2f6551=>_0x2f6551)]}}),_0x60a332['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x60a332;}['_createExitReviewButtonView'](){const _0x29304a=new _0x13bcd9(this['locale']);return _0x29304a['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x29304a['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x291974=>!_0x291974),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ba46b=>_0x3ba46b)]}}),_0x29304a['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x29304a;}['_createResultHeaderView'](){const _0x5e2345=new _0x268b55(this['locale']),_0x23cf06=this['_createTitleView']();return _0x5e2345['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x45e02d=>_0x45e02d)]},'children':[_0x23cf06,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5e2345;}['_createTitleView'](){const _0x23d8a8=new _0x268b55(this['locale']),_0x44d632=new AISpinnerView();return _0x44d632['bind']('isVisible')['to'](this,'isResultReady',_0x4f034d=>!_0x4f034d),_0x23d8a8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x44d632,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x799104=>_0x799104)]},'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',_0x1064b8=>!_0x1064b8)]},'children':[{'text':ho(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x23d8a8;}['_createFinishReviewButtonView'](){const _0x27073d=new AIReviewCoreFinishReviewButtonView(ho(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x27073d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3156cd=>!_0x3156cd)]}}),_0x27073d['delegate']('finishReview')['to'](this),_0x27073d;}}class AIReviewCoreReviewCompletedView extends _0x3c0063{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x5ad41c,_0x2fb5eb){super(_0x5ad41c),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x2fb5eb['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x2fb5eb['headerText']);const _0x27ac83=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x27ac83['if']('isVisible','ck-hidden',_0x3c0884=>!_0x3c0884)]},'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':_0x2fb5eb['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x273a72){const _0x4e7c2f=new AIReviewCoreFinishReviewButtonView(_0x273a72,this['locale']);return _0x4e7c2f['delegate']('finishReview')['to'](this),_0x4e7c2f;}['_createResultHeaderView'](_0x511b11){const _0x464fa7=new _0x268b55(this['locale']);return _0x464fa7['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':_0x511b11}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x464fa7;}}class AIReviewCoreFormDropdownView extends _0x268b55{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x3cae3f,_0xee0597){super(_0x3cae3f),this['_defaultValue']=_0xee0597['default']||(_0xee0597['data']['length']>0x0?_0xee0597['data'][0x0]['id']:''),this['_defaultLabel']=_0xee0597['data']['find'](_0x2a705c=>_0x2a705c['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=st(this['locale']);const _0x46f076=this['_prepareListOptions'](_0xee0597['data']);gt(this['_dropdownView'],_0x46f076,{'role':'menu','ariaLabel':_0xee0597['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5964c6=>{_0x5964c6['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x32664e=>{this['formValue']=_0x32664e['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x32664e['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'](_0x210e60=[]){const _0x1564b5=new _0xe4e0d0();this['resetToDefault']();for(const _0x388a22 of _0x210e60){const _0x39fa32=new pt({'label':_0x388a22['label'],'withText':!0x0,'role':'menuitemradio','id':_0x388a22['id'],'model':_0x388a22});_0x39fa32['bind']('isOn')['to'](this,'formValue',_0x29dd5c=>_0x29dd5c===_0x39fa32['id']);const _0x16c503={'type':'button','model':_0x39fa32};_0x1564b5['add'](_0x16c503);}return _0x1564b5;}}class AIReviewCoreFormManagerView extends _0x3c0063{['_formItem']=null;constructor(_0x876699,_0x3d9238,_0xc8b1e8){super(_0x876699),this['argsKey']=_0x3d9238?.['argsKey'];if('dropdown'===_0x3d9238['formType'])this['_formItem']=new AIReviewCoreFormDropdownView(this['locale'],_0x3d9238);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x3f998d=new xt(this['locale'],{'children':[this['_formItem']],'class':[_0xc8b1e8?'ck-form__row_with-submit':'']});_0xc8b1e8&&_0x3f998d['children']['add'](_0xc8b1e8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x3f998d]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends Rt{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x146180){super(_0x146180),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x3c1644(),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 _0x268b55{['focusTracker']=new _0xc1a0cc();['keystrokes']=new _0x3c1644();['focusCycler'];['_focusables']=new vt();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x379260,_0x158eb0,_0x83844d=!0x1){super(_0x379260),this['_check']=_0x158eb0,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x158eb0['defaultModel']?_0x158eb0['defaultModel']['id']:'',this['_defaultLabel']=_0x158eb0['defaultModel']?_0x158eb0['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new wt(this['locale'],()=>new AIReviewCorePromptInputView(_0x379260)),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 _0xe4e0d0(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x83844d),gt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new xt(this['locale'],{'children':[this['promptInputView']]}),new xt(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x124826,_0x47ed7e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x47ed7e()):_0x47ed7e();}),this['focusCycler']=new tt({'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'](_0x4670b6=>{this['_focusables']['add'](_0x4670b6),this['focusTracker']['add'](_0x4670b6['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 _0x4e2796 of this['_getFormValidators']()){const _0x31c04c=_0x4e2796();if(_0x31c04c)return this['promptInputView']['errorText']=_0x31c04c,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return ho(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x460589=new _0x13bcd9(this['locale']),t=this['locale']['t'];return _0x460589['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x460589['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x460589;}['_createCancelButtonView'](){const _0x40990e=new _0x13bcd9(this['locale']),t=this['locale']['t'];return _0x40990e['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x40990e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2f23ad=>{_0x2f23ad['stopPropagation']();})}}),_0x40990e['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x40990e;}['_setModelList'](_0x489dca){this['_modelSelectionDropdownItems']['clear']();const _0x1d85ac=this['_check']['models'];if(_0x489dca)this['set']('modelDisplayMode','hidden');else{const _0x36b1e7=0x1===_0x1d85ac['length'];this['set']('modelDisplayMode',_0x36b1e7?'name':'selector');}if(this['resetToDefault'](),_0x1d85ac?.['length']){0x1===_0x1d85ac['length']&&this['set']('activeModelName',_0x1d85ac[0x0]['name']||_0x1d85ac[0x0]['id']);for(const _0x1a3efe of _0x1d85ac){const _0x3dded3=new pt({'label':_0x1a3efe['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1a3efe['id'],'model':_0x1a3efe});_0x3dded3['bind']('isOn')['to'](this,'modelId',_0x5d1a77=>_0x5d1a77===_0x1a3efe['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3dded3,'labelView':new ModelButtonLabelView(this['locale'],_0x1a3efe)});}}}['_createModelSelectionDropdown'](){const _0x4e9013=st(this['locale']);return _0x4e9013['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4e9013['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4e9013['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x32296e=>'selector'===_0x32296e),this['listenTo'](_0x4e9013,'execute',_0x2186d4=>{this['modelId']=_0x2186d4['source']['model']['id'],_0x4e9013['buttonView']['label']=_0x2186d4['source']['label'];}),_0x4e9013;}['_createModelNameView'](){const _0x536451=new ModelNameView(this['locale']);return _0x536451['bind']('text')['to'](this,'activeModelName',_0x5860ec=>_0x5860ec??''),_0x536451['bind']('isVisible')['to'](this,'modelDisplayMode',_0x42b1a8=>'name'===_0x42b1a8),_0x536451;}['_createActionsFooterView'](){const _0x146f64=new _0x268b55(this['locale']);return _0x146f64['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']]}]}),_0x146f64;}}class ModelNameView extends _0x268b55{constructor(_0x3f9e48){super(_0x3f9e48),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x288b1b=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x288b1b['if']('isVisible','ck-hidden',_0x4c14a8=>!_0x4c14a8)]},'children':[{'text':_0x288b1b['to']('text')}]});}}class ModelButtonLabelView extends _0x288660{constructor(_0x375512,_0x4010b0){super();const _0x236857=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x236857['to']('style'),'id':_0x236857['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x236857['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x4010b0['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x3c0063{['_formItemsCollection']=new vt();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0xf2a4b,_0x34fb5f,_0x3c100e,_0x22096f=!0x1){super(_0xf2a4b),this['_hideModels']=_0x22096f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x34fb5f['isParameterized']);const _0xb7ee25=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',_0x50bec5=>_0x50bec5),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0xf8059c=>_0xf8059c)],'style':{'--ck-ai-review-check-list-item-index':_0x3c100e}},'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':_0x34fb5f['title']}]},_0xb7ee25]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x34fb5f['description']?[{'text':_0x34fb5f['description']}]:[]}]}]},..._0x34fb5f['isParameterized']?[this['_createParameterizedView'](_0x34fb5f)]:[],...'custom'===_0x34fb5f['id']?[this['_createCustomView'](_0x34fb5f,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x34fb5f['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x34fb5f['id'],'args':_0x34fb5f['useArgs']?_0x34fb5f['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&mt({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x339c16=>{_0x339c16['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1d35b2=new _0x2b9920();return _0x1d35b2['content']=_0x1e5bd5,_0x1d35b2['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1d35b2;}['_createParameterizedView'](_0x58bbe3){const _0x1e5b48=new _0x268b55(),_0x481b39=this['_createFormView'](_0x58bbe3);return _0x1e5b48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x545abf=>!_0x545abf)]},'children':[_0x481b39]}),_0x1e5b48;}['_createFormView'](_0x409e20){const _0xe2142f=new _0x268b55(),_0x377254=Array['isArray'](_0x409e20['options'])?_0x409e20['options']:[],_0x33cf9a=new _0x13bcd9(this['locale']),t=this['locale']['t'];_0x33cf9a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x33cf9a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x92d4f8=>{_0x92d4f8['stopPropagation']();})}}),_0x33cf9a['on']('execute',()=>{const _0x91a693=[],_0x1f49d9={};this['_formItemsCollection']['forEach'](_0x3f39d5=>{_0x91a693['push'](_0x3f39d5['value']),_0x409e20['useArgs']&&_0x409e20['options']&&(_0x1f49d9[_0x3f39d5['argsKey']]=_0x3f39d5['value']);}),this['fire']('runReviewCheck',{'id':_0x409e20['id'],'params':_0x91a693['length']?_0x91a693:void 0x0,'args':Object['keys'](_0x1f49d9)['length']?_0x1f49d9:void 0x0});});const _0x4ff465=_0x377254['length'];return _0x377254['forEach']((_0x3dbea1,_0x2fa73c)=>{const _0x163f89=_0x2fa73c===_0x4ff465-0x1;this['_formItemsCollection']['add'](new AIReviewCoreFormManagerView(this['locale'],_0x3dbea1,_0x163f89?_0x33cf9a:null));}),_0xe2142f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xe2142f;}['_createCustomView'](_0xe22c7a,_0x3b75ba=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0xe22c7a,_0x3b75ba),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',_0x5510e7=>!_0x5510e7)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x26b07e,_0x5f3c42,_0x3979b4)=>{_0x3979b4||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x3c0063{['_checkViews'];constructor(_0x381d4e){super(_0x381d4e),this['_checkViews']=new vt(),this['_setupTemplate']();}['setChecks'](_0x55f331,_0x2e92ab=!0x1){this['_checkViews']['clear']();for(const [_0x11e53f,_0x5793c7]of _0x55f331['entries']()){const _0x11c1bd=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x5793c7,_0x11e53f,_0x2e92ab);_0x11c1bd['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x11c1bd);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x12c1d3 of this['_checkViews'])_0x12c1d3 instanceof AIReviewCoreReviewCommandListItemView&&_0x12c1d3['resetToDefault']();}['_setupTemplate'](){const _0x27f33f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x27f33f['if']('isVisible','ck-hidden',_0x5e3e8d=>!_0x5e3e8d)]},'children':this['_checkViews']});}}class AIReviewModeUI extends AIReviewCoreUI{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x5801b2=this['context']['locale'],_0x27a0da=new yt(_0x5801b2,{'label':ho(_0x5801b2,'AI_REVIEW_MODE'),'icon':_0x1c84b3,'class':'ck-ai-header\x20ck-ai-header_review'});return new AIReviewCoreView(this['context']['locale'],{'header':_0x27a0da,'list':new AIReviewCoreReviewCheckListView(_0x5801b2),'results':new AIReviewCoreUICheckResultsView(_0x5801b2,{'generalErrorText':ho(_0x5801b2,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x5801b2,{'headerText':ho(_0x5801b2,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':ho(_0x5801b2,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':ho(_0x5801b2,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x39e28d=this['context']['plugins']['get']('AITabs');_0x39e28d['view']['on']('activateTab',(_0x181eb2,_0x1fab57)=>{'reviewMode'===_0x1fab57?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x39e28d['view']['addTab']({'id':'reviewMode','buttonLabel':ho(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x1c84b3,'order':0x0,'content':this['_mainView']});}}const vm='review-';class AIReviewCoreEditing extends _0x90c2d8{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(_0x54cfe7){super(_0x54cfe7),this['_domEmitter']=new(_0x3b006d())(),this['_eventEmitter']=new(_0x5544ae())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x34a2cf=Md(this['context']);_0x34a2cf['conversion']['for']('editingDowncast')['markerToElement']({'model':vm+'insert','view':(_0x4a668c,{writer:_0x560314})=>{const _0x45ba1e=this['_markers']['get'](_0x4a668c['markerName']),_0x296471={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x45ba1e?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x4a668c['markerName']};return _0x560314['createUIElement']('span',_0x296471,function(_0x4cda88){const _0x54158d=this['toDomElement'](_0x4cda88);return _0x54158d['innerHTML']=_0x45ba1e?.['content']?.['asString']||'',_0x54158d;});}}),_0x34a2cf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-only','view':_0x382156=>{const _0x327f5c=this['_markers']['get'](_0x382156['markerName']),_0x4ad93b=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x327f5c?.['id']||'')&&_0x4ad93b['push']('ck-ai_review__change_active'),{'classes':_0x4ad93b,'attributes':{'data-marker-id':_0x382156['markerName']}};}}),_0x34a2cf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-context','view':_0x414c32=>{const _0x5e8c68=this['_markers']['get'](_0x414c32['markerName']),_0x3b2b47=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x5e8c68?.['id']||'')&&_0x3b2b47['push']('ck-ai_review__change_active'),{'classes':_0x3b2b47,'attributes':{'data-marker-id':_0x414c32['markerName']}};}}),_0x34a2cf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-text','view':_0x1d78be=>{const _0x1432a5=this['_markers']['get'](_0x1d78be['markerName']),_0x52bc5d=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x1432a5?.['id']||'')&&_0x52bc5d['push']('ck-ai_review__change_active'),{'classes':_0x52bc5d,'attributes':{'data-marker-id':_0x1d78be['markerName']}};}}),_0x34a2cf['conversion']['for']('dataDowncast')['markerToElement']({'model':vm+'suggestion-context','view':(_0x64a99a,{writer:_0x4d7446})=>_0x4d7446['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x64a99a['isOpening']?'start':'end')})}),_0x34a2cf['conversion']['for']('downcast')['attributeToAttribute']({'model':pd,'view':Od});const _0x2e8c3b=_0x34a2cf['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x2e8c3b,'mouseup',(_0x26fd5d,_0x116cc6)=>{const _0x5482be=_0x116cc6['target'],_0x31da3c=this['_findMarkerElement'](_0x5482be);if(!_0x31da3c)return;const _0x4933ae=_0x31da3c['getAttribute']('data-marker-id'),_0xd0853a=_0x4933ae['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x4933ae,'changeId':_0xd0853a,'markerElement':()=>this['_findMarkerElementById'](_0x4933ae),'domEvent':_0x116cc6});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x2e8c3b,'mouseover',(_0x464069,_0x784c27)=>{const _0x2171ab=_0x784c27['target'],_0x16c2d5=_0x784c27['relatedTarget'];let _0x3afa3d=this['_findMarkerElement'](_0x2171ab);if(!_0x3afa3d&&_0x16c2d5&&(_0x3afa3d=this['_findMarkerElement'](_0x16c2d5)),!_0x3afa3d)return;const _0x4d8f5a=_0x3afa3d['getAttribute']('data-marker-id'),_0x1246b8=_0x4d8f5a['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x1246b8,'markerElement':()=>this['_findMarkerElementById'](_0x4d8f5a),'domEvent':_0x784c27});}),this['_domEmitter']['listenTo'](document,'mouseover',Vr((_0x10c1f1,_0xf36df4)=>{const _0x23d305=_0xf36df4['target'];if(this['_findMarkerElement'](_0x23d305))return;_0x23d305['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x34a2cf['model']['document']['registerPostFixer'](_0x4767d5=>this['_validateMarkers'](_0x34a2cf,_0x4767d5)),_0x34a2cf['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x34a2cf));}['getDocumentData'](){const _0x1a0e21=this['context']['plugins']['get']('AIEditing'),_0x53521d=Md(this['context']),_0x41f644=_0x53521d['model'],_0x427d61=new _0x2d8c8e();for(const _0x49ad0c of _0x41f644['document']['getRoot']()['getChildren']()){const _0x19f5f1=_0x49ad0c['_clone'](!0x0);_0x427d61['_appendChild'](_0x19f5f1);}for(const _0x3b55ea of _0x41f644['markers'])_0x427d61['markers']['set'](_0x3b55ea['name'],this['_changeRangeOwnerDocument'](_0x3b55ea['getRange']()['clone'](),_0x427d61));const _0xfe1409=new _0x515c2({'ignoreElementEnd':!0x0,'startPosition':_0x41f644['createPositionAt'](_0x427d61,0x0)}),_0x26d73=new Set(),_0x439587=new Map();for(const {item:_0x2ece6e}of _0xfe1409){if(!_0x2ece6e['is']('$textProxy'))continue;const _0xb3ba09=_0x2ece6e['parent'];if(_0xb3ba09&&_0xb3ba09['is']('element')){const _0x2a00c0=this['_upsertDataId'](_0xb3ba09,()=>_0x1a0e21['_nextDataId'](_0x26d73));_0x26d73['add'](_0x2a00c0);for(const _0x38629b of _0xb3ba09['getChildren']())_0x38629b['is']('element')&&_0x26d73['add'](this['_upsertDataId'](_0x38629b,()=>_0x1a0e21['_nextDataId'](_0x26d73)));let _0x386de3=_0xb3ba09;for(;_0x386de3['parent']&&!_0x386de3['parent']['is']('documentFragment');)_0x386de3=_0x386de3['parent'],_0x386de3['hasAttribute'](pd)&&_0x386de3['_removeAttribute'](pd);_0x439587['set'](_0x2a00c0,{'path':_0xb3ba09['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x386de3['_clone'](!0x0),_0x2a00c0,_0x53521d['data'])}),_0xfe1409['jumpTo'](_0x41f644['createPositionAfter'](_0xb3ba09));}}return{'content':_0x53521d['data']['processor']['toData'](_0x53521d['data']['toView'](_0x427d61)),'version':_0x53521d['model']['document']['version'],'elements':_0x439587};}['diffContent'](_0xd373c7,_0x43f821,_0x20f662=!0x1){const _0x3f2c59=[],_0x5b865e=Md(this['context']),_0x3ff752=_0x5b865e['data']['parse'](_0x43f821,'$documentFragment'),_0x102a8c=_0x5b865e['data']['parse'](_0xd373c7,'$documentFragment'),_0x3317ae=_0x5b865e['model']['createPositionAt'](_0x102a8c,0x0);if(this['_haveSingleTopLevelElement'](_0x3ff752)){if(!this['_hasSameTopLevelElement'](_0x102a8c,_0x3ff752))return _0x3f2c59;}else{const _0x37c529=_0x5b865e['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x102a8c,_0x37c529)||!this['_haveOnlyInlineContent'](_0x3ff752,_0x37c529))return _0x3f2c59;}const _0x39652b=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0xd373c7,_0x43f821,{'anchor':_0x3317ae,'markDeletions':!0x0})['getOperations']()['filter'](_0x199671=>'insert'===_0x199671['type']||'marker'===_0x199671['type']&&_0x199671['name']['startsWith']('$markedRemove')),_0x563b1d=this['_groupAdjacentOperations'](_0x39652b),_0x4710fd=[];if(_0x20f662){if(_0x563b1d['length']){const _0x35af33=_0x563b1d[0x0]['operations'][0x0],_0x5db8ba='insert'===_0x35af33['type']?_0x35af33['position']:_0x35af33['newRange']['start'],_0x1db633=this['_getPositionLimitingRange'](_0x5db8ba,_0x5b865e,'inside'),_0x104309=_0x1db633?_0x3ff752['getChild'](0x0)['getChildren']():_0x3ff752['getChildren'](),_0x5ccbda=_0x1db633||_0x5b865e['model']['createRangeIn'](_0x102a8c),_0x2b5c4e=[new ts('$markedRemove:synthetic'+_0x288d30(),null,_0x5ccbda,_0x5b865e['model']['document']['model']['markers'],!0x0,_0x5b865e['model']['document']['version']+0x1),new _0x1120cd(_0x5ccbda['end'],_0x104309,_0x5b865e['model']['document']['version']+0x2)];_0x4710fd['push']({'operations':_0x2b5c4e,'operationsIsolated':_0x2b5c4e,'groupOffset':0x0});}}else _0x4710fd['push'](..._0x563b1d);let _0x3fdfcd=0x0;return _0x5b865e['model']['change'](_0x3b2959=>{for(let _0x12dbc9=0x0;_0x12dbc9<_0x4710fd['length'];_0x12dbc9++){const _0x5c94b3=_0x4710fd[_0x12dbc9],_0x48b488=_0x3b2959['createDocumentFragment']();for(const _0x240a2f of _0x102a8c['getChildren']())_0x3b2959['append'](_0x240a2f['_clone'](!0x0),_0x48b488);for(const _0x3a2595 of _0x5c94b3['operationsIsolated'])if('insert'===_0x3a2595['type']){const _0x259a41=_0x3a2595;_0x259a41['baseVersion']=null,_0x259a41['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x259a41,_0x48b488),_0x3b2959['batch']['addOperation'](_0x3a2595),_0x5b865e['model']['applyOperation'](_0x3a2595);const _0x518aa3='suggestion:insertion:id:authorId:'+_0x3fdfcd++,_0x311839=_0x5b865e['model']['createRange'](_0x259a41['position'],_0x259a41['position']['getShiftedBy'](_0x259a41['howMany']));_0x48b488['markers']['set'](_0x518aa3,_0x311839);}else{if('marker'===_0x3a2595['type']&&_0x3a2595['name']['startsWith']('$markedRemove')){const _0x153079=_0x3a2595,_0x442244='suggestion:deletion:id:authorId:'+_0x3fdfcd++;this['_changeOperationOwnerDocument'](_0x153079,_0x48b488),_0x48b488['markers']['set'](_0x442244,_0x153079['newRange']);}}if(_0x20f662)_0x3f2c59['push']({..._0x5c94b3,'context':this['_createGetContentFn'](_0x102a8c,_0x5b865e['data']),'content':this['_createGetContentFn'](_0x102a8c,_0x5b865e['data'])});else{const _0x289cc0=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x5c94b3['operationsIsolated'][0x0]),_0x48b488),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x5c94b3['operationsIsolated'][_0x5c94b3['operationsIsolated']['length']-0x1]),_0x48b488));_0x48b488['markers']['set'](vm+'suggestion-context',new _0x41f7a7(_0x289cc0['start'],_0x289cc0['end'])),_0x3f2c59['push']({..._0x5c94b3,'context':this['_createGetContextFn'](_0x48b488,_0x5b865e['data'],{'ellipsisBefore':_0x289cc0['hasContentBefore'],'ellipsisAfter':_0x289cc0['hasContentAfter']}),'content':this['_createGetContentFn'](_0x48b488,_0x5b865e['data'])});}}}),_0x3f2c59;}['markChangePositionInEditorContent'](_0x49fb30,_0x514a8c){if(!_0x49fb30['length'])return;const _0x35529f=_0x49fb30[0x0]['parent']['id'],_0x16ef67=_0x514a8c['elements']['get'](_0x35529f);if(!_0x16ef67)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x35529f);const _0x3e3664=_0x16ef67['path'],_0x56e5f3=Md(this['context']),_0x2cce4c=_0x56e5f3['model']['document']['history']['getOperations'](_0x514a8c['version']),_0x1726c6=[];for(const _0x4c0621 of _0x49fb30){const _0x5f2213=_0x4c0621['operationsIsolated']['map'](_0x54dd6a=>this['_translateOperationToEditorContent'](_0x54dd6a,_0x3e3664,_0x56e5f3['model']['document']['getRoots']()[0x0]));if(!_0x5f2213||!_0x5f2213['length'])continue;const _0x2651d5=_0x5f2213['every'](_0x35babb=>'marker'===_0x35babb['type']&&_0x35babb['name']['startsWith']('$markedRemove')),_0xce8708={'document':_0x56e5f3['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x23530f=_0x180d0d(_0x5f2213,_0x2cce4c,_0xce8708)['operationsA'];for(const _0x1228de of _0x23530f)if('insert'===_0x1228de['type']){const _0x5e235b=_0x1228de,_0x3407a9=_0x5e235b['nodes'];_0x56e5f3['model']['change'](_0x307803=>{const _0x29ecbf=_0x307803['createDocumentFragment']();for(const _0xfbc44b of _0x3407a9)_0x307803['append'](_0xfbc44b['_clone'](!0x0),_0x29ecbf);_0x1726c6['push']({'start':_0x5e235b['position'],'end':_0x5e235b['position'],'type':'insert','groupId':_0x4c0621['id'],'content':{'asString':this['_createGetContentFn'](_0x29ecbf,_0x56e5f3['data'])(),'asFragment':_0x29ecbf}});});}else{if('marker'===_0x1228de['type']&&_0x1228de['name']['startsWith']('$markedRemove')){const _0x1a27ab=_0x1228de;let _0xb5da29='remove-text';if(_0x2651d5){const _0x132ff8=this['_findAdjacentContextDistance'](_0x1a27ab['newRange']['start'],'backward',_0x56e5f3['model']['schema']),_0x33a07a=this['_findAdjacentContextDistance'](_0x1a27ab['newRange']['end'],'forward',_0x56e5f3['model']['schema']);if(_0x132ff8||_0x33a07a){const _0x37899c=_0x1a27ab['newRange']['start']['getShiftedBy'](-_0x132ff8),_0x3cc2fd=_0x1a27ab['newRange']['end']['getShiftedBy'](_0x33a07a);_0x1726c6['push']({'start':_0x37899c,'end':_0x3cc2fd,'groupId':_0x4c0621['id'],'type':'remove-context'});}else _0xb5da29='remove-only';}_0x1726c6['push']({'start':_0x1a27ab['newRange']['start'],'end':_0x1a27ab['newRange']['end'],'groupId':_0x4c0621['id'],'type':_0xb5da29});}}}this['_insertMarkers'](_0x1726c6);}['clearAllMarkers'](){const _0x5b853a=Md(this['context']);_0x5b853a['model']['change'](_0x3246b4=>{for(const _0x3d49aa of this['_markers']['keys']())_0x5b853a['model']['markers']['get'](_0x3d49aa)&&_0x3246b4['removeMarker'](_0x3d49aa);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){Md(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){Md(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x542514){const _0x197d86=Md(this['context']),_0x821def=_0x197d86['model'],_0x401869=_0x542514['map'](_0x10cfbb=>this['_getMarkersDataForGroup'](_0x10cfbb))['flat']();_0x821def['change'](_0x1f9216=>{for(const _0x290ad8 of _0x401869){const _0x4caaff=_0x197d86['model']['markers']['get'](_0x290ad8['id']);if(_0x4caaff){if('insert'===_0x290ad8['type']){if(!_0x290ad8['content'])continue;_0x821def['insertContent'](_0x290ad8['content']['asFragment']||null,_0x4caaff['getRange']()['start']);}else'remove-text'!==_0x290ad8['type']&&'remove-only'!==_0x290ad8['type']||_0x821def['deleteContent'](_0x821def['createSelection'](_0x4caaff['getRange']()));_0x1f9216['removeMarker'](_0x290ad8['id']),this['_markers']['delete'](_0x290ad8['id']);}}});}['rejectChange'](_0x5ba37e){const _0x2fe191=Md(this['context']),_0x748e9c=this['_getMarkersDataForGroup'](_0x5ba37e);_0x2fe191['model']['change'](_0xdec006=>{for(const _0x460b92 of _0x748e9c)_0xdec006['removeMarker'](_0x460b92['id']),this['_markers']['delete'](_0x460b92['id']);});}['getEditor'](){return Md(this['context']);}['getMarkerElementForChange'](_0x4b24af){const _0x53a761=Array['from'](this['_markers']['values']())['filter'](_0x41b820=>_0x41b820['groupId']===_0x4b24af);if(!_0x53a761['length'])return null;const _0x41a9d8=0x1===_0x53a761['length']?_0x53a761[0x0]:this['_sortMarkers'](_0x53a761)[0x0],_0xfe18b=Md(this['context'])['model']['markers']['get'](_0x41a9d8['id']);if(!_0xfe18b)return null;return{'modelRange':_0xfe18b['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x41a9d8['id'])};}['getContentElementForChange'](_0x357c6c){const _0x84e2f6=Array['from'](this['_markers']['values']())['filter'](_0x17f928=>_0x17f928['groupId']===_0x357c6c);if(!_0x84e2f6['length'])return null;const _0x423d76=0x1===_0x84e2f6['length']?_0x84e2f6[0x0]:this['_sortMarkers'](_0x84e2f6)[0x0],_0x5f1a47=Md(this['context']),_0x4626c0=_0x5f1a47['model']['markers']['get'](_0x423d76['id']);if(!_0x4626c0)return null;const _0x2f2354=_0x4626c0['getRange'](),_0x570c52=_0x5f1a47['editing']['view']['getDomRoot']();if(!_0x570c52||!_0x2f2354)return null;let _0x14efcb=_0x2f2354['start']['parent'];for(;_0x14efcb['parent']&&'$root'!==_0x14efcb['parent']['name'];)_0x14efcb=_0x14efcb['parent'];if(!_0x14efcb||!_0x14efcb['name'])return null;const _0xb5d04b=_0x570c52['querySelector']('[data-marker-id=\x22'+_0x423d76['id']+'\x22]');if(!_0xb5d04b)return null;let _0x175379=null;_0x5f1a47['model']['change'](_0x1d62cc=>{_0x175379=_0x1d62cc['createDocumentFragment'](),_0x1d62cc['append'](_0x14efcb['_clone'](!0x0),_0x175379);});const _0xa0e646=_0x5f1a47['data']['toView'](_0x175379)['getChild'](0x0);return _0xb5d04b['closest'](_0xa0e646['name']);}['reactivateMarkers'](_0x31d963){const _0x52de52=this['_getMarkersDataForGroup'](_0x31d963);if(!_0x52de52['length'])return;const _0x9f2b07=Array['from'](this['_activeMarkers'])['sort'](),_0x1c937a=Array['from'](new Set(_0x52de52['map'](_0x5a72b5=>_0x5a72b5['id'])))['sort']();_0x9f2b07['join']('|')!==_0x1c937a['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x31d963));}['setMarkersInElementAsActive'](_0x35c102){const _0x50b517=this['_getMarkersDataForGroup'](_0x35c102);if(!_0x50b517['length'])return;const _0x2657c2=Md(this['context']),_0x12d1b0=new Set(_0x50b517['map'](_0x2a7b6f=>_0x2a7b6f['id'])),_0x16bb9b=Array['from'](_0x12d1b0['values']())['map'](_0xfc05ba=>_0x2657c2['model']['markers']['get'](_0xfc05ba))['filter'](_0x54cab0=>!!_0x54cab0);_0x12d1b0['forEach'](_0x6c9f1d=>{this['_activeMarkers']['add'](_0x6c9f1d);}),_0x2657c2['model']['change'](()=>{_0x16bb9b['forEach'](_0x556361=>{_0x2657c2['editing']['reconvertMarker'](_0x556361);});});}['setAllMarkersAsInactive'](){const _0x59ddc9=Array['from'](this['_activeMarkers']);if(!_0x59ddc9['length'])return;this['_activeMarkers']['clear']();const _0x21bacc=Md(this['context']),_0x368b68=_0x59ddc9['map'](_0x539984=>_0x21bacc['model']['markers']['get'](_0x539984))['filter'](_0x21e64b=>!!_0x21e64b);_0x21bacc['model']['change'](()=>{_0x368b68['forEach'](_0x425984=>{_0x21bacc['editing']['reconvertMarker'](_0x425984);});});}['_getPositionLimitingRange'](_0x474d28,_0x5b1152,_0x1b3728='outside'){if(!_0x474d28)return null;let _0x56e7f8=_0x474d28['parent'];for(;_0x56e7f8&&_0x56e7f8['parent']&&'$root'!==_0x56e7f8['parent']['name']&&!_0x5b1152['model']['schema']['isLimit'](_0x56e7f8)&&!_0x5b1152['model']['schema']['isBlock'](_0x56e7f8);)_0x56e7f8=_0x56e7f8['parent'];if(!_0x56e7f8||!_0x56e7f8['name']||'$root'===_0x56e7f8['name'])return null;let _0x421801=null;return _0x5b1152['model']['change'](_0x1ffe95=>{_0x421801='inside'===_0x1b3728?_0x1ffe95['createRangeIn'](_0x56e7f8):_0x1ffe95['createRangeOn'](_0x56e7f8);}),_0x421801;}['_validateMarkers'](_0x286749,_0x427bcf){const _0x54797e=Array['from'](this['_markers']['keys']()),_0x50d8b7=new Map();for(const _0x54b7c1 of _0x54797e){const _0x1aa491=_0x286749['model']['markers']['get'](_0x54b7c1);if(!_0x1aa491)continue;const _0x3ba2a4=_0x1aa491['getStart']()['path'][0x0];_0x50d8b7['has'](_0x3ba2a4)||_0x50d8b7['set'](_0x3ba2a4,[]),_0x50d8b7['get'](_0x3ba2a4)['push'](_0x1aa491);}const _0x38f835=new Set();for(const _0x2ad2ea of _0x286749['model']['document']['differ']['getChanges']()){let _0x4ab7a7=-0x1,_0x138000=null;if('insert'===_0x2ad2ea['type'])_0x138000=new _0x41f7a7(_0x2ad2ea['position'],_0x2ad2ea['position']['getShiftedBy'](_0x2ad2ea['length'])),_0x4ab7a7=_0x2ad2ea['position']['path'][0x0];else{if('remove'!==_0x2ad2ea['type'])continue;_0x138000=new _0x41f7a7(_0x2ad2ea['position']),_0x4ab7a7=_0x2ad2ea['position']['path'][0x0];}const _0x17e54f=_0x50d8b7['get'](_0x4ab7a7)||[];if(_0x17e54f['length']){for(const _0x37f535 of _0x17e54f)if(_0x138000['root']['rootName']===_0x37f535['getRange']()['root']['rootName']&&('insert'!==_0x2ad2ea['type']||!_0x138000['containsRange'](_0x37f535['getRange']()))&&(_0x138000['isIntersecting'](_0x37f535['getRange']())||_0x138000['start']['isTouching'](_0x37f535['getRange']()['end'])||_0x138000['end']['isTouching'](_0x37f535['getRange']()['start']))){const _0x5d4eb1=this['_parseMarkerName'](_0x37f535['name']);Array['from'](this['_markers']['values']())['filter'](_0x5749d8=>_0x5749d8['groupId']===_0x5d4eb1['groupId'])['forEach'](_0x4f5259=>_0x38f835['add'](_0x4f5259['id']));}}}if(_0x38f835['size']){for(const _0x266f72 of _0x38f835)_0x427bcf['removeMarker'](_0x266f72);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0xab84ae){for(const {name:_0x2fea11,data:_0x20e422}of _0xab84ae['model']['document']['differ']['getChangedMarkers']()){if(!_0x2fea11['startsWith'](vm))continue;const _0x304284=_0x20e422['oldRange'],_0x4c37e9=_0x20e422['newRange'],_0x1b189e=_0x304284&&'$graveyard'===_0x304284['root']['rootName'],_0x524bd5=_0x4c37e9&&'$graveyard'===_0x4c37e9['root']['rootName'];if(_0x1b189e&&_0x524bd5)continue;const _0x562209=this['_parseMarkerName'](_0x2fea11);this['_markers']['get'](_0x2fea11)&&(_0x524bd5||!_0x4c37e9?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x2fea11,'changeId':_0x562209['groupId']}):_0x1b189e&&_0x4c37e9&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x2fea11,'changeId':_0x562209['groupId']}));}}['_parseMarkerName'](_0x183a38){const _0x5857d0=_0x183a38['split'](':'),_0x42a132=(_0x5857d0[0x1]||'')['split']('_');return{'prefix':_0x5857d0[0x0],'groupId':_0x42a132[0x0],'suffix':_0x42a132[0x1]};}['_translateOperationToEditorContent'](_0x46a125,_0x40a5a9,_0x5a30a7){if('insert'===_0x46a125['type']){const _0x31a37e=_0x46a125;return new _0x1120cd(this['_changePosition'](_0x40a5a9['concat'](_0x31a37e['position']['offset']),_0x5a30a7),_0x31a37e['nodes'],_0x31a37e['baseVersion']);}if('marker'===_0x46a125['type']&&_0x46a125['name']['startsWith']('$markedRemove')){const _0x2f92d3=_0x46a125;return new ts(_0x2f92d3['name'],_0x2f92d3['oldRange'],this['_changeRange'](_0x2f92d3['newRange'],_0x40a5a9['concat'](_0x2f92d3['newRange']['start']['offset']),_0x40a5a9['concat'](_0x2f92d3['newRange']['end']['offset']),_0x5a30a7),_0x2f92d3['_markers'],_0x2f92d3['affectsData'],_0x2f92d3['baseVersion']);}return _0x46a125;}['_groupAdjacentOperations'](_0x2f7cc4){if(!_0x2f7cc4['length'])return[];const _0xc44036=[];let _0x3a21e1=0x0,_0x596d83=0x0,_0x3a324c=[];for(let _0x421853=0x0;_0x421853<=_0x2f7cc4['length'];_0x421853++){const _0x1e0157=_0x2f7cc4[_0x421853],_0x30a39e=_0x2f7cc4[_0x421853-0x1];!_0x1e0157||_0x30a39e&&!this['_getOperationEnd'](_0x30a39e)['isTouching'](this['_getOperationStart'](_0x1e0157))?(_0xc44036['push']({'operations':_0x3a324c,'operationsIsolated':_0x3a324c['map'](_0x109894=>this['_shiftOperation'](_0x109894['clone'](),-_0x596d83)),'groupOffset':_0x3a21e1}),_0x3a324c=_0x1e0157?[_0x1e0157]:[],_0x596d83+=_0x3a21e1,_0x3a21e1=0x0):_0x3a324c['push'](_0x1e0157),_0x1e0157&&'insert'===_0x1e0157['type']&&(_0x3a21e1+=_0x1e0157['howMany']);}return _0xc44036;}['_findAdjacentContextDistance'](_0x44ce2d,_0x262f6d,_0x5e52af,_0x5e5a75=0x1){const _0xd7be9e=new _0x515c2({'startPosition':_0x44ce2d,'direction':_0x262f6d});let _0x35277f=0x0;for(let _0x28fdde=0x0;_0x28fdde<_0x5e5a75;_0x28fdde++){let _0x39c36f=0x0,_0x19ed49=!0x1,_0x58abf2='forward'===_0x262f6d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x31f38c}of _0xd7be9e)if(_0x31f38c['is']('$textProxy')){const _0x115e0a=_0x58abf2['exec'](_0x31f38c['data']);if(_0x115e0a&&_0x115e0a['length']){if(_0x39c36f+='forward'===_0x262f6d?_0x115e0a['index']+_0x115e0a[0x0]['length']:_0x31f38c['data']['length']-_0x115e0a['index'],_0x115e0a[0x0]['length']!==_0x31f38c['data']['length'])break;_0x19ed49=!0x0,_0x58abf2='forward'===_0x262f6d?/^\w+/:/\w+$/;}else{if(_0x19ed49)break;_0x39c36f+=_0x31f38c['offsetSize'];}}else{if(_0x31f38c['is']('element')){_0x5e52af['isInline'](_0x31f38c)&&!_0x19ed49&&(_0x39c36f+=0x1);break;}}_0x35277f+=_0x39c36f,_0xd7be9e['jumpTo'](_0x44ce2d['getShiftedBy']('forward'===_0x262f6d?_0x35277f:-_0x35277f));}return _0x35277f;}['_getChangeContext'](_0x5a6661,_0x314bc1){const _0x1ed980=Md(this['context'])['model']['schema'],_0x138dcf=this['_findAdjacentContextDistance'](_0x5a6661,'backward',_0x1ed980,0x6),_0x521c08=this['_findAdjacentContextDistance'](_0x314bc1,'forward',_0x1ed980,0x6),_0x5aa36f=_0x5a6661['getShiftedBy'](-_0x138dcf),_0x39f361=_0x314bc1['getShiftedBy'](_0x521c08);return{'start':_0x5aa36f,'end':_0x39f361,'hasContentBefore':!_0x5aa36f['isAtStart'],'hasContentAfter':!_0x39f361['isAtEnd']};}['_insertMarkers'](_0x52606f){const _0x4f5b9f=this['context']['plugins']['get']('AIEditing'),_0xbf0ee6=new Set();Md(this['context'])['model']['change'](_0x42609d=>{for(const _0xbb44ff of _0x52606f){const _0x10221e=''+vm+_0xbb44ff['type']+':'+_0xbb44ff['groupId']+'_'+_0x4f5b9f['_nextDataId'](_0xbf0ee6);this['_markers']['set'](_0x10221e,{'id':_0x10221e,'groupId':_0xbb44ff['groupId'],'type':_0xbb44ff['type'],'content':_0xbb44ff['content']}),_0x42609d['addMarker'](_0x10221e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x42609d['createRange'](_0xbb44ff['start'],_0xbb44ff['end'])});}});}['_createGetContextFn'](_0x42f580,_0x3bbdf8,_0x4e181d){let _0x1ed838='';return()=>{if(!_0x1ed838){const _0x2df777=_0x3bbdf8['toView'](_0x42f580,{'showSuggestionHighlights':!0x0});let _0x1275f5=_0x2df777['getChild'](0x0);if(_0x1275f5['is']('containerElement')||(_0x1275f5=_0x2df777),!_0x1275f5)return'';let _0x5667d3=!0x1;const _0x2a4ab3=[];for(const _0x5cc3dc of _0x1275f5['getChildren']())_0x5cc3dc['is']('element','span')&&_0x5cc3dc['hasClass']('ck-ai_review-marker_context-end')&&(_0x5667d3=!0x1),_0x5667d3&&_0x2a4ab3['push'](_0x5cc3dc),_0x5cc3dc['is']('element','span')&&_0x5cc3dc['hasClass']('ck-ai_review-marker_context-start')&&(_0x5667d3=!0x0);_0x1275f5['_removeChildren'](0x0,_0x1275f5['childCount']),_0x4e181d?.['ellipsisBefore']&&_0x1275f5['_appendChild']('…'),_0x1275f5['_appendChild'](_0x2a4ab3),_0x4e181d?.['ellipsisAfter']&&_0x1275f5['_appendChild']('…');const _0x44c8c5=_0x3bbdf8['htmlProcessor']['domConverter']['viewToDom'](_0x2df777),_0x3371a8=_0x3bbdf8['htmlProcessor']['htmlWriter']['getHtml'](_0x44c8c5);_0x1ed838=_0x3371a8;}return _0x1ed838;};}['_createGetContentFn'](_0x4878d8,_0x5a165e){let _0x5890ea='';return()=>(_0x5890ea||(_0x5890ea=_0x5a165e['stringify'](_0x4878d8,{'showSuggestionHighlights':!0x0})),_0x5890ea);}['_createGetContentUsingDataIdFn'](_0x4d625c,_0x12fd6a,_0x46cac0){let _0xaccbb8='';return()=>{if(!_0xaccbb8){const _0x30441c=_0x46cac0['toView'](new _0x2d8c8e(_0x4d625c)),_0x373eee=_0x46cac0['htmlProcessor']['domConverter']['viewToDom'](_0x30441c)['querySelector']('[data-id=\x22'+_0x12fd6a+'\x22]');_0xaccbb8=_0x373eee?.['outerHTML']||'';}return _0xaccbb8;};}['_findMarkerElement'](_0x5a1438,_0x47d4df=0x5){let _0x466ad9=_0x5a1438,_0x32de71=null;for(let _0x21f1ba=0x0;_0x21f1ba<_0x47d4df&&_0x466ad9;_0x21f1ba++){if(!_0x466ad9['className']){_0x466ad9=_0x466ad9['parentElement'];continue;}if(!(''+_0x466ad9['className'])['includes']('ck-ai_review-marker_')){_0x466ad9=_0x466ad9['parentElement'];continue;}if(!_0x466ad9['getAttribute']('data-marker-id'))break;_0x32de71=_0x466ad9;break;}return _0x32de71;}['_findMarkerElementById'](_0x9fcec8){const _0x13b193=Md(this['context']),_0x28026d=_0x13b193['model']['markers']['get'](_0x9fcec8);return _0x28026d?qu(_0x13b193['editing'],_0x28026d):null;}['_getMarkersDataForGroup'](_0x368acf){return Array['from'](this['_markers']['values']())['filter'](_0x466963=>_0x466963['groupId']===_0x368acf);}['_getOperationStart'](_0x583bb1){return'insert'===_0x583bb1['type']?_0x583bb1['position']:_0x583bb1['newRange']['start'];}['_getOperationEnd'](_0x4952c2,_0x100a83=!0x1){return'insert'===_0x4952c2['type']?_0x100a83?_0x4952c2['position']:_0x4952c2['position']['getShiftedBy'](_0x4952c2['howMany']):_0x4952c2['newRange']['end'];}['_shiftOperation'](_0x65ff0c,_0x48fd37){return'insert'===_0x65ff0c['type']?_0x65ff0c['position']=_0x65ff0c['position']['getShiftedBy'](_0x48fd37):'marker'===_0x65ff0c['type']&&_0x65ff0c['newRange']&&(_0x65ff0c['newRange']=new _0x41f7a7(_0x65ff0c['newRange']['start']['getShiftedBy'](_0x48fd37),_0x65ff0c['newRange']['end']['getShiftedBy'](_0x48fd37))),_0x65ff0c;}['_changeOperationOwnerDocument'](_0x1f0dc4,_0x2a25af){'insert'===_0x1f0dc4['type']?_0x1f0dc4['position']=this['_changePositionOwnerDocument'](_0x1f0dc4['position'],_0x2a25af):'marker'===_0x1f0dc4['type']&&_0x1f0dc4['newRange']&&(_0x1f0dc4['newRange']=this['_changeRangeOwnerDocument'](_0x1f0dc4['newRange'],_0x2a25af));}['_changePositionOwnerDocument'](_0x4f944b,_0x3c6477){return new _0x551298(_0x3c6477,_0x4f944b['path']);}['_changeRangeOwnerDocument'](_0x4f90b3,_0x1c1d84){return new _0x41f7a7(this['_changePositionOwnerDocument'](_0x4f90b3['start'],_0x1c1d84),this['_changePositionOwnerDocument'](_0x4f90b3['end'],_0x1c1d84));}['_changePosition'](_0x52a813,_0x1714fd){return new _0x551298(_0x1714fd,[..._0x52a813]);}['_changeRange'](_0x424fd4,_0x3796fe,_0x2a9762,_0x42eed8){return new _0x41f7a7(this['_changePosition'](_0x3796fe,_0x42eed8),this['_changePosition'](_0x2a9762,_0x42eed8));}['_sortMarkers'](_0x2c3320){const _0x1ed15f=_0x4aaa33=>{switch(_0x4aaa33){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x2c3320['sort']((_0x3d863e,_0x3835c5)=>_0x1ed15f(_0x3d863e['type'])-_0x1ed15f(_0x3835c5['type']));}['_hasSameTopLevelElement'](_0x23673,_0x42dc72){const _0xb92588=_0x23673['getChild'](0x0),_0x2cbbc1=_0x42dc72['getChild'](0x0);return!(!_0xb92588||!_0x2cbbc1)&&((!_0xb92588['is']('element')||!_0x2cbbc1['is']('element')||_0xb92588['name']===_0x2cbbc1['name'])&&!(_0xb92588['is']('element')&&!_0x2cbbc1['is']('element')||!_0xb92588['is']('element')&&_0x2cbbc1['is']('element')));}['_haveSingleTopLevelElement'](_0x10d63e){return 0x1===_0x10d63e['childCount'];}['_haveOnlyInlineContent'](_0xd71d78,_0x1d5577){for(const _0x2c9e54 of _0xd71d78['getChildren']())if(_0x2c9e54['is']('element')&&!_0x1d5577['isInline'](_0x2c9e54))return!0x1;return!0x0;}['_upsertDataId'](_0x21f39c,_0x484cd9){let _0xe66d37=_0x21f39c['getAttribute'](pd);return _0xe66d37||(_0xe66d37=_0x484cd9(),_0x21f39c['_setAttribute'](pd,_0xe66d37)),_0xe66d37;}}class AIReviewCheckResult extends _0x5544ae(){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x368191,contentNew:_0x241538,contentInitial:_0x2772d4,documentVersion:_0x66be2}){super(),this['id']=_0x368191,this['contentNew']=_0x241538,this['contentInitial']=_0x2772d4,this['documentVersion']=_0x66be2;}}class AIReviewCheckResultChange extends _0x266f1a(){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x3a345d,_0x1b90dc,_0x4c5868){super(),this['id']=_0x3a345d,this['parent']=_0x4c5868,this['_data']=_0x1b90dc,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 AIReviewCheckRun extends _0x266f1a(){['id']=_0x288d30();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x5c304d,_0x3ead6,_0x10d1a0,_0x5a3f15,_0x27c376){super(),this['_sourceCheck']=_0x3ead6,this['_documentData']=_0x5c304d,this['_aiConnector']=_0x10d1a0,this['_reviewParams']=_0x5a3f15,this['_reviewArgs']=_0x27c376,this['on']('change:status',(_0x39c516,_0x2060e6,_0x337af5)=>{'aborted'==_0x337af5&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x337af5,'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'](_0x212b54=>'pending'===_0x212b54['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x46ee15){this['_documentData']=_0x46ee15;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x48fecc=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x59fa79 of _0x48fecc)'unmodified'!==_0x59fa79['data']['operation']&&('error'!==_0x59fa79['data']['operation']?'review-metadata'!==_0x59fa79['event']?this['_addReviewCheckResult'](_0x59fa79['data']['dataId'],_0x59fa79['data']['textDelta']):this['callId']=_0x59fa79['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(_0x376c9b){this['_currentError']=_0x376c9b,_0x376c9b instanceof Error&&_0x376c9b['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'](_0x2bc696,_0x55ac8e){const _0x8bc97d=this['_results']['get'](_0x2bc696);if(!_0x8bc97d)return;if(0x0===_0x55ac8e['length'])return;const _0x4fd726=[];_0x55ac8e['forEach']((_0x49cb86,_0x4b57f7)=>{const _0x497939=new AIReviewCheckResultChange(_0x8bc97d['id']+'-'+_0x4b57f7,_0x49cb86,_0x8bc97d);_0x497939['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x497939,'status':_0x497939['status']});}),_0x497939['on']('change:isActivated',()=>{_0x497939['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x497939}):this['fire']('reviewCheckResultDeactivated',{'change':_0x497939});}),this['_changes']['push'](_0x497939),_0x4fd726['push'](_0x497939);}),this['fire']('reviewCheckResultReady',{'changes':_0x4fd726,'result':_0x8bc97d,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x4f17ed){const _0x305563=this['_changes']['find'](_0x471bd3=>_0x471bd3['id']===_0x4f17ed);return!(!_0x305563||'pending'!==_0x305563['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x3ecae1=>!0x0===_0x3ecae1['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x109da3=>'pending'===_0x109da3['status']);}['getChangeById'](_0x3c0737){return this['_changes']['find'](_0x3cd9a7=>_0x3cd9a7['id']===_0x3c0737);}['markAllChangesAsAccepted'](){for(const _0x17907a of this['_changes'])'pending'===_0x17907a['status']&&(_0x17907a['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x4ee6f1){const _0x111b4a=this['_changes']['find'](_0x1046e6=>_0x1046e6['id']===_0x4ee6f1);_0x111b4a&&'pending'===_0x111b4a['status']&&(_0x111b4a['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x349315){const _0x2fab53=this['_changes']['find'](_0x931744=>_0x931744['id']===_0x349315);_0x2fab53&&'pending'===_0x2fab53['status']&&(_0x2fab53['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x51a5ac){const _0x3e726e=this['_changes']['find'](_0x106c39=>_0x106c39['id']===_0x51a5ac);_0x3e726e&&'pending'===_0x3e726e['status']&&(_0x3e726e['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x5db362){const _0x53d1af=this['_changes']['find'](_0x1cfc33=>_0x1cfc33['id']===_0x5db362);_0x53d1af&&'outdated'===_0x53d1af['status']&&(_0x53d1af['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x4f1feb){this['_changes']['filter'](_0x3d4e96=>_0x3d4e96['isActivated']&&_0x3d4e96['id']!==_0x4f1feb)['forEach'](_0x128f28=>{_0x128f28['isActivated']=!0x1;});const _0x432217=this['_changes']['find'](_0x27b68c=>_0x27b68c['id']===_0x4f1feb);_0x432217&&'pending'===_0x432217['status']&&(_0x432217['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x436d32=>_0x436d32['isActivated'])['forEach'](_0x31dd09=>{_0x31dd09['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x487175){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x8f3be3;if(_0x487175){const _0x3f9ad9=this['_changes']['find'](_0x4c4f04=>_0x4c4f04['id']===_0x487175);if(_0x3f9ad9&&_0x3f9ad9['isRated'])return;_0x3f9ad9&&(_0x8f3be3=_0x3f9ad9['parent']['id'],_0x3f9ad9['isRated']=!0x0);}const _0x21f0cd={'positiveCount':this['_changes']['filter'](_0x759b9f=>'accepted'===_0x759b9f['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x21f0cd,this['callId'],_0x8f3be3);}['_addReviewCheckResult'](_0x5e945b,_0x2b7d99){const _0x202c2b=this['_documentData']['elements']['get'](_0x5e945b);if(!_0x202c2b)return;const _0x1ad858=_0x202c2b['getContent']();if(_0x1ad858===_0x2b7d99)return;const _0x3d9436=new AIReviewCheckResult({'id':_0x5e945b,'contentInitial':_0x1ad858,'contentNew':_0x2b7d99,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x3d9436['id'],_0x3d9436),this['fire']('reviewCheckResultAdded',{'result':_0x3d9436,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x6f382b=>'pending'===_0x6f382b['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x3c95f8=>'pending'===_0x3c95f8['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends AIReviewCheckRun{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x394b7b=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x22c1e3=0x0;_0x22c1e3<this['_reviewParams']['length'];_0x22c1e3++){if(!this['_reviewParams'][_0x22c1e3]||!this['_sourceCheck']['options'][_0x22c1e3])continue;const _0x38c492=this['_sourceCheck']['options'][_0x22c1e3],_0x264aa7=_0x38c492['data']?.['find'](_0xb13d20=>_0xb13d20['id']===this['_reviewParams'][_0x22c1e3]);_0x264aa7&&_0x394b7b['push'](_0x264aa7['label']);}return _0x394b7b['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x56c3fc,_0x3405c9,_0x18858e){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x3405c9,_0x56c3fc,_0x18858e);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x90c2d8{['_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(_0x2279c5,_0x49f0bb)=>{const _0xf83702=this['_aiReviewCheckList']['getCheckById'](_0x49f0bb['id']);if(_0xf83702){this['_onReviewCheckRun'](_0x49f0bb),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x49f0bb,_0xf83702),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x473a41,_0x5a854c)=>{switch(_0x5a854c['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x5a854c);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 _0x1976e8('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x1976e8('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'!==_0x5a854c['status']&&'error-chunk'!==_0x5a854c['status']&&'error-general'!==_0x5a854c['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x214771,_0x4459b5)=>{if(!this['_currentReviewCheckRun'])throw new _0x1976e8('ai-review-mode-no-current-check-run',this);const _0x38d136=this['_diffContent'](_0x4459b5['result']['contentInitial'],_0x4459b5['result']['contentNew']);_0x4459b5['source']['addResultChanges'](_0x4459b5['result']['id'],_0x38d136);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x269a1a,_0x3ca082)=>{for(const _0x10d22f of _0x3ca082['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x10d22f);this['_markChangePositionInEditorContent'](_0x3ca082['changes'],_0x3ca082['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x4ee77d,_0x27ac44)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x27ac44['change']['id'],_0x27ac44['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x450bfb,_0x537655)=>{this['_onReviewCheckResultActivated'](_0x537655);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0xcfca67){_0xcfca67 instanceof Error&&_0xcfca67['message']['includes']('ai-request-aborted')||(_0xcfca67 instanceof _0x1976e8?this['_logError'](_0xcfca67):this['_logError'](new _0x1976e8('ai-review-mode-check-run-failed',this,void 0x0,_0xcfca67)));}}else this['_logError'](new _0x1976e8('ai-review-mode-source-check-not-found',this,{'checkId':_0x49f0bb['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 _0x1c3503=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x1c3503['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x1c3503['map'](_0x5cf952=>_0x5cf952['id']));const _0x3bed9a=this['_currentReviewCheckRun'];_0x3bed9a['markAllChangesAsAccepted'](),_0x3bed9a['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x2c5254,_0x4a1e20)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x4a1e20['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x4a1e20['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x4a1e20['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x4a1e20['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x2c3d43,_0x4c72f1)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x4c72f1['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x4c72f1['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x4c72f1['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x4c72f1['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',(_0x5922ec,_0x42dae7)=>{this['_onActivateChange'](_0x42dae7);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x590a1,_0x5cf181)=>{this['_onDeactivateChange'](_0x5cf181);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x6c79a8,_0x254370)=>{this['_onChangeMarkerClicked'](_0x6c79a8,_0x254370);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x14f0de,_0x5e327)=>{this['_onChangeMarkerHovered'](_0x14f0de,_0x5e327);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x329237,_0x5e6fd9)=>{this['_onChangeMarkerRemoved'](_0x329237,_0x5e6fd9);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x5d938f,_0x5aa949)=>{this['_onChangeMarkerRestored'](_0x5d938f,_0x5aa949);});}['_createReviewCheckRun'](_0x2a871f,_0x4f6827){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x4f6827,this['_aiConnector'],_0x2a871f['params'],_0x2a871f['args']);}['_onChangeMarkerRemoved'](_0x5cce3f,_0x428d19){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x428d19['changeId']);}['_onChangeMarkerRestored'](_0x2e6950,_0x5a1b9f){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x5a1b9f['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x457f3f=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x457f3f&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x1cd99d=this['_aiReviewCoreEditing']['getEditor']();_0x1cd99d&&_0x1cd99d['editing']['view']['change'](_0x3957f0=>{const _0x372c10=_0x1cd99d['editing']['view']['document']['getRoot']();_0x3957f0['removeClass']('ck-ai_review-diff',_0x372c10),_0x3957f0['removeClass']('ck-ai_review-highlights',_0x372c10),_0x3957f0['removeClass']('ck-ai-translate-mode-content',_0x372c10);});}['_getTranslationWithDefault'](_0x3c437f,_0x1e4130){const _0x4f97f1=ho(this['context']['locale'],_0x3c437f);return _0x4f97f1===_0x3c437f?_0x1e4130:_0x4f97f1;}['_logError'](_0x1051db,_0xcd68d9=!0x1){_0x74de25(_0x1051db['message']),_0xcd68d9||(_0x1051db['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x41ec3b){if('content'===this['_changeActivationSource']){const _0x1e231f=this['_aiReviewCoreUi']['getChangeElement'](_0x41ec3b);_0x1e231f&&_0x5be5fe(_0x1e231f['closest']('.ck-ai_review__check-run-result')||_0x1e231f);}else{if('panel'===this['_changeActivationSource']){const _0x61e9b3=this['_getChangeContentElement'](_0x41ec3b);if(!_0x61e9b3)return;_0xe93d68({'target':_0x61e9b3,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}const Tm=[{'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 AIReviewCheck{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x1c7e97){this['id']=_0x1c7e97['id'],this['commandId']=_0x1c7e97['commandId'],this['title']=_0x1c7e97['title'],this['description']=_0x1c7e97['description'],this['isParameterized']=_0x1c7e97['isParameterized'],this['useArgs']=_0x1c7e97['useArgs'],this['options']=_0x1c7e97['options'],this['args']=_0x1c7e97['args'];}}class AIReviewCheckList extends _0x266f1a(){['_checks']=[];['setupChecks'](_0x865224){this['_checks']=_0x865224['map'](_0x1501b5=>new AIReviewCheck(_0x1501b5));}get['checks'](){return this['_checks'];}['getCheckById'](_0x161cd2){return this['checks']['find'](_0x46bccd=>_0x46bccd['id']===_0x161cd2);}['removeCheckById'](_0x14edf0){this['_checks']=this['_checks']['filter'](_0x520a10=>_0x520a10['id']!==_0x14edf0);}}class AIReviewCheckCustom extends AIReviewCheck{['_models']=[];['_defaultModel']=null;constructor(_0x44dafb,_0x2ef2c7,_0x2744b8){super(_0x44dafb),this['_models']=_0x2ef2c7,this['_defaultModel']=_0x2744b8;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends AIReviewCheck{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x123ca5,_0x1e1761,_0x3398f7){super(_0x123ca5),this['prompt']=_0x123ca5['prompt'],this['model']=_0x123ca5['model'],this['model']?this['_defaultModel']=_0x1e1761['find'](_0x321fe6=>_0x321fe6['id']===this['model'])||null:this['_defaultModel']=_0x3398f7;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x4912e8,_0x32df52,_0x548522){super(),this['_allModels']=_0x4912e8,this['_recommendedModels']=_0x32df52,this['_defaultModel']=_0x548522;}['setupChecks'](_0x2b8868){this['_checks']=_0x2b8868['map'](_0x7322d4=>!0x0===_0x7322d4['isExtra']?new AIReviewCheckExtra(_0x7322d4,this['_allModels'],this['_defaultModel']):'custom'===_0x7322d4['id']?new AIReviewCheckCustom(_0x7322d4,this['_recommendedModels'],this['_defaultModel']):new AIReviewCheck(_0x7322d4));}}class AIReviewCustomCheckRun extends AIReviewCheckRun{['_prompt'];['_model'];constructor(_0xe084ad,_0x2a5206,_0x381155,_0xb7342d,_0x59b64f){super(_0x381155,_0xb7342d,_0x59b64f),this['_prompt']=_0xe084ad,this['_model']=_0x2a5206;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x3aad86,_0x351a9b,_0x306888){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x351a9b,_0x3aad86,_0x306888);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x27d969){this['_prompt']=_0x27d969;}set['model'](_0x230780){this['_model']=_0x230780;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x34a22f){super(_0x34a22f),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',Tm['map'](_0x3ca8f2=>_0x3ca8f2['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x31b14c,_0x99d355)=>{this['_isDiffOn']=_0x99d355['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x3303be,_0x1e92a4){return _0x3303be['isCustom']?new AIReviewCustomCheckRun(_0x3303be['args']['prompt'],_0x3303be['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x1e92a4,this['_aiConnector']):_0x1e92a4['isExtra']?new AIReviewExtraCheckRun(_0x1e92a4['prompt'],_0x1e92a4['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x1e92a4,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x1e92a4,this['_aiConnector'],_0x3303be['params'],_0x3303be['args']);}['_onReviewCheckResultActivated'](_0x5318da){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x5318da['change']['id']),this['_scrollToChange'](_0x5318da['change']['id']);const _0x14947e=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x5318da['change']['id']);if(!_0x14947e)return;const _0xece625=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5318da['change'],()=>_0x14947e['getElement'](),void 0x0,'click',_0xece625?.['editing']?.['view']?.['getDomRoot'](),_0xece625?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x5318da['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x320eca){this['_currentReviewCheckRun']&&'click'===_0x320eca['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x320eca['id']));}['_onDeactivateChange'](_0x40677f){this['_currentReviewCheckRun']&&'balloon'===_0x40677f['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x5b0e81,_0x261ac4){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x261ac4['changeId']);const _0x40cf81=this['_currentReviewCheckRun']['getChangeById'](_0x261ac4['changeId']);if(!_0x40cf81)return;const _0x47cadc=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x40cf81,_0x261ac4['markerElement'],_0x261ac4['domEvent'],'click',_0x47cadc?.['editing']?.['view']?.['getDomRoot'](),_0x47cadc?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x5274cd,_0x5d1f3f){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x76f6a1=this['_currentReviewCheckRun']['getChangeById'](_0x5d1f3f['changeId']);if(!_0x76f6a1)return;const _0x303f86=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x76f6a1,_0x5d1f3f['markerElement'],_0x5d1f3f['domEvent'],'hover',_0x303f86?.['editing']?.['view']?.['getDomRoot'](),_0x303f86?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x1cdac6){const _0x14856d=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x1cdac6);return _0x14856d?_0x14856d['getElement']():null;}['_markChangePositionInEditorContent'](_0x5ee7ac,_0xcc34eb){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x5ee7ac,_0xcc34eb);}['_diffContent'](_0x351f99,_0x4e68b4){return this['_aiReviewCoreEditing']['diffContent'](_0x351f99,_0x4e68b4);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x1ddb0e){const _0x48b313=this['_aiReviewCoreEditing']['getEditor']();_0x1ddb0e?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x48b313&&_0x48b313['editing']['view']['change'](_0x3b418e=>{const _0x3b4fa2=_0x48b313['editing']['view']['document']['getRoot']();for(const _0x54d49e of _0x3b4fa2['getClassNames']())_0x54d49e['startsWith']('ck-ai_review-')&&_0x3b418e['removeClass'](_0x54d49e,_0x3b4fa2);_0x3b418e['addClass'](_0x1ddb0e?'ck-ai_review-diff':'ck-ai_review-highlights',_0x3b4fa2);});}async['_getChecksList'](){const _0x835178=[...Tm,...this['_getExtraChecks']()],_0x23475e=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x23475e,_0x835178);let _0x3fb343=_0x835178;this['_hasDefaultAvailableCommands']||(_0x3fb343=_0x23475e['map'](_0x5b2621=>_0x835178['find'](_0x173328=>_0x173328['id']===_0x5b2621))['filter'](_0x3fccdf=>!!_0x3fccdf)),_0x3fb343=_0x3fb343['map'](_0x21f2f2=>_0x21f2f2['isExtra']?_0x21f2f2:this['_translateReviewCheck'](_0x21f2f2));const _0x3da784=_0x3fb343['some'](_0x166ff4=>_0x166ff4['isExtra']||'custom'===_0x166ff4['id']);let _0x4042aa=[],_0x5f4671=[],_0x3ba007=null;if(_0x3da784){const _0x507751=await this['_getModels']();_0x4042aa=_0x507751['all'],_0x5f4671=_0x507751['recommended'],_0x3ba007=_0x507751['default'];}const _0x3eac62=new AIReviewModeCheckList(_0x4042aa,_0x5f4671,_0x3ba007);return _0x3eac62['setupChecks'](_0x3fb343),_0x3da784&&this['_filterChecksWithMissingModel'](_0x3eac62),_0x3eac62;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x49120c=>({'id':_0x49120c['id'],'commandId':_0x49120c['id'],'title':_0x49120c['label'],'description':_0x49120c['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x49120c['prompt'],'model':_0x49120c['model']}));}['_logErrorForNonExistentChecks'](_0x322a39,_0x5e2873){const _0x50d8df=_0x322a39['filter'](_0x12545f=>!_0x5e2873['some'](_0x478772=>_0x478772['id']===_0x12545f));_0x50d8df['length']&&this['_logError'](new _0x1976e8('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x50d8df['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x4e38fc=new AIModels({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x4e38fc['getAll'](),'recommended':await _0x4e38fc['getAvailableModels'](),'default':await _0x4e38fc['getDefault']()};}catch(_0x26cb25){return this['_logError'](new _0x1976e8('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x26cb25)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x36e937){const _0x43708e='AI_REVIEW_CHECK_'+_0x36e937['id']['toUpperCase']()['replaceAll']('-','_'),_0x13121d={..._0x36e937,'title':this['_getTranslationWithDefault'](_0x43708e+'_TITLE',_0x36e937['title']),'description':this['_getTranslationWithDefault'](_0x43708e+'_DESCRIPTION',_0x36e937['description'])};return _0x36e937['options']&&(_0x13121d['options']=_0x36e937['options']['map'](_0x5e4cb5=>({..._0x5e4cb5,'label':this['_getTranslationWithDefault'](_0x43708e+'_OPTIONS_LABEL',_0x5e4cb5['label']||''),'data':_0x5e4cb5['data']?_0x5e4cb5['data']['map'](_0x4a4f50=>({..._0x4a4f50,'label':this['_getTranslationWithDefault'](_0x43708e+'_OPTIONS_DATA_'+_0x4a4f50['id']['toUpperCase'](),_0x4a4f50['label'])})):void 0x0}))),_0x13121d;}['_filterChecksWithMissingModel'](_0x138fec){const _0x4bd9f8=[];_0x138fec['checks']['forEach'](_0x404768=>{(_0x404768 instanceof AIReviewCheckExtra&&!_0x404768['defaultModel']||_0x404768 instanceof AIReviewCheckCustom&&!_0x404768['models']['length'])&&_0x4bd9f8['push'](_0x404768['id']);}),_0x4bd9f8['length']&&_0x4bd9f8['forEach'](_0x180a8f=>{_0x138fec['removeCheckById'](_0x180a8f),this['_logError'](new _0x1976e8('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x180a8f}),!0x0);});}}class AIReviewMode extends _0x90c2d8{static get['requires'](){return[AIReviewModeController,AIReviewModeUI,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends AIReviewCheck{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x10e25e){this['_checks']=_0x10e25e['map'](_0x42b592=>new AITranslateCheck(_0x42b592));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x244966,_0x3855a1,_0x16d178,_0x41574f,_0xc287a8,_0x54c0b3){super(_0x244966,_0x3855a1,_0x16d178,_0xc287a8,_0x54c0b3),this['_title']=_0x41574f;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x3794a4){super(_0x3794a4),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'](_0x174a89,_0x1ea81b){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x1ea81b,this['_aiConnector'],ho(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x174a89['params'],_0x174a89['args']);}['_onReviewCheckResultActivated'](_0x57a2a7){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x57a2a7['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x57a2a7['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x2cf8ab){this['_currentReviewCheckRun']&&('hover'===_0x2cf8ab['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x2cf8ab['id'])),'click'===_0x2cf8ab['uiInteraction']&&this['_scrollToChange'](_0x2cf8ab['id']));}['_onDeactivateChange'](_0xb3e294){this['_currentReviewCheckRun']&&'panel'===_0xb3e294['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x3c497d,_0x1ce8e0){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x1ce8e0['changeId']),this['_scrollToChange'](_0x1ce8e0['changeId']));}['_onChangeMarkerHovered'](_0xd7045d,_0x152201){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x152201['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x152201['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x70792){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x70792);}['_markChangePositionInEditorContent'](_0x4845b6,_0x5c9779){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4845b6,_0x5c9779);}['_diffContent'](_0x2c3e37,_0x1f8909){return this['_aiReviewCoreEditing']['diffContent'](_0x2c3e37,_0x1f8909,!0x0);}['_onReviewCheckRun'](){const _0x40471e=this['_aiReviewCoreEditing']['getEditor']();_0x40471e&&_0x40471e['editing']['view']['change'](_0x38ecbd=>{const _0x392a15=_0x40471e['editing']['view']['document']['getRoot']();for(const _0x1dfeae of _0x392a15['getClassNames']())(_0x1dfeae['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x1dfeae)&&_0x38ecbd['removeClass'](_0x1dfeae,_0x392a15);_0x38ecbd['addClass']('ck-ai-translate-mode-content',_0x392a15);});}async['_getChecksList'](){const _0x57d978=[],_0x445b4b=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x3f5452 of _0x445b4b)_0x57d978['push']({'title':_0x3f5452['label'],'id':_0x3f5452['id'],'commandId':_0x3f5452['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x3f5452['id']}});const _0x53247c=new AITranslateCheckList();return _0x53247c['setupChecks'](this['_translateChecks'](_0x57d978)),_0x53247c;}['_translateChecks'](_0x3a9cd8){return _0x3a9cd8['map'](_0x2550d7=>{const _0xdbae25='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x2550d7['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x2550d7,'title':this['_getTranslationWithDefault'](_0xdbae25,_0x2550d7['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x28e624,_0xfb667){super(_0x28e624,_0xfb667),this['on']('set:isLoading',(_0x29d47c,_0x3c34cb,_0x560d44)=>{_0x560d44&&(this['headerTitle']=ho(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x32f781,_0x870e04,_0x2eac89)=>{_0x2eac89&&(this['headerTitle']=ho(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x3b8115=super['_createAcceptAllButtonView']();return _0x3b8115['set']('label',ho(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x3b8115;}['_createExitReviewButtonView'](){const _0xd13b09=super['_createExitReviewButtonView']();return _0xd13b09['set']('label',ho(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0xd13b09;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x2670f0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x2670f0['if']('isVisible','ck-hidden',_0x10951e=>!_0x10951e)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':ho(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':ho(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x2670f0['if']('isVisible','ck-hidden',_0x5c8fcc=>!_0x5c8fcc)]},'children':this['_checkViews']}]});}}class AITranslateUI extends AIReviewCoreUI{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x2fee54=this['context']['locale'],_0xa13ef8=new yt(_0x2fee54,{'label':ho(_0x2fee54,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x8c6146,'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x3bc574=new AIReviewCoreView(_0x2fee54,{'header':_0xa13ef8,'list':new AITranslateCheckListView(_0x2fee54),'results':new AITranslateCheckResultsView(_0x2fee54,{'generalErrorText':ho(_0x2fee54,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x2fee54,{'headerText':ho(_0x2fee54,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':ho(_0x2fee54,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':ho(_0x2fee54,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x3bc574['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x3bc574;}['registerTab'](){const _0x1f2f68=this['context']['plugins']['get']('AITabs');_0x1f2f68['view']['on']('activateTab',(_0x42f622,_0x2bbc24)=>{'translate'===_0x2bbc24?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x1f2f68['view']['addTab']({'id':'translate','buttonLabel':ho(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x8c6146,'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x90c2d8{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CaseChangeCommand extends _0x1110b9{['_transformCallback'];constructor(_0x56b410,_0x2bcc4a){super(_0x56b410),this['_transformCallback']=_0x2bcc4a;}['execute'](){const _0xe8cfda=this['editor']['model'],_0x52dad0=Array['from'](this['_getAffectedRanges']()),_0x1d6ba4=Array['from'](_0xe8cfda['document']['selection']['getRanges']());_0xe8cfda['change'](_0x2bf1a8=>{for(const _0xa11774 of _0x52dad0)this['_modifyContent'](_0xa11774,_0x2bf1a8);_0x2bf1a8['setSelection'](_0x1d6ba4);});}['refresh'](){for(const _0x3e2ade of this['_getAffectedRanges']())for(const _0x223ebb of _0x3e2ade)if(_0x223ebb['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x368873=this['editor']['model'],_0x1f14bd=_0x368873['document']['selection'];if(_0x1f14bd['isCollapsed']){const _0x542791=this['_findAncestorTextBlock'](_0x1f14bd['getFirstPosition']()['parent']);return _0x542791?[_0x368873['createRangeIn'](_0x542791)]:[];}return _0x1f14bd['getRanges']();}['_modifyContent'](_0x3ae10d,_0x36a603){for(const _0x333846 of this['_getElementsAllowingText'](_0x3ae10d)){const _0x34c215=this['_getElementTextContent'](_0x333846),_0x288c5a=this['_transformCallback'](_0x34c215);for(const _0x5729d6 of this['_getTextNodesRangeLimited'](_0x333846,_0x3ae10d))this['_replaceTextNodeData'](_0x5729d6,_0x288c5a,_0x36a603);}}['_findAncestorTextBlock'](_0x2b5301){const _0x5c471e=this['editor']['model']['schema'];if(_0x2b5301['is']('element')&&_0x5c471e['checkChild'](_0x2b5301,'$text'))return _0x2b5301;const _0x5a0ceb=_0x2b5301['parent'];return!_0x5a0ceb||_0x5c471e['isLimit'](_0x2b5301)?null:this['_findAncestorTextBlock'](_0x5a0ceb);}*['_getElementsAllowingText'](_0x589939){const _0x32a14b=new Set();for(const {item:_0x2f042c}of _0x589939['getWalker']()){const _0x4d5bba=this['_findAncestorTextBlock'](_0x2f042c);_0x4d5bba&&!_0x32a14b['has'](_0x4d5bba)&&(_0x32a14b['add'](_0x4d5bba),yield _0x4d5bba);}}['_getElementTextContent'](_0x53ad82){return Array['from'](_0x53ad82['getChildren']())['reduce']((_0x475aa2,_0x92619b)=>_0x475aa2+(_0x92619b['is']('$text')?_0x92619b['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x63b34f,_0x2b36e4){const _0x4d9d43=_0x2b36e4['getIntersection'](this['editor']['model']['createRangeIn'](_0x63b34f));if(_0x4d9d43){for(const _0x22a376 of _0x4d9d43['getItems']())_0x22a376['is']('$textProxy')&&_0x22a376['parent']==_0x63b34f&&(yield _0x22a376);}}['_replaceTextNodeData'](_0x9a8488,_0x1be6e0,_0x27e74f){const _0xf41052=_0x1be6e0['substring'](_0x9a8488['startOffset'],_0x9a8488['endOffset']);if(_0xf41052===_0x9a8488['data'])return;const _0x1be925=_0x9a8488['getAttributes']();this['editor']['model']['insertContent'](_0x27e74f['createText'](_0xf41052,_0x1be925),_0x27e74f['createSelection'](_0x27e74f['createRangeOn'](_0x9a8488)));}}function Em(_0x595ae4,_0xc33641,..._0x57f255){const t=_0x595ae4['t'];switch(_0xc33641){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',..._0x57f255);default:return _0xc33641;}}class CaseChangeEditing extends _0x4ac504{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20925e=this['editor'],_0x5d7fce=_0x20925e['locale']['contentLanguage'],_0x484305=function(_0x16110f=[]){return'function'==typeof _0x16110f?_0x16110f:(_0x44053b,{wordIndex:_0x308d1f})=>_0x308d1f>0x0&&_0x16110f['includes'](_0x44053b);}(_0x20925e['config']['get']('caseChange.titleCase.excludeWords')),_0x374505={'changeCaseUpper':new CaseChangeCommand(_0x20925e,_0x3275ff=>_0x3275ff['toLocaleUpperCase'](_0x5d7fce)),'changeCaseLower':new CaseChangeCommand(_0x20925e,_0xcde3f7=>_0xcde3f7['toLocaleLowerCase'](_0x5d7fce)),'changeCaseTitle':new CaseChangeCommand(_0x20925e,_0x3f8981=>function(_0x4e68da,_0x9b192e,_0x2bbacd){return function(_0x35487a,_0x43970d){let _0x3797c6='',_0x57bc6b=0x0,_0xa725b7=0x0;for(const _0x55a148 of _0x35487a['matchAll'](/ +/g)){const _0x5e23af=_0x55a148['index'],_0x149d8d=_0x35487a['substring'](_0x57bc6b,_0x5e23af);_0x149d8d['length']&&(_0x3797c6+=_0x43970d(_0x149d8d,_0x57bc6b,_0xa725b7++)),_0x3797c6+=_0x55a148[0x0],_0x57bc6b=_0x5e23af+_0x55a148[0x0]['length'];}const _0x5541f3=_0x35487a['substring'](_0x57bc6b);return _0x5541f3['length']&&(_0x3797c6+=_0x43970d(_0x5541f3,_0x57bc6b,_0xa725b7)),_0x3797c6;}(_0x4e68da,(_0x540da0,_0x5330be,_0x5c4234)=>{const _0x106f43=_0x540da0['toLocaleLowerCase'](_0x2bbacd);return _0x9b192e(_0x106f43,{'charOffset':_0x5330be,'wordIndex':_0x5c4234,'blockText':_0x4e68da})?_0x106f43:_0x106f43['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5a5d2e=>_0x5a5d2e['toLocaleUpperCase'](_0x2bbacd));});}(_0x3f8981,_0x484305,_0x5d7fce))};for(const [_0x17d87a,_0x3f8c52]of Object['entries'](_0x374505))_0x20925e['commands']['add'](_0x17d87a,_0x3f8c52),_0x3f8c52['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x17d87a);});this['listenTo'](_0x20925e['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x20925e['keystrokes']['set']('shift+f3',(_0x547b1f,_0x519866)=>{const _0x44174a=Am(this['editor']['locale']),_0x58436e=_0x44174a[this['_currentCommandIndex']%_0x44174a['length']]['commandName'];_0x20925e['execute'](_0x58436e),this['_currentCommandIndex']++,_0x519866();});}['afterInit'](){!async function(_0x8994d){const _0x56d46b=_0x71a19([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]),_0x379fc7=0x334129cd,_0x528069=0x3346a3a5^_0x379fc7,_0x558503=window[_0x71a19([0x44,0x61,0x74,0x65])][_0x71a19([0x6e,0x6f,0x77])](),_0x18fd75=_0x8994d[_0x71a19([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13c57c=new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112ef8=>{_0x18fd75[_0x71a19([0x6f,0x6e,0x63,0x65])](_0x71a19([0x72,0x65,0x61,0x64,0x79]),_0x112ef8);}),_0x6ea9f4={[_0x71a19([0x6b,0x74,0x79])]:_0x71a19([0x45,0x43]),[_0x71a19([0x75,0x73,0x65])]:_0x71a19([0x73,0x69,0x67]),[_0x71a19([0x63,0x72,0x76])]:_0x71a19([0x50,0x2d,0x32,0x35,0x36]),[_0x71a19([0x78])]:_0x71a19([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]),[_0x71a19([0x79])]:_0x71a19([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]),[_0x71a19([0x61,0x6c,0x67])]:_0x71a19([0x45,0x53,0x32,0x35,0x36])},_0x20a60c=_0x18fd75[_0x71a19([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x71a19([0x67,0x65,0x74])](_0x71a19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5909b8(){let _0x155ba6,_0x39187e=null,_0x5b4c67=null;try{if(_0x20a60c==_0x71a19([0x47,0x50,0x4c]))return _0x71a19([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x155ba6=_0x517b53(),!_0x155ba6)return _0x71a19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x155ba6[_0x71a19([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b4c67=_0x5001cf(_0x155ba6[_0x71a19([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x155ba6[_0x71a19([0x6a,0x74,0x69])])),await _0x27f6ff()?_0x5d82c3()?_0x167115()?_0x71a19([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd65c30()?(_0x155ba6[_0x71a19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x71a19([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39187e=_0x5270fe(_0x71a19([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d4c3f()):_0x71a19([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x71a19([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x71a19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x71a19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x167115(){const _0x4dff64=[_0x71a19([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x71a19([0x74,0x72,0x69,0x61,0x6c])][_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x155ba6[_0x71a19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x558503/0x3e8:0xe10*_0x528069;return _0x155ba6[_0x71a19([0x65,0x78,0x70])]<_0x4dff64;}function _0x5d82c3(){const _0x1e1cb3=_0x155ba6[_0x71a19([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e1cb3&&(!!_0x1e1cb3[_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71a19([0x2a]))||(!!_0x1e1cb3[_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71a19([0x43,0x43]))||!!_0x1e1cb3[_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71a19([0x50,0x50]))));}function _0xd65c30(){const _0x3b931f=_0x155ba6[_0x71a19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b931f||0x0==_0x3b931f[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x810904}=new URL(window[_0x71a19([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b931f[_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x810904))return!0x0;const _0x26b56d=_0x810904[_0x71a19([0x73,0x70,0x6c,0x69,0x74])](_0x71a19([0x2e]));return _0x3b931f[_0x71a19([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8d75=>_0x4a8d75[_0x71a19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71a19([0x2a])))[_0x71a19([0x6d,0x61,0x70])](_0x7e69a3=>_0x7e69a3[_0x71a19([0x73,0x70,0x6c,0x69,0x74])](_0x71a19([0x2e])))[_0x71a19([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x92accc=>_0x92accc[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26b56d[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x71a19([0x6d,0x61,0x70])](_0xaa4534=>Array(_0x26b56d[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xaa4534[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x71a19([0x66,0x69,0x6c,0x6c])](_0xaa4534[0x0]===_0x71a19([0x2a])?_0x71a19([0x2a]):'')[_0x71a19([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xaa4534))[_0x71a19([0x73,0x6f,0x6d,0x65])](_0x4771b2=>_0x26b56d[_0x71a19([0x65,0x76,0x65,0x72,0x79])]((_0x3e0338,_0xdcde13)=>_0x4771b2[_0xdcde13]===_0x3e0338||_0x4771b2[_0xdcde13]===_0x71a19([0x2a])));}function _0x4d4c3f(){return _0x39187e&&_0x5b4c67?new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dba12,_0x359cf6)=>{_0x39187e[_0x71a19([0x74,0x68,0x65,0x6e])](_0x1dba12,_0x359cf6),_0x5b4c67[_0x71a19([0x74,0x68,0x65,0x6e])](_0x19ff92=>{_0x19ff92!=_0x71a19([0x56,0x61,0x6c,0x69,0x64])&&_0x1dba12(_0x19ff92);},_0x359cf6);}):_0x39187e||_0x5b4c67||_0x71a19([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5001cf(_0x31e4f6,_0x540e93){return new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f42d7=>{if(_0x2979e6())return _0x5f42d7(_0x71a19([0x56,0x61,0x6c,0x69,0x64]));_0x2b1439(),_0x18fd75[_0x71a19([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x71a19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x466450=!0x1;const _0x46d476=_0x288d30();function _0xd07d13(_0x44b689){return!!_0x44b689&&(typeof _0x44b689===_0x71a19([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44b689===_0x71a19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44b689[_0x71a19([0x74,0x68,0x65,0x6e])]===_0x71a19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44b689[_0x71a19([0x63,0x61,0x74,0x63,0x68])]===_0x71a19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c752f(_0x510cea){_0x6cace8(_0x510cea)[_0x71a19([0x74,0x68,0x65,0x6e])](_0x50ff07=>{if(!_0x50ff07||_0x50ff07[_0x71a19([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x71a19([0x6f,0x6b]))return _0x71a19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb4d7(_0x28fd4c(_0x46d476+_0x540e93))!=_0x50ff07[_0x71a19([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x71a19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x71a19([0x56,0x61,0x6c,0x69,0x64]);})[_0x71a19([0x74,0x68,0x65,0x6e])](_0x20a3de=>(_0x449efb(),_0x20a3de),()=>{const _0xc159d5=_0x329331();return null==_0xc159d5?(_0x449efb(),_0x71a19([0x56,0x61,0x6c,0x69,0x64])):_0x71a19(_0x558503-_0xc159d5>(0x174dadcd^_0x379fc7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x71a19([0x74,0x68,0x65,0x6e])](_0x5f42d7)[_0x71a19([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f42d7(_0x71a19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x85fef1=0x3377c74d^_0x379fc7;function _0x449efb(){const _0x39c225=_0x71a19([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb4d7(_0x28fd4c(_0x31e4f6)),_0x64d1b4=_0xcd027(_0x5bb4d7(window[_0x71a19([0x4d,0x61,0x74,0x68])][_0x71a19([0x63,0x65,0x69,0x6c])](_0x558503/_0x85fef1)));window[_0x71a19([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x71a19([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39c225,_0x64d1b4);}function _0x329331(){const _0x4b0eb7=_0x71a19([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb4d7(_0x28fd4c(_0x31e4f6)),_0x2481dc=window[_0x71a19([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x71a19([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b0eb7);return _0x2481dc?window[_0x71a19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd027(_0x2481dc),0x10)*_0x85fef1:null;}function _0x6cace8(_0x48b4c8){return new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fdc6f,_0x2d7c46)=>{_0x48b4c8[_0x71a19([0x74,0x68,0x65,0x6e])](_0x1fdc6f,_0x2d7c46),window[_0x71a19([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7c46,0x3340fd0d^_0x379fc7);});}}_0x18fd75[_0x71a19([0x6f,0x6e])](_0x71a19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47c9bb,_0x5310a0)=>{if(_0x5310a0[0x0]!=_0x31e4f6)return _0x5f42d7(_0x71a19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5310a0[0x1]={..._0x5310a0[0x1],[_0x71a19([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46d476};},{[_0x71a19([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x71a19([0x68,0x69,0x67,0x68])}),_0x18fd75[_0x71a19([0x6f,0x6e])](_0x71a19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x124773=>{_0xd07d13(_0x124773[_0x71a19([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x466450=!0x0,_0x4c752f(_0x124773[_0x71a19([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x71a19([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x71a19([0x6c,0x6f,0x77])}),_0x13c57c[_0x71a19([0x74,0x68,0x65,0x6e])](()=>{_0x466450||_0x5f42d7(_0x71a19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2979e6(){return _0x18fd75[_0x71a19([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x71a19([0x76,0x69,0x65,0x77])][_0x71a19([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x71a19([0x61,0x75,0x74,0x6f]);}function _0x2b1439(){_0x18fd75[_0x71a19([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x71a19([0x76,0x69,0x65,0x77])][_0x71a19([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x71a19([0x61,0x75,0x74,0x6f]);}}function _0x5270fe(_0x298af4){const _0x37ca5b=[new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3eec=>setTimeout(_0x2f3eec,0x33481701^_0x379fc7)),_0x13c57c[_0x71a19([0x74,0x68,0x65,0x6e])](()=>new window[(_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff3bf8=>{let _0x9470c7=0x0;_0x18fd75[_0x71a19([0x6d,0x6f,0x64,0x65,0x6c])][_0x71a19([0x6f,0x6e])](_0x71a19([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19b247,_0x18c815)=>{_0x18c815[0x0][_0x71a19([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9470c7++,_0x9470c7==(0x33412c25^_0x379fc7)&&(_0xff3bf8(),_0x19b247[_0x71a19([0x6f,0x66,0x66])]());});}))];return window[_0x71a19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x71a19([0x72,0x61,0x63,0x65])](_0x37ca5b)[_0x71a19([0x74,0x68,0x65,0x6e])](()=>_0x298af4);}async function _0x5d039a(){await _0x13c57c,_0x18fd75[_0x71a19([0x6d,0x6f,0x64,0x65,0x6c])][_0x71a19([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x381a5a,_0x18fd75[_0x71a19([0x6d,0x6f,0x64,0x65,0x6c])][_0x71a19([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x381a5a,_0x18fd75[_0x71a19([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x71a19([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcc49b0(_0x212b75){const _0x44f3b9=_0x5ef29f();_0x18fd75[_0x44f3b9]=_0x71a19([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x212b75,_0x212b75!=_0x71a19([0x56,0x61,0x6c,0x69,0x64])&&_0x5d039a();}function _0x5ef29f(){const _0x4e197a=window[_0x71a19([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x71a19([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x71a19([0x6e,0x6f,0x77])]())[_0x71a19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x71a19([0x2e]),'');let _0x48d663=_0x71a19([0x45]);for(let _0x561144=0x0;_0x561144<_0x4e197a[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x561144+=0x2){let _0xcdce9a=window[_0x71a19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e197a[_0x71a19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x561144,_0x561144+0x2));_0xcdce9a>=_0x56d46b[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcdce9a-=_0x56d46b[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48d663+=_0x56d46b[_0xcdce9a];}return _0x48d663;}function _0x517b53(){const _0x2de8bc=_0x20a60c[_0x71a19([0x73,0x70,0x6c,0x69,0x74])](_0x71a19([0x2e]));if(0x3!=_0x2de8bc[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e896e(_0x2de8bc[0x1]);function _0x3e896e(_0x392f59){const _0x17a686=_0x3f3942(_0x392f59);return _0x17a686&&_0x17776f()?_0x17a686:null;function _0x17776f(){const _0x24f9ac=_0x17a686[_0x71a19([0x6a,0x74,0x69])],_0x459bc4=window[_0x71a19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24f9ac[_0x71a19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24f9ac[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x304569={..._0x17a686,[_0x71a19([0x6a,0x74,0x69])]:_0x24f9ac[_0x71a19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24f9ac[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x304569[_0x71a19([0x76,0x63])],_0x28fd4c(_0x304569)==_0x459bc4;}}}async function _0x27f6ff(){let _0x17ba1=!0x0;try{const _0x1a1e07=_0x20a60c[_0x71a19([0x73,0x70,0x6c,0x69,0x74])](_0x71a19([0x2e])),[_0x337563,_0x1e2b46,_0x1e454e]=_0x1a1e07;return _0x2e0487(_0x337563),await _0x1ae762(_0x337563,_0x1e2b46,_0x1e454e),_0x17ba1;}catch{return!0x1;}function _0x2e0487(_0x3d8fba){const _0x358e9a=_0x3f3942(_0x3d8fba);_0x358e9a&&_0x358e9a[_0x71a19([0x61,0x6c,0x67])]==_0x71a19([0x45,0x53,0x32,0x35,0x36])||(_0x17ba1=!0x1);}async function _0x1ae762(_0xeec9fb,_0x4fad3c,_0x2b36d6){const _0x290f8c=window[_0x71a19([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x71a19([0x66,0x72,0x6f,0x6d])](_0x3c1013(_0x2b36d6),_0x2b28c8=>_0x2b28c8[_0x71a19([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x84c403=new window[(_0x71a19([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x71a19([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xeec9fb+_0x71a19([0x2e])+_0x4fad3c),_0x34f214=window[_0x71a19([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x71a19([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34f214)return;const _0x1993a1=await _0x34f214[_0x71a19([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x71a19([0x6a,0x77,0x6b]),_0x6ea9f4,{[_0x71a19([0x6e,0x61,0x6d,0x65])]:_0x71a19([0x45,0x43,0x44,0x53,0x41]),[_0x71a19([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x71a19([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x71a19([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34f214[_0x71a19([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x71a19([0x6e,0x61,0x6d,0x65])]:_0x71a19([0x45,0x43,0x44,0x53,0x41]),[_0x71a19([0x68,0x61,0x73,0x68])]:{[_0x71a19([0x6e,0x61,0x6d,0x65])]:_0x71a19([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1993a1,_0x290f8c,_0x84c403)||(_0x17ba1=!0x1);}}function _0x3f3942(_0x53c264){return _0x53c264[_0x71a19([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x71a19([0x65,0x79]))?JSON[_0x71a19([0x70,0x61,0x72,0x73,0x65])](_0x3c1013(_0x53c264)):null;}function _0x3c1013(_0x350650){return window[_0x71a19([0x61,0x74,0x6f,0x62])](_0x350650[_0x71a19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x71a19([0x2b]))[_0x71a19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x71a19([0x2f])));}function _0x28fd4c(_0x45cb23){let _0x41396f=0x1505;function _0x53eb5b(_0x566e20){for(let _0x23254c=0x0;_0x23254c<_0x566e20[_0x71a19([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23254c++){const _0x3da8ce=_0x566e20[_0x71a19([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23254c);_0x41396f=(_0x41396f<<0x5)+_0x41396f+_0x3da8ce,_0x41396f&=_0x41396f;}}function _0x156cfc(_0x3eb81a){Array[_0x71a19([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3eb81a)?_0x3eb81a[_0x71a19([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x156cfc):_0x3eb81a&&typeof _0x3eb81a==_0x71a19([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x71a19([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3eb81a)[_0x71a19([0x73,0x6f,0x72,0x74])]()[_0x71a19([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20ff9c,_0x30116e])=>{_0x53eb5b(_0x20ff9c),_0x156cfc(_0x30116e);}):_0x53eb5b(window[_0x71a19([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3eb81a));}return _0x156cfc(_0x45cb23),_0x41396f>>>0x0;}function _0x5bb4d7(_0x14130e){return _0x14130e[_0x71a19([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x71a19([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x71a19([0x30]));}function _0xcd027(_0x39cb9d){return _0x39cb9d[_0x71a19([0x73,0x70,0x6c,0x69,0x74])]('')[_0x71a19([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x71a19([0x6a,0x6f,0x69,0x6e])]('');}function _0x381a5a(){}function _0x71a19(_0x29d412){return _0x29d412['map'](_0xba5a6e=>String['fromCharCode'](_0xba5a6e))['join']('');}_0xcc49b0(await _0x5909b8());}(this);}['_announceCaseChangeOperation'](_0x3c67e9){const {ui:_0xe06d37,locale:_0x498e72}=this['editor'],_0x1440ad=Am(_0x498e72)['find'](_0x4ef1eb=>_0x4ef1eb['commandName']===_0x3c67e9)['label']['toLowerCase']();_0xe06d37['ariaLiveAnnouncer']['announce'](Em(_0x498e72,'Changed\x20case\x20to\x20%0',_0x1440ad));}}function Am(_0x2c68ba){return[{'label':Em(_0x2c68ba,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':Em(_0x2c68ba,'lowercase'),'commandName':'changeCaseLower'},{'label':Em(_0x2c68ba,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class CaseChangeUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x79de81=this['editor'];this['_registerComponents'](),_0x79de81['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Em(_0x79de81['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4c3724=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50f219;for(const _0x12bd61 in _0x4c3724){const _0x21f9e7=_0x12bd61,_0x418357=_0x4c3724[_0x21f9e7];if('caseChangeLicenseKeyValid'==_0x418357||'caseChangeLicenseKeyInvalid'==_0x418357||'caseChangeLicenseKeyExpired'==_0x418357||'caseChangeLicenseKeyDomainLimit'==_0x418357||'caseChangeLicenseKeyNotAllowed'==_0x418357||'caseChangeLicenseKeyEvaluationLimit'==_0x418357||'caseChangeLicenseKeyUsageLimit'==_0x418357){delete _0x4c3724[_0x21f9e7],_0x50f219=_0x418357,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x50f219&&_0x4c3724['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x50f219&&_0x4c3724['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x50f219&&_0x4c3724['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x50f219&&_0x4c3724['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x50f219&&_0x4c3724['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x50f219&&_0x4c3724['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x2f2ab0=this['editor'],{itemDefinitions:_0x3b6baa,commands:_0x5c889b}=this['_getListItemDefinitionsAndCommands']();_0x2f2ab0['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x3b6baa,_0x5c889b)),_0x2f2ab0['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x3b6baa,_0x5c889b));}['_createMenuBarMenuView'](_0x38594e,_0x5d78ec){const _0x51bf71=this['editor'],_0x7a787c=_0x51bf71['locale'],_0x5613f8=new rt(_0x7a787c),_0x489a4a=new ct(_0x7a787c);_0x489a4a['set']({'ariaLabel':Em(_0x7a787c,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5613f8['buttonView']),_0x5613f8['bind']('isEnabled')['toMany'](_0x5d78ec,'isEnabled',(..._0x122363)=>_0x122363['some'](_0x2630ce=>_0x2630ce));for(const _0x22251b of _0x38594e){const _0x40d6fa=new lt(_0x7a787c,_0x5613f8),_0x5247ec=new ot(_0x7a787c);_0x5247ec['delegate']('execute')['to'](_0x5613f8),_0x5247ec['bind'](...Object['keys'](_0x22251b['model']))['to'](_0x22251b['model']),_0x5247ec['on']('execute',()=>{_0x51bf71['execute'](_0x22251b['model']['commandName']),_0x51bf71['editing']['view']['focus']();}),_0x40d6fa['children']['add'](_0x5247ec),_0x489a4a['items']['add'](_0x40d6fa);}return _0x5613f8['panelView']['children']['add'](_0x489a4a),_0x5613f8;}['_createDropdownView'](_0x1b388d,_0x18b033){const _0x39409b=this['editor'],_0x58ee44=st(_0x39409b['locale']);return this['_setButtonProperties'](_0x58ee44['buttonView']),_0x58ee44['buttonView']['set']({'tooltip':!0x0}),_0x58ee44['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),gt(_0x58ee44,_0x1b388d,{'ariaLabel':Em(_0x39409b['locale'],'Case\x20change'),'role':'menu'}),_0x58ee44['bind']('isEnabled')['toMany'](_0x18b033,'isEnabled',(..._0x18111a)=>_0x18111a['some'](_0x6dfd97=>_0x6dfd97)),this['listenTo'](_0x58ee44,'execute',_0x38127a=>{_0x39409b['execute'](_0x38127a['source']['commandName']),_0x39409b['editing']['view']['focus']();}),_0x58ee44;}['_setButtonProperties'](_0x1bd946){const _0x6a451f=this['editor'];_0x1bd946['set']({'label':Em(_0x6a451f['locale'],'Case\x20change'),'icon':_0x2a01e0,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x193f15=new _0xe4e0d0(),_0x4822cb=[];for(const _0x15c2b2 of Am(this['editor']['locale'])){const _0x11e3c4=this['editor']['commands']['get'](_0x15c2b2['commandName']),_0x1484d3=new pt({'commandName':_0x15c2b2['commandName'],'label':_0x15c2b2['label'],'role':'menuitemradio','withText':!0x0});_0x1484d3['bind']('isEnabled')['to'](_0x11e3c4,'isEnabled'),_0x193f15['add']({'type':'button','model':_0x1484d3}),_0x4822cb['push'](_0x11e3c4);}return{'itemDefinitions':_0x193f15,'commands':_0x4822cb};}}class CaseChange extends _0x4ac504{static get['requires'](){return[CaseChangeEditing,CaseChangeUI];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0x266f1a(){['model'];['view'];constructor(_0x20c46f,_0x1f2a83){super(),this['model']=_0x20c46f,this['model']['_isAttached']=!0x0,this['view']=_0x1f2a83,this['listenTo'](_0x1f2a83,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x1f2a83,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x1f2a83,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x1f2a83,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x1f2a83,'addComment',(_0x444d0b,_0x44243e)=>this['addComment'](_0x44243e)),this['listenTo'](_0x1f2a83,'updateComment',(_0x176d17,_0x5d0cbf,_0x22c5fa)=>this['updateComment'](_0x5d0cbf,_0x22c5fa)),this['listenTo'](_0x1f2a83,'removeComment',(_0x39379c,_0x1b7965)=>this['removeComment'](_0x1b7965));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x292b80){this['model']['addComment']({'content':_0x292b80,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x511e99,_0x2395a1){this['model']['getComment'](_0x511e99)['update']({'content':_0x2395a1});}['removeComment'](_0x5e8f14){this['model']['getComment'](_0x5e8f14)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function Sm(_0x3497a8,_0x576d58,_0x2c6d89){const t=_0x3497a8['t'];switch(_0x576d58){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'},_0x2c6d89);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'},_0x2c6d89);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'},_0x2c6d89);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'},_0x2c6d89);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2c6d89);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'},_0x2c6d89);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'},_0x2c6d89);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'},_0x2c6d89);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 Pt{['main'];['editable'];constructor(_0x3b1f46,_0x50a29d){super(_0x3b1f46);const _0x23dbe9=_0x288d30();this['main']=this['createCollection'](),this['editable']=new Mt(_0x3b1f46,_0x50a29d,void 0x0,{'label':()=>Sm(_0x3b1f46,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x3b1f46['uiLanguageDirection'],'lang':_0x3b1f46['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x23dbe9},'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 Nt{['view'];constructor(_0x235c1f){super(_0x235c1f),this['view']=new CommentEditorUIView(_0x235c1f['locale'],_0x235c1f['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x333e25=this['editor']['editing']['view'],_0x15c085=this['view']['editable'],_0x162ae0=_0x333e25['document']['getRoot']();_0x15c085['name']=_0x162ae0['rootName'],this['view']['render']();const _0x50b97e=_0x15c085['element'];this['setEditableElement'](_0x15c085['name'],_0x50b97e),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x333e25['attachDomRoot'](_0x50b97e),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Im=[_0x1fe1e7,_0x3163ab,_0x41c1e8,_0x117f60,_0x4ca18e,_0x289777,_0x5a1aa0];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x266f1a(_0x2f9368){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>Im)());constructor(_0x1c663c={}){function _0x274193(_0x32cb16){return _0x32cb16['map'](_0x26b456=>String['fromCharCode'](_0x26b456))['join']('');}(_0x1c663c=Object['assign']({},_0x1c663c))['plugins']||(_0x1c663c['plugins']=CommentEditor['defaultPlugins']),super(_0x1c663c),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[_0x274193([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x274193([0x76,0x69,0x65,0x77])][_0x274193([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x274193([0x61,0x75,0x74,0x6f]),this[_0x274193([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x274193([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x274193([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x274193([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x274193([0x6f,0x6b])});}['create'](){const _0x32a830=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x32a830))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x23d57c=>{const _0xa83391=this['model']['document']['getRoot'](),_0x3d30d0=_0xa83391&&_0xa83391['getChild'](_0xa83391['childCount']-0x1);_0x23d57c['setSelection'](_0x3d30d0,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x56dfb5=this['editing']['view'],_0x41f18f=_0x56dfb5['document']['getRoot'](),_0x295076=_0x41f18f['getChild'](0x0);_0x41f18f['childCount']>0x1||!_0x295076||'p'!=_0x295076['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x2f6ace(_0x56dfb5,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x295076['placeholder']=this['placeholder']),_0x33c83b({'view':_0x56dfb5,'element':_0x295076,'keepOnFocus':!0x0}),this['placeholderElement']=_0x295076);}}class CommentInputView extends _0x268b55{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x1087df,_0x14911c={}){super(_0x1087df),this['editor']=null,this['_editorConfig']=_0x14911c,this['set']('value',_0x14911c['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',Sm(_0x1087df,'Reply...')),this['set']('submitLabel',Sm(_0x1087df,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x3c1644(),this['focusTracker']=new _0xc1a0cc(),this['focusCycler']=new tt({'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',(_0x170b96,_0x168047)=>{this['cancelButtonView']['fire']('execute'),_0x168047();}),this['keystrokes']['set']('Ctrl+Enter',(_0x218966,_0xabb10c)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0xabb10c());}),this['on']('submit',(_0x2a1278,_0xef29d0)=>{_0xef29d0['length']>0xfde8?(alert(Sm(_0x1087df,'TOO_LONG_COMMENT_ALERT',[_0xef29d0['length'],0xfde8])),_0x2a1278['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 _0x2a6bcf=this['editor'];this['element']['insertBefore'](_0x2a6bcf['ui']['element'],this['element']['firstChild']),_0x2a6bcf['model']['document']['on']('change',()=>this['value']=_0x2a6bcf['getData']()),_0x2a6bcf['bind']('placeholder')['to'](this),this['focusables']['add'](_0x2a6bcf['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x35aea1){-0x1===_0x35aea1?(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:_0x275f23}=this,_0x132be3=new _0x13bcd9(_0x275f23);return _0x132be3['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x132be3['withText']=!0x0,_0x132be3['bind']('label')['to'](this,'submitLabel'),_0x132be3['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x132be3['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x2e1be4,_0x22a2ef)=>!_0x22a2ef&&!!_0x2e1be4['trim']()),_0x132be3;}['_createCancelButton'](){const {locale:_0xd4b709}=this,_0x94dfcb=new _0x13bcd9(_0xd4b709);return _0x94dfcb['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x94dfcb['label']=Sm(_0xd4b709,'Cancel'),_0x94dfcb['withText']=!0x0,_0x94dfcb['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x94dfcb;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x439edf=>{this['focusTracker']['add'](_0x439edf['element']);}),this['focusables']['on']('change',(_0x1b806b,_0x460e37)=>{for(const _0xc09ddd of Array['from'](_0x460e37['added'])['reverse']())this['focusTracker']['add'](_0xc09ddd['element']);});}}class CommentThreadInputView extends _0x268b55{constructor(_0xc95c20,_0x4f6bce,_0x130e0c){super(_0xc95c20),this['commentInputView']=new CommentInputView(_0xc95c20,_0x130e0c),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x226ca5,_0x201ed4)=>_0x226ca5||!!_0x201ed4),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 UserView(_0xc95c20,_0x4f6bce),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'](_0x50a4eb){this['commentInputView']['focus'](_0x50a4eb);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0xbbef93,_0x2817f3)=>{const {submitButtonView:_0x1d576f,cancelButtonView:_0x45fbde,editor:_0x3bb85d}=this['commentInputView'];[_0x1d576f['element'],_0x45fbde['element'],_0x3bb85d?_0x3bb85d['editing']['view']['getDomRoot']():null]['filter'](_0x3ce1b2=>_0x3ce1b2)['some'](_0x1ded7d=>_0x1ded7d['contains'](_0x2817f3['target']))||(this['focus'](),_0x2817f3['preventDefault']());});}}class CollapsedCommentsView extends _0x268b55{constructor(_0xd17fdd){super(_0xd17fdd);const _0x3b7857=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x3b7857['to']('count',_0x2e3e86=>Sm(_0xd17fdd,'NUMBER_OF_COMMENTS',_0x2e3e86))}]});}}class CommentsListView extends _0x268b55{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x36b079,_0x486d1f,_0x4e9b75){super(_0x36b079);const _0x3090e1=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x486d1f['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x486d1f,this['_config']=_0x4e9b75,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x9dc908=>this['commentViews']['map'](_0x4ba0d7=>_0x4ba0d7['element'])['includes'](_0x9dc908['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x36b079),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x352a7b=>_0x352a7b-this['_config']['maxCommentsWhenCollapsed']);for(const _0x25e1ac of _0x486d1f['comments'])this['_handleNewCommentModel'](_0x25e1ac);this['_handleInfoComment'](),this['listenTo'](_0x486d1f['comments'],'add',(_0x23aca4,_0x17d916)=>{const _0x5281a3=this['_calculatePosition'](_0x17d916);this['length']++,this['_handleNewCommentModel'](_0x17d916,_0x5281a3),this['refreshVisibleViews']();}),this['listenTo'](_0x486d1f['comments'],'remove',(_0x362f64,_0x4b715e)=>{this['length']--,this['_handleRemoveCommentModel'](_0x4b715e),this['refreshVisibleViews']();}),this['listenTo'](_0x486d1f,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x486d1f,'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',_0x3090e1['if']('length','ck-hidden',_0x50b96a=>!_0x50b96a)],'aria-label':Sm(_0x36b079,'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'](_0x13d4f3){-0x1===_0x13d4f3?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x58ce28 of this['commentViews'])_0x58ce28['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x4cd40a,_0x32a081){const _0x178796=new this['_config']['CommentView'](this['locale'],_0x4cd40a,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x178796['viewUid']=_0x4cd40a['id'],_0x178796['delegate']('removeComment')['to'](this),_0x178796['delegate']('updateComment')['to'](this),_0x178796['delegate']('resolveCommentThread')['to'](this),_0x178796['delegate']('editorReady')['to'](this),_0x178796['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x178796,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x178796,_0x32a081);}['_calculatePosition'](_0x451b92){const _0x9ad748=this['_model']['_findOptimalIndex'](_0x451b92);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x451b92['authoredAt']?_0x9ad748-0x1:_0x9ad748:_0x9ad748-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x385735={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':Sm(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x385735,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x385735));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0xe2d1b9){const _0x1a8c0d=this['commentViews']['remove'](_0xe2d1b9['id']);this['stopListening'](_0x1a8c0d),_0x1a8c0d['isEditMode']&&this['_updateHasDirtyComment'](),_0x1a8c0d['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x6d5a51=>_0x6d5a51['isEditMode']);}['_rearrangeCollapse'](){const _0x209f2b=function(_0x390bf6){const _0x544525=new _0xe4e0d0();for(const _0x26a87c of _0x390bf6)_0x544525['add'](_0x26a87c);return _0x544525;}(this['commentViews']),_0x1a0333=this['_collapsedCommentsView']['count'];for(let _0x263517=0x1;_0x263517<=_0x1a0333;_0x263517++)_0x209f2b['remove'](0x1);for(const _0x393f33 of _0x209f2b)_0x393f33['collapse']();_0x1a0333>0x0&&_0x209f2b['add'](this['_collapsedCommentsView'],0x1),Cm(_0x39ff12(Array['from'](this['visibleViews']),Array['from'](_0x209f2b)),this['visibleViews'],_0x209f2b);}['_rearrangeExpand'](){Cm(_0x39ff12(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x36ef92 of this['visibleViews'])_0x36ef92['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x249ffb=>{this['focusTracker']['add'](_0x249ffb['element']),this['keystrokes']['listenTo'](_0x249ffb['element']);}),this['commentViews']['on']('change',(_0x2185b7,_0x4415a6)=>{for(const _0x1f7ce9 of _0x4415a6['removed'])this['focusTracker']['remove'](_0x1f7ce9['element']),this['keystrokes']['stopListening'](_0x1f7ce9['element']);for(const _0x5ea8e7 of Array['from'](_0x4415a6['added'])['reverse']())this['focusTracker']['add'](_0x5ea8e7['element']),this['keystrokes']['listenTo'](_0x5ea8e7['element']);});}}function Cm(_0x5169a1,_0x5a6731,_0x3f9a4b){let _0x1e9dde=0x0;for(const _0x1f1e7e of _0x5169a1)switch(_0x1f1e7e){case'insert':_0x5a6731['add'](_0x3f9a4b['get'](_0x1e9dde),_0x1e9dde),_0x1e9dde++;break;case'delete':_0x5a6731['remove'](_0x1e9dde);break;case'equal':_0x1e9dde++;}}class CommentThreadHeaderContextView extends _0x268b55{constructor(_0x443000){super(_0x443000);const _0x593d57=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x593d57['to']('contextValue',_0xd87170=>Sm(_0x443000,'THREAD_CONTEXT_LABEL',_0xd87170)),'tabindex':-0x1},'children':[{'text':_0x593d57['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x268b55{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x465554,_0x225332){super(_0x465554);const _0x72c5e6=this['bindTemplate'];this['_model']=_0x225332,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x50630d=>!!_0x50630d),this['bind']('contextValue')['to'](this['_model'],'context',_0x533eb2=>_0x533eb2&&_0x533eb2['value']?this['_trimContextValue'](_0x533eb2['value']):Sm(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',_0x72c5e6['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 _0xf32e60=new _0x13bcd9(this['locale']);return _0xf32e60['label']=Sm(this['locale'],'Reopen'),_0xf32e60['tooltip']=Sm(this['locale'],'Reopen'),_0xf32e60['icon']=_0xcf6dc,_0xf32e60['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x43f340=>!_0x43f340),_0xf32e60['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x114f76,_0x147c87)=>_0x114f76&&_0x147c87),_0xf32e60['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0xf32e60;}['_trimContextValue'](_0x42e500){if(_0x42e500['length']<0x96)return _0x42e500;const _0x54bd0c=_0x42e500['lastIndexOf']('\x20',0x93);return _0x42e500['substring'](0x0,_0x54bd0c>-0x1?_0x54bd0c:0x93)+'...';}['_attachContextActions'](){const _0x3f1ea6=this['element']['querySelector']('.ck-context'),_0x54e483=_0x3f1ea6['querySelector']('.ck-context__value');this['listenTo'](_0x3f1ea6,'mouseenter',()=>{_0x54e483['offsetWidth']<_0x54e483['scrollWidth']&&_0x3f1ea6['classList']['add']('overlay');}),this['listenTo'](_0x3f1ea6,'mouseleave',()=>{_0x3f1ea6['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x15b5ed of this['focusables'])this['focusTracker']['add'](_0x15b5ed['element']),this['keystrokes']['listenTo'](_0x15b5ed['element']);}['_createContextView'](){const _0x41340a=new CommentThreadHeaderContextView(this['locale']);return _0x41340a['bind']('contextValue')['to'](this),_0x41340a;}}class BaseCommentThreadView extends _0x268b55{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x54ae42,_0x291021,_0x4efe96,_0xb655bc){super(_0x54ae42),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x291021,this['_localUser']=_0x4efe96,this['_config']=_0xb655bc,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x54ae42,_0x291021),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x54ae42,Sm(_0x54ae42,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x54ae42,_0x291021,Object['assign']({'CommentView':this['_config']['CommentView']},_0xb655bc)),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',(_0x3fcebc,_0x2cd09e)=>_0x3fcebc||!!_0x2cd09e),this['bind']('isUnlinked')['to'](_0x291021,'unlinkedAt',_0x2a3840=>!!_0x2a3840),this['bind']('ariaLabel')['to'](this,'length',_0x5150ee=>{const _0x307b3b=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return Sm(this['locale'],'COMMENT_THREAD_LABEL',[_0x5150ee,_0x307b3b]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x11c056=>_0x11c056['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),ud(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x238d60=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x18fb8f=_0x238d60['commentInputView'];return _0x238d60['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x18fb8f,'value',(_0x316daa,_0x215bfe,_0x3f19bf,_0x45d600,_0x29a3ae)=>!!_0x29a3ae||!!_0x45d600&&_0x3f19bf&&!_0x215bfe||_0x316daa&&_0x3f19bf&&!_0x215bfe),_0x18fb8f['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0xc86af3,_0xe72075,_0x3c454c)=>{let _0x725d5;return _0x725d5=_0x3c454c&&_0xe72075?'Reply\x20to\x20reopen\x20discussion...':_0xc86af3?'Reply...':'Write\x20a\x20comment...',Sm(this['locale'],_0x725d5);}),_0x18fb8f['bind']('submitLabel')['to'](this,'length',_0x3b8695=>Sm(this['locale'],_0x3b8695?'Reply':'Comment')),_0x18fb8f['on']('submit',(_0x493a0f,_0x9e269d)=>{this['fire']('addComment',_0x9e269d),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x18fb8f['on']('cancel',()=>{this['focus']();}),_0x18fb8f['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x18fb8f['on']('cancel',_0xa034ad=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0xa034ad['stop']());}),this['on']('change:isActive',(_0x4906c4,_0x1437a0,_0x45f651)=>{_0x45f651||this['length']||_0x18fb8f['value']||this['fire']('removeCommentThread');}),_0x238d60;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
Ku(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x366c06,_0x22e5b9,_0x20c022,_0x468eb4){super(_0x366c06,_0x22e5b9,_0x20c022,_0x468eb4),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x366c06,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x59a9df,_0x5817df,_0x19b62b)=>{_0x19b62b||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x42929b,_0x360211,_0x3953cc)=>{_0x3953cc&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x1f5de9=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x1f5de9['if']('isActive','ck-thread--active'),_0x1f5de9['if']('isUnlinked','ck-thread--unlinked'),_0x1f5de9['to']('actionIndicator',_0x26f3b4=>_0x26f3b4?'ck-thread--'+_0x26f3b4:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x1f5de9['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 _0x389c26 of this['commentsListView']['commentViews'])_0x389c26['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x106a22}=this,_0x8e5a97=this['commentsListView']['commentViews']['get'](0x0);_0x8e5a97===this['_boundFirstCommentView']||_0x8e5a97['isSystemComment']||(this['_boundFirstCommentView']=_0x8e5a97,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x8e5a97,'actionIndicator',_0x5ade72=>'remove'===_0x5ade72?'remove':null),_0x8e5a97['placeholder']=Sm(_0x106a22,'Write\x20a\x20comment...'),_0x8e5a97['removeButton']['on']('execute',_0x25a420=>{_0x25a420['stop'](),this['showConfirm'](Sm(_0x106a22,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x8e5a97['focus']();}),_0x8e5a97['actionBar']['add'](this['resolveButton'],0x0),_0x8e5a97['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x1178d3=new LateFocusButtonView(this['locale']);return _0x1178d3['label']=Sm(this['locale'],'Resolve'),_0x1178d3['tooltip']=Sm(this['locale'],'Resolve'),_0x1178d3['icon']=_0x424b4d,_0x1178d3['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x1178d3['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2b497a=>!_0x2b497a),_0x1178d3['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4cbb0e,_0x104212)=>_0x4cbb0e&&!_0x104212),_0x1178d3['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x1178d3;}['_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 _0x268b55{constructor(_0x2e8c49){super(_0x2e8c49),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x32e9c7,_0x22444d,_0x379f2f)=>{this['element']['innerHTML']=_0x379f2f;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x268b55{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x1fee99,_0x324d25,_0x43de13){super(_0x1fee99),this['_model']=_0x324d25,this['_config']=_0x43de13,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x324d25,'content',_0x324d25,'authoredAt',(_0x170b2b,_0x5484d3)=>Sm(_0x1fee99,'COMMENT_ARIA_LABEL',[_0x324d25['author']['name'],_0x43de13['formatDateTime'](_0x5484d3),new DOMParser()['parseFromString'](_0x170b2b,'text/html')['body']['textContent'],_0x324d25['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x1fee99,Sm(_0x1fee99,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new vt(),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x383423=>_0x383423['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']?Sm(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):Sm(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?Sm(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):Sm(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x22c9de=new CommentContentView(this['locale']);return _0x22c9de['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x49e328,_0x592e75)=>_0x592e75?zu(_0x49e328,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x49e328),_0x22c9de;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x21c319=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x21c319['value']=this['_model']['content'],_0x21c319['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x21c319['submitLabel']=Sm(this['locale'],'Save'),_0x21c319['on']('submit',(_0x16b45d,_0x278713)=>{this['fire']('updateComment',this['_model']['id'],_0x278713),this['switchToDisplayMode'](),this['focus']();}),_0x21c319['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x21c319['once']('editorReady',()=>{_0x21c319['focus']();}),_0x21c319['createEditor'](),_0x21c319['delegate']('editorReady')['to'](this),_0x21c319['delegate']('editorDestroyed')['to'](this),_0x21c319;}['_setupKeyboardNavigation'](){const _0x56cfd4=this['element'];this['keystrokes']['listenTo'](_0x56cfd4);for(const _0x1b8cfc of this['focusables'])this['focusTracker']['add'](_0x1b8cfc['element']),this['keystrokes']['listenTo'](_0x1b8cfc['element']);this['focusables']['on']('change',(_0xd9fc54,_0x5bcb6c)=>{for(const _0x2c31f9 of _0x5bcb6c['removed'])this['focusTracker']['remove'](_0x2c31f9['element']),this['keystrokes']['stopListening'](_0x2c31f9['element']);for(const _0x11e060 of _0x5bcb6c['added'])this['focusTracker']['add'](_0x11e060['element']),this['keystrokes']['listenTo'](_0x11e060['element']);}),this['keystrokes']['set']('enter',(_0x5df7a4,_0x3cc318)=>{_0x56cfd4===_0x5df7a4['target']&&(this['focusCycler']['focusFirst'](),_0x3cc318());}),this['keystrokes']['set']('esc',(_0x16634d,_0x2eb6c6)=>{_0x56cfd4!==_0x16634d['target']&&(this['focus'](),_0x2eb6c6());});}}class CommentView extends/* #__PURE__ -- @preserve */
Ku(BaseCommentView){['actionBar'];['userView'];constructor(_0x2f77a8,_0x1648ee,_0x3d7866){super(_0x2f77a8,_0x1648ee,_0x3d7866),this['set']('actionIndicator',null),this['set']('placeholder',Sm(_0x2f77a8,'Reply...')),this['bind']('authoredAt')['to'](_0x1648ee),this['bind']('resolvedAt')['to'](_0x1648ee),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 UserView(_0x2f77a8,_0x1648ee['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x1648ee,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x5322c4=this['bindTemplate'],_0x3fe6cd=[{'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':_0x5322c4['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x5322c4['to']('authoredAt',_0x260cc9=>this['_config']['formatDateTime'](_0x260cc9))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x5322c4['if']('isEditMode','ck-comment__actions--hidden'),_0x5322c4['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']&&_0x3fe6cd['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x5322c4['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x5322c4['if']('isEditMode','ck-comment--edit'),_0x5322c4['if']('isSystemComment','ck-comment--info'),_0x5322c4['to']('actionIndicator',_0x2dbeef=>_0x2dbeef?'ck-comment--'+_0x2dbeef:'')],'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':_0x3fe6cd}]}]};}['_createEditButton'](){const _0x7254b1=new _0x13bcd9(this['locale']);return _0x7254b1['label']=Sm(this['locale'],'Edit'),_0x7254b1['icon']=_0x1e0fe2,_0x7254b1['withText']=!0x0,_0x7254b1['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x7254b1['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x588050=>!_0x588050),_0x7254b1['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x7254b1['on']('execute',()=>this['switchToEditMode']()),_0x7254b1;}['_createRemoveButton'](){const _0x3ccc5c=new _0x13bcd9(this['locale']);return _0x3ccc5c['label']=Sm(this['locale'],'Remove'),_0x3ccc5c['icon']=_0x2e6244,_0x3ccc5c['withText']=!0x0,_0x3ccc5c['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3ccc5c['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x30685d=>!_0x30685d),_0x3ccc5c['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3ccc5c['on']('execute',()=>{this['showConfirm'](Sm(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3ccc5c;}['_createDropdown'](){const _0x19c1e6=st(this['locale'],LateFocusDropdownButtonView),_0x37feed=_0x19c1e6['panelView']['children'],_0x45cf8f=new _0xb67f93(this['locale']),_0x42a05c=_0x19c1e6['bindTemplate'];Lt(_0x19c1e6,()=>this['items']['find'](_0x22fee9=>_0x22fee9['isVisible'])),_0x19c1e6['extendTemplate']({'attributes':{'class':[_0x42a05c['if']('isVisible','ck-hidden',_0x37a628=>!_0x37a628)]}});const _0x968ea=(_0x2f15c1,_0x2ec76b=-0x1)=>{const _0x156535=new _0x3c0063(this['locale']);_0x156535['children']['add'](_0x2f15c1);const _0x19a4e5=_0x2ec76b>-0x1?_0x2ec76b:_0x45cf8f['items']['length'];_0x45cf8f['items']['add'](_0x156535,_0x19a4e5);const _0x13ceb1=Array['from'](this['items']);_0x19c1e6['unbind']('isEnabled','isVisible'),_0x19c1e6['bind']('isEnabled')['toMany'](_0x13ceb1,'isEnabled',(..._0x3c367f)=>_0x3c367f['some'](_0x3e0a3a=>_0x3e0a3a)),_0x19c1e6['bind']('isVisible')['toMany'](_0x13ceb1,'isVisible',(..._0x3c9bec)=>_0x3c9bec['some'](_0x577359=>_0x577359));};_0x19c1e6['panelPosition']='sw',_0x19c1e6['buttonView']['set']({'label':Sm(this['locale'],'Show\x20more\x20items'),'icon':_0x44c2a3});for(const _0x439c28 of this['items'])_0x968ea(_0x439c28);return _0x37feed['add'](_0x45cf8f),_0x19c1e6['listenTo'](this['items'],'add',(_0x26c765,_0x342042,_0x3d209a)=>{_0x968ea(_0x342042,_0x3d209a);}),_0x19c1e6['listenTo'](this['items'],'remove',(_0x46cefa,_0x4ed875,_0x4bba08)=>{_0x45cf8f['items']['remove'](_0x4bba08);}),_0x19c1e6;}['_attachActions'](_0xf2a91f,_0x2bc390){const _0x1d9ef9=_0xf2a91f&&_0xf2a91f['element'];_0x1d9ef9&&(this['listenTo'](_0x1d9ef9,'mouseenter',()=>this['actionIndicator']=_0x2bc390),this['listenTo'](_0x1d9ef9,'focus',()=>this['actionIndicator']=_0x2bc390),this['listenTo'](_0x1d9ef9,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x1d9ef9,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1f8156=super['_createCommentInputView']();return _0x1f8156['bind']('placeholder')['to'](this),_0x1f8156;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function km(_0x32df35){const _0x279b38=Ur(_0x32df35,0x1e),_0x2327b4=new MutationObserver(_0xf11cb7=>{for(const _0x2250a9 of _0xf11cb7)('attributes'==_0x2250a9['type']&&'class'==_0x2250a9['attributeName']||'childList'==_0x2250a9['type']||'characterData'==_0x2250a9['type'])&&_0x279b38();});return{'attach'(_0x2d2e51){_0x2327b4['observe'](_0x2d2e51,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x2327b4['disconnect'](),_0x279b38['cancel']();}};}class AnnotationView extends _0x268b55{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x1e873f,_0x54efe3){super(_0x1e873f),this['id']=_0x288d30(),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['keystrokes']['set']('Esc',(_0x1f30e3,_0x5674eb)=>this['fire']('Esc',_0x5674eb)),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']=km(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x54efe3),this['mainView']=_0x54efe3;const _0x3dd878=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x3dd878['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 _0xeb47db=this['element']['clientHeight'];_0xeb47db&&(this['height']=_0xeb47db);}}let xm=class Annotation extends/* #__PURE__ -- @preserve */
_0x266f1a(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x290828,target:_0x38aa15,type:_0x1483c4,isVisible:_0x2f4624=!0x0}){super(),this['view']=_0x290828,this['view']['element']||this['view']['render'](),this['_type']=_0x1483c4,this['_target']=_0x38aa15,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0xe4e0d0([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0xb07ab7,_0x5df79a)=>{this['view']['focusTracker']['add'](_0x5df79a);}),this['focusableElements']['on']('remove',(_0x48e220,_0x2fe3e8)=>{this['view']['focusTracker']['remove'](_0x2fe3e8);}),this['set']('isVisible',_0x2f4624);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x15e8fa=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x15e8fa),_0x15e8fa;}get['targetRect'](){const _0x49dd63=this['target'];if(null===_0x49dd63)return null;if(_0x49dd63 instanceof _0x20d411)return _0x49dd63;const _0x42a3c0=_0x49dd63['filter'](_0x15f8c5=>function(_0x1d7195){const _0x4dd12c=_0x1d7195['offsetParent'];if(_0x4dd12c)return!0x0;const _0x12e8c6=_0x1d7195['getClientRects']()['item'](0x0);return!!_0x12e8c6;}(_0x15f8c5));return 0x0===_0x42a3c0['length']?null:new _0x20d411(_0x42a3c0[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x4ac5b6){this['view']['isActive']=_0x4ac5b6,this['view']['mainView']['isActive']=_0x4ac5b6;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x4c179c){if(!(null===_0x4c179c||_0x4c179c instanceof _0x20d411||Array['isArray'](_0x4c179c)&&_0x4c179c['every'](_0xd40a31=>Rm(_0xd40a31))))throw new _0x1976e8('annotation-invalid-target',null,{'target':_0x4c179c});}['_getNormalizedTarget'](){const _0x438a86='function'==typeof this['_target']?this['_target']():this['_target'];return Rm(_0x438a86)?[_0x438a86]:_0x438a86;}};function Rm(_0x837200){return null!==_0x837200&&'object'==typeof _0x837200&&'nodeType'in _0x837200&&0x1===_0x837200['nodeType'];}class AnnotationCollection extends _0xe4e0d0{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x1c7371=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0xc1a0cc(),this['_focusTracker']['on']('change:isFocused',(_0xbdf70e,_0x49577d,_0x9cd3d4)=>{_0x9cd3d4||this['fire']('blur');});for(const _0xc45776 of _0x1c7371)this['add'](_0xc45776);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x237a19){if(this['has'](_0x237a19))throw new _0x1976e8('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x237a19['innerView'],_0x237a19),this['_viewToAnnotation']['set'](_0x237a19['view'],_0x237a19);for(const _0x30e322 of _0x237a19['focusableElements'])this['_focusTracker']['add'](_0x30e322);this['listenTo'](_0x237a19['focusableElements'],'add',(_0x59b047,_0x2d0f5f)=>{this['_focusTracker']['add'](_0x2d0f5f);}),this['listenTo'](_0x237a19['focusableElements'],'remove',(_0x36896a,_0x3cb58b)=>{this['_focusTracker']['remove'](_0x3cb58b);}),this['listenTo'](_0x237a19['view']['focusTracker'],'change:isFocused',(_0x5735bc,_0x513aae,_0x414c6a)=>{_0x414c6a&&this['fire']('focus',_0x237a19);}),_0x237a19['updateTargetRect']();const _0x48ab43=this['_getOrderInContent'](_0x237a19['view']['targetRect']);return super['add'](_0x237a19,_0x48ab43);}['remove'](_0x183a2c){if(!this['has'](_0x183a2c))throw new _0x1976e8('annotationcollection-not-existing-item',null);this['stopListening'](_0x183a2c['view']['focusTracker']),this['stopListening'](_0x183a2c['focusableElements']);for(const _0x3e2f51 of _0x183a2c['focusableElements'])this['_focusTracker']['remove'](_0x3e2f51);return this['_viewToAnnotation']['delete'](_0x183a2c['view']),this['_innerViewToAnnotation']['delete'](_0x183a2c['innerView']),super['remove'](_0x183a2c);}['getByInnerView'](_0x1ec39a){return this['_innerViewToAnnotation']['get'](_0x1ec39a);}['getByView'](_0x3ba956){return this['_viewToAnnotation']['get'](_0x3ba956);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x5e3b88 of this)_0x5e3b88['updateTargetRect']();this['_sort']();}['_sort'](){const _0x2f2997=Array['from'](this)['sort']((_0x54872e,_0x17ef1d)=>Mm(_0x54872e['view']['targetRect'],_0x17ef1d['view']['targetRect']));for(let _0xbd9c58=_0x2f2997['length']-0x1;_0xbd9c58>0x0;_0xbd9c58--){const _0x45853d=_0x2f2997[_0xbd9c58];_0xbd9c58!==this['getIndex'](_0x45853d)&&(this['remove'](_0x45853d),this['add'](_0x45853d));}}['_getOrderInContent'](_0x592ea2){let _0x46c8e6=0x0;if(!_0x592ea2)return this['length'];for(const _0x4a74df of this){const _0x395482=_0x4a74df['view']['targetRect'];if(_0x395482){if(Mm(_0x592ea2,_0x395482)<0x0)return _0x46c8e6;_0x46c8e6++;}}return _0x46c8e6;}}function Pm({source:_0x2a53db,target:_0x48193b,filter:_0x50a556}){for(const _0x473016 of _0x2a53db)_0x50a556(_0x473016)&&_0x48193b['add'](_0x473016);_0x48193b['listenTo'](_0x2a53db,'add',(_0x10ee4d,_0xed6aa9)=>{_0x50a556(_0xed6aa9)&&_0x48193b['add'](_0xed6aa9);}),_0x48193b['listenTo'](_0x2a53db,'remove',(_0x1590b4,_0x1b3b86)=>{_0x48193b['has'](_0x1b3b86)&&_0x48193b['remove'](_0x1b3b86);});}function Mm(_0x2b7686,_0x5e73a8){if(null===_0x2b7686&&null===_0x5e73a8)return 0x0;if(null===_0x2b7686)return-0x1;if(null===_0x5e73a8)return 0x1;const _0x3f4e38=_0x2b7686['top']-_0x5e73a8['top'];return 0x0==_0x3f4e38?_0x2b7686['left']-_0x5e73a8['left']:_0x3f4e38;}class Annotations extends _0x90c2d8{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10a47f){if(super(_0x10a47f),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x10a47f instanceof _0x2f9368){const _0x572023=_0x10a47f['locale'];_0x10a47f['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':Sm(_0x572023,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x9ee49){this['collection']['add'](_0x9ee49);}['remove'](_0x44faf5){this['collection']['remove'](_0x44faf5),_0x44faf5['destroy']();}['refreshVisibility'](){for(const _0x4fbf5c of this['collection'])_0x4fbf5c['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x4db54f){return this['collection']['getByInnerView'](_0x4db54f);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x3fa0da of this['collection'])_0x3fa0da['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x376433){this['fire']('_activateAnnotation',_0x376433);}['createAnnotation'](_0x3a75ed){return new xm(_0x3a75ed);}['createAnnotationView'](_0x415a93,_0xb38f50){return new AnnotationView(_0x415a93,_0xb38f50);}['_addActiveAnnotation'](_0x490e5a){const _0x32c679=new Set(this['activeAnnotations']);_0x32c679['add'](_0x490e5a),this['activeAnnotations']=_0x32c679;}['_removeActiveAnnotation'](_0x1e6f8b){const _0x2faf7f=new Set(this['activeAnnotations']);_0x2faf7f['delete'](_0x1e6f8b),this['activeAnnotations']=_0x2faf7f;}['_bindAnnotationsToVisibleAnnotations'](){const _0x3080ea=this['collection'],_0x9ccabb=this['_visibleAnnotations'];function _0x1d0791(_0x29d67d){const _0xafec73=_0x29d67d['source'];_0xafec73['isVisible']&&!_0x9ccabb['has'](_0xafec73)?_0x9ccabb['add'](_0xafec73):!_0xafec73['isVisible']&&_0x9ccabb['has'](_0xafec73)&&_0x9ccabb['remove'](_0xafec73),_0xafec73['view']['focusTracker']['remove'](_0xafec73['view']['element']),_0xafec73['view']['focusTracker']['add'](_0xafec73['view']['element']);}this['listenTo'](_0x3080ea,'add',(_0x4af13b,_0x3636b4)=>{_0x3636b4['isVisible']&&_0x9ccabb['add'](_0x3636b4),this['listenTo'](_0x3636b4,'change:isVisible',_0x1d0791);}),this['listenTo'](_0x3080ea,'remove',(_0x4c4e68,_0x32417a)=>{_0x9ccabb['has'](_0x32417a)&&_0x9ccabb['remove'](_0x32417a),this['stopListening'](_0x32417a,'change:isVisible',_0x1d0791);});}['_setupEnterAnnotationKeystroke'](){const _0x23a62c=_0x151155=>{_0x151155['on']('ready',()=>{_0x151155['keystrokes']['set'](hd,(_0x3b6538,_0x3bf365)=>{const _0x351bb4=_0x254002(this['activeAnnotations']['values']());_0x351bb4&&(_0x351bb4['view']['focus'](),_0x3bf365());});});};this['context']instanceof _0x2f9368?_0x23a62c(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0xda343a,_0x22aa31)=>{_0x23a62c(_0x22aa31);});}['_setupEscapeAnnotationHandling'](){const _0x2f1ed2=_0x162e3a=>{const _0x4f057c=_0x162e3a['source'],_0x53b8b8=[];let _0x537ac2;if(Array['isArray'](_0x4f057c['target'])){_0x537ac2=_0x4f057c['target'][0x0],this['context']instanceof _0x2f9368?_0x53b8b8['push'](this['context']):this['context']['editors']&&_0x53b8b8['push'](...this['context']['editors']);for(const _0x537622 of _0x53b8b8)for(const _0x506752 of _0x537622['editing']['view']['domRoots']['values']())if(_0x506752['contains'](_0x537ac2))return void _0x537622['editing']['view']['focus']();_0x537ac2['focus']();}};this['listenTo'](this['collection'],'add',(_0x30da68,_0x3a17e0)=>{this['listenTo'](_0x3a17e0,'escape',_0x2f1ed2,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x2e64fb,_0xdb9ea4)=>{this['stopListening'](_0xdb9ea4,'escape',_0x2f1ed2);});}}const Nm=Symbol('noChannel'),Lm={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x90c2d8{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0xdf428,Users];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x150a54){super(_0x150a54),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x4f3660=this['context']['config'];_0x4f3660['define']('comments.maxCommentsWhenCollapsed',0x2),_0x4f3660['define']('comments.maxThreadTotalWeight',0x1f4),_0x4f3660['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x4f3660['define']('comments.CommentThreadView',CommentThreadView),_0x4f3660['define']('comments.CommentView',CommentView),_0x4f3660['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x2a80c=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x29518b,_0x54b6b2)=>this['_addCommentThread'](_0x54b6b2)),this['on']('submitCommentThread',(_0x20640a,_0x4fecda)=>this['_submitCommentThread'](_0x4fecda)),this['on']('resolveCommentThread',(_0x3c2e92,_0x7decaa)=>this['_resolveCommentThread'](_0x7decaa)),this['on']('resolveCommentThread',(_0x2f62ca,_0x30ff64)=>this['_updateActiveAnnotation'](_0x30ff64),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x4cb55c,_0x21c6dc)=>this['_reopenCommentThread'](_0x21c6dc)),this['on']('reopenCommentThread',(_0x4ec1da,_0x1b2db1)=>this['_updateActiveAnnotation'](_0x1b2db1),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x3cccbc,_0x215f37)=>this['_removeCommentThread'](_0x215f37)),this['on']('updateCommentThread',(_0x120c03,_0x3c58b7)=>this['_updateCommentThread'](_0x3c58b7)),this['on']('updateCommentThread',(_0x1bbfb7,_0x3d20bb)=>this['_updateActiveAnnotation'](_0x3d20bb),{'priority':'lowest'}),this['on']('addComment',(_0x1139fb,_0x353172)=>this['_addComment'](_0x353172)),this['on']('updateComment',(_0x280e06,_0x409002)=>this['_updateComment'](_0x409002)),this['on']('removeComment',(_0x167822,_0x1538f5)=>this['_removeComment'](_0x1538f5)),this['on']('addComment',(_0x399032,{threadId:_0x59296c,isFromAdapter:_0x403b82})=>{if(_0x403b82)return;const _0x72bb6a=this['getCommentThread'](_0x59296c),_0x25f13d=_0x72bb6a&&this['_threadToController']['get'](_0x72bb6a);_0x25f13d&&_0x25f13d['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x2a80c,'change:activeAnnotations',(_0x1d2911,_0x3b3627,_0x4fd602)=>{const _0x279031=Array['from'](_0x4fd602)['map'](_0x4910cc=>this['_viewToController']['get'](_0x4910cc['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x279031?_0x279031['model']:null;});}set['adapter'](_0x3636d3){if(this['_adapter'])throw new _0x1976e8('commentsrepository-adapter-already-set');this['_adapter']=_0x3636d3;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0xed1c65=Nm,threadId:_0x4e25e7=_0x288d30(),comments:_0x111253=[],unlinkedAt:_0x349d9d=null,resolvedAt:_0x155073=null,resolvedBy:_0x53d45e=null,target:_0x1f732e=null,context:_0x4e8312=null,attributes:_0x5c9d86={},isResolvable:_0x215c10=!0x0,isSubmitted:_0x2eba17=!0x1,isFromAdapter:_0x488ad8=!0x1}={}){return this['fire'](Dm('addCommentThread',_0xed1c65),{'channelId':_0xed1c65,'threadId':_0x4e25e7,'comments':_0x111253,'unlinkedAt':_0x349d9d,'resolvedAt':_0x155073,'resolvedBy':_0x53d45e,'target':_0x1f732e,'context':_0x4e8312,'attributes':_0x5c9d86,'isFromAdapter':_0x488ad8,'isResolvable':_0x215c10,'isSubmitted':_0x2eba17}),this['getCommentThread'](_0x4e25e7);}['openNewCommentThread']({channelId:_0x4fa02d=Nm,threadId:_0x2b50a6=_0x288d30(),target:_0x3c1e4a,context:_0x1b2c9a=null,isResolvable:_0x1fb639=!0x0}){if(this['_readOnlyChannels']['has'](_0x4fa02d)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x3c1e4a)throw new _0x1976e8('commentsrepository-missing-target');const _0x2262ac=this['addCommentThread']({'channelId':_0x4fa02d,'threadId':_0x2b50a6,'target':_0x3c1e4a,'context':_0x1b2c9a,'isResolvable':_0x1fb639});if(!_0x2262ac)return null;const _0x3f8470=this['_threadToController']['get'](_0x2262ac),_0x5f02cc=_0x3f8470['view']['commentThreadInputView']['commentInputView'],_0x909bc0=this['context']['plugins']['get'](Annotations),_0x139096=_0x909bc0['getByInnerView'](_0x3f8470['view']);return _0x909bc0['activate'](_0x139096),_0x5f02cc['once']('editorReady',()=>_0x5f02cc['focus']()),_0x2262ac;}['hasCommentThread'](_0x5e5fad){if('string'!=typeof _0x5e5fad)throw new _0x1976e8('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x5e5fad);}['updateCommentThread']({channelId:_0x332b75=Nm,threadId:_0xd08fae,context:_0x53759f,unlinkedAt:_0x59fd02,attributes:_0x154773,isFromAdapter:_0x103a88=!0x1}){return this['fire'](Dm('updateCommentThread',_0x332b75),{'channelId':_0x332b75,'threadId':_0xd08fae,'context':_0x53759f,'unlinkedAt':_0x59fd02,'attributes':_0x154773,'isFromAdapter':_0x103a88}),this['getCommentThread'](_0xd08fae);}['getCommentThread'](_0x19032){if('string'!=typeof _0x19032)throw new _0x1976e8('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x19032);}['fetchCommentThread']({channelId:_0x1ab193,threadId:_0x341cce}={}){const _0x4fcb4d=this['getCommentThread'](_0x341cce);if(_0x4fcb4d)return Promise['resolve'](_0x4fcb4d);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x1976e8('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x1ab193,'threadId':_0x341cce})['then'](_0x11ff1a=>this['hasCommentThread'](_0x341cce)?this['getCommentThread'](_0x341cce):_0x11ff1a?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x1ab193},_0x11ff1a)):void 0x0)['catch'](_0x368384=>{throw console['error'](_0x368384),new _0x1976e8('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x32af5d,skipNotAttached:_0x285d6d=!0x1,skipEmpty:_0x52a9e8=!0x1,toJSON:_0xf71d3e=!0x1}={}){const _0x2b279c=[];for(const _0x3a828c of this['_threads']['values']())_0x32af5d&&_0x3a828c['channelId']!==_0x32af5d||_0x285d6d&&!_0x3a828c['isAttached']||_0x52a9e8&&0x0===_0x3a828c['length']||_0x2b279c['push'](_0x3a828c);return _0xf71d3e?_0x2b279c['map'](_0x309ecc=>_0x309ecc['toJSON']()):_0x2b279c;}['getAnnotationForCommentThread'](_0x310d69){const _0x424c95=this['_threadToController']['get'](_0x310d69);if(!_0x424c95)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x424c95['view'])||null;}['getCommentThreadForAnnotation'](_0x1f4c85){const _0x5dba6b=this['_viewToController']['get'](_0x1f4c85['innerView']);return _0x5dba6b?_0x5dba6b['model']:null;}['setActiveCommentThread'](_0x101391){const _0x471457=this['context']['plugins']['get'](Annotations);if(!_0x101391)return void(this['activeCommentThread']&&_0x471457['deactivateAll']());const _0x4aeacf=this['getCommentThread'](_0x101391);if(!_0x4aeacf)throw new _0x1976e8('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x101391});if(!this['_threadToController']['has'](_0x4aeacf))throw new _0x1976e8('commentsrepository-active-not-attached',null,{'threadId':_0x101391});const _0x5b0699=_0x471457['getByInnerView'](this['_threadToController']['get'](_0x4aeacf)['view']);_0x471457['activate'](_0x5b0699);}['switchReadOnly'](_0x1956ee,_0x44d19e){_0x1956ee?this['_readOnlyChannels']['add'](_0x44d19e):this['_readOnlyChannels']['delete'](_0x44d19e),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x1bd5cc){return this['_readOnlyChannels']['has'](_0x1bd5cc)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x1df263,_0xacbebb){return new CommentThreadController(_0x1df263,_0xacbebb);}['setPermissions'](_0x7803a5,_0x2bc899=Nm){this['_permissions']['set'](_0x2bc899,_0x7803a5),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x51697f=Nm){return this['_permissions']['has'](_0x51697f)?this['_permissions']['get'](_0x51697f):Lm;}['_addCommentThread']({channelId:_0x2692a7,threadId:_0x486e20,comments:_0x5e78d5,unlinkedAt:_0x2dffd2,resolvedAt:_0x2ea0e2,resolvedBy:_0x3a0324,target:_0x422eaf,context:_0x155753,attributes:_0x5913df,isFromAdapter:_0x494951,isResolvable:_0x34f99a,isSubmitted:_0x262c70}){if('string'!=typeof _0x486e20)throw new _0x1976e8('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x486e20});if(this['hasCommentThread'](_0x486e20))throw new _0x1976e8('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x486e20});const _0xf3d79f=new CommentThread(this,{'channelId':_0x2692a7,'id':_0x486e20,'context':_0x155753,'attributes':_0x5913df,'unlinkedAt':_0x2dffd2,'resolvedAt':_0x2ea0e2,'resolvedBy':_0x3a0324?this['context']['plugins']['get'](Users)['getUser'](_0x3a0324):null,'isResolvable':_0x34f99a,'isSubmitted':_0x262c70||_0x494951});this['_threads']['set'](_0x486e20,_0xf3d79f);for(const _0x25572b of _0x5e78d5)_0xf3d79f['_add'](this['_createNewComment']({'threadId':_0x486e20,..._0x25572b}));return _0x422eaf&&_0xf3d79f['attachTo'](_0x422eaf),_0x494951||!_0xf3d79f['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x2692a7,'threadId':_0x486e20});}['_submitCommentThread']({channelId:_0x344c25,threadId:_0x157350}){if(!this['hasCommentThread'](_0x157350))throw new _0x1976e8('commentsrepository-missing-comment-thread',this);const _0x59b88d=this['getCommentThread'](_0x157350);if(_0x59b88d['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x517e73,comments:_0x5da0fc,resolvedAt:_0x36e3e1,resolvedBy:_0x50c9f4,context:_0x2a25f8,attributes:_0x4f4a7c}=_0x59b88d,_0x57b5df=this['context']['plugins']['get']('PendingActions'),_0x36f2f0=_0x57b5df['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x344c25,'threadId':_0x517e73,'comments':_0x5da0fc['map'](_0x29ec3=>_0x29ec3['toJSON']()),'resolvedAt':_0x36e3e1,'resolvedBy':_0x50c9f4?_0x50c9f4['id']:_0x50c9f4,'context':_0x2a25f8,'attributes':_0x4f4a7c})['then'](({comments:_0x103604})=>{_0x57b5df['remove'](_0x36f2f0);for(const _0x47aba8 of _0x103604)this['_updateComment']({'channelId':_0x344c25,'threadId':_0x157350,'commentId':_0x47aba8['commentId'],'createdAt':_0x47aba8['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x58dbe4=>{throw console['error'](_0x58dbe4),new _0x1976e8('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x4c7134,target:_0x1ba7a9}){const _0x267e25=this['getCommentThread'](_0x4c7134);if(!_0x267e25)throw new _0x1976e8('commentsrepository-attach-missing-comment-thread',this);const _0x2d916f=this['context']['plugins']['get']('PendingActions'),_0x30f2a5=this['context']['plugins']['get'](Annotations),_0x24ce8d=this['_createCommentThreadView'](_0x267e25),_0x14b147=new CommentThreadController(_0x267e25,_0x24ce8d);let _0x98ed27=null;_0x24ce8d['on']('change:isDirty',(_0x47e57a,_0x20c318,_0x5c8f4f)=>{_0x5c8f4f?_0x98ed27=_0x2d916f['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x98ed27&&(_0x2d916f['remove'](_0x98ed27),_0x98ed27=null);}),this['_threadToController']['set'](_0x267e25,_0x14b147),this['_viewToController']['set'](_0x24ce8d,_0x14b147);const _0x296f06=new AnnotationView(this['context']['locale'],_0x24ce8d);_0x296f06['bind']('length')['to'](_0x24ce8d),_0x296f06['bind']('isDirty')['to'](_0x24ce8d,'isDirty',_0x24ce8d,'length',(_0x45bfbd,_0x24e1f1)=>_0x45bfbd||!_0x24e1f1),_0x296f06['bind']('isActive')['to'](_0x24ce8d),_0x296f06['type']='comment';const _0x2faed3=new xm({'view':_0x296f06,'target':_0x1ba7a9,'type':'comment','isVisible':!_0x267e25['archivedAt']&&!!('function'==typeof _0x1ba7a9?_0x1ba7a9():_0x1ba7a9)});return _0x24ce8d['on']('escape',()=>{_0x2faed3['fire']('escape');}),this['_bindAnnotationToEditors'](_0x24ce8d,_0x2faed3),_0x30f2a5['add'](_0x2faed3),_0x2faed3;}['_bindAnnotationToEditors'](_0x2ec1b5,_0x20d1a7){this['listenTo'](_0x2ec1b5,'editorReady',(_0x11cbbb,_0x42b151)=>{const _0x452cf5=_0x42b151['ui']['view']['body']['bodyCollectionContainer'];_0x20d1a7['focusableElements']['add'](_0x452cf5),this['context']instanceof _0x2f9368&&this['context']['ui']['focusTracker']['add'](_0x452cf5);},{'priority':'highest'}),this['listenTo'](_0x2ec1b5,'editorDestroyed',(_0x1dc8bc,_0x3a9ef9)=>{const _0x541f6f=_0x3a9ef9['ui']['view']['body']['bodyCollectionContainer'];_0x20d1a7['focusableElements']['has'](_0x541f6f)&&_0x20d1a7['focusableElements']['remove'](_0x541f6f),this['context']instanceof _0x2f9368&&this['context']['ui']['focusTracker']['remove'](_0x541f6f);});}['_unbindEditors'](_0x3c91ec){this['stopListening'](_0x3c91ec,'editorReady'),this['stopListening'](_0x3c91ec,'editorDestroyed');}['_createCommentThreadView'](_0x1ed3d1){const _0xeb30e0=this['context']['plugins']['get'](Users),{config:_0x80c7dc,locale:_0x22c315}=this['context'],_0x10ac6d=Xu(_0x80c7dc['get']('locale'),_0x22c315);return new(0x0,(_0x80c7dc['get']('comments'))['CommentThreadView'])(_0x22c315,_0x1ed3d1,_0xeb30e0['me'],{'editorConfig':{..._0x80c7dc['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x80c7dc['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x80c7dc['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x80c7dc['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x80c7dc['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x10ac6d,'CommentView':_0x80c7dc['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x3dbaf7,channelId:_0x440131,resolvedAt:_0x1bbac2,resolvedBy:_0x725ee4,isFromAdapter:_0x3b2547}){if(!this['hasCommentThread'](_0x3dbaf7))throw new _0x1976e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x3dbaf7});const _0x42f2e1=this['getCommentThread'](_0x3dbaf7);if(_0x42f2e1['isResolved'])throw new _0x1976e8('commentsrepository-resolved-comment-thread',null,{'threadId':_0x3dbaf7});const _0x100602=this['context']['plugins']['get'](Users);if(_0x42f2e1['resolvedBy']=_0x100602['getUser'](_0x725ee4),_0x42f2e1['resolvedAt']=_0x1bbac2,_0x3b2547||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x295c77=this['context']['plugins']['get']('PendingActions'),_0x4cdf49=_0x295c77['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x440131,'threadId':_0x3dbaf7})['then'](({resolvedAt:_0x257465,resolvedBy:_0x113c97})=>{_0x295c77['remove'](_0x4cdf49),_0x42f2e1['resolvedBy']['id']!==_0x113c97&&(_0x42f2e1['resolvedBy']=_0x100602['getUser'](_0x113c97)),_0x42f2e1['resolvedAt']=_0x257465;})['catch'](_0x4a9015=>{throw console['error'](_0x4a9015),new _0x1976e8('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x54aa2,channelId:_0x40c2c5,isFromAdapter:_0x2bff68}){if(!this['hasCommentThread'](_0x54aa2))throw new _0x1976e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x54aa2});const _0x9bdaca=this['getCommentThread'](_0x54aa2);if(!_0x9bdaca['isResolved'])throw new _0x1976e8('commentsrepository-reopen-comment-thread',null,{'threadId':_0x54aa2});if(_0x9bdaca['resolvedBy']=null,_0x9bdaca['resolvedAt']=null,_0x2bff68||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0xd67597=this['context']['plugins']['get']('PendingActions'),_0x320964=_0xd67597['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x40c2c5,'threadId':_0x54aa2})['then'](()=>_0xd67597['remove'](_0x320964))['catch'](_0x1315e7=>{throw console['error'](_0x1315e7),new _0x1976e8('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x1516d8,isFromAdapter:_0x50d992}){const _0x1b2a24=this['getCommentThread'](_0x1516d8);if(!_0x1b2a24)throw new _0x1976e8('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x1516d8),this['_threads']['delete'](_0x1516d8),!_0x1b2a24['isSubmitted']||_0x50d992||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x56d4b3=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4fa81e}=_0x1b2a24,_0x564dab=_0x56d4b3['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x4fa81e,'threadId':_0x1516d8})['then'](()=>_0x56d4b3['remove'](_0x564dab))['catch'](_0x5969e0=>{throw console['error'](_0x5969e0),new _0x1976e8('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x3effca,unlinkedAt:_0xf740b2,context:_0x50d76f,attributes:_0xa4b7d6,isFromAdapter:_0x372449}){if('string'!=typeof _0x3effca)throw new _0x1976e8('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x3effca});if(!this['hasCommentThread'](_0x3effca))throw new _0x1976e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x3effca});const _0x42d400=this['getCommentThread'](_0x3effca);let _0x434aaa=!0x1;if(void 0x0!==_0x50d76f&&_0x42d400['context']!==_0x50d76f&&(_0x42d400['context']=_0x50d76f,_0x434aaa=!0x0),void 0x0!==_0xf740b2&&_0x42d400['unlinkedAt']!==_0xf740b2&&(_0x42d400['unlinkedAt']=_0xf740b2,_0x434aaa=!0x0),_0xa4b7d6&&!Zr(_0xa4b7d6,_0x42d400['attributes'])&&(_0x42d400['attributes']=_0xa4b7d6,_0x434aaa=!0x0),!_0x434aaa)return Promise['resolve']();if(!_0x42d400['isSubmitted']||_0x372449||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x48d071=this['context']['plugins']['get']('PendingActions'),{channelId:_0x40682e}=_0x42d400,_0xd4ff0a=_0x48d071['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x40682e,'threadId':_0x3effca,'context':_0x50d76f,'unlinkedAt':_0xf740b2,'attributes':_0xa4b7d6})['then'](()=>_0x48d071['remove'](_0xd4ff0a))['catch'](_0x5d4b48=>{throw console['error'](_0x5d4b48),new _0x1976e8('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x30e0ce){const _0x483fc9=this['context']['plugins']['get'](Annotations),_0x30f89e=this['getCommentThread'](_0x30e0ce);if(_0x30f89e['_isAttached']=!0x1,this['_threadToController']['has'](_0x30f89e)){const _0x34c5b7=this['_threadToController']['get'](_0x30f89e),_0x3309b1=_0x34c5b7['view'],_0x59ba92=_0x483fc9['getByInnerView'](_0x3309b1);this['_threadToController']['delete'](_0x30f89e),this['_viewToController']['delete'](_0x3309b1),_0x59ba92&&_0x483fc9['remove'](_0x59ba92),_0x34c5b7['destroy'](),_0x3309b1['destroy']()['then'](()=>{this['_unbindEditors'](_0x3309b1);});}}['_updateActiveAnnotation']({threadId:_0x4a7c4f,resolvedAt:_0x13be62,unlinkedAt:_0x47e0ce}){const _0x392a22=!!_0x13be62,_0x1d2633=this['context']['plugins']['get'](Annotations),_0x40d96c=this['getCommentThread'](_0x4a7c4f);if(this['_threadToController']['has'](_0x40d96c)){const _0x1177b8=this['_threadToController']['get'](_0x40d96c)['view'],_0x36c325=_0x1d2633['getByInnerView'](_0x1177b8);_0x36c325&&(_0x392a22&&_0x1d2633['_removeActiveAnnotation'](_0x36c325),_0x47e0ce?_0x36c325['isVisible']=!0x1:_0x36c325['refreshVisibility']());}}['_getExternalAuthor'](_0xce5984){const _0x2a9470=this['context']['plugins']['get'](Users),_0x20e1f8=Ju('external:'+_0xce5984),_0x77b23a=_0x2a9470['getUser'](_0x20e1f8);return _0x77b23a||_0x2a9470['addUser']({'id':_0x20e1f8,'name':_0xce5984});}['_createNewComment']({threadId:_0x552772,commentId:_0x254e82=_0x288d30(),content:_0x13c485,authorId:_0x2ccbc9,createdAt:_0x51efc7,attributes:_0x440545}){if('string'!=typeof _0x254e82)throw new _0x1976e8('commentsrepository-invalid-commentid');if('string'!=typeof _0x2ccbc9)throw new _0x1976e8('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x13c485||!_0x13c485['trim']())throw new _0x1976e8('commentsrepository-invalid-comment-content');const _0x52e124=this['context']['plugins']['get'](Users)['getUser'](_0x2ccbc9);if(!_0x52e124)throw new _0x1976e8('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x2ccbc9});let _0x547e28=null,_0x17c1de=_0x51efc7;return _0x440545?.['@external']&&(_0x547e28=this['_getExternalAuthor'](_0x440545['@external']['authorName']),_0x17c1de=new Date(_0x440545['@external']['createdAt'])),new Comment(this,{'threadId':_0x552772,'id':_0x254e82,'author':_0x547e28||_0x52e124,'creator':_0x52e124,'content':_0x13c485,'createdAt':_0x51efc7,'authoredAt':_0x17c1de,'attributes':_0x440545});}['_addComment'](_0x19a02e){let {threadId:_0x18cc6d,content:_0x13861e,attributes:_0x11f4ee,isFromAdapter:_0x59feb9}=_0x19a02e;const _0xe360d5=this['getCommentThread'](_0x19a02e['threadId']);if(!_0xe360d5)throw new _0x1976e8('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x3bc6ea=this['_createNewComment'](_0x19a02e),{id:_0x3a7bc0}=_0x3bc6ea;if(_0xe360d5['_add'](_0x3bc6ea),_0x59feb9||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0xe360d5['isSubmitted'])return Promise['resolve']();const _0x288e7=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5b58b2}=_0xe360d5,_0x5c031a=_0x288e7['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x11f4ee||(_0x11f4ee={}),this['adapter']['addComment']({'channelId':_0x5b58b2,'threadId':_0x18cc6d,'commentId':_0x3a7bc0,'content':_0x13861e,'attributes':_0x11f4ee})['then'](_0x31e5e1=>{_0x288e7['remove'](_0x5c031a),_0x31e5e1&&this['_updateComment']({'channelId':_0x5b58b2,'threadId':_0x18cc6d,'commentId':_0x3a7bc0,'createdAt':_0x31e5e1['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x3ff3a7=>{throw console['error'](_0x3ff3a7),new _0x1976e8('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x538d9e,commentId:_0x585a6a,content:_0x4a12ab,createdAt:_0x6ec822,attributes:_0x43f400,isFromAdapter:_0x24db25}){if(void 0x0!==_0x4a12ab&&('string'!=typeof _0x4a12ab||!_0x4a12ab['trim']()['length']))throw new _0x1976e8('commentsrepository-update-comment-invalid-content');const _0x24cb31=this['getCommentThread'](_0x538d9e),_0x127e5d=_0x24cb31['getComment'](_0x585a6a);if(!_0x127e5d)throw new _0x1976e8('commentsrepository-update-missing-comment',this);let _0x442dc3=!0x1;if(_0x4a12ab&&_0x4a12ab!==_0x127e5d['content']&&(_0x127e5d['isEditable']||_0x24db25)&&(_0x127e5d['content']=_0x4a12ab,_0x442dc3=!0x0),_0x6ec822&&_0x6ec822!==_0x127e5d['createdAt']&&(_0x127e5d['createdAt']=_0x6ec822,_0x127e5d['attributes']&&_0x127e5d['attributes']['@external']||(_0x127e5d['authoredAt']=_0x6ec822),_0x442dc3=!0x0),_0x43f400&&!Zr(_0x43f400,_0x127e5d['attributes'])&&(_0x127e5d['attributes']=_0x43f400,_0x442dc3=!0x0),!_0x442dc3)return Promise['resolve']();if(_0x24cb31['fire']('commentUpdated'),_0x24db25||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x1b7840=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2fc170}=this['getCommentThread'](_0x127e5d['threadId']),_0x12783b=_0x1b7840['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x2fc170,'threadId':_0x538d9e,'commentId':_0x585a6a,'content':_0x4a12ab,'attributes':_0x43f400})['then'](()=>_0x1b7840['remove'](_0x12783b))['catch'](_0x1230ba=>{throw console['error'](_0x1230ba),new _0x1976e8('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x12ca8c,commentId:_0x12b96d,isFromAdapter:_0xda081c}){const _0x2a132e=this['getCommentThread'](_0x12ca8c),_0x1cadbd=_0x2a132e['getComment'](_0x12b96d);if(!_0x1cadbd)throw new _0x1976e8('commentsrepository-remove-missing-comment',this);if(_0x2a132e['_remove'](_0x1cadbd),_0xda081c||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x3acf32=this['context']['plugins']['get']('PendingActions'),{channelId:_0x37c8ff}=_0x2a132e,_0x4e80bf=_0x3acf32['add'](Sm(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x37c8ff,'threadId':_0x12ca8c,'commentId':_0x12b96d})['then'](()=>_0x3acf32['remove'](_0x4e80bf))['catch'](_0x1d5471=>{throw console['error'](_0x1d5471),new _0x1976e8('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x266f1a(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x507934,_0xe64fd4){super();const _0x427fcc=_0xe64fd4['isResolvable'];this['channelId']=_0xe64fd4['channelId'],this['id']=_0xe64fd4['id'],this['comments']=new _0xe4e0d0(),this['_repository']=_0x507934,this['_isAttached']=!0x1,this['_isSubmitted']=_0xe64fd4['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x507934,'_permissions',_0x507934,'_readOnlyChannels',()=>_0x507934['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x507934,'_permissions',()=>_0x507934['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x507934,'_permissions',()=>{const _0x25c8ac=_0x507934['getPermissions'](this['channelId']);return _0x25c8ac['write']||_0x25c8ac['admin'];}),this['bind']('isResolvable')['to'](_0x507934,'_permissions',()=>_0x427fcc&&_0x507934['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0xe64fd4['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x5eee59,_0x1a8789)=>_0x5eee59?_0x1a8789?_0x5eee59<_0x1a8789?_0x5eee59:_0x1a8789:_0x5eee59:_0x1a8789),this['set']('unlinkedAt',_0xe64fd4['unlinkedAt']||null),this['set']('resolvedAt',_0xe64fd4['resolvedAt']||null),this['set']('resolvedBy',_0xe64fd4['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x3185ca=>!!_0x3185ca),this['set']('attributes',_0xe64fd4['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x2aa277,_0xc5a348)=>_0x2aa277+_0xc5a348['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x3f1e86,id:_0x1e2a50}=this;this['_repository']['fire'](Dm('submitCommentThread',_0x3f1e86),{'channelId':_0x3f1e86,'threadId':_0x1e2a50});}['setUnlinkedAt'](_0x50239a){this['_update']({'unlinkedAt':_0x50239a});}['resolve']({resolvedAt:_0x514cdd=new Date(),resolvedBy:_0x17941b='',isFromAdapter:_0x58948c=!0x1}={}){const _0x12276c=this['_repository']['context']['plugins']['get'](Users)['me'],{channelId:_0x53e38a,id:_0x279921}=this;this['_repository']['fire'](Dm('resolveCommentThread',_0x53e38a),{'channelId':_0x53e38a,'threadId':_0x279921,'resolvedAt':_0x514cdd,'resolvedBy':_0x17941b||_0x12276c['id'],'isFromAdapter':_0x58948c});}['reopen']({isFromAdapter:_0x4412ce=!0x1}={}){const {channelId:_0x2ce147,id:_0xc26deb}=this;this['_repository']['fire'](Dm('reopenCommentThread',_0x2ce147),{'channelId':_0x2ce147,'threadId':_0xc26deb,'isFromAdapter':_0x4412ce});}['setContext'](_0x13bd4b){this['context']||this['_update']({'context':_0x13bd4b});}['setAttribute'](_0x28426d,_0x429f43){const _0x41b8d0=Cr(this['attributes']);Qr(_0x41b8d0,_0x28426d,_0x429f43),this['_update']({'attributes':_0x41b8d0});}['removeAttribute'](_0x3da84e){const _0x50b7b1=Cr(this['attributes']);Nr(_0x50b7b1,_0x3da84e),this['_update']({'attributes':_0x50b7b1});}['remove']({isFromAdapter:_0x28a22d=!0x1}={}){const {channelId:_0x31963e,id:_0x4a95f3}=this;this['_repository']['fire'](Dm('removeCommentThread',_0x31963e),{'channelId':_0x31963e,'threadId':_0x4a95f3,'isFromAdapter':_0x28a22d});}['attachTo'](_0x2c8c99){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x2c8c99});}['addComment'](_0x4dcb44){const {channelId:_0x17de9e,id:_0x48c6a6}=this;this['_repository']['fire'](Dm('addComment',_0x17de9e,_0x48c6a6),Object['assign']({'channelId':_0x17de9e,'threadId':_0x48c6a6},_0x4dcb44));}['getComment'](_0x47e6a2){if('string'!=typeof _0x47e6a2)throw new _0x1976e8('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x47e6a2});return this['comments']['get'](_0x47e6a2);}['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'](_0x5e487d=>_0x5e487d['toJSON']()),'attributes':this['attributes']};}['_add'](_0x342e61){return this['listenTo'](_0x342e61,'change:authoredAt',()=>{const _0x3e3a18=this['_findOptimalIndex'](_0x342e61),_0x4c8818=this['comments'];_0x3e3a18-0x1!=_0x4c8818['getIndex'](_0x342e61)&&_0x3e3a18+0x1!=_0x4c8818['getIndex'](_0x342e61)&&(this['_remove'](_0x342e61),this['_add'](_0x342e61));}),this['comments']['add'](_0x342e61,this['_findOptimalIndex'](_0x342e61));}['_update'](_0x93e3cd){const {channelId:_0x4f20bb,id:_0x1c9b97}=this;this['_repository']['fire'](Dm('updateCommentThread',_0x4f20bb),{..._0x93e3cd,'channelId':_0x4f20bb,'threadId':_0x1c9b97});}['_remove'](_0x18a86c){return this['stopListening'](_0x18a86c),_0x18a86c['destroy'](),this['comments']['remove'](_0x18a86c);}['_findOptimalIndex'](_0x2f1dbe){const _0x3f0739=this['comments']['find'](_0x29e17b=>new Date(_0x29e17b['authoredAt'])['getTime']()>new Date(_0x2f1dbe['authoredAt'])['getTime']());return _0x3f0739?this['comments']['getIndex'](_0x3f0739):this['length'];}}class Comment extends/* #__PURE__ -- @preserve */
_0x266f1a(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0xc10569,_0x587020){super();const _0x33e2fe=_0xc10569['context']['plugins']['get'](Users)['me'],_0x391e1e=_0xc10569['getCommentThread'](_0x587020['threadId']),_0x46b30a=0x0===_0x391e1e['comments']['length'],_0x399d81=_0x33e2fe===_0x587020['author'];this['id']=_0x587020['id'],this['threadId']=_0x587020['threadId'],this['author']=_0x587020['author'],this['creator']=_0x587020['creator'],this['isExternal']=Boolean(_0x587020['attributes']&&_0x587020['attributes']['@external']),this['set']('content',_0x587020['content']),this['createdAt']=_0x587020['createdAt']||new Date(),this['set']('authoredAt',_0x587020['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x391e1e,'resolvedAt'),this['set']('attributes',_0x587020['attributes']||{}),this['bind']('isEditable')['to'](_0xc10569,'_permissions',()=>{const _0x476f90=_0xc10569['getPermissions'](_0x391e1e['channelId'])['write'],_0x132aac=_0xc10569['getPermissions'](_0x391e1e['channelId'])['modifyAll'];return _0x399d81&&_0x476f90||!_0x399d81&&_0x132aac;}),this['bind']('isRemovable')['to'](_0x391e1e,'isRemovable',_0xc10569,'_permissions',_0x105723=>{const _0x1ad6b5=_0xc10569['getPermissions'](_0x391e1e['channelId'])['write'],_0x32f794=_0xc10569['getPermissions'](_0x391e1e['channelId'])['modifyAll'];return _0x399d81&&_0x1ad6b5||_0x105723&&_0x46b30a||!_0x399d81&&_0x32f794&&!_0x46b30a;}),this['bind']('isReadOnly')['to'](_0x391e1e,'isReadOnly'),this['_repository']=_0xc10569;}get['weight'](){return Math['max'](function(_0x3e2582){const _0x333ee1=document['createElement']('div');return _0x333ee1['innerHTML']=_0x3e2582,_0x333ee1['textContent']['length'];}(this['content']),0xc8);}['update'](_0x440da5){const {threadId:_0x38ca4b,id:_0x5cc596}=this;if(!this['_repository']['hasCommentThread'](_0x38ca4b))throw new _0x1976e8('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x122da7}=this['_repository']['getCommentThread'](_0x38ca4b);this['_repository']['fire'](Dm('updateComment',_0x122da7,_0x38ca4b),{'channelId':_0x122da7,'threadId':_0x38ca4b,'commentId':_0x5cc596,..._0x440da5});}['setAttribute'](_0x156a7a,_0x4199be){const _0x18cd1b=Cr(this['attributes']);Qr(_0x18cd1b,_0x156a7a,_0x4199be),this['update']({'attributes':_0x18cd1b});}['removeAttribute'](_0x41b41c){const _0xbaf521=Cr(this['attributes']);Nr(_0xbaf521,_0x41b41c),this['update']({'attributes':_0xbaf521});}['remove'](_0x3193a0={}){if(!_0x3193a0['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x48462c,id:_0x42dd91}=this;if(!this['_repository']['hasCommentThread'](_0x48462c))throw new _0x1976e8('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x56751f}=this['_repository']['getCommentThread'](_0x48462c);this['_repository']['fire'](Dm('removeComment',_0x56751f,_0x48462c),{'channelId':_0x56751f,'threadId':_0x48462c,'commentId':_0x42dd91,..._0x3193a0});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function Dm(_0x554777,..._0x46855b){for(const _0x55ef11 of _0x46855b)void 0x0!==_0x55ef11&&(_0x554777+=':'+String(_0x55ef11));return _0x554777;}class AddCommentThreadCommand extends _0x1110b9{constructor(_0x52302e){super(_0x52302e),this['set']('hasContent',!0x1);}['refresh'](){const _0x2c240f=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x3eb1b9 of _0x2c240f['getRanges']())if(this['_hasContent'](_0x3eb1b9))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x362730=_0x288d30(),ranges:_0x37be6f,comment:_0x4415d5}={}){const _0x37574a=this['editor']['model'],_0x217139=_0x37be6f??Array['from'](_0x37574a['document']['selection']['getRanges']()),_0xa7e03=[];for(const _0x3d908c of _0x217139)this['_hasContent'](_0x3d908c)&&_0xa7e03['push'](this['_trimToContent'](_0x3d908c));if(!_0xa7e03['length'])throw new _0x1976e8('addcommentthreadcommand-incorrect-ranges',null);_0x4415d5&&this['_createCommentThread'](_0x362730,_0x4415d5),this['_createMarkersFromRanges'](_0x362730,_0xa7e03,!!_0x4415d5);}['_createMarkersFromRanges'](_0x2bb222,_0x4c2476,_0x11f3eb){this['editor']['model']['change'](_0x430213=>{for(const _0x1c75ac of _0x4c2476){const _0x578e9a=_0x288d30()['substr'](0x1,0x5),_0x3b5227='comment:'+_0x2bb222+':'+_0x578e9a;_0x430213['addMarker'](_0x3b5227,{'range':_0x1c75ac,'usingOperation':_0x11f3eb,'affectsData':_0x11f3eb});}});}['_createCommentThread'](_0x48f7b4,_0x459636){const _0x45bb22=this['editor']['plugins']['get']('CommentsRepository'),_0x3cd89d=this['editor']['config']['get']('collaboration.channelId'),_0x587019=this['editor']['plugins']['get']('Users')['me'];if(!_0x587019)throw new _0x1976e8('addcommentthreadcommand-user-not-found',null);_0x45bb22['addCommentThread']({'threadId':_0x48f7b4,'channelId':_0x3cd89d,'comments':[{'authorId':_0x587019['id'],'content':_0x459636,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x4d294e){for(const _0x466cbc of _0x4d294e['getItems']())if(this['_itemIsContent'](_0x466cbc))return!0x0;return!0x1;}['_itemIsContent'](_0x418c65){return _0x418c65['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x418c65)&&!_0x418c65['is']('element','tableCell');}['_trimToContent'](_0x42c5e4){const _0x43c2e6=_0x16effe=>!this['_itemIsContent'](_0x16effe['item']),_0x508faf=_0x42c5e4['start']['getLastMatchingPosition'](_0x43c2e6),_0x27d5b6=_0x42c5e4['end']['getLastMatchingPosition'](_0x43c2e6,{'direction':'backward'});return this['editor']['model']['createRange'](_0x508faf,_0x27d5b6);}}class EditorAnnotations extends _0x4ac504{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35aa3b){super(_0x35aa3b),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x5714c2=this['editor'],_0x561245=_0x5714c2['model']['document']['selection'],_0x119ad3=Vr(()=>this['refreshSelectedViews'](),0xa);_0x561245['on']('change:range',(_0x5192d5,_0x5f236c)=>{_0x5f236c['directChange']&&(_0x119ad3['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x5714c2['editing']['view']['document'],'change:isFocused',(_0x1397bb,_0x270019,_0x57735e)=>{_0x57735e&&_0x119ad3();}),this['listenTo'](_0x5714c2['ui']['focusTracker'],'change:isFocused',(_0x40be95,_0x47bd51,_0x1339e6)=>{_0x1339e6||this['fire']('blur',{'isAnnotationTracked':_0x10e176=>this['_editorAnnotationsData']['has'](_0x10e176['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x2e5128){if(this['_editorAnnotations']['has'](_0x2e5128['view']))return;this['_editorAnnotations']['add'](_0x2e5128['view']),this['editor']['ui']['focusTracker']['add'](_0x2e5128['view']['element']);const _0x4a2b82=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x4a2b82['collection'],'remove',(_0x2f8a13,_0x36d500)=>{this['editor']['ui']['focusTracker']['remove'](_0x36d500['view']['element']),this['_editorAnnotations']['delete'](_0x36d500['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x4a0edb){if('function'!=typeof _0x4a0edb)throw new _0x1976e8('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x4a0edb);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x35454d,annotations:_0x58e3de}){const _0x313532=[],_0x2ab25b=this['editor']['model']['document']['selection'],_0x38f6f5=Array['from'](_0x2ab25b['getRanges']());for(const [_0x4e1f3d,_0x370bda]of this['_editorAnnotationsData']){const _0x418831=_0x3cd49a(_0x370bda),_0x590b7a=_0x58e3de['getByInnerView'](_0x4e1f3d);_0x418831&&_0x590b7a&&_0x313532['push']({'annotation':_0x590b7a,'range':_0x418831});}function _0x3cd49a(_0xa50463){for(const _0x54ba56 of _0xa50463)for(const _0xe81b35 of _0x38f6f5)if(_0x54ba56['containsRange'](_0xe81b35,!_0x2ab25b['isCollapsed']))return _0x54ba56;return null;}return _0x313532['sort']((_0x2dcacc,_0x1c1918)=>{const _0x100e74=_0x2dcacc['range'],_0x5d333f=_0x1c1918['range'];if(!_0x100e74['isEqual'](_0x5d333f)){if(_0x100e74['containsRange'](_0x5d333f,!0x0))return 0x1;if(_0x5d333f['containsRange'](_0x100e74,!0x0))return-0x1;}return _0x2dcacc['annotation']==_0x35454d?-0x1:_0x1c1918['annotation']==_0x35454d?0x1:0x0;})['map'](_0x34776c=>_0x34776c['annotation']);}get['_editorAnnotationsData'](){const _0x241b6b=new Map();for(const _0x2acfe7 of Array['from'](this['_dataCollectors']))for(const [_0x583224,_0x113685]of _0x2acfe7())_0x241b6b['set'](_0x583224,_0x113685);return _0x241b6b;}}class CommentsRestrictedEditingMode extends _0x4ac504{['afterInit'](){const _0x2540db=this['editor'];if(!_0x2540db['plugins']['has']('RestrictedEditingModeEditing'))return;_0x2540db['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x4ac504{constructor(_0x25027c){super(_0x25027c),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x2e0f95=this['editor'],_0x247f3e=_0x2e0f95['commands']['get']('importWord'),_0x136132=_0x2e0f95['plugins']['get'](Users);_0x247f3e&&(_0x247f3e['on']('execute',(_0x3ccc85,[,_0x1d0526])=>{_0x1d0526['collaboration_features']={'comments':!0x0,'user_id':_0x136132['me']['id']};},{'priority':_0x31e080['high']+0xa}),this['listenTo'](_0x247f3e,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x282f80,_0x2889ee){const {comment_threads:_0x5da1e5}=_0x2889ee;_0x5da1e5&&_0x5da1e5['forEach'](({thread_id:_0xa86c55,comments:_0x2c6466,is_resolved:_0x225b4d})=>{const _0x332af1=new Date(),_0x8345a1=_0x2c6466['map'](({author:_0x3881f6,content:_0x3aec88,created_at:_0xd26384})=>({'content':_0x3aec88,'authorId':this['editor']['plugins']['get'](Users)['me']['id'],'createdAt':_0x332af1,'attributes':{'@external':{'authorName':_0x3881f6,'createdAt':_0xd26384?new Date(_0xd26384):new Date(),'source':'importWord'}}})),_0x353e5f=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x353e5f,'threadId':_0xa86c55,'comments':_0x8345a1,'resolvedAt':_0x225b4d?_0x332af1:null});});}}class CommentsClipboard extends _0x4ac504{constructor(_0x20eda1){super(_0x20eda1),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x193c37,_0x3ecbd1];}['afterInit'](){const _0x41f4d2=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x41f4d2,'contentInsertion',(_0x43fec4,_0x471151)=>this['_removeMarkersWithoutThreads'](_0x471151['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x401557){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x401557;const _0x28853b=this['editor']['plugins']['get']('CommentsRepository');for(const _0x1280d2 of _0x401557['keys']()){const [_0x4d8b8c,_0x4592d6]=_0x1280d2['split'](':');'comment'!=_0x4d8b8c||_0x28853b['hasCommentThread'](_0x4592d6)||_0x401557['delete'](_0x1280d2);}return _0x401557;}['_registerMarkerInClipboardPipeline'](){const _0x4c55b4=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x15cd09=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x15cd09&&_0x4c55b4['_registerMarkerToCopy']('comment',_0x15cd09);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x4c6c7a){switch(_0x4c6c7a){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function Qm(_0x55d058){const _0x364152=_0x55d058['split'](':');return{'group':_0x364152[0x0],'id':_0x364152[0x1],'part':_0x364152[0x2]};}class ShowCommentHighlights extends _0x4ac504{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x300c47,_0x227cd4)=>{if(!_0x227cd4['options']['showCommentHighlights'])return null;if(_0x227cd4['options']['ignoreResolvedComments']){const {id:_0x1b3aa2}=Qm(_0x300c47['markerName']),_0xb24fbd=this['editor']['plugins']['get'](CommentsRepository);if(_0xb24fbd['getCommentThread'](_0x1b3aa2)?.['isResolved']&&_0x300c47['item'])return _0x227cd4['consumable']['consume'](_0x300c47['item'],'addMarker:'+_0x300c47['markerName']),_0x227cd4['consumable']['consume'](_0x300c47['item'],'removeMarker:'+_0x300c47['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xba64b0=>{_0xba64b0['on']('addMarker:comment',(_0x2e1c82,_0x113f05,_0x6ff440)=>{if(!_0x6ff440['options']['showCommentHighlights'])return;const _0xb52cc8=_0x113f05['item'];if(!_0xb52cc8)return;const _0x4d27a4=_0x6ff440['mapper']['toViewElement'](_0xb52cc8);this['editor']['model']['schema']['isObject'](_0xb52cc8)&&_0x4d27a4&&!_0x4d27a4['getCustomProperty']('widget')&&_0x4d27a4['is']('containerElement')&&_0x4b80d1(_0x4d27a4,_0x6ff440['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x283614,{writer:_0x3f6ebc,options:_0x598d51})=>{if(!_0x598d51['showCommentHighlights'])return null;const _0x1e878b=_0x3f6ebc['createContainerElement']('div'),_0x51e1ea=_0x3f6ebc['createEmptyElement']('hr');return _0x3f6ebc['addClass']('ck-horizontal-line',_0x1e878b),_0x3f6ebc['insert'](_0x3f6ebc['createPositionAt'](_0x1e878b,0x0),_0x51e1ea),_0x1e878b;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x1a2173,{writer:_0x146fbf,options:_0x211d03})=>{if(!_0x211d03['showCommentHighlights'])return null;const _0x1a7d9e=_0x146fbf['createContainerElement']('span'),_0x3543a7=_0x146fbf['createEmptyElement']('img');return _0x146fbf['addClass']('image-inline',_0x1a7d9e),_0x146fbf['insert'](_0x146fbf['createPositionAt'](_0x1a7d9e,0x0),_0x3543a7),_0x1a7d9e;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5239b7,{writer:_0x39b20d,options:_0x3d92b3})=>{if(_0x3d92b3['showCommentHighlights'])return _0x39b20d['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x104da5,_0x4ca00e,_0x110048)=>{_0x110048['options']['showCommentHighlights']&&_0x104da5['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x4ac504{static get['requires'](){return[CommentsRepository,EditorAnnotations,Users,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x17e7a9){super(_0x17e7a9),this['set']('isThreadsLoadingPaused',!0x0),_0x17e7a9['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x5e567d,_0x366afa,_0x3cbf42,_0x3aeeaf)=>{const _0x513091=_0x17e7a9['plugins']['get'](CommentsRepository),_0x2a7535=_0x3cbf42?Qm(_0x3cbf42)['id']:null;_0x17e7a9['model']['change'](()=>{if(_0x2a7535){const _0x592fa5=this['getAllMarkersForId'](_0x2a7535);for(const _0x3a09e4 of _0x592fa5)_0x17e7a9['editing']['reconvertMarker'](_0x3a09e4);}if(_0x3aeeaf){const {id:_0x3f3127}=Qm(_0x3aeeaf),_0x5d2793=_0x513091['getCommentThread'](_0x3f3127);if(_0x5d2793&&_0x5d2793['unlinkedAt'])return;if(_0x5d2793&&!_0x5d2793['isAttached'])return;const _0x553fb4=this['getAllMarkersForId'](_0x3f3127);for(const _0x450fd2 of _0x553fb4)_0x17e7a9['editing']['reconvertMarker'](_0x450fd2);}}),_0x2a7535&&this['scrollToThreadMarker'](_0x2a7535);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x26e783=this['editor'],_0x1c360c=_0x26e783['plugins']['get'](CommentsRepository),_0x6658dc=_0x26e783['config']['get']('collaboration.channelId'),_0xa3861a=_0x1c360c['getCommentThreads']()['filter'](_0x21de6e=>_0x21de6e['channelId']!==_0x6658dc);_0x26e783['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x26e783)),this['listenTo'](_0x26e783,'change:isReadOnly',(_0x12dc8c,_0xce474d,_0x5aaebe)=>{_0x1c360c['switchReadOnly'](_0x5aaebe,_0x26e783['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x1c360c,$m('addCommentThread',_0x6658dc),(_0x2a0e23,{threadId:_0x1a7d13})=>{const _0x57c5cd=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x1a7d13);_0x57c5cd?.['unlinkedAt']&&this['_attachArchivedThread'](_0x1a7d13);}),this['listenTo'](_0x1c360c,$m('removeCommentThread',_0x6658dc),(_0x123605,{threadId:_0x19eea5})=>{_0x26e783['model']['enqueueChange']({'isUndoable':!0x1},_0x3e3dd=>{const _0x5ebeaa=this['getAllMarkersForId'](_0x19eea5);for(const _0x4a99de of _0x5ebeaa)_0x3e3dd['removeMarker'](_0x4a99de);});}),this['listenTo'](_0x1c360c,$m('resolveCommentThread',_0x6658dc),(_0xcc4aa3,{threadId:_0x57cfe7})=>{(this['_reconvertMarkers'](_0x57cfe7),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x57cfe7)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x1c360c,$m('reopenCommentThread',_0x6658dc),(_0x267434,{threadId:_0x12191a})=>{this['_reconvertMarkers'](_0x12191a);},{'priority':'low'}),this['listenTo'](_0x1c360c,$m('addComment',_0x6658dc),(_0x6aa354,{threadId:_0x1aca20,isFromAdapter:_0x21936e})=>{const _0x4fd1ef=this['getAllMarkersForId'](_0x1aca20);if(_0x21936e||0x0==_0x4fd1ef['length']||!_0x1c360c['hasCommentThread'](_0x1aca20))return;0x1===_0x1c360c['getCommentThread'](_0x1aca20)['length']&&_0x26e783['model']['enqueueChange']({'isUndoable':!0x1},_0x55d4c7=>{for(const _0x46b454 of _0x4fd1ef)_0x55d4c7['updateMarker'](_0x46b454,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0xa3861a);}['afterInit'](){!async function(_0x3d63f1){const _0x1ace58=_0x5896ca([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]),_0x2a24ab=0x73460ab3,_0x28ef51=0x734180db^_0x2a24ab,_0x5001a0=window[_0x5896ca([0x44,0x61,0x74,0x65])][_0x5896ca([0x6e,0x6f,0x77])](),_0x237fa3=_0x3d63f1[_0x5896ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b62b6=new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb53f5b=>{_0x237fa3[_0x5896ca([0x6f,0x6e,0x63,0x65])](_0x5896ca([0x72,0x65,0x61,0x64,0x79]),_0xb53f5b);}),_0x13e352={[_0x5896ca([0x6b,0x74,0x79])]:_0x5896ca([0x45,0x43]),[_0x5896ca([0x75,0x73,0x65])]:_0x5896ca([0x73,0x69,0x67]),[_0x5896ca([0x63,0x72,0x76])]:_0x5896ca([0x50,0x2d,0x32,0x35,0x36]),[_0x5896ca([0x78])]:_0x5896ca([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]),[_0x5896ca([0x79])]:_0x5896ca([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]),[_0x5896ca([0x61,0x6c,0x67])]:_0x5896ca([0x45,0x53,0x32,0x35,0x36])},_0x2e165e=_0x237fa3[_0x5896ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5896ca([0x67,0x65,0x74])](_0x5896ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5407fe(){let _0x11b2e7,_0x3506be=null,_0x5cf076=null;try{if(_0x2e165e==_0x5896ca([0x47,0x50,0x4c]))return _0x5896ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11b2e7=_0x521e13(),!_0x11b2e7)return _0x5896ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11b2e7[_0x5896ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5cf076=_0x3483b0(_0x11b2e7[_0x5896ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11b2e7[_0x5896ca([0x6a,0x74,0x69])])),await _0x80dd64()?_0x58bb53()?_0x1921b7()?_0x5896ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x82cea4()?(_0x11b2e7[_0x5896ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5896ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3506be=_0x203e75(_0x5896ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30a05f()):_0x5896ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5896ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5896ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5896ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1921b7(){const _0x2f3576=[_0x5896ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5896ca([0x74,0x72,0x69,0x61,0x6c])][_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11b2e7[_0x5896ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5001a0/0x3e8:0xe10*_0x28ef51;return _0x11b2e7[_0x5896ca([0x65,0x78,0x70])]<_0x2f3576;}function _0x58bb53(){const _0x5bc445=_0x11b2e7[_0x5896ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5bc445)return!0x1;if(_0x5bc445[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5896ca([0x2a])))return!0x0;if(_0x5bc445[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5896ca([0x43,0x4d,0x54])))return!0x0;if(_0x5bc445[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5896ca([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5e5279())return!0x0;if(_0x5bc445[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5896ca([0x52,0x43,0x4d,0x54]))){if(_0x12a78b())return!0x0;if(_0x356541()||_0x2f80b3())return!0x0;}return!0x1;}function _0x82cea4(){const _0x25f833=_0x11b2e7[_0x5896ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25f833||0x0==_0x25f833[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc5e522}=new URL(window[_0x5896ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25f833[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5e522))return!0x0;const _0x3f60f0=_0xc5e522[_0x5896ca([0x73,0x70,0x6c,0x69,0x74])](_0x5896ca([0x2e]));return _0x25f833[_0x5896ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5bc1=>_0x1f5bc1[_0x5896ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5896ca([0x2a])))[_0x5896ca([0x6d,0x61,0x70])](_0x5c91df=>_0x5c91df[_0x5896ca([0x73,0x70,0x6c,0x69,0x74])](_0x5896ca([0x2e])))[_0x5896ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42a93b=>_0x42a93b[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f60f0[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5896ca([0x6d,0x61,0x70])](_0x321745=>Array(_0x3f60f0[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x321745[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5896ca([0x66,0x69,0x6c,0x6c])](_0x321745[0x0]===_0x5896ca([0x2a])?_0x5896ca([0x2a]):'')[_0x5896ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x321745))[_0x5896ca([0x73,0x6f,0x6d,0x65])](_0x12597c=>_0x3f60f0[_0x5896ca([0x65,0x76,0x65,0x72,0x79])]((_0x2e3602,_0x9481db)=>_0x12597c[_0x9481db]===_0x2e3602||_0x12597c[_0x9481db]===_0x5896ca([0x2a])));}function _0x30a05f(){return _0x3506be&&_0x5cf076?new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348675,_0x1b55d5)=>{_0x3506be[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x348675,_0x1b55d5),_0x5cf076[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x3629a1=>{_0x3629a1!=_0x5896ca([0x56,0x61,0x6c,0x69,0x64])&&_0x348675(_0x3629a1);},_0x1b55d5);}):_0x3506be||_0x5cf076||_0x5896ca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3483b0(_0x4501de,_0x74bdf1){return new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b1c6c=>{if(_0xbe687())return _0x2b1c6c(_0x5896ca([0x56,0x61,0x6c,0x69,0x64]));_0x1e4065(),_0x237fa3[_0x5896ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5896ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45e17c=!0x1;const _0x3a3d97=_0x288d30();function _0xdc02b1(_0x1db6f0){return!!_0x1db6f0&&(typeof _0x1db6f0===_0x5896ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1db6f0===_0x5896ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1db6f0[_0x5896ca([0x74,0x68,0x65,0x6e])]===_0x5896ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1db6f0[_0x5896ca([0x63,0x61,0x74,0x63,0x68])]===_0x5896ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c181f(_0x10fe36){_0x52a7e2(_0x10fe36)[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x43d3d2=>{if(!_0x43d3d2||_0x43d3d2[_0x5896ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5896ca([0x6f,0x6b]))return _0x5896ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x348dca(_0x3df913(_0x3a3d97+_0x74bdf1))!=_0x43d3d2[_0x5896ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5896ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5896ca([0x56,0x61,0x6c,0x69,0x64]);})[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x61494d=>(_0xd1fd5d(),_0x61494d),()=>{const _0x50112c=_0x2c9b31();return null==_0x50112c?(_0xd1fd5d(),_0x5896ca([0x56,0x61,0x6c,0x69,0x64])):_0x5896ca(_0x5001a0-_0x50112c>(0x574a8eb3^_0x2a24ab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x2b1c6c)[_0x5896ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b1c6c(_0x5896ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45ad6b=0x7370e433^_0x2a24ab;function _0xd1fd5d(){const _0x378691=_0x5896ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x348dca(_0x3df913(_0x4501de)),_0x2855e9=_0xd0ce87(_0x348dca(window[_0x5896ca([0x4d,0x61,0x74,0x68])][_0x5896ca([0x63,0x65,0x69,0x6c])](_0x5001a0/_0x45ad6b)));window[_0x5896ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5896ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x378691,_0x2855e9);}function _0x2c9b31(){const _0x91d04d=_0x5896ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x348dca(_0x3df913(_0x4501de)),_0x205de0=window[_0x5896ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5896ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x91d04d);return _0x205de0?window[_0x5896ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd0ce87(_0x205de0),0x10)*_0x45ad6b:null;}function _0x52a7e2(_0x876fb2){return new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45c5be,_0x2eb6d3)=>{_0x876fb2[_0x5896ca([0x74,0x68,0x65,0x6e])](_0x45c5be,_0x2eb6d3),window[_0x5896ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2eb6d3,0x7347de73^_0x2a24ab);});}}_0x237fa3[_0x5896ca([0x6f,0x6e])](_0x5896ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dee79,_0x3a34aa)=>{if(_0x3a34aa[0x0]!=_0x4501de)return _0x2b1c6c(_0x5896ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a34aa[0x1]={..._0x3a34aa[0x1],[_0x5896ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a3d97};},{[_0x5896ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5896ca([0x68,0x69,0x67,0x68])}),_0x237fa3[_0x5896ca([0x6f,0x6e])](_0x5896ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4611ce=>{_0xdc02b1(_0x4611ce[_0x5896ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45e17c=!0x0,_0x2c181f(_0x4611ce[_0x5896ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5896ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5896ca([0x6c,0x6f,0x77])}),_0x3b62b6[_0x5896ca([0x74,0x68,0x65,0x6e])](()=>{_0x45e17c||_0x2b1c6c(_0x5896ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xbe687(){return _0x237fa3[_0x5896ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5896ca([0x76,0x69,0x65,0x77])][_0x5896ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5896ca([0x61,0x75,0x74,0x6f]);}function _0x1e4065(){_0x237fa3[_0x5896ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5896ca([0x76,0x69,0x65,0x77])][_0x5896ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5896ca([0x61,0x75,0x74,0x6f]);}}function _0x203e75(_0x14ac70){const _0x19eed8=[new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d54b3=>setTimeout(_0x5d54b3,0x734f347f^_0x2a24ab)),_0x3b62b6[_0x5896ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x211a58=>{let _0x5a9a71=0x0;_0x237fa3[_0x5896ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x5896ca([0x6f,0x6e])](_0x5896ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a53a2,_0x58e23a)=>{_0x58e23a[0x0][_0x5896ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a9a71++,_0x5a9a71==(0x73460f5b^_0x2a24ab)&&(_0x211a58(),_0x4a53a2[_0x5896ca([0x6f,0x66,0x66])]());});}))];return window[_0x5896ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5896ca([0x72,0x61,0x63,0x65])](_0x19eed8)[_0x5896ca([0x74,0x68,0x65,0x6e])](()=>_0x14ac70);}async function _0x32eb73(){await _0x3b62b6,_0x237fa3[_0x5896ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x5896ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e7a66,_0x237fa3[_0x5896ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x5896ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e7a66,_0x237fa3[_0x5896ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5896ca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e5279(){return window[_0x5896ca([0x67,0x6c,0x6f,0x62])]&&window[_0x5896ca([0x67,0x6c,0x6f,0x62])][_0x5896ca([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x12a78b(){return _0xe62ce2(_0x5896ca([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ad6fb(_0x5896ca([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5896ca([0x73,0x74,0x61,0x74,0x65])]==_0x5896ca([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x356541(){return _0xe62ce2(_0x5896ca([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]));}function _0x2f80b3(){return _0xe62ce2(_0x5896ca([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x132044(_0x3115c3){const _0x5711b9=_0x48cb8e();_0x237fa3[_0x5711b9]=_0x5896ca([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3115c3,_0x3115c3!=_0x5896ca([0x56,0x61,0x6c,0x69,0x64])&&_0x32eb73();}function _0x48cb8e(){const _0x525bfd=window[_0x5896ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5896ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5896ca([0x6e,0x6f,0x77])]())[_0x5896ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5896ca([0x2e]),'');let _0x51c08c=_0x5896ca([0x4b]);for(let _0x2ed1e2=0x0;_0x2ed1e2<_0x525bfd[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ed1e2+=0x2){let _0x2dcca1=window[_0x5896ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x525bfd[_0x5896ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ed1e2,_0x2ed1e2+0x2));_0x2dcca1>=_0x1ace58[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dcca1-=_0x1ace58[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51c08c+=_0x1ace58[_0x2dcca1];}return _0x51c08c;}function _0x521e13(){const _0x958067=_0x2e165e[_0x5896ca([0x73,0x70,0x6c,0x69,0x74])](_0x5896ca([0x2e]));if(0x3!=_0x958067[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4284d5(_0x958067[0x1]);function _0x4284d5(_0x535141){const _0x33392e=_0x4849bb(_0x535141);return _0x33392e&&_0x325ec7()?_0x33392e:null;function _0x325ec7(){const _0x4ed70d=_0x33392e[_0x5896ca([0x6a,0x74,0x69])],_0x54995e=window[_0x5896ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ed70d[_0x5896ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ed70d[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd72272={..._0x33392e,[_0x5896ca([0x6a,0x74,0x69])]:_0x4ed70d[_0x5896ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ed70d[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd72272[_0x5896ca([0x76,0x63])],_0x3df913(_0xd72272)==_0x54995e;}}}async function _0x80dd64(){let _0x4dd24b=!0x0;try{const _0xd5bf27=_0x2e165e[_0x5896ca([0x73,0x70,0x6c,0x69,0x74])](_0x5896ca([0x2e])),[_0x8b6e9b,_0x5e62e0,_0x563bd8]=_0xd5bf27;return _0x27c4ee(_0x8b6e9b),await _0x4636d9(_0x8b6e9b,_0x5e62e0,_0x563bd8),_0x4dd24b;}catch{return!0x1;}function _0x27c4ee(_0x30a80){const _0x330145=_0x4849bb(_0x30a80);_0x330145&&_0x330145[_0x5896ca([0x61,0x6c,0x67])]==_0x5896ca([0x45,0x53,0x32,0x35,0x36])||(_0x4dd24b=!0x1);}async function _0x4636d9(_0x2ef875,_0xa30291,_0x3d67a7){const _0x46912a=window[_0x5896ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5896ca([0x66,0x72,0x6f,0x6d])](_0x47c998(_0x3d67a7),_0xd3ef0a=>_0xd3ef0a[_0x5896ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x203eaf=new window[(_0x5896ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5896ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ef875+_0x5896ca([0x2e])+_0xa30291),_0x511121=window[_0x5896ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5896ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x511121)return;const _0x411619=await _0x511121[_0x5896ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5896ca([0x6a,0x77,0x6b]),_0x13e352,{[_0x5896ca([0x6e,0x61,0x6d,0x65])]:_0x5896ca([0x45,0x43,0x44,0x53,0x41]),[_0x5896ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5896ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5896ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x511121[_0x5896ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5896ca([0x6e,0x61,0x6d,0x65])]:_0x5896ca([0x45,0x43,0x44,0x53,0x41]),[_0x5896ca([0x68,0x61,0x73,0x68])]:{[_0x5896ca([0x6e,0x61,0x6d,0x65])]:_0x5896ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x411619,_0x46912a,_0x203eaf)||(_0x4dd24b=!0x1);}}function _0x4849bb(_0xc22dcf){return _0xc22dcf[_0x5896ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5896ca([0x65,0x79]))?JSON[_0x5896ca([0x70,0x61,0x72,0x73,0x65])](_0x47c998(_0xc22dcf)):null;}function _0x47c998(_0x5bec64){return window[_0x5896ca([0x61,0x74,0x6f,0x62])](_0x5bec64[_0x5896ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5896ca([0x2b]))[_0x5896ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5896ca([0x2f])));}function _0x3df913(_0x3bccf6){let _0x6e9a11=0x1505;function _0x594c38(_0x313aaf){for(let _0x49b11c=0x0;_0x49b11c<_0x313aaf[_0x5896ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49b11c++){const _0x33e2ed=_0x313aaf[_0x5896ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49b11c);_0x6e9a11=(_0x6e9a11<<0x5)+_0x6e9a11+_0x33e2ed,_0x6e9a11&=_0x6e9a11;}}function _0x2bee78(_0x3044a6){Array[_0x5896ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3044a6)?_0x3044a6[_0x5896ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2bee78):_0x3044a6&&typeof _0x3044a6==_0x5896ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5896ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3044a6)[_0x5896ca([0x73,0x6f,0x72,0x74])]()[_0x5896ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e332,_0x8a901e])=>{_0x594c38(_0x10e332),_0x2bee78(_0x8a901e);}):_0x594c38(window[_0x5896ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3044a6));}return _0x2bee78(_0x3bccf6),_0x6e9a11>>>0x0;}function _0x348dca(_0x4a622a){return _0x4a622a[_0x5896ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5896ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5896ca([0x30]));}function _0xd0ce87(_0x4246f3){return _0x4246f3[_0x5896ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5896ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5896ca([0x6a,0x6f,0x69,0x6e])]('');}function _0xe62ce2(_0x37917a){return _0x237fa3[_0x5896ca([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5896ca([0x68,0x61,0x73])](_0x37917a);}function _0x2ad6fb(_0x4d0762){return _0x237fa3[_0x5896ca([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5896ca([0x67,0x65,0x74])](_0x4d0762);}function _0x3e7a66(){}function _0x5896ca(_0x4d9e80){return _0x4d9e80['map'](_0x5b002f=>String['fromCharCode'](_0x5b002f))['join']('');}_0x132044(await _0x5407fe());}(this);}['destroy'](){const _0x2e19cc=this['editor']['plugins']['get'](CommentsRepository),_0x8a1243=this['editor']['config']['get']('collaboration.channelId');for(const _0x1133bf of _0x2e19cc['getCommentThreads']({'channelId':_0x8a1243}))_0x2e19cc['_detachCommentThread'](_0x1133bf['id']),_0x2e19cc['_threads']['delete'](_0x1133bf['id']);super['destroy']();}['hasMarkerForId'](_0xca16ab){return this['getAllMarkersForId'](_0xca16ab)['length']>0x0;}['getAllMarkersForId'](_0x354938){const _0xf939ac=[];for(const _0x524725 of this['editor']['model']['markers'])_0x524725['name']['startsWith']('comment:'+_0x354938)&&_0xf939ac['push'](_0x524725);return _0xf939ac;}['scrollToThreadMarker'](_0x2ca116){setTimeout(()=>{const _0x5f59e8=this['_getTargetForId'](_0x2ca116);if(!_0x5f59e8)return;this['activeMarker']&&Qm(this['activeMarker'])['id']===_0x2ca116&&_0xe93d68({'target':_0x5f59e8[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x482001){this['editor']['model']['change'](()=>{for(const _0x429808 of this['getAllMarkersForId'](_0x482001))this['editor']['editing']['reconvertMarker'](_0x429808);});}['_attachArchivedThread'](_0x46687a){const _0x463f85=this['editor']['plugins']['get'](CommentsRepository),_0x208e45=this['editor']['plugins']['get'](EditorAnnotations),_0x23fed7=_0x463f85['getCommentThread'](_0x46687a);if(!_0x23fed7['isAttached']){const _0xc31739=_0x23fed7['attachTo'](()=>this['_getTargetForId'](_0x23fed7['id']));_0x208e45['registerAnnotation'](_0xc31739),_0x23fed7['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x213d84=this['editor'],_0x250ad5=_0x213d84['plugins']['get'](Users);_0x213d84['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x3c9264,_0x20dea8)=>{const {id:_0x41a88e}=Qm(_0x3c9264['markerName']),_0x1144dc=_0x213d84['plugins']['get'](CommentsRepository)['getCommentThread'](_0x41a88e),_0x5239a9=this['activeMarker']&&Qm(this['activeMarker'])['id']===_0x41a88e;let _0x3b6ddd;if(_0x1144dc&&_0x1144dc['isResolved']&&!_0x5239a9&&_0x3c9264['item'])return _0x20dea8['consumable']['consume'](_0x3c9264['item'],'addMarker:'+_0x3c9264['markerName']),_0x20dea8['consumable']['consume'](_0x3c9264['item'],'removeMarker:'+_0x3c9264['markerName']),null;const _0x585e7f=['ck-comment-marker'];return _0x5239a9&&_0x585e7f['push']('ck-comment-marker--active'),_0x3b6ddd=_0x1144dc?.['length']?_0x1144dc['comments']['first']['author']['id']:_0x250ad5['me']['id'],{'classes':_0x585e7f,'attributes':{'data-comment':_0x41a88e,'data-author-id':_0x3b6ddd}};}}),_0x213d84['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x2cc738,{options:_0x572cb5})=>{if(_0x572cb5['showCommentHighlights'])return null;const _0x7d179d=_0x213d84['plugins']['get'](CommentsRepository),_0x7cdc67=_0x213d84['model']['markers']['get'](_0x2cc738),{id:_0x1df0f3,part:_0x42cbac}=Qm(_0x2cc738);return _0x7cdc67&&!_0x7cdc67['affectsData']||_0x572cb5['ignoreResolvedComments']&&_0x7d179d['getCommentThread'](_0x1df0f3)?.['isResolved']?null:{'group':'comment','name':_0x42cbac?_0x1df0f3+':'+_0x42cbac:_0x1df0f3};}}),_0x213d84['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x6786ba,{writer:_0x2bd0d9})=>_0x2bd0d9['createElement']('$marker',{'data-name':'comment:'+_0x6786ba['getAttribute']('id')})}),_0x213d84['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x1889a3=this['editor'],_0x3be3f2=_0x1889a3['plugins']['get'](CommentsRepository),_0x2eafd1=new Set(),_0x277e5f=new Set();_0x1889a3['model']['document']['registerPostFixer'](_0x9e316a=>{let _0x288245=!0x1;for(const {name:_0x57fdf8,data:_0x311a40}of _0x1889a3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x71226d,id:_0x57f3d2}=Qm(_0x57fdf8);let _0x43b1ea=_0x311a40['newRange'];if('comment'!==_0x71226d||!_0x43b1ea)continue;const _0x429860='$graveyard'===_0x43b1ea['root']['rootName'];_0x429860||(_0x43b1ea=Vm(_0x43b1ea,_0x1889a3['model']),!_0x43b1ea||_0x43b1ea['isCollapsed']||!_0x311a40['newRange']||_0x43b1ea['isEqual'](_0x311a40['newRange']))?_0x1889a3['model']['hasContent'](_0x43b1ea)&&!_0x429860?this['isThreadsLoadingPaused']?_0x2eafd1['add'](_0x57fdf8):this['_handleThreadMarker'](_0x57fdf8,_0x57f3d2):(_0x277e5f['add'](_0x57fdf8),_0x2eafd1['delete'](_0x57fdf8),_0x9e316a['removeMarker'](_0x57fdf8),_0x288245=!0x0):(_0x9e316a['updateMarker'](_0x57fdf8,{'range':_0x43b1ea}),_0x288245=!0x0);}return _0x288245;}),this['on']('change:isThreadsLoadingPaused',(_0xf4d041,_0x29bc24,_0x54231e)=>{if(!_0x54231e&&_0x2eafd1['size'])for(const _0x4e1363 of _0x2eafd1){const {id:_0x4dd494}=Qm(_0x4e1363);_0x2eafd1['delete'](_0x4e1363),_0x1889a3['model']['markers']['get'](_0x4e1363)&&this['_handleThreadMarker'](_0x4e1363,_0x4dd494);}}),this['listenTo'](_0x1889a3['model']['document'],'change',()=>{for(const {name:_0x269d97,data:{newRange:_0x5096c8}}of _0x1889a3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x28d3ca,id:_0x1f7c3c}=Qm(_0x269d97);if('comment'!==_0x28d3ca)continue;const _0x13c8c2=_0x3be3f2['getCommentThread'](_0x1f7c3c),_0xa0fdaa=this['hasMarkerForId'](_0x1f7c3c);_0x13c8c2&&(!_0x13c8c2['_hasTargetInContent']&&_0x5096c8&&_0x1889a3['editing']['view']['once']('render',()=>{const _0x2257ae=_0x1889a3['plugins']['get'](Annotations),_0x2be9bf=_0x3be3f2['_threadToController']['get'](_0x13c8c2)['view'];_0x2257ae['getByInnerView'](_0x2be9bf)['refreshVisibility']();},{'priority':'low'}),_0x13c8c2['_hasTargetInContent']=_0xa0fdaa||!!_0x5096c8),_0x5096c8||(_0x277e5f['add'](_0x269d97),_0x2eafd1['delete'](_0x269d97));}for(const _0x523a6f of _0x277e5f){const {id:_0x17ace4}=Qm(_0x523a6f),_0x376832=_0x3be3f2['getCommentThread'](_0x17ace4);if(_0x2eafd1['delete'](_0x523a6f),!_0x376832)continue;const _0x17aa37=this['hasMarkerForId'](_0x17ace4);_0x17aa37||_0x376832['isSubmitted']?_0x17aa37||_0x376832['unlinkedAt']||_0x376832['setUnlinkedAt'](new Date()):_0x376832['remove']();}_0x277e5f['clear']();});}['_handleInitialThreads'](_0x3ac19c){_0x3ac19c['forEach'](_0x4e6163=>{_0x4e6163['unlinkedAt']&&this['_attachArchivedThread'](_0x4e6163['id']);});}['_getTargetForId'](_0x5150a1){const _0x20ecfd=this['editor'],_0x40a31e=this['getAllMarkersForId'](_0x5150a1);return Wu(_0x20ecfd['editing'],_0x40a31e);}['_getTextContext'](_0x2daa9e){const _0x18b506=this['getAllMarkersForId'](_0x2daa9e);let _0x539c51='',_0x4b0a5e=!0x1;for(const _0xa04483 of _0x18b506){const _0x46ad4e=_0xa04483['getRange']();for(const _0x1cfb1f of Array['from'](_0x46ad4e['getItems']()))_0x1cfb1f['is']('$textProxy')?(_0x539c51&&_0x4b0a5e&&(_0x539c51+='\x20',_0x4b0a5e=!0x1),_0x539c51+=_0x1cfb1f['data']):_0x4b0a5e=!0x0;_0x4b0a5e=!0x0;}return _0x539c51['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x3f5bfc,_0x54d2aa){const _0x29bd2c=this['editor'],_0x3a215b=_0x29bd2c['plugins']['get'](CommentsRepository);let _0x28deb4=_0x3a215b['getCommentThread'](_0x54d2aa);const _0x3af2d9=_0x29bd2c['config']['get']('collaboration.channelId'),_0x4a44dc=_0x29bd2c['plugins']['get'](EditorAnnotations);if(_0x28deb4&&(_0x28deb4['unlinkedAt']&&_0x28deb4['setUnlinkedAt'](null),_0x28deb4['isAttached']))return _0x28deb4;return!this['getAllMarkersForId'](_0x54d2aa)[0x0]['managedUsingOperations']?_0x29bd2c['editing']['view']['once']('render',()=>{if(_0x3a215b['getCommentThread'](_0x54d2aa))return;const _0x5e3478=_0x29bd2c['plugins']['get'](Annotations);_0x28deb4=_0x3a215b['openNewCommentThread']({'channelId':_0x3af2d9,'threadId':_0x54d2aa,'target':()=>this['_getTargetForId'](_0x54d2aa),'context':{'type':'text','value':this['_getTextContext'](_0x54d2aa)}});const _0x51262b=_0x3a215b['_threadToController']['get'](_0x28deb4)['view'],_0x1da656=_0x5e3478['getByInnerView'](_0x51262b);_0x1da656&&_0x4a44dc['registerAnnotation'](_0x1da656);},{'priority':'low'}):_0x3a215b['fetchCommentThread']({'channelId':_0x3af2d9,'threadId':_0x54d2aa})['then'](_0x4e576d=>{if('destroyed'!==_0x29bd2c['state']){if(_0x28deb4=_0x4e576d,_0x28deb4&&!_0x28deb4['isAttached']){const _0x44b307=_0x28deb4['attachTo'](()=>this['_getTargetForId'](_0x54d2aa));_0x4a44dc['registerAnnotation'](_0x44b307),_0x28deb4['isResolved']&&this['_reconvertMarkers'](_0x54d2aa);}else{if(!_0x28deb4){const _0x50c6f8=this['getAllMarkersForId'](_0x54d2aa);_0x29bd2c['model']['change'](_0x19cae6=>{for(const _0x3b8692 of _0x50c6f8)_0x19cae6['removeMarker'](_0x3b8692);});}}}}),_0x28deb4;}['_handleThreadMarker'](_0x12ee52,_0x43aa5f){const _0x458439=this['_attachMarkerToThread'](_0x12ee52,_0x43aa5f);_0x458439&&!_0x458439['context']&&_0x458439['setContext']({'type':'text','value':this['_getTextContext'](_0x43aa5f)});}['_initAriaMarkerChangeAnnouncements'](){const _0x9f9477=this['editor'];ld(_0x9f9477['model'],({left:_0x342e88,entered:_0x4f229d})=>{for(const _0x11a5cc of _0x342e88)if(Um(_0x11a5cc)){_0x9f9477['ui']['ariaLiveAnnouncer']['announce'](Sm(_0x9f9477['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x3a69df of _0x4f229d)if(Um(_0x3a69df)){_0x9f9477['ui']['ariaLiveAnnouncer']['announce'](Sm(_0x9f9477['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0xfc7c08(hd)));break;}});}}function $m(_0x4bfabf,_0x20a31f){return _0x20a31f?_0x4bfabf+':'+_0x20a31f:_0x4bfabf;}function Vm(_0x221f24,_0x10de8f){const _0x148ea2=_0x10de8f['schema'],_0x559bf7=_0x10de8f['createRange'](_0x221f24['start']);for(const _0x8ef94e of _0x221f24['getWalker']()){const {type:_0x38b78f,item:_0x4bab4a,nextPosition:_0x5cca59}=_0x8ef94e;if('text'===_0x38b78f||_0x148ea2['isObject'](_0x4bab4a)){const _0x3407da=_0x10de8f['createPositionBefore'](_0x4bab4a);_0x559bf7['isCollapsed']&&(_0x559bf7['start']=_0x3407da),_0x559bf7['end']=_0x5cca59;}}return _0x559bf7;}function Um(_0x3c98c6){return'comment'===Qm(_0x3c98c6['name'])['group'];}class CommentsUI extends _0x4ac504{['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 _0x182c98=this['editor'],_0x58d65f=_0x182c98['plugins']['get'](CommentsRepository),_0x5c4e1b=_0x182c98['plugins']['get'](CommentsEditing),_0x21d682=_0x182c98['plugins']['get'](Annotations),_0x354546=_0x182c98['plugins']['get'](EditorAnnotations);_0x182c98['ui']['componentFactory']['add']('comment',()=>{const _0x4fca12=this['_createUIButton'](_0x13bcd9);return _0x4fca12['tooltip']=!0x0,_0x4fca12;}),_0x182c98['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ot)),_0x354546['addSourceCollector'](()=>{const _0x1a4898=[];for(const [_0x4c32c1,_0x13054d]of _0x58d65f['_threadToController']){const _0x33e34f=_0x5c4e1b['getAllMarkersForId'](_0x4c32c1['id']),_0x1473e7=_0x33e34f['map'](_0x5b1214=>_0x5b1214['getRange']());_0x33e34f['length']>0x0&&_0x1a4898['push']([_0x13054d['view'],_0x1473e7]);}return _0x1a4898;}),this['listenTo'](_0x21d682,'change:activeAnnotations',(_0x3b209c,_0x3e6457,_0x111184)=>{const _0x2b3bf9=Array['from'](_0x111184)['map'](_0x46bef0=>_0x46bef0['innerView'])['find'](_0x2135df=>_0x58d65f['_viewToController']['has'](_0x2135df));if(!_0x2b3bf9)return void(_0x5c4e1b['activeMarker']=null);const _0x537b0a=_0x58d65f['_viewToController']['get'](_0x2b3bf9)['model']['id'],_0x283391='comment:'+_0x537b0a;_0x537b0a&&_0x5c4e1b['hasMarkerForId'](_0x537b0a)?_0x5c4e1b['activeMarker']=_0x283391:_0x5c4e1b['activeMarker']&&(_0x5c4e1b['activeMarker']=null);}),this['listenTo'](_0x58d65f,'removeCommentThread',(_0x55f615,{threadId:_0xb89788,isFromAdapter:_0x13189a})=>{!_0x13189a&&_0x182c98['ui']['focusTracker']['isFocused']&&_0x5c4e1b['hasMarkerForId'](_0xb89788)&&_0x182c98['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x58d65f,'addComment',(_0xa2a35,{threadId:_0x2c7363,isFromAdapter:_0x21ecfe})=>{if(_0x21ecfe||!_0x5c4e1b['hasMarkerForId'](_0x2c7363)||!_0x58d65f['hasCommentThread'](_0x2c7363))return;0x1===_0x58d65f['getCommentThread'](_0x2c7363)['length']&&(_0x182c98['editing']['view']['focus'](),_0xa2a35['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b4b8a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fe7ce;for(const _0x52c5e2 in _0x1b4b8a){const _0x5b66a4=_0x52c5e2,_0x372bb2=_0x1b4b8a[_0x5b66a4];if('commentsLicenseKeyValid'==_0x372bb2||'commentsLicenseKeyInvalid'==_0x372bb2||'commentsLicenseKeyExpired'==_0x372bb2||'commentsLicenseKeyDomainLimit'==_0x372bb2||'commentsLicenseKeyNotAllowed'==_0x372bb2||'commentsLicenseKeyEvaluationLimit'==_0x372bb2||'commentsLicenseKeyUsageLimit'==_0x372bb2){delete _0x1b4b8a[_0x5b66a4],_0x2fe7ce=_0x372bb2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x2fe7ce&&_0x1b4b8a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x254dcf){const _0x2ae3b3=this['editor'],_0x4422b2=new _0x254dcf(_0x2ae3b3['locale']),_0x3bf5b4=_0x2ae3b3['commands']['get']('addCommentThread');return _0x4422b2['set']({'label':Sm(_0x2ae3b3['locale'],'Comment'),'icon':_0x492626}),_0x4422b2['bind']('isEnabled')['to'](_0x3bf5b4,'isEnabled',_0x3bf5b4,'hasContent',(_0x4f4e4a,_0x30f78d)=>_0x4f4e4a&&_0x30f78d),this['listenTo'](_0x4422b2,'execute',()=>{_0x3bf5b4['execute']();}),_0x4422b2;}}class CommentsOnly extends _0x4ac504{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x26d8ad){super(_0x26d8ad),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x179d73,_0x17aa47,_0x1ddaf9)=>{_0x1ddaf9?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x1c571f,_0x1e209e]of this['editor']['commands'])_0x1e209e['affectsData']&&'addCommentThread'!==_0x1c571f&&_0x1e209e['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 _0x15aa89=this['editor']['editing']['view']['document'];this['listenTo'](_0x15aa89,'cut',_0x2be110=>_0x2be110['stop'](),{'priority':'highest'}),this['listenTo'](_0x15aa89,'clipboardInput',_0x5861ad=>_0x5861ad['stop'](),{'priority':'highest'}),this['listenTo'](_0x15aa89,'delete',_0x4bfd10=>_0x4bfd10['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x4e8b4c,_0x1590da]of this['editor']['commands'])_0x1590da['affectsData']&&'addCommentThread'!==_0x4e8b4c&&_0x1590da['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 _0x90c2d8{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d8a74){super(_0x3d8a74),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x2c6217=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x2c6217,'_activateAnnotation',(_0x315645,_0x561aa1)=>{for(const _0x26d2f7 of this['activeUIs']){const _0x5420ca=this['_uis']['get'](_0x26d2f7);(0x0,this['uisData']['get'](_0x26d2f7)['filter'])(_0x561aa1)&&_0x5420ca['setActiveAnnotation'](_0x561aa1);}}),this['listenTo'](_0x2c6217,'_deactivateAllAnnotations',()=>{for(const _0x5e4992 of this['activeUIs']){this['_uis']['get'](_0x5e4992)['setActiveAnnotation'](null);}}),this['listenTo'](_0x2c6217['_visibleAnnotations'],'add',(_0x382751,_0x579a90)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x579a90);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x11e6a2){return this['activeUIs']['has'](_0x11e6a2);}['activate'](_0xfd96c0,_0x33e1ab=this['defaultFilter']){const _0x3748bd=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0xfd96c0))throw new _0x1976e8('annotationsuis-missing-ui',this,{'uiName':_0xfd96c0});this['isActive'](_0xfd96c0)&&this['deactivate'](_0xfd96c0),this['activeUIs']['add'](_0xfd96c0);const _0x266649=new AnnotationCollection();Pm({'source':_0x3748bd['_visibleAnnotations'],'target':_0x266649,'filter':_0x33e1ab}),this['uisData']['set'](_0xfd96c0,{'collection':_0x266649,'filter':_0x33e1ab});const _0x1bce53=this['_uis']['get'](_0xfd96c0);_0x1bce53['attach'](_0x266649),this['listenTo'](_0x1bce53,'change:activeAnnotation',(_0x498040,_0x5c23c8,_0x20f8dd,_0x2c122c)=>{_0x2c122c&&_0x3748bd['_removeActiveAnnotation'](_0x2c122c),_0x20f8dd&&_0x3748bd['_addActiveAnnotation'](_0x20f8dd);});}['deactivate'](_0x3bfb02){if(this['activeUIs']['delete'](_0x3bfb02),!this['_uis']['has'](_0x3bfb02))throw new _0x1976e8('annotationsuis-missing-ui',this,{'uiName':_0x3bfb02});const _0x173cf2=this['_uis']['get'](_0x3bfb02);_0x173cf2['detach'](),this['stopListening'](_0x173cf2),this['uisData']['get'](_0x3bfb02)['collection']['destroy'](),this['uisData']['delete'](_0x3bfb02);}['switchTo'](_0x31dfe0){if(!this['_uis']['has'](_0x31dfe0))throw new _0x1976e8('annotationsuis-missing-ui',this,{'uiName':_0x31dfe0});const _0x4d2055=this['context']['plugins']['get'](Annotations),_0xa0cda6=Array['from'](_0x4d2055['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x31dfe0);const _0x4cfb9c=this['_uis']['get'](_0x31dfe0);_0x4cfb9c['setActiveAnnotation'](_0xa0cda6),_0x4cfb9c['_setSelectedAnnotations']&&_0xa0cda6&&_0x4cfb9c['_setSelectedAnnotations']([_0xa0cda6]);}['deactivateAll'](){for(const _0x324866 of this['activeUIs'])this['deactivate'](_0x324866);}['register'](_0x5c177c,_0x3c0734){if(this['_uis']['has'](_0x5c177c))throw new _0x1976e8('annotationsuis-register-already-registered');if('function'!=typeof _0x3c0734['attach']||'function'!=typeof _0x3c0734['detach']||'function'!=typeof _0x3c0734['setActiveAnnotation'])throw new _0x1976e8('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x5c177c,_0x3c0734);}['refilterAnnotations'](){const _0x43da7c=this['context']['plugins']['get'](Annotations)['collection'],_0x4263c1=new Map(),_0x5676a1=Array['from'](this['activeUIs']);for(const _0x68c759 of this['activeUIs']){const _0xd1f024=this['uisData']['get'](_0x68c759)['collection'];for(const _0x211fe2 of _0xd1f024)_0x4263c1['set'](_0x211fe2,_0x68c759);}for(const _0x294967 of _0x43da7c){const _0x21c2df=_0x4263c1['get'](_0x294967);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x294967);const _0x28f960=_0x5676a1['find'](_0x3b2a3f=>this['uisData']['get'](_0x3b2a3f)['filter'](_0x294967));_0x21c2df!==_0x28f960&&(_0x21c2df&&this['uisData']['get'](_0x21c2df)['collection']['remove'](_0x294967),_0x28f960&&this['uisData']['get'](_0x28f960)['collection']['add'](_0x294967));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5c3bee){const _0x4ebc8a=[];for(const _0xa0ba97 of this['activeUIs']){(0x0,this['uisData']['get'](_0xa0ba97)['filter'])(_0x5c3bee)&&_0x4ebc8a['push'](_0xa0ba97);}if(_0x4ebc8a['length']>0x1)throw new _0x1976e8('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x4ebc8a,'annotationType':_0x5c3bee['type']});}}const Bm=/* #__PURE__ -- @preserve */
_0x3196f3('px');class AnnotationsSidebarView extends _0x268b55{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x580372){super(_0x580372);const _0x3752c1=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 _0xc1a0cc(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x3752c1['to']('class')],'style':{'minHeight':_0x3752c1['to']('minHeight',_0x349f10=>'number'==typeof _0x349f10?Bm(_0x349f10+0xa):null)},'dir':_0x580372['uiLanguageDirection'],'role':'application','aria-label':Sm(_0x580372,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':Sm(_0x580372,'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',_0x496ab5=>{this['_updateItemPositionInFocusables'](_0x496ab5['source']);}),this['list']['forEach'](_0xfcc10d=>{this['focusTracker']['add'](_0xfcc10d['element']),this['_updateItemPositionInFocusables'](_0xfcc10d);}),this['list']['on']('change',(_0x54c376,_0x1acce1)=>{for(const _0x3cde81 of _0x1acce1['removed'])this['focusTracker']['remove'](_0x3cde81['element']),this['focusables']['remove'](_0x3cde81);for(const _0x2aaa78 of _0x1acce1['added'])this['focusTracker']['add'](_0x2aaa78['element']),this['_updateItemPositionInFocusables'](_0x2aaa78);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x5dc47a){const _0x15c63f=this['focusables']['getIndex'](_0x5dc47a);let _0x118521,_0x4d05fb;for(const _0x34e305 of this['focusables'])if(_0x5dc47a['top']<_0x34e305['top']){_0x118521=_0x34e305;break;}if(_0x4d05fb=_0x118521?this['focusables']['getIndex'](_0x118521):this['focusables']['length'],-0x1!==_0x15c63f){if(_0x15c63f===_0x4d05fb-0x1)return;this['focusables']['remove'](_0x5dc47a),_0x4d05fb=_0x118521?this['focusables']['getIndex'](_0x118521):this['focusables']['length'];}this['focusables']['add'](_0x5dc47a,_0x4d05fb);}}const Fm=/* #__PURE__ -- @preserve */
_0x3196f3('px');class AnnotationsSidebarItemView extends _0x268b55{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x35dff9){super(_0x35dff9),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x1a4143,_0xd7f907)=>_0x1a4143+_0xd7f907),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=km(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x38e6b3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x38e6b3['to']('isAnimationDisabled',_0x16b1ff=>_0x16b1ff?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x38e6b3['to']('top',_0x923062=>Fm(_0x923062))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x5f2fee=this['element']['clientHeight'];_0x5f2fee&&(this['height']=_0x5f2fee);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class Sidebar extends _0x90c2d8{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50cc4a){super(_0x50cc4a),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 _0x5003e8=this['context']['config']['get']('sidebar.container');_0x5003e8&&this['setContainer'](_0x5003e8);}['setContainer'](_0x55f563){if(!Hm(_0x55f563))throw new _0x1976e8('sidebar-setcontainer-invalid-element');this['container']=_0x55f563;}['_attachToContainer']({viewClass:_0x88d4ec='',spaceBetweenItems:_0x5e5045=0x19}={}){if(!Hm(this['container']))throw new _0x1976e8('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x88d4ec,this['_spaceBetweenItems']=_0x5e5045;}['rearrange']({removedAnnotation:_0x2fbb92,previousAnnotation:_0x463961,nextAnnotation:_0x13cdc0}){const _0x23388c=this['getSidebarItemView'](_0x2fbb92);this['view']['list']['remove'](_0x23388c),this['_destroySidebarItemView'](_0x2fbb92),_0x463961&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x463961)),_0x13cdc0&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x13cdc0)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x26ea2e,activatedAnnotation:_0x418ecf,disableAnimationOnActivatedAnnotation:_0x14ce28}){if(this['_activeAnnotation']=_0x418ecf,_0x26ea2e){_0x26ea2e['isActive']=!0x1;const _0x28db54=this['getSidebarItemView'](_0x26ea2e);_0x28db54&&_0x14ce28&&(_0x28db54['isAnimationDisabled']=!0x1);}if(_0x418ecf){const _0x438524=this['getSidebarItemView'](_0x418ecf);_0x438524&&(_0x418ecf['isActive']=!0x0,_0x14ce28&&(_0x438524['isAnimationDisabled']=!0x0,_0x438524['top']+=0x1),this['_alignToTargetRect'](_0x438524));}}['_detachFromContainer'](_0x3f901e){if(this['view']['element']['remove'](),_0x3f901e){for(const _0x5cfad0 of _0x3f901e)this['_destroySidebarItemView'](_0x5cfad0);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x22abdf,_0x2b84c8){_0x2b84c8||(_0x2b84c8=_0x22abdf['view']);const _0x3a659b=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x3a659b,_0x22abdf),this['_annotationToSidebarItemView']['set'](_0x22abdf,_0x3a659b),_0x3a659b['content']['add'](_0x2b84c8),this['listenTo'](_0x22abdf['view'],'change:targetRect',(_0x513b62,_0xb52b69,_0x431ff3)=>{const _0x481bee=this['_getTargetTop'](_0x22abdf,_0x431ff3);_0x3a659b['_targetTop']!=_0x481bee&&(_0x3a659b['_targetTop']=_0x481bee,this['_setItemTop'](_0x3a659b,_0x481bee));}),this['listenTo'](_0x3a659b,'change:top',()=>{this['_recalculate'](_0x3a659b,'top');}),this['listenTo'](_0x3a659b,'change:bottom',()=>{this['_recalculate'](_0x3a659b,'bottom');}),this['_alignToTargetRect'](_0x3a659b);const _0x4fa04d=this['_getItemBefore'](_0x3a659b);if(_0x4fa04d)this['_alignAfterItem'](_0x4fa04d,_0x3a659b)||this['_alignToTargetRect'](_0x3a659b);else this['_alignToTargetRect'](_0x3a659b);return this['_updateLastItem'](),this['view']['list']['add'](_0x3a659b),_0x3a659b;}['_alignForTopChange'](_0x4c7713){if(!_0x4c7713['content']['length'])return;const _0x3fabc2=this['_getItemBefore'](_0x4c7713);if(!_0x3fabc2)return;const _0x31f6c2=this['_sidebarItemViewToAnnotation']['get'](_0x3fabc2),_0x111d02=this['_activeAnnotation'];_0x111d02&&_0x111d02===_0x31f6c2?this['_alignAfterItem'](_0x3fabc2,_0x4c7713):this['_alignBeforeItem'](_0x4c7713,_0x3fabc2);}['_alignForBottomChange'](_0x52cfc6){if(!_0x52cfc6['content']['length'])return;const _0x5183ec=this['_getItemAfter'](_0x52cfc6);if(!_0x5183ec)return;const _0x270179=this['_sidebarItemViewToAnnotation']['get'](_0x5183ec),_0x475563=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x23e89f=this['_activeAnnotation'];_0x23e89f&&_0x23e89f===_0x270179&&_0x475563?(this['_alignBeforeItem'](_0x5183ec,_0x52cfc6),this['_alignAfterItem'](_0x52cfc6,_0x5183ec)):_0x23e89f&&_0x23e89f===_0x270179?this['_alignBeforeItem'](_0x5183ec,_0x52cfc6):this['_alignAfterItem'](_0x52cfc6,_0x5183ec);}['_recalculate'](_0x15a98f,_0x40d76a){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x3198fc,changedProp:_0x1cdbc8}of this['_recalculateBuffer'])'top'===_0x1cdbc8?this['_alignForTopChange'](_0x3198fc):this['_alignForBottomChange'](_0x3198fc);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x15a98f,'changedProp':_0x40d76a});}['getSidebarItemView'](_0x4af2a7){return this['_annotationToSidebarItemView']['get'](_0x4af2a7);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x1ac034){const _0x5bf0e2=this['getSidebarItemView'](_0x1ac034);this['stopListening'](_0x5bf0e2),this['stopListening'](_0x1ac034['view']),_0x5bf0e2['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x1ac034),this['_sidebarItemViewToAnnotation']['delete'](_0x5bf0e2);}['_createSidebarView'](){const _0x52c226=new AnnotationsSidebarView(this['context']['locale']);return _0x52c226['render'](),this['on']('change:_lastItem',(_0x40e50e,_0x4ee6c2,_0x5da0e2,_0xc12da7)=>{_0xc12da7&&_0x52c226['unbind']('minHeight'),_0x5da0e2?_0x52c226['bind']('minHeight')['to'](_0x5da0e2,'bottom'):_0x52c226['minHeight']=null;}),_0x52c226;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x4831d8){const _0x5a104e=this['_sidebarItemViewToAnnotation']['get'](_0x4831d8),_0x189351=_0x5a104e&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x5a104e)-0x1);return _0x189351&&this['getSidebarItemView'](_0x189351)||null;}['_getItemAfter'](_0x2cf249){const _0x5530e3=this['_sidebarItemViewToAnnotation']['get'](_0x2cf249),_0x4f044b=_0x5530e3&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x5530e3)+0x1);return _0x4f044b&&this['getSidebarItemView'](_0x4f044b)||null;}['_alignBeforeItem'](_0x5e02a7,_0x4d7fd7){_0x5e02a7['updateHeight']();const _0x249630=jm(_0x4d7fd7['bottom']+this['_spaceBetweenItems'],_0x5e02a7['top']);return!!_0x249630&&(this['_setItemTop'](_0x4d7fd7,_0x4d7fd7['top']-_0x249630),!0x0);}['_alignAfterItem'](_0x1cb9ce,_0x35fe6b){_0x1cb9ce['updateHeight']();const _0x4d40a7=jm(_0x1cb9ce['bottom']+this['_spaceBetweenItems'],_0x35fe6b['top']);return!!_0x4d40a7&&(this['_setItemTop'](_0x35fe6b,_0x35fe6b['top']+_0x4d40a7,!0x1),!0x0);}['_alignToTargetRect'](_0x3e0bff){const _0x1d94b7=this['_sidebarItemViewToAnnotation']['get'](_0x3e0bff);if(!_0x1d94b7||!_0x1d94b7['target']||!_0x1d94b7['targetRect'])return;const _0x218915=this['_getTargetTop'](_0x1d94b7,_0x1d94b7['targetRect']);this['_setItemTop'](_0x3e0bff,_0x218915);}['_getTargetTop'](_0x4893db,_0x39fc61){if(null===_0x39fc61)return 0x0;if(_0x4893db['target']instanceof _0x20d411)return _0x39fc61['top'];{const _0x38c5b7=new _0x20d411(this['view']['element'])['top'];return _0x39fc61['top']-_0x38c5b7;}}['_setItemTop'](_0x3e54b1,_0x5ae845,_0x278b92=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x278b92&&(_0x5ae845=Math['max'](_0x5ae845,this['_getMaxAvailableTop'](_0x3e54b1))),_0x3e54b1['top']=_0x5ae845;}['_getMaxAvailableTop'](_0x97e29c){let _0x40a1c0=this['_getItemBefore'](_0x97e29c),_0x519e1e=0x0;for(;_0x40a1c0;)_0x40a1c0['updateHeight'](),_0x519e1e+=this['_spaceBetweenItems']+_0x40a1c0['height'],_0x40a1c0=this['_getItemBefore'](_0x40a1c0);return _0x519e1e;}}function jm(_0x3e7f19,_0x3c4de7){return Math['max'](_0x3e7f19-_0x3c4de7,0x0);}function Hm(_0x25ed89){return null!==_0x25ed89&&'object'==typeof _0x25ed89&&0x1===_0x25ed89['nodeType'];}class WideSidebar extends _0x90c2d8{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2834dd){super(_0x2834dd),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0xe4e0d0(),this['_refreshPositioningDebounced']=Vr(()=>{_0x2834dd['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x5082f9=this['context']['plugins']['get'](AnnotationsUIs),_0x3a32a1=this['context']['plugins']['get'](Sidebar);_0x5082f9['register']('wideSidebar',this),_0x3a32a1['container']&&_0x5082f9['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x38c0dd){if(_0x38c0dd===this['activeAnnotation'])return;const _0x4cbb8f=this['context']['plugins']['get'](Sidebar);_0x4cbb8f['_activeAnnotation']=_0x38c0dd;const _0x29e868=this['activeAnnotation'];_0x4cbb8f['refresh']({'blurredAnnotation':_0x29e868,'activatedAnnotation':_0x38c0dd}),this['activeAnnotation']=_0x38c0dd;}['attach'](_0x4a3336){this['annotations']=_0x4a3336;const _0x54ebd5=this['context']['plugins']['get'](Sidebar);if(_0x54ebd5['_annotations']=_0x4a3336,this['isAttached'])throw new _0x1976e8('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x54ebd5,'set:container',()=>{this['detach'](),this['listenTo'](_0x54ebd5,'change:container',_0x58e4a2=>{_0x58e4a2['off'](),this['attach'](_0x4a3336);});}),_0x54ebd5['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x4bc290=_0x5ed032=>{_0x5ed032['updateTargetRect'](),_0x54ebd5['addAnnotation'](_0x5ed032);};for(const _0x61bb6c of _0x4a3336)_0x4bc290(_0x61bb6c);this['listenTo'](_0x4a3336,'add',(_0xde1696,_0x32271a)=>{_0x4bc290(_0x32271a);}),this['listenTo'](_0x4a3336,'remove',(_0x37d92b,_0xdc1ee0,_0x4cb5d9)=>{_0x54ebd5['rearrange']({'removedAnnotation':_0xdc1ee0,'previousAnnotation':_0x4a3336['get'](_0x4cb5d9-0x1),'nextAnnotation':_0x4a3336['get'](_0x4cb5d9+0x1)}),_0xdc1ee0===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4a3336,'focus',(_0x41c6cd,_0x46210d)=>{this['setActiveAnnotation'](_0x46210d);}),this['listenTo'](_0x4a3336,'blur',()=>{this['setActiveAnnotation'](null);});const _0x43c2fd=this['context']instanceof _0x30e7b9?this['context']['editors']:new _0xe4e0d0([this['context']]);for(const _0x33f49d of _0x43c2fd)this['_integrateWithEditorAnnotations'](_0x33f49d);this['listenTo'](_0x43c2fd,'add',(_0x2d1ac9,_0x1fb34b)=>{this['listenTo'](_0x1fb34b,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1fb34b);});}),this['listenTo'](_0x43c2fd,'remove',(_0x539c4d,_0x435b57)=>{_0x435b57['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x435b57['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x1976e8('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4d6e97=this['context']['plugins']['get'](Sidebar);_0x4d6e97['_detachFromContainer'](this['annotations']),this['stopListening'](_0x4d6e97),this['stopListening'](this['annotations']),this['context']instanceof _0x30e7b9&&this['stopListening'](this['context']['editors']);for(const _0x535280 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x535280);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x54cd9c){if(!_0x54cd9c['plugins']['has']('EditorAnnotations'))return;const _0x1aa8c2=_0x54cd9c['plugins']['get']('EditorAnnotations'),_0x3517bc=()=>{const _0x552f04=_0x1aa8c2['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x552f04[0x0]||null);};this['listenTo'](_0x1aa8c2,'refresh',_0x3517bc),this['listenTo'](_0x1aa8c2,'blur',(_0x38a743,{isAnnotationTracked:_0x23a26a})=>{this['activeAnnotation']&&_0x23a26a(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1aa8c2,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x2c71e2=>{_0x1aa8c2['hasDomSelection']()&&(_0x3517bc(),_0x2c71e2['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1aa8c2);}['_destroyEditorAnnotationsIntegration'](_0x1f71c2){this['stopListening'](_0x1f71c2),this['_editorAnnotations']['remove'](_0x1f71c2);}}class AnnotationCounterButtonView extends _0x13bcd9{['counterView'];constructor(_0x3f27bf){super(_0x3f27bf);const _0x1f4384=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x38e08b,_0xff0088)=>_0x38e08b?'...':_0xff0088['toString']()),this['set']('annotationType',''),this['icon']=_0x492626,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x268b55(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x1f4384['to']('annotationType',_0x524b18=>'ck-annotation-counter__badge--'+_0x524b18),_0x1f4384['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x1f4384['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class NarrowSidebar extends _0x90c2d8{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1847e5){super(_0x1847e5),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x3b006d())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0xe4e0d0(),this['_refreshPositioningDebounced']=Vr(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new dt(this['context']['locale']),this['balloonPanelView']=new ft(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x5209ef){this['annotations']=_0x5209ef;const _0x5783b3=this['context']['plugins']['get'](Sidebar),_0x19cc36=this['balloonPanelView'];if(_0x5783b3['_annotations']=_0x5209ef,this['isAttached'])throw new _0x1976e8('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5783b3,'set:container',()=>{this['detach'](),this['listenTo'](_0x5783b3,'change:container',_0x2c755e=>{_0x2c755e['off'](),this['attach'](_0x5209ef);});}),_0x5783b3['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x41e89c=_0x35d558=>{const _0x58ef00=new AnnotationCounterButtonView(this['context']['locale']);_0x5783b3['addAnnotation'](_0x35d558,_0x58ef00),this['_annotationToNarrowView']['set'](_0x35d558,_0x58ef00),_0x58ef00['bind']('isDirty','annotationType','number')['to'](_0x35d558['view'],'isDirty','type','length'),_0x58ef00['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x19cc36['content']['first']!==_0x35d558['view']?(this['_showBalloon'](_0x35d558),_0x35d558['view']['element']['focus'](),this['setActiveAnnotation'](_0x35d558)):this['setActiveAnnotation'](null);});};for(const _0x14006d of _0x5209ef)_0x41e89c(_0x14006d);this['listenTo'](_0x5209ef,'add',(_0x3234e6,_0x1b2aeb)=>{_0x41e89c(_0x1b2aeb);}),this['listenTo'](_0x5209ef,'remove',(_0x57e311,_0x23f92f,_0xfd9da0)=>{this['_annotationToNarrowView']['get'](_0x23f92f)['destroy'](),this['_annotationToNarrowView']['delete'](_0x23f92f),_0x5783b3['rearrange']({'removedAnnotation':_0x23f92f,'previousAnnotation':_0x5209ef['get'](_0xfd9da0-0x1),'nextAnnotation':_0x5209ef['get'](_0xfd9da0+0x1)}),_0x23f92f===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x5209ef,'focus',(_0x4e4485,_0x5734a8)=>{this['setActiveAnnotation'](_0x5734a8);}),this['listenTo'](_0x5209ef,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x49aa64,_0x1ccb1a)=>{_0x1ccb1a['keyCode']===_0x2e23e1['esc']&&_0x19cc36['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x19cc36['content']['first']),this['_hideBalloon'](),_0x1ccb1a['stopPropagation'](),_0x1ccb1a['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x2fe706,_0x590174)=>{const _0x45c342=_0x590174['target'];_0x19cc36['isVisible']&&_0x19cc36['element']['contains'](_0x45c342)||_0x5783b3['view']['element']['contains'](_0x45c342)||_0x2fe706['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x10737e=>_0x10737e['contains'](_0x45c342))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x593b5f=this['context']instanceof _0x30e7b9?this['context']['editors']:new _0xe4e0d0([this['context']]);for(const _0x4c463b of _0x593b5f)this['_integrateWithEditorAnnotations'](_0x4c463b);this['listenTo'](_0x593b5f,'add',(_0x22c383,_0x5d5a42)=>{this['listenTo'](_0x5d5a42,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5d5a42);});}),this['listenTo'](_0x593b5f,'remove',(_0x2b0e49,_0x108524)=>{_0x108524['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x108524['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x25b580){if(_0x25b580===this['activeAnnotation'])return;const _0x1e5d22=this['context']['plugins']['get'](Sidebar);if(_0x1e5d22['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x25b580,'disableAnimationOnActivatedAnnotation':!0x0}),_0x25b580)_0x1e5d22['getSidebarItemView'](_0x25b580)?this['_showBalloon'](_0x25b580):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x25b580;}['detach'](){if(!this['isAttached'])throw new _0x1976e8('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x47ba93=this['context']['plugins']['get'](Sidebar);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x339922=>_0x339922['destroy']()),this['_annotationToNarrowView']['clear'](),_0x47ba93['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x30e7b9&&this['stopListening'](this['context']['editors']);for(const _0x3b32b3 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x3b32b3);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'](_0x3898d8){if(!_0x3898d8['plugins']['has']('EditorAnnotations'))return;const _0x179452=_0x3898d8['plugins']['get']('EditorAnnotations'),_0x55fe51=this['context']['plugins']['get'](Sidebar),_0x3dcf7e=this['annotations'],_0x2dfa3d=this['balloonPanelView'],_0x2ba051=()=>{const _0x113ea9=_0x179452['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x113ea9),this['setActiveAnnotation'](_0x113ea9[0x0]||null);};this['listenTo'](_0x179452,'refresh',_0x2ba051),this['listenTo'](_0x179452,'blur',(_0x20fe86,{isAnnotationTracked:_0xc212e2})=>{this['activeAnnotation']&&_0xc212e2(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x179452,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x3dcf7e,'blur',_0x1ee0b1=>{_0x179452['hasDomSelection']()&&_0x1ee0b1['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x3cd8c2,_0x1a606d)=>{const _0x2d44f1=_0x1a606d['target'];_0x2dfa3d['isVisible']&&_0x2dfa3d['element']['contains'](_0x2d44f1)||_0x55fe51['view']['element']['contains'](_0x2d44f1)||this['activeAnnotation']&&_0x179452['hasDomSelection']()&&(_0x2ba051(),_0x3cd8c2['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x179452);}['_destroyEditorAnnotationsIntegration'](_0x5059f5){_0x5059f5&&(this['stopListening'](_0x5059f5),this['_editorAnnotations']['remove'](_0x5059f5));}['_setSelectedAnnotations'](_0x1aa8a8){for(const _0x2882a8 of this['_selectedAnnotations'])_0x1aa8a8['includes'](_0x2882a8)||this['_manuallyClosedAnnotationViews']['delete'](_0x2882a8['view']);this['_selectedAnnotations']=_0x1aa8a8;}['_refreshPositioning'](){const _0x5eaa31=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x5eaa31['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x3759b5){if(this['_manuallyClosedAnnotationViews']['has'](_0x3759b5['view']))return;const _0x31924a=this['balloonPanelView']['content']['first'];_0x31924a!==_0x3759b5['view']?(_0x31924a&&this['_detachListeners'](_0x31924a),this['_attachListeners'](_0x3759b5['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x3759b5['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x2122d0=this['balloonPanelView']['content']['first'],_0x22c37b=_0x2122d0&&this['annotations']['getByView'](_0x2122d0);if(!_0x22c37b||!this['_annotationToNarrowView']['has'](_0x22c37b))return;const _0x14a6be=this['_annotationToNarrowView']['get'](_0x22c37b)['element'],_0x2e100e=(function(){const _0xb9b8e0=ft['defaultPositions'];return[_0xb9b8e0['southArrowNorthEast'],_0xb9b8e0['northArrowSouthEast'],_0xb9b8e0['southArrowNorth'],_0xb9b8e0['northArrowSouth'],_0xb9b8e0['southArrowNorthWest'],_0xb9b8e0['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x14a6be,'positions':_0x2e100e});}['_hideBalloon'](){const _0x418f9a=this['balloonPanelView'],_0x22c88c=_0x418f9a['content']['first'];_0x22c88c&&(this['_detachListeners'](_0x22c88c),_0x418f9a['unpin'](),_0x418f9a['content']['clear']());}['_attachListeners'](_0x46cb83){this['listenTo'](_0x46cb83,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x46cb83,'Esc',(_0x1b7082,_0x42cb59)=>{this['_manuallyClosedAnnotationViews']['add'](_0x46cb83),this['_hideBalloon'](),_0x42cb59();});}['_detachListeners'](_0x433648){this['stopListening'](_0x433648);}}class InlineAnnotations extends _0x4ac504{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,Dt,AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41a2ff){super(_0x41a2ff),_0x41a2ff['editing']['view']['addObserver'](_0x817dbf),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x41a2ff['plugins']['get'](Dt),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=Vr(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x2f0f2e=this['editor']['plugins']['get'](AnnotationsUIs);_0x2f0f2e['context']===this['editor']&&(_0x2f0f2e['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x3fcc99,_0x26322b)=>{const _0x82233c=this['_balloon'];if(this['isAttached']&&_0x82233c['visibleView']){const _0x369094=this['annotations']['getByView'](_0x82233c['visibleView']);_0x369094&&this['_closeAnnotation'](_0x369094),_0x26322b();}}));}['afterInit'](){const _0x6c22de=this['editor']['plugins']['get'](AnnotationsUIs);_0x6c22de['context']===this['editor']&&(_0x6c22de['hasActive']()||_0x6c22de['switchTo']('inline'));}['setActiveAnnotation'](_0x2ed647){_0x2ed647!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x2ed647&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x2ed647)&&this['_addAnnotationToBalloon'](_0x2ed647,!0x0),_0x2ed647['isActive']=!0x0),_0x2ed647||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x2ed647);}['attach'](_0x330bb4){this['annotations']=_0x330bb4;const _0x9dc95e=this['editor']['plugins']['get'](AnnotationsUIs),_0x3ef0ee=this['_balloon'];if(this['isAttached'])throw new _0x1976e8('inlineannotations-attach-already-attached',this);if(_0x9dc95e['context']!==this['editor'])throw new _0x1976e8('inlineannotations-not-allowed-with-context',this);const _0x3b7f0c=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x3b7f0c,'refresh',()=>{const _0x531674=_0x3b7f0c['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x59f236,_0x4eadd3;!this['_forceRefresh']&&(_0x59f236=_0x531674,_0x4eadd3=this['_selectedAnnotations'],_0x59f236['length']===_0x4eadd3['length']&&_0x59f236['every'](_0x1669e3=>_0x4eadd3['includes'](_0x1669e3)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x531674),this['setActiveAnnotation'](_0x531674[0x0]||null));}),this['listenTo'](_0x3b7f0c,'blur',(_0x1150bd,{isAnnotationTracked:_0x32e3c4})=>{this['activeAnnotation']&&_0x32e3c4(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x3b7f0c,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x4ebdcb,_0x1272ad,_0x7bf80b)=>{_0x7bf80b||this['setActiveAnnotation'](null);}),this['listenTo'](_0x330bb4,'remove',(_0x58ef97,_0x514e94)=>{this['_removeAnnotationFromBalloon'](_0x514e94),_0x514e94===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x3ef0ee,'change:visibleView',(_0x3d3668,_0x32c7b0,_0x58e7c0,_0x2b4d7b)=>{_0x2b4d7b&&this['stopListening'](_0x2b4d7b);const _0x20326b=_0x330bb4['getByView'](_0x58e7c0);_0x58e7c0&&_0x20326b&&(this['listenTo'](_0x58e7c0,'change:height',()=>{_0x3ef0ee['updatePosition']();}),this['listenTo'](_0x58e7c0,'Esc',()=>{this['_closeAnnotation'](_0x20326b),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x20326b&&this['setActiveAnnotation'](_0x20326b));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x3ef0ee['visibleView']&&(_0x330bb4['getByView'](_0x3ef0ee['visibleView'])&&_0x3ef0ee['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 _0x1976e8('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x1518b0 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x1518b0);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x10d5cb){for(const _0x3cdfdb of this['_selectedAnnotations'])_0x10d5cb['includes'](_0x3cdfdb)||this['_manuallyClosed']['delete'](_0x3cdfdb);for(const _0x522eb8 of this['annotations'])_0x10d5cb['includes'](_0x522eb8)||this['_removeAnnotationFromBalloon'](_0x522eb8);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x5784b4 of _0x10d5cb)this['_addAnnotationToBalloon'](_0x5784b4);}this['_selectedAnnotations']=_0x10d5cb;}['_addAnnotationToBalloon'](_0x14bff7,_0x4b9dcc=!0x1){this['_manuallyClosed']['has'](_0x14bff7)||(this['_addedAnnotations']['has'](_0x14bff7)||this['_balloon']['hasView'](_0x14bff7['view'])||(this['_addedAnnotations']['add'](_0x14bff7),this['_balloon']['add']({'stackId':_0x14bff7['view']['id'],'view':_0x14bff7['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x14bff7)}})),_0x4b9dcc&&this['_balloon']['showStack'](_0x14bff7['view']['id']));}['_getBalloonTargetForAnnotation'](_0x371e1b){const _0x28e341=_0x371e1b['target'],_0x1f86d2=this['editor']['editing']['view'],_0x3d6932=_0x1f86d2['document']['selection']['getFirstRange'](),_0x4f07ea=_0x1f86d2['domConverter']['viewRangeToDom'](_0x3d6932);if(_0x4f07ea['collapse'](!0x0),_0x28e341){if(_0x28e341 instanceof _0x20d411)return _0x28e341;let _0x156790=[];for(const _0x5ebfa9 of _0x28e341)_0x156790['push'](...Gm(_0x5ebfa9['getClientRects']()));_0x156790=function(_0x4c2e29){const _0x560f4c=[];let _0x2f92ec=_0x4c2e29[0x0];for(let _0x557a64=0x1;_0x557a64<_0x4c2e29['length'];_0x557a64++)Zm(_0x2f92ec,_0x4c2e29[_0x557a64])?_0x2f92ec['width']+=_0x4c2e29[_0x557a64]['width']:(_0x560f4c['push'](_0x2f92ec),_0x2f92ec=_0x4c2e29[_0x557a64]);return _0x560f4c['push'](_0x2f92ec),_0x560f4c;}(_0x156790);const _0x24945f=_0x4f07ea['getBoundingClientRect']();return _0x156790['find'](_0x111982=>_0x111982['top']<=_0x24945f['top']&&_0x111982['bottom']>=_0x24945f['bottom']&&_0x111982['left']<=_0x24945f['left']&&_0x111982['right']>=_0x24945f['right'])||_0x156790[0x0];}return _0x371e1b['targetRect']||_0x4f07ea;}['_removeAnnotationFromBalloon'](_0x1da579){this['_addedAnnotations']['has'](_0x1da579)&&this['_balloon']['hasView'](_0x1da579['view'])&&(this['_addedAnnotations']['delete'](_0x1da579),this['_balloon']['remove'](_0x1da579['view']));}['_closeAnnotation'](_0x4b80d2){this['_manuallyClosed']['add'](_0x4b80d2),this['_removeAnnotationFromBalloon'](_0x4b80d2);}}function Gm(_0x4175fe){return Array['from'](_0x4175fe)['map'](DOMRect['fromRect']);}function Zm(_0x100f60,_0x64ecae){return _0x100f60['top']===_0x64ecae['top']&&_0x100f60['bottom']===_0x64ecae['bottom']&&_0x100f60['right']===_0x64ecae['left'];}class CommentsArchiveView extends _0x268b55{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x20bca2,_0x38500d){super(_0x20bca2),this['set']('isEmpty',!_0x38500d['length']),this['focusTracker']=new _0xc1a0cc(),this['_annotationViews']=_0x38500d,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new tt({'focusables':_0x38500d,'focusTracker':this['focusTracker']}),this['listenTo'](_0x38500d,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x38500d,'remove',(_0x105a72,_0x12007f)=>{_0x12007f['isActive']&&this['focus'](),_0x38500d['length']||(this['isEmpty']=!0x0);});const _0x363122=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':Sm(_0x20bca2,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x38500d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x363122['if']('isEmpty','ck-hidden',_0x26fe63=>!_0x26fe63)]},'children':[{'text':Sm(_0x20bca2,'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 _0x523701 of this['_annotationViews'])this['focusTracker']['add'](_0x523701['element']);this['_annotationViews']['on']('change',(_0x5439df,{added:_0x1695af,removed:_0x3ffc20})=>{for(const _0x1d125d of _0x1695af)this['focusTracker']['add'](_0x1d125d['element']);for(const _0x83a4c3 of _0x3ffc20)this['focusTracker']['remove'](_0x83a4c3['element']);});}}class CommentsArchive extends _0x90c2d8{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x23cdb5){super(_0x23cdb5),this['archivedThreads']=new _0xe4e0d0();}['init'](){const _0x2ab45=this['context'],_0x4bf872=_0x2ab45['plugins']['get'](CommentsRepository),_0x229bb5=_0x2ab45['plugins']['get'](Annotations);this['listenTo'](_0x4bf872,'addCommentThread',(_0x155c8d,{threadId:_0x41b743})=>{const _0x22ead6=_0x4bf872['getCommentThread'](_0x41b743);_0x22ead6['archivedAt']&&this['archivedThreads']['add'](_0x22ead6,this['_calculatePosition'](_0x22ead6['archivedAt'])),this['listenTo'](_0x22ead6,'change:archivedAt',(_0x59e34e,_0x258984,_0x26e968)=>{_0x26e968?this['archivedThreads']['has'](_0x22ead6)||this['archivedThreads']['add'](_0x22ead6,this['_calculatePosition'](_0x22ead6['archivedAt'])):this['archivedThreads']['has'](_0x22ead6)&&this['archivedThreads']['remove'](_0x22ead6);});}),this['listenTo'](_0x4bf872,'removeCommentThread',(_0x41496f,{threadId:_0x485780})=>{const _0x4dbd0a=_0x4bf872['getCommentThread'](_0x485780);this['stopListening'](_0x4dbd0a),this['archivedThreads']['has'](_0x4dbd0a)&&this['archivedThreads']['remove'](_0x4dbd0a);},{'priority':'highest'}),this['listenTo'](_0x229bb5['collection'],'focus',(_0x568ae5,_0x140c9c)=>{_0x140c9c['isVisible']||(_0x140c9c['isActive']=!0x0,_0x229bb5['activate'](_0x140c9c));});}['_calculatePosition'](_0x4d4d84){const _0x596a4f=[...this['archivedThreads']]['findIndex'](_0x2bedb2=>_0x2bedb2['archivedAt']<_0x4d4d84);return _0x596a4f>-0x1?_0x596a4f:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x4ac504{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,it];}constructor(_0x2575e9){super(_0x2575e9),this['annotationViews']=new vt(),this['_pendingThreads']=[];}['init'](){const _0x4e0f6f=this['editor'],_0x2987e6=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x4e0f6f['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x13bcd9,!0x0)),_0x4e0f6f['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x22f81e=this['_createCommentsArchiveButton'](ot);return _0x22f81e['set']({'role':'menuitemcheckbox'}),_0x22f81e;});const _0x435337=_0x4e0f6f['plugins']['get'](CommentsArchive),_0x2c156a=_0x4e0f6f['plugins']['get']('Annotations'),_0x19ac2e=_0x4e0f6f['plugins']['get']('CommentsRepository');_0x435337['archivedThreads']['forEach'](_0x5d89a2=>{this['_handleNewThread'](_0x5d89a2);}),this['listenTo'](_0x435337['archivedThreads'],'add',(_0x111e63,_0x5daa27)=>{this['_handleNewThread'](_0x5daa27);}),this['listenTo'](_0x2c156a['collection'],'add',(_0x522eb0,_0x35c1c5)=>{const _0x556665=this['_pendingThreads']['find'](_0x464311=>{const _0x4bcbb7=_0x19ac2e['_threadToController']['get'](_0x464311);return _0x4bcbb7&&_0x35c1c5['innerView']===_0x4bcbb7['view'];});if(_0x556665){const _0x20401c=this['_calculatePosition'](_0x556665['archivedAt']);this['_addAnnotationToArchive'](_0x35c1c5,_0x20401c),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x556665),0x1);}}),this['listenTo'](_0x435337['archivedThreads'],'remove',(_0x507858,_0x5a567a)=>{const _0xb2dc7f=_0x4e0f6f['config']['get']('collaboration.channelId');if(!_0xb2dc7f||_0x5a567a['channelId']===_0xb2dc7f){if(this['_pendingThreads']['includes'](_0x5a567a))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x5a567a),0x1);else{const _0x48e8d2=_0x19ac2e['_threadToController']['get'](_0x5a567a),_0x45bace=_0x2c156a['getByInnerView'](_0x48e8d2['view']);this['annotationViews']['remove'](_0x45bace['view']),this['stopListening'](_0x45bace),this['stopListening'](_0x45bace['focusableElements']);}}}),this['listenTo'](_0x2c156a['collection'],'add',(_0x23b9cb,_0x66826a)=>{this['listenTo'](_0x66826a,'escape',_0x2987e6);}),this['listenTo'](_0x2c156a['collection'],'remove',(_0x4200a4,_0x510f97)=>{this['stopListening'](_0x510f97,'escape',_0x2987e6);});}['_addAnnotationToArchive'](_0x1060a7,_0xa503d6){this['listenTo'](_0x1060a7,'set:isVisible',_0x116fe3=>{_0x116fe3['return']=!0x1,_0x116fe3['stop']();}),this['annotationViews']['add'](_0x1060a7['view'],_0xa503d6);}['_handleNewThread'](_0x551d61){const _0x19798c=this['editor']['plugins']['get']('CommentsRepository'),_0x252b04=this['editor']['plugins']['get']('Annotations'),_0x221357=this['editor']['config']['get']('collaboration.channelId');if(!_0x221357||_0x551d61['channelId']===_0x221357){const _0x8dca70=_0x19798c['_threadToController']['get'](_0x551d61);if(!_0x8dca70)return void this['_pendingThreads']['push'](_0x551d61);const _0x6e7d8e=this['_calculatePosition'](_0x551d61['archivedAt']),_0x314d97=_0x252b04['getByInnerView'](_0x8dca70['view']);_0x314d97['isVisible']&&_0x252b04['_visibleAnnotations']['remove'](_0x314d97),this['_addAnnotationToArchive'](_0x314d97,_0x6e7d8e);}}['_calculatePosition'](_0x53145b){const _0x21e18c=this['editor']['config']['get']('collaboration.channelId'),_0x54d1a9=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x4a69b7=>_0x4a69b7['channelId']===_0x21e18c)['findIndex'](_0x66b67f=>_0x66b67f['archivedAt']<_0x53145b);return _0x54d1a9<0x0||_0x54d1a9>this['annotationViews']['length']?this['annotationViews']['length']:_0x54d1a9-0x1;}['_toggleDialog'](){const _0x1c8d15=this['editor'],_0x20e6a2=_0x1c8d15['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x1c8d15['locale'],this['annotationViews'])),'commentsArchive'===_0x20e6a2['id']?_0x20e6a2['hide']():_0x20e6a2['show']({'id':'commentsArchive','title':Sm(_0x1c8d15['locale'],'COMMENTS_ARCHIVE'),'icon':_0x2a0c90,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':at['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x55ac41,_0x5d8adb=!0x1){const _0xc8fe83=this['editor']['locale'],_0x1daef9=this['editor']['plugins']['get']('Dialog'),_0x36bd1b=new _0x55ac41(_0xc8fe83);return _0x36bd1b['bind']('isEnabled')['to'](this,'isEnabled'),_0x36bd1b['bind']('isOn')['to'](_0x1daef9,'id',_0x1fedff=>'commentsArchive'===_0x1fedff),_0x36bd1b['set']({'label':Sm(_0xc8fe83,'COMMENTS_ARCHIVE'),'icon':_0x2a0c90,'isToggleable':!0x0}),_0x5d8adb&&(_0x36bd1b['tooltip']=!0x0),this['listenTo'](_0x36bd1b,'execute',()=>this['_toggleDialog']()),_0x36bd1b;}['_hideDialogOnAnnotationEscape']=_0x5e1fd2=>{const _0x570fa3=_0x5e1fd2['source'];if(!this['annotationViews']['has'](_0x570fa3['view']))return;const _0x334380=this['editor']['plugins']['get']('Dialog');_0x334380['isOpen']&&'commentsArchive'===_0x334380['id']&&(_0x334380['hide'](),_0x5e1fd2['stop']());};}class Comments extends _0x4ac504{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,WideSidebar,NarrowSidebar,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Xm(_0x4ef529){let _0x1afa84='';for(const _0x3b0abc of _0x4ef529['getChildren']())_0x3b0abc instanceof _0x4ed4ec&&(_0x1afa84+=_0x3b0abc['data']);return _0x1afa84;}class DocumentOutlineUtils extends _0x4ac504{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x19231b=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2ec144=[];_0x19231b['model']['document']['on']('change',Vr(()=>{const _0xfd31da=_0x2ec144;_0x2ec144=this['_getOutlineDefinitions']();const _0x5cd908=_0x39ff12(_0xfd31da,_0x2ec144,(_0x2ef30a,_0x46ba73)=>_0x2ef30a['level']===_0x46ba73['level']&&_0x2ef30a['text']===_0x46ba73['text']&&_0x2ef30a['modelElement']===_0x46ba73['modelElement']),_0x234acd=_0x2d42c6(_0x5cd908,_0x2ec144),_0x5b75fe=this['_getActiveHeading'](),_0x12912c=_0x2ec144['findIndex'](_0xc49ea0=>_0xc49ea0['modelElement']===_0x5b75fe);_0x234acd['length']&&this['fire']('change',{'outlineDefinitions':_0x2ec144,'activeItemIndex':_0x12912c,'outlineChanges':_0x234acd}),this['fire']('activeItemIndex',{'index':_0x12912c});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x29b4c4=this['editor'],_0x5db2cd=[],_0x83b8c0=this['_headingNames'];for(const _0x21fc54 of _0x29b4c4['model']['document']['getRootNames']())_0x408d54(_0x29b4c4['model']['document']['getRoot'](_0x21fc54));function _0x408d54(_0x1488ac){for(const _0x103de7 of _0x1488ac['getChildren']())_0x103de7['is']('element')&&(_0x83b8c0['includes'](_0x103de7['name'])&&_0x5db2cd['push']({'level':_0x83b8c0['indexOf'](_0x103de7['name'])+0x1,'text':Xm(_0x103de7),'modelElement':_0x103de7}),_0x408d54(_0x103de7));}return _0x5db2cd;}['_getActiveHeading'](){const _0x2a3c6e=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x564ee5=new _0x515c2({'direction':'backward','startPosition':_0x2a3c6e});for(const _0x173387 of _0x564ee5)if(_0x173387['item']['is']('element')&&this['_headingNames']['includes'](_0x173387['item']['name']))return _0x173387['item'];}['_getHeadingNames'](){const _0x348ba1=this['editor']['config']['get']('documentOutline.headings');return _0x348ba1||function(_0x51d1fc){const _0x102055=_0x51d1fc['config']['get']('heading.options');return _0x102055?_0x102055['reduce']((_0x23d243,_0x1efd9b)=>('paragraph'!==_0x1efd9b['model']&&_0x23d243['push'](_0x1efd9b['model']),_0x23d243),[]):_0x51d1fc['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5101ac=this['editor'],_0x4c6c13=['h1','h2','h3','h4','h5','h6'],_0x19b59e=[];for(const _0x26d4bd of _0x4c6c13){const _0x3650df=_0x5101ac['editing']['view']['domConverter']['domToView'](document['createElement'](_0x26d4bd)),_0x4c579d=_0x5101ac['data']['toModel'](_0x3650df)['getChild'](0x0);_0x4c579d?.['is']('element')&&_0x19b59e['push'](_0x4c579d['name']);}this['_headingNames']=_0x19b59e;}}function qm(_0x4a913e,_0x14034d){const t=_0x4a913e['t'];switch(_0x14034d){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 _0x14034d;}}class DocumentOutlineItemView extends _0x268b55{constructor(_0x2a14fc,_0xcdcb84=!0x1){super(_0x2a14fc);const _0x3e34a3=this['bindTemplate'],_0x260831=_0xcdcb84?'['+qm(_0x2a14fc,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x158437=>!_0x158437),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3e34a3['to']('level',_0x3e44e9=>'ck-document-outline__item_level-'+_0x3e44e9),_0x3e34a3['if']('isActive','ck-document-outline__item_active'),_0x3e34a3['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3e34a3['to']('text')},'children':[{'text':_0x3e34a3['to']('text',_0x172fa4=>_0x172fa4||_0x260831)}],'on':{'click':_0x3e34a3['to']('click')}});}}class DocumentOutlineView extends _0x268b55{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x2874c2,_0x5e9f35=!0x1,_0xf7343){super(_0x2874c2),this['showEmptyHeadingText']=_0x5e9f35,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xf7343,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x5b9efa,_0x19bca7,_0x179f99,_0x1405ac)=>{this['_setActiveItem'](_0x1405ac,_0x179f99);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2874c2['contentLanguageDirection'],'data-document-outline-empty-placeholder':qm(_0x2874c2,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x414d9d){_0x414d9d['forEach'](_0x111cc4=>{'insert'==_0x111cc4['type']?this['_insertItem'](_0x111cc4['index'],..._0x111cc4['values']):'delete'==_0x111cc4['type']&&this['_deleteItem'](_0x111cc4['index'],_0x111cc4['howMany']);});}['_setActiveItem'](_0xd99544,_0x152896){if(-0x1!==_0xd99544){const _0x553b35=this['items']['get'](_0xd99544);_0x553b35&&(_0x553b35['isActive']=!0x1);}-0x1!==_0x152896&&(this['items']['get'](_0x152896)['isActive']=!0x0,this['_scrollToItem'](_0x152896));}['_insertItem'](_0x32edbb,..._0x1e35aa){const _0x1be36d=_0x1e35aa['map']((_0x545f67,_0x391a96)=>{const _0x1ce373=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x1ce373['text']=_0x545f67['text'],_0x1ce373['level']=_0x545f67['level'],_0x32edbb+_0x391a96===this['activeItemIndex']&&(_0x1ce373['isActive']=!0x0),_0x1ce373;});this['items']['addMany'](_0x1be36d,_0x32edbb);}['_deleteItem'](_0x4c8098,_0x316653){do{this['items']['remove'](_0x4c8098);}while(--_0x316653);}['_handleItemClick'](_0x3f5925){const _0xff2ce1=this['items']['getIndex'](_0x3f5925['source']);this['fire']('itemSelected',_0xff2ce1);}['_scrollToItem'](_0x393c51){_0x5be5fe(this['items']['get'](_0x393c51)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x4ac504{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35746f){super(_0x35746f),this['view']=new DocumentOutlineView(_0x35746f['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=Ur(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0xebd689=this['editor'],_0x15232b=_0xebd689['plugins']['get']('DocumentOutlineUtils');let _0x455c23=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0xebd689['config']['get']('documentOutline.container'))throw new _0x1976e8('document-outline-container-not-provided',{'editor':_0xebd689});_0xebd689['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x15232b['on']('change',this['_handleOutlineChange']['bind'](this)),_0x15232b['on']('activeItemIndex',(_0x14a10f,{index:_0x4dc192})=>this['_setActiveViewItem'](_0x4dc192)),this['view']['on']('itemSelected',(_0xd7bc77,_0x1f3c26)=>{_0x455c23=!0x0,this['_handleItemSelected'](_0x1f3c26);}),this['view']['listenTo'](_0x81fd87['document'],'scroll',()=>{_0x455c23?_0x455c23=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x81fd87['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x109062){const _0x1b2559=_0x401aa2([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]),_0x413051=0x1cb264a3,_0x3b47c5=0x1cb5eecb^_0x413051,_0x38a5f6=window[_0x401aa2([0x44,0x61,0x74,0x65])][_0x401aa2([0x6e,0x6f,0x77])](),_0x31fab7=_0x109062[_0x401aa2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x53f727=new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44bba3=>{_0x31fab7[_0x401aa2([0x6f,0x6e,0x63,0x65])](_0x401aa2([0x72,0x65,0x61,0x64,0x79]),_0x44bba3);}),_0x20a594={[_0x401aa2([0x6b,0x74,0x79])]:_0x401aa2([0x45,0x43]),[_0x401aa2([0x75,0x73,0x65])]:_0x401aa2([0x73,0x69,0x67]),[_0x401aa2([0x63,0x72,0x76])]:_0x401aa2([0x50,0x2d,0x32,0x35,0x36]),[_0x401aa2([0x78])]:_0x401aa2([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]),[_0x401aa2([0x79])]:_0x401aa2([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]),[_0x401aa2([0x61,0x6c,0x67])]:_0x401aa2([0x45,0x53,0x32,0x35,0x36])},_0xec5ba5=_0x31fab7[_0x401aa2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x401aa2([0x67,0x65,0x74])](_0x401aa2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d6a04(){let _0x42cdb5,_0x35594b=null,_0x5efacc=null;try{if(_0xec5ba5==_0x401aa2([0x47,0x50,0x4c]))return _0x401aa2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42cdb5=_0x3ff222(),!_0x42cdb5)return _0x401aa2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42cdb5[_0x401aa2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5efacc=_0x4d28a2(_0x42cdb5[_0x401aa2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42cdb5[_0x401aa2([0x6a,0x74,0x69])])),await _0x9336b3()?_0x305aee()?_0xd88f6()?_0x401aa2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a5299()?(_0x42cdb5[_0x401aa2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401aa2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35594b=_0x595530(_0x401aa2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31e290()):_0x401aa2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x401aa2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x401aa2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x401aa2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd88f6(){const _0x2a1c75=[_0x401aa2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x401aa2([0x74,0x72,0x69,0x61,0x6c])][_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42cdb5[_0x401aa2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38a5f6/0x3e8:0xe10*_0x3b47c5;return _0x42cdb5[_0x401aa2([0x65,0x78,0x70])]<_0x2a1c75;}function _0x305aee(){const _0x35c5e2=_0x42cdb5[_0x401aa2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35c5e2&&(!!_0x35c5e2[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401aa2([0x2a]))||(!!_0x35c5e2[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401aa2([0x44,0x4f]))||(!!_0x35c5e2[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401aa2([0x50,0x50]))||!(!_0x35c5e2[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401aa2([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2ca7cd()))));}function _0x4a5299(){const _0x48938d=_0x42cdb5[_0x401aa2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48938d||0x0==_0x48938d[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x195ccf}=new URL(window[_0x401aa2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48938d[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195ccf))return!0x0;const _0x2ded77=_0x195ccf[_0x401aa2([0x73,0x70,0x6c,0x69,0x74])](_0x401aa2([0x2e]));return _0x48938d[_0x401aa2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd1de=>_0x5cd1de[_0x401aa2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401aa2([0x2a])))[_0x401aa2([0x6d,0x61,0x70])](_0x3f6518=>_0x3f6518[_0x401aa2([0x73,0x70,0x6c,0x69,0x74])](_0x401aa2([0x2e])))[_0x401aa2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7dd1=>_0x5a7dd1[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ded77[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401aa2([0x6d,0x61,0x70])](_0x18ac76=>Array(_0x2ded77[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18ac76[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401aa2([0x66,0x69,0x6c,0x6c])](_0x18ac76[0x0]===_0x401aa2([0x2a])?_0x401aa2([0x2a]):'')[_0x401aa2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18ac76))[_0x401aa2([0x73,0x6f,0x6d,0x65])](_0x522455=>_0x2ded77[_0x401aa2([0x65,0x76,0x65,0x72,0x79])]((_0x209548,_0x1ab3fc)=>_0x522455[_0x1ab3fc]===_0x209548||_0x522455[_0x1ab3fc]===_0x401aa2([0x2a])));}function _0x31e290(){return _0x35594b&&_0x5efacc?new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32b141,_0x216ee6)=>{_0x35594b[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x32b141,_0x216ee6),_0x5efacc[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x31fe59=>{_0x31fe59!=_0x401aa2([0x56,0x61,0x6c,0x69,0x64])&&_0x32b141(_0x31fe59);},_0x216ee6);}):_0x35594b||_0x5efacc||_0x401aa2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d28a2(_0x50d347,_0x4bd5d8){return new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15d7a3=>{if(_0x53cda9())return _0x15d7a3(_0x401aa2([0x56,0x61,0x6c,0x69,0x64]));_0x38721a(),_0x31fab7[_0x401aa2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x401aa2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24c881=!0x1;const _0x5a929a=_0x288d30();function _0x14bb26(_0x3704c6){return!!_0x3704c6&&(typeof _0x3704c6===_0x401aa2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3704c6===_0x401aa2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3704c6[_0x401aa2([0x74,0x68,0x65,0x6e])]===_0x401aa2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3704c6[_0x401aa2([0x63,0x61,0x74,0x63,0x68])]===_0x401aa2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3076b0(_0x425d95){_0x427f0f(_0x425d95)[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x1898f2=>{if(!_0x1898f2||_0x1898f2[_0x401aa2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x401aa2([0x6f,0x6b]))return _0x401aa2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7be845(_0x3a3a72(_0x5a929a+_0x4bd5d8))!=_0x1898f2[_0x401aa2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x401aa2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x401aa2([0x56,0x61,0x6c,0x69,0x64]);})[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x1d9de6=>(_0x470cf4(),_0x1d9de6),()=>{const _0xc86f09=_0x4b464e();return null==_0xc86f09?(_0x470cf4(),_0x401aa2([0x56,0x61,0x6c,0x69,0x64])):_0x401aa2(_0x38a5f6-_0xc86f09>(0x38bee0a3^_0x413051)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x15d7a3)[_0x401aa2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15d7a3(_0x401aa2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53cc16=0x1c848a23^_0x413051;function _0x470cf4(){const _0xd5acdd=_0x401aa2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7be845(_0x3a3a72(_0x50d347)),_0x526045=_0x45c823(_0x7be845(window[_0x401aa2([0x4d,0x61,0x74,0x68])][_0x401aa2([0x63,0x65,0x69,0x6c])](_0x38a5f6/_0x53cc16)));window[_0x401aa2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401aa2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd5acdd,_0x526045);}function _0x4b464e(){const _0x1b2864=_0x401aa2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7be845(_0x3a3a72(_0x50d347)),_0x500886=window[_0x401aa2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401aa2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b2864);return _0x500886?window[_0x401aa2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c823(_0x500886),0x10)*_0x53cc16:null;}function _0x427f0f(_0x30f3f5){return new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x305c57,_0x5d7301)=>{_0x30f3f5[_0x401aa2([0x74,0x68,0x65,0x6e])](_0x305c57,_0x5d7301),window[_0x401aa2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d7301,0x1cb3b063^_0x413051);});}}_0x31fab7[_0x401aa2([0x6f,0x6e])](_0x401aa2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e8101,_0x532cd2)=>{if(_0x532cd2[0x0]!=_0x50d347)return _0x15d7a3(_0x401aa2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x532cd2[0x1]={..._0x532cd2[0x1],[_0x401aa2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a929a};},{[_0x401aa2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401aa2([0x68,0x69,0x67,0x68])}),_0x31fab7[_0x401aa2([0x6f,0x6e])](_0x401aa2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f657e=>{_0x14bb26(_0x3f657e[_0x401aa2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24c881=!0x0,_0x3076b0(_0x3f657e[_0x401aa2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x401aa2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401aa2([0x6c,0x6f,0x77])}),_0x53f727[_0x401aa2([0x74,0x68,0x65,0x6e])](()=>{_0x24c881||_0x15d7a3(_0x401aa2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53cda9(){return _0x31fab7[_0x401aa2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401aa2([0x76,0x69,0x65,0x77])][_0x401aa2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x401aa2([0x61,0x75,0x74,0x6f]);}function _0x38721a(){_0x31fab7[_0x401aa2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401aa2([0x76,0x69,0x65,0x77])][_0x401aa2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x401aa2([0x61,0x75,0x74,0x6f]);}}function _0x595530(_0x12028f){const _0xfd54c4=[new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b28d=>setTimeout(_0x43b28d,0x1cbb5a6f^_0x413051)),_0x53f727[_0x401aa2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3139de=>{let _0x580bef=0x0;_0x31fab7[_0x401aa2([0x6d,0x6f,0x64,0x65,0x6c])][_0x401aa2([0x6f,0x6e])](_0x401aa2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8e9138,_0x13ddc4)=>{_0x13ddc4[0x0][_0x401aa2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x580bef++,_0x580bef==(0x1cb2614b^_0x413051)&&(_0x3139de(),_0x8e9138[_0x401aa2([0x6f,0x66,0x66])]());});}))];return window[_0x401aa2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x401aa2([0x72,0x61,0x63,0x65])](_0xfd54c4)[_0x401aa2([0x74,0x68,0x65,0x6e])](()=>_0x12028f);}async function _0x4dbf41(){await _0x53f727,_0x31fab7[_0x401aa2([0x6d,0x6f,0x64,0x65,0x6c])][_0x401aa2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c8feb,_0x31fab7[_0x401aa2([0x6d,0x6f,0x64,0x65,0x6c])][_0x401aa2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c8feb,_0x31fab7[_0x401aa2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x401aa2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ca7cd(){return window[_0x401aa2([0x67,0x6c,0x6f,0x62])]&&window[_0x401aa2([0x67,0x6c,0x6f,0x62])][_0x401aa2([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x255c4e(_0x2045cb){const _0x5568cb=_0x150909();_0x31fab7[_0x5568cb]=_0x401aa2([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])+_0x2045cb,_0x2045cb!=_0x401aa2([0x56,0x61,0x6c,0x69,0x64])&&_0x4dbf41();}function _0x150909(){const _0x2c0aff=window[_0x401aa2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x401aa2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x401aa2([0x6e,0x6f,0x77])]())[_0x401aa2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x401aa2([0x2e]),'');let _0x5710c3=_0x401aa2([0x61]);for(let _0x43cbc4=0x0;_0x43cbc4<_0x2c0aff[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43cbc4+=0x2){let _0x14a049=window[_0x401aa2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c0aff[_0x401aa2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43cbc4,_0x43cbc4+0x2));_0x14a049>=_0x1b2559[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14a049-=_0x1b2559[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5710c3+=_0x1b2559[_0x14a049];}return _0x5710c3;}function _0x3ff222(){const _0x13a2f7=_0xec5ba5[_0x401aa2([0x73,0x70,0x6c,0x69,0x74])](_0x401aa2([0x2e]));if(0x3!=_0x13a2f7[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ffa42(_0x13a2f7[0x1]);function _0x1ffa42(_0x395d48){const _0x1793c1=_0x178744(_0x395d48);return _0x1793c1&&_0x13c6db()?_0x1793c1:null;function _0x13c6db(){const _0x4f235f=_0x1793c1[_0x401aa2([0x6a,0x74,0x69])],_0x2dff73=window[_0x401aa2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f235f[_0x401aa2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f235f[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x581d57={..._0x1793c1,[_0x401aa2([0x6a,0x74,0x69])]:_0x4f235f[_0x401aa2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f235f[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x581d57[_0x401aa2([0x76,0x63])],_0x3a3a72(_0x581d57)==_0x2dff73;}}}async function _0x9336b3(){let _0x252338=!0x0;try{const _0x5dc217=_0xec5ba5[_0x401aa2([0x73,0x70,0x6c,0x69,0x74])](_0x401aa2([0x2e])),[_0x54ac09,_0x192588,_0x1cf41a]=_0x5dc217;return _0x305564(_0x54ac09),await _0x374edc(_0x54ac09,_0x192588,_0x1cf41a),_0x252338;}catch{return!0x1;}function _0x305564(_0x4b9b8c){const _0x3e350a=_0x178744(_0x4b9b8c);_0x3e350a&&_0x3e350a[_0x401aa2([0x61,0x6c,0x67])]==_0x401aa2([0x45,0x53,0x32,0x35,0x36])||(_0x252338=!0x1);}async function _0x374edc(_0xd11f04,_0x58c6a1,_0x3048df){const _0x593826=window[_0x401aa2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x401aa2([0x66,0x72,0x6f,0x6d])](_0x14e02a(_0x3048df),_0x4c5940=>_0x4c5940[_0x401aa2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x578caa=new window[(_0x401aa2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x401aa2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd11f04+_0x401aa2([0x2e])+_0x58c6a1),_0x23b626=window[_0x401aa2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x401aa2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x23b626)return;const _0x4207a0=await _0x23b626[_0x401aa2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x401aa2([0x6a,0x77,0x6b]),_0x20a594,{[_0x401aa2([0x6e,0x61,0x6d,0x65])]:_0x401aa2([0x45,0x43,0x44,0x53,0x41]),[_0x401aa2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x401aa2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x401aa2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x23b626[_0x401aa2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x401aa2([0x6e,0x61,0x6d,0x65])]:_0x401aa2([0x45,0x43,0x44,0x53,0x41]),[_0x401aa2([0x68,0x61,0x73,0x68])]:{[_0x401aa2([0x6e,0x61,0x6d,0x65])]:_0x401aa2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4207a0,_0x593826,_0x578caa)||(_0x252338=!0x1);}}function _0x178744(_0x16ea5b){return _0x16ea5b[_0x401aa2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x401aa2([0x65,0x79]))?JSON[_0x401aa2([0x70,0x61,0x72,0x73,0x65])](_0x14e02a(_0x16ea5b)):null;}function _0x14e02a(_0x2c73d){return window[_0x401aa2([0x61,0x74,0x6f,0x62])](_0x2c73d[_0x401aa2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x401aa2([0x2b]))[_0x401aa2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x401aa2([0x2f])));}function _0x3a3a72(_0x714650){let _0x22ef77=0x1505;function _0x2d8150(_0x4cea15){for(let _0x16d48f=0x0;_0x16d48f<_0x4cea15[_0x401aa2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16d48f++){const _0x2b0fb8=_0x4cea15[_0x401aa2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16d48f);_0x22ef77=(_0x22ef77<<0x5)+_0x22ef77+_0x2b0fb8,_0x22ef77&=_0x22ef77;}}function _0x3abee7(_0x148964){Array[_0x401aa2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x148964)?_0x148964[_0x401aa2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3abee7):_0x148964&&typeof _0x148964==_0x401aa2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x401aa2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x148964)[_0x401aa2([0x73,0x6f,0x72,0x74])]()[_0x401aa2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x494b9a,_0x56c6ce])=>{_0x2d8150(_0x494b9a),_0x3abee7(_0x56c6ce);}):_0x2d8150(window[_0x401aa2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x148964));}return _0x3abee7(_0x714650),_0x22ef77>>>0x0;}function _0x7be845(_0x5c13c0){return _0x5c13c0[_0x401aa2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x401aa2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x401aa2([0x30]));}function _0x45c823(_0x35e5b3){return _0x35e5b3[_0x401aa2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x401aa2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x401aa2([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c8feb(){}function _0x401aa2(_0x51e58b){return _0x51e58b['map'](_0x28ab6a=>String['fromCharCode'](_0x28ab6a))['join']('');}_0x255c4e(await _0x1d6a04());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x48d762,{outlineDefinitions:_0x4c6ef9,outlineChanges:_0x40a180}){this['_currentOutlineDefinitions']=_0x4c6ef9,this['view']['sync'](_0x40a180);}['_setActiveViewItem'](_0x7941d8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x7941d8]&&(this['view']['activeItemIndex']=_0x7941d8);}['_handleItemSelected'](_0x56b283){const _0x430050=this['_currentOutlineDefinitions'][_0x56b283]['modelElement'];this['editor']['model']['change'](_0x1fa4a1=>{_0x1fa4a1['setSelection'](_0x430050,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x56b283);}['_updateActiveDefinitionOnViewportChange'](){const _0xb65468=this['editor'];let _0x4245a5;for(const _0x3491f4 of _0xb65468['model']['document']['getRootNames']()){const _0x394298=_0xb65468['editing']['view']['getDomRoot'](_0x3491f4),_0x1333b9=_0x394298&&new _0x20d411(_0x394298)['getVisible']();if(_0x1333b9){const _0x3d9a95=new _0x20d411(_0x81fd87['window'])['getIntersection'](_0x1333b9);_0x3d9a95&&(_0x4245a5=_0x3d9a95['top']+0.25*_0x3d9a95['height']);}}if(void 0x0===_0x4245a5)return;const _0x4eeeb2=Wm(_0xb65468['editing'],this['_currentOutlineDefinitions'],_0x4245a5);_0x4eeeb2?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x4eeeb2)):this['_setActiveViewItem'](-0x1);}}function Wm(_0x2b2610,_0x52c415,_0x51a601,_0x5a60ad=0x0,_0x23dfd5=_0x52c415['length']-0x1){const _0x33d001=Math['floor'](_0x5a60ad+(_0x23dfd5-_0x5a60ad)/0x2);if(_0x23dfd5>=_0x5a60ad){const _0x58f960=_0x52c415[_0x33d001],_0x2fdbb5=_0x2b2610['mapper']['toViewElement'](_0x58f960['modelElement']);if(!_0x2fdbb5)return null;const _0x3f9f86=_0x2b2610['view']['domConverter']['mapViewToDom'](_0x2fdbb5);return new _0x20d411(_0x3f9f86)['bottom']>_0x51a601?Wm(_0x2b2610,_0x52c415,_0x51a601,_0x5a60ad,_0x33d001-0x1):Wm(_0x2b2610,_0x52c415,_0x51a601,_0x33d001+0x1,_0x23dfd5);}return _0x33d001<0x0?null:_0x52c415[_0x33d001];}class DocumentOutline extends _0x4ac504{['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 _0xe83353=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25cf5e;for(const _0x3acc8f in _0xe83353){const _0x561089=_0x3acc8f,_0x3e342c=_0xe83353[_0x561089];if('documentOutlineLicenseKeyValid'==_0x3e342c||'documentOutlineLicenseKeyInvalid'==_0x3e342c||'documentOutlineLicenseKeyExpired'==_0x3e342c||'documentOutlineLicenseKeyDomainLimit'==_0x3e342c||'documentOutlineLicenseKeyNotAllowed'==_0x3e342c||'documentOutlineLicenseKeyEvaluationLimit'==_0x3e342c||'documentOutlineLicenseKeyUsageLimit'==_0x3e342c){delete _0xe83353[_0x561089],_0x25cf5e=_0x3e342c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x25cf5e&&_0xe83353['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x25cf5e&&_0xe83353['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x25cf5e&&_0xe83353['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x25cf5e&&_0xe83353['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x25cf5e&&_0xe83353['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x25cf5e&&_0xe83353['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x1110b9{['execute'](){this['editor']['model']['change'](_0x5cc31e=>{this['editor']['model']['insertObject'](_0x5cc31e['createElement']('tableOfContents'));});}['refresh'](){const _0x6949bb=this['editor']['model'],_0x25147f=_0x6949bb['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x25147f&&_0x6949bb['schema']['findAllowedParent'](_0x25147f,'tableOfContents'));}}class HeadingId extends _0x4ac504{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4e8eb6=this['editor'];if(_0x4e8eb6['config']['get']('headingId.modelAttributeName'))return;const _0x241fb8=function(_0x3d8050){const _0x37020b=new Map();if(_0x3d8050)return _0x3d8050['forEach'](_0x339b4e=>{'paragraph'!==_0x339b4e['model']&&_0x37020b['set'](_0x339b4e['view'],_0x339b4e['model']);}),_0x37020b['get']('h1')||_0x37020b['set']('h1','heading1'),_0x37020b;return _0x37020b;}(this['editor']['config']['get']('heading.options'));_0x241fb8['forEach']((_0x4d30d6,_0x499b6d)=>{this['_customUpcastHeadingsConversion'](_0x499b6d),this['_customDataDowncastHeadingsConversion'](_0x4d30d6),_0x4e8eb6['model']['schema']['isRegistered'](_0x4d30d6)&&_0x4e8eb6['model']['schema']['extend'](_0x4d30d6,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x2ebb3a){this['editor']['conversion']['for']('upcast')['add'](_0x5ace09=>_0x5ace09['on']('element:'+_0x2ebb3a,(_0x22f4c5,_0x32c4ed,_0x1658e7)=>{const {consumable:_0x9de60f,writer:_0x324da6}=_0x1658e7,_0x206006=_0x32c4ed['viewItem']['getAttribute']('id'),_0xbfcbed=_0x32c4ed['modelRange']['getContainedElement']();if(_0xbfcbed)return _0x206006&&_0x206006['length']||_0xbfcbed['hasAttribute']('headingId')?void(_0x9de60f['consume'](_0x32c4ed['viewItem'],{'attributes':['id']})&&_0x324da6['setAttribute']('headingId',_0x206006,_0xbfcbed)):(_0x9de60f['consume'](_0x32c4ed['viewItem'],{'attributes':['id']}),void _0x324da6['setAttribute']('headingId',_0x288d30(),_0xbfcbed));},{'priority':_0x31e080['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1e479a){this['editor']['conversion']['for']('downcast')['add'](_0x2e9182=>_0x2e9182['on']('attribute:headingId:'+_0x1e479a,(_0x44ac70,_0x4999c8,_0x12b3d8)=>{if(!_0x12b3d8['consumable']['consume'](_0x4999c8['item'],_0x44ac70['name']))return;const _0x8da591=_0x4999c8['item']['getAttribute']('headingId'),_0x4b3090=_0x12b3d8['mapper']['toViewElement'](_0x4999c8['item']);_0x12b3d8['writer']['setAttribute']('id',_0x8da591,_0x4b3090);}));}['_registerHeadingIdAttributePostfixer'](){const _0x48f890=this['editor'],_0x20da7c=new Set(),_0x5884bb=new Set();function _0x37dfef(_0x1e60aa,_0xad2063){const _0x5629d5=_0x288d30();return _0x5884bb['add'](_0x5629d5),_0x1e60aa['setAttribute']('headingId',_0x5629d5,_0xad2063),_0x5629d5;}function _0x346263(_0xb2c232,_0x45ada1){_0xb2c232['removeAttribute']('headingId',_0x45ada1);}_0x48f890['model']['document']['registerPostFixer'](_0x4a8ccc=>{const _0x361c4d=_0x48f890['model']['document']['differ']['getChanges']();let _0x4b7d52=!0x1;for(const _0x422f48 of _0x361c4d)if('insert'==_0x422f48['type']&&_0x422f48['name']){if(zm(_0x422f48['name'])){const _0x322f84=_0x422f48['attributes']['get']('headingId');'string'==typeof _0x322f84?_0x20da7c['has'](_0x322f84)?(_0x37dfef(_0x4a8ccc,_0x422f48['position']['nodeAfter']),_0x4b7d52=!0x0):_0x5884bb['add'](_0x322f84):(_0x37dfef(_0x4a8ccc,_0x422f48['position']['nodeAfter']),_0x4b7d52=!0x0);}else'string'==typeof _0x422f48['attributes']['get']('headingId')&&(_0x346263(_0x4a8ccc,_0x422f48['position']['nodeAfter']),_0x4b7d52=!0x0);}else{if('remove'==_0x422f48['type']){const _0x570ee0=_0x422f48['attributes']['get']('headingId');'string'==typeof _0x570ee0&&_0x20da7c['delete'](_0x570ee0);}}return _0x4b7d52;}),_0x48f890['model']['document']['on']('change',()=>{_0x5884bb['forEach'](_0x2cb893=>_0x20da7c['add'](_0x2cb893)),_0x5884bb['clear']();});}}function zm(_0x3a6304){return!!_0x3a6304['match'](/heading\d/);}class TableOfContentsEditing extends _0x4ac504{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x505afd,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3e6df4){super(_0x3e6df4),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0xb913e0=this['editor'],_0x94f5c8=_0xb913e0['editing']['view']['document'];_0xb913e0['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0xb913e0['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x94f5c8,'click',(_0x522754,_0x4ce6c2)=>{if(!_0x4ce6c2['target'])return;const _0x4023af=_0x4ce6c2['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4023af)&&(_0x4ce6c2['domEvent']['preventDefault'](),_0x522754['stop'](),this['_handleScrollToHeading'](_0x4023af));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0xb913e0['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0xb913e0)),(_0xb913e0['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x504a4b,_0x159dfc)=>{this['_currentOutlineDefinitions']=_0x159dfc['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0xb913e0['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1d6406){const _0x2d8f50=_0x1693f6([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]),_0x44cc8a=0x6b9b05fd,_0x51801a=0x6b9c8f95^_0x44cc8a,_0x49af59=window[_0x1693f6([0x44,0x61,0x74,0x65])][_0x1693f6([0x6e,0x6f,0x77])](),_0x10eb7d=_0x1d6406[_0x1693f6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44b8c3=new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8986b1=>{_0x10eb7d[_0x1693f6([0x6f,0x6e,0x63,0x65])](_0x1693f6([0x72,0x65,0x61,0x64,0x79]),_0x8986b1);}),_0x438786={[_0x1693f6([0x6b,0x74,0x79])]:_0x1693f6([0x45,0x43]),[_0x1693f6([0x75,0x73,0x65])]:_0x1693f6([0x73,0x69,0x67]),[_0x1693f6([0x63,0x72,0x76])]:_0x1693f6([0x50,0x2d,0x32,0x35,0x36]),[_0x1693f6([0x78])]:_0x1693f6([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]),[_0x1693f6([0x79])]:_0x1693f6([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]),[_0x1693f6([0x61,0x6c,0x67])]:_0x1693f6([0x45,0x53,0x32,0x35,0x36])},_0x1eb533=_0x10eb7d[_0x1693f6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1693f6([0x67,0x65,0x74])](_0x1693f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x471f8d(){let _0x498c61,_0x4a1834=null,_0x428ea4=null;try{if(_0x1eb533==_0x1693f6([0x47,0x50,0x4c]))return _0x1693f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x498c61=_0x1211a1(),!_0x498c61)return _0x1693f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x498c61[_0x1693f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x428ea4=_0xb073b1(_0x498c61[_0x1693f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x498c61[_0x1693f6([0x6a,0x74,0x69])])),await _0x3fd342()?_0x29d897()?_0x1cc363()?_0x1693f6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40cfe6()?(_0x498c61[_0x1693f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1693f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a1834=_0x4953a0(_0x1693f6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa35373()):_0x1693f6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1693f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1693f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1693f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1cc363(){const _0x5c045d=[_0x1693f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1693f6([0x74,0x72,0x69,0x61,0x6c])][_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498c61[_0x1693f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49af59/0x3e8:0xe10*_0x51801a;return _0x498c61[_0x1693f6([0x65,0x78,0x70])]<_0x5c045d;}function _0x29d897(){const _0x4e64f0=_0x498c61[_0x1693f6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e64f0&&(!!_0x4e64f0[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1693f6([0x2a]))||(!!_0x4e64f0[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1693f6([0x54,0x4f,0x43]))||(!!_0x4e64f0[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1693f6([0x50,0x50]))||!(!_0x4e64f0[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1693f6([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2b7c2f()))));}function _0x40cfe6(){const _0x432302=_0x498c61[_0x1693f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x432302||0x0==_0x432302[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5408e3}=new URL(window[_0x1693f6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x432302[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5408e3))return!0x0;const _0x401d02=_0x5408e3[_0x1693f6([0x73,0x70,0x6c,0x69,0x74])](_0x1693f6([0x2e]));return _0x432302[_0x1693f6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x570c16=>_0x570c16[_0x1693f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1693f6([0x2a])))[_0x1693f6([0x6d,0x61,0x70])](_0x3f696b=>_0x3f696b[_0x1693f6([0x73,0x70,0x6c,0x69,0x74])](_0x1693f6([0x2e])))[_0x1693f6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x322f01=>_0x322f01[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x401d02[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1693f6([0x6d,0x61,0x70])](_0x457da3=>Array(_0x401d02[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x457da3[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1693f6([0x66,0x69,0x6c,0x6c])](_0x457da3[0x0]===_0x1693f6([0x2a])?_0x1693f6([0x2a]):'')[_0x1693f6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x457da3))[_0x1693f6([0x73,0x6f,0x6d,0x65])](_0x51c151=>_0x401d02[_0x1693f6([0x65,0x76,0x65,0x72,0x79])]((_0xc2af27,_0x4037a3)=>_0x51c151[_0x4037a3]===_0xc2af27||_0x51c151[_0x4037a3]===_0x1693f6([0x2a])));}function _0xa35373(){return _0x4a1834&&_0x428ea4?new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b663,_0xe06b39)=>{_0x4a1834[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x12b663,_0xe06b39),_0x428ea4[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x4c4f7f=>{_0x4c4f7f!=_0x1693f6([0x56,0x61,0x6c,0x69,0x64])&&_0x12b663(_0x4c4f7f);},_0xe06b39);}):_0x4a1834||_0x428ea4||_0x1693f6([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb073b1(_0xd37f5b,_0x158af1){return new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53f2f6=>{if(_0x5c67b1())return _0x53f2f6(_0x1693f6([0x56,0x61,0x6c,0x69,0x64]));_0x3d44a8(),_0x10eb7d[_0x1693f6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1693f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa2d5b5=!0x1;const _0x3975e2=_0x288d30();function _0x5c1bbb(_0x53068d){return!!_0x53068d&&(typeof _0x53068d===_0x1693f6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53068d===_0x1693f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53068d[_0x1693f6([0x74,0x68,0x65,0x6e])]===_0x1693f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53068d[_0x1693f6([0x63,0x61,0x74,0x63,0x68])]===_0x1693f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x929c88(_0x7cd4de){_0x507624(_0x7cd4de)[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x52bfaa=>{if(!_0x52bfaa||_0x52bfaa[_0x1693f6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1693f6([0x6f,0x6b]))return _0x1693f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a2300(_0x24775e(_0x3975e2+_0x158af1))!=_0x52bfaa[_0x1693f6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1693f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1693f6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x212164=>(_0x17f703(),_0x212164),()=>{const _0x608c4d=_0x4d2620();return null==_0x608c4d?(_0x17f703(),_0x1693f6([0x56,0x61,0x6c,0x69,0x64])):_0x1693f6(_0x49af59-_0x608c4d>(0x4f9781fd^_0x44cc8a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x53f2f6)[_0x1693f6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53f2f6(_0x1693f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcd7bdd=0x6badeb7d^_0x44cc8a;function _0x17f703(){const _0x31dec5=_0x1693f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2300(_0x24775e(_0xd37f5b)),_0x49f1d9=_0x3c26ec(_0x3a2300(window[_0x1693f6([0x4d,0x61,0x74,0x68])][_0x1693f6([0x63,0x65,0x69,0x6c])](_0x49af59/_0xcd7bdd)));window[_0x1693f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1693f6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31dec5,_0x49f1d9);}function _0x4d2620(){const _0x4c128a=_0x1693f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2300(_0x24775e(_0xd37f5b)),_0x34f7f6=window[_0x1693f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1693f6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c128a);return _0x34f7f6?window[_0x1693f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c26ec(_0x34f7f6),0x10)*_0xcd7bdd:null;}function _0x507624(_0x245539){return new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c41d2,_0x46a329)=>{_0x245539[_0x1693f6([0x74,0x68,0x65,0x6e])](_0x4c41d2,_0x46a329),window[_0x1693f6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46a329,0x6b9ad13d^_0x44cc8a);});}}_0x10eb7d[_0x1693f6([0x6f,0x6e])](_0x1693f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x112000,_0x197aa7)=>{if(_0x197aa7[0x0]!=_0xd37f5b)return _0x53f2f6(_0x1693f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x197aa7[0x1]={..._0x197aa7[0x1],[_0x1693f6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3975e2};},{[_0x1693f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1693f6([0x68,0x69,0x67,0x68])}),_0x10eb7d[_0x1693f6([0x6f,0x6e])](_0x1693f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23b087=>{_0x5c1bbb(_0x23b087[_0x1693f6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa2d5b5=!0x0,_0x929c88(_0x23b087[_0x1693f6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1693f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1693f6([0x6c,0x6f,0x77])}),_0x44b8c3[_0x1693f6([0x74,0x68,0x65,0x6e])](()=>{_0xa2d5b5||_0x53f2f6(_0x1693f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c67b1(){return _0x10eb7d[_0x1693f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1693f6([0x76,0x69,0x65,0x77])][_0x1693f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1693f6([0x61,0x75,0x74,0x6f]);}function _0x3d44a8(){_0x10eb7d[_0x1693f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1693f6([0x76,0x69,0x65,0x77])][_0x1693f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1693f6([0x61,0x75,0x74,0x6f]);}}function _0x4953a0(_0x1cd513){const _0x266505=[new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d50f1=>setTimeout(_0x4d50f1,0x6b923b31^_0x44cc8a)),_0x44b8c3[_0x1693f6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a34b=>{let _0x1238f8=0x0;_0x10eb7d[_0x1693f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1693f6([0x6f,0x6e])](_0x1693f6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44f89e,_0x24a3af)=>{_0x24a3af[0x0][_0x1693f6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1238f8++,_0x1238f8==(0x6b9b0015^_0x44cc8a)&&(_0x35a34b(),_0x44f89e[_0x1693f6([0x6f,0x66,0x66])]());});}))];return window[_0x1693f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1693f6([0x72,0x61,0x63,0x65])](_0x266505)[_0x1693f6([0x74,0x68,0x65,0x6e])](()=>_0x1cd513);}async function _0x340b49(){await _0x44b8c3,_0x10eb7d[_0x1693f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1693f6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40f9b3,_0x10eb7d[_0x1693f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1693f6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40f9b3,_0x10eb7d[_0x1693f6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1693f6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b7c2f(){return window[_0x1693f6([0x67,0x6c,0x6f,0x62])]&&window[_0x1693f6([0x67,0x6c,0x6f,0x62])][_0x1693f6([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x26bb8a(_0x129ec0){const _0x4148c8=_0x4bd7f9();_0x10eb7d[_0x4148c8]=_0x1693f6([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])+_0x129ec0,_0x129ec0!=_0x1693f6([0x56,0x61,0x6c,0x69,0x64])&&_0x340b49();}function _0x4bd7f9(){const _0x1bc51a=window[_0x1693f6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1693f6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1693f6([0x6e,0x6f,0x77])]())[_0x1693f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1693f6([0x2e]),'');let _0x5f01ad=_0x1693f6([0x6d]);for(let _0x47227c=0x0;_0x47227c<_0x1bc51a[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47227c+=0x2){let _0x2680ab=window[_0x1693f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc51a[_0x1693f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47227c,_0x47227c+0x2));_0x2680ab>=_0x2d8f50[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2680ab-=_0x2d8f50[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f01ad+=_0x2d8f50[_0x2680ab];}return _0x5f01ad;}function _0x1211a1(){const _0x3c7d91=_0x1eb533[_0x1693f6([0x73,0x70,0x6c,0x69,0x74])](_0x1693f6([0x2e]));if(0x3!=_0x3c7d91[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10605d(_0x3c7d91[0x1]);function _0x10605d(_0x13ed79){const _0x158683=_0x57e992(_0x13ed79);return _0x158683&&_0x4b9bbd()?_0x158683:null;function _0x4b9bbd(){const _0x2cec8a=_0x158683[_0x1693f6([0x6a,0x74,0x69])],_0x384d15=window[_0x1693f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cec8a[_0x1693f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cec8a[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x493523={..._0x158683,[_0x1693f6([0x6a,0x74,0x69])]:_0x2cec8a[_0x1693f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cec8a[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x493523[_0x1693f6([0x76,0x63])],_0x24775e(_0x493523)==_0x384d15;}}}async function _0x3fd342(){let _0x53fdbb=!0x0;try{const _0x2cda1f=_0x1eb533[_0x1693f6([0x73,0x70,0x6c,0x69,0x74])](_0x1693f6([0x2e])),[_0x40c2c0,_0x4340d7,_0x245c9f]=_0x2cda1f;return _0x514656(_0x40c2c0),await _0x468448(_0x40c2c0,_0x4340d7,_0x245c9f),_0x53fdbb;}catch{return!0x1;}function _0x514656(_0x5599ce){const _0x2a38b7=_0x57e992(_0x5599ce);_0x2a38b7&&_0x2a38b7[_0x1693f6([0x61,0x6c,0x67])]==_0x1693f6([0x45,0x53,0x32,0x35,0x36])||(_0x53fdbb=!0x1);}async function _0x468448(_0x1b517e,_0x17915e,_0x569377){const _0x19d4f6=window[_0x1693f6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1693f6([0x66,0x72,0x6f,0x6d])](_0x425e65(_0x569377),_0x6c20a4=>_0x6c20a4[_0x1693f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378d0c=new window[(_0x1693f6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1693f6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b517e+_0x1693f6([0x2e])+_0x17915e),_0xc0be97=window[_0x1693f6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1693f6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc0be97)return;const _0x524bff=await _0xc0be97[_0x1693f6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1693f6([0x6a,0x77,0x6b]),_0x438786,{[_0x1693f6([0x6e,0x61,0x6d,0x65])]:_0x1693f6([0x45,0x43,0x44,0x53,0x41]),[_0x1693f6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1693f6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1693f6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc0be97[_0x1693f6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1693f6([0x6e,0x61,0x6d,0x65])]:_0x1693f6([0x45,0x43,0x44,0x53,0x41]),[_0x1693f6([0x68,0x61,0x73,0x68])]:{[_0x1693f6([0x6e,0x61,0x6d,0x65])]:_0x1693f6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x524bff,_0x19d4f6,_0x378d0c)||(_0x53fdbb=!0x1);}}function _0x57e992(_0x419143){return _0x419143[_0x1693f6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1693f6([0x65,0x79]))?JSON[_0x1693f6([0x70,0x61,0x72,0x73,0x65])](_0x425e65(_0x419143)):null;}function _0x425e65(_0x144dce){return window[_0x1693f6([0x61,0x74,0x6f,0x62])](_0x144dce[_0x1693f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1693f6([0x2b]))[_0x1693f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1693f6([0x2f])));}function _0x24775e(_0x4af23f){let _0x20c794=0x1505;function _0x510db5(_0x2bd668){for(let _0x376977=0x0;_0x376977<_0x2bd668[_0x1693f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x376977++){const _0x5d7375=_0x2bd668[_0x1693f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x376977);_0x20c794=(_0x20c794<<0x5)+_0x20c794+_0x5d7375,_0x20c794&=_0x20c794;}}function _0xa3bd9f(_0xeca659){Array[_0x1693f6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xeca659)?_0xeca659[_0x1693f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa3bd9f):_0xeca659&&typeof _0xeca659==_0x1693f6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1693f6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xeca659)[_0x1693f6([0x73,0x6f,0x72,0x74])]()[_0x1693f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e4dde,_0x3486bb])=>{_0x510db5(_0x4e4dde),_0xa3bd9f(_0x3486bb);}):_0x510db5(window[_0x1693f6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xeca659));}return _0xa3bd9f(_0x4af23f),_0x20c794>>>0x0;}function _0x3a2300(_0x257519){return _0x257519[_0x1693f6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1693f6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1693f6([0x30]));}function _0x3c26ec(_0x473e2e){return _0x473e2e[_0x1693f6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1693f6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1693f6([0x6a,0x6f,0x69,0x6e])]('');}function _0x40f9b3(){}function _0x1693f6(_0x15f2ca){return _0x15f2ca['map'](_0x263e5c=>String['fromCharCode'](_0x263e5c))['join']('');}_0x26bb8a(await _0x471f8d());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x29ae7d=>{'$graveyard'!==_0x29ae7d['rootName']&&this['editor']['editing']['reconvertItem'](_0x29ae7d);});}['_trackNewToCElements'](){for(const _0xb74e26 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xb74e26['type']||'tableOfContents'!==_0xb74e26['name'])return;this['_tableOfContentsElements']['add'](_0xb74e26['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x405ac2=this['editor']['conversion'];_0x405ac2['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x405ac2['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1a48c5,{writer:_0x5c48d1})=>this['_createTableOfContents'](_0x5c48d1,!0x0)}),_0x405ac2['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x213240,{writer:_0x5ddc17})=>{this['_tableOfContentsElements']['add'](_0x213240);const _0x41b85c=this['_createTableOfContents'](_0x5ddc17);return _0x4b80d1(_0x41b85c,_0x5ddc17,{'label':qm(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'](_0x24cce1,_0x561c5d=!0x1){const {locale:_0x477f95}=this['editor'],_0x304e91=_0x24cce1['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x561c5d&&{'data-table-of-contents-label':qm(_0x477f95,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x561c5d&&_0x24cce1['insert'](_0x24cce1['createPositionAt'](_0x304e91,'end'),_0x24cce1['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x24cce1['createText'](qm(_0x477f95,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x97d29d=_0x561c5d?'':'['+qm(_0x477f95,'Empty\x20heading')+']';let _0x3d3550=_0x304e91;return this['_currentOutlineDefinitions']['forEach']((_0x2f915c,_0x34f9a7,_0x13db1d)=>{const _0x109d62=this['editor']['model']['hasContent'](_0x2f915c['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4ccc2e=_0x109d62?_0x2f915c['text']:_0x97d29d,_0x28963c=_0x2f915c['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x156394=_0x24cce1['createContainerElement']('a',{'href':'#'+_0x28963c,...!_0x561c5d&&{'tabindex':'-1'}},[_0x24cce1['createText'](_0x4ccc2e)]),_0xe9c121=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x24cce1['setCustomProperty']('tableOfContentsHeadingIndex',_0x34f9a7,_0x156394);const _0x413420=_0x24cce1['createContainerElement']('li',null,[_0x109d62||!_0x561c5d&&_0xe9c121?_0x156394:_0x24cce1['createText']('')]),_0x4cca84=_0x34f9a7?_0x13db1d[_0x34f9a7-0x1]['level']:0x0,_0x34ee8d=Math['abs'](_0x2f915c['level']-_0x4cca84);if(_0x2f915c['level']>_0x4cca84){const _0x4c396c=Ym(_0x413420,_0x34ee8d,_0x24cce1);_0x24cce1['insert'](_0x24cce1['createPositionAt'](_0x3d3550,'end'),_0x4c396c);}else{const _0x2adb44=function(_0x5c21b7,_0x59ecbd){return _0x5c21b7['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x2c8329=>_0x2c8329['is']('element','ol'))[_0x59ecbd];}(_0x3d3550,_0x34ee8d);_0x24cce1['insert'](_0x24cce1['createPositionAt'](_0x2adb44,'end'),_0x413420);}_0x3d3550=_0x413420;}),_0x304e91;}['_handleScrollToHeading'](_0x2e0468){const _0x5698d7=this['_currentOutlineDefinitions'][_0x2e0468]['modelElement'];this['editor']['model']['change'](_0x4e066e=>{_0x4e066e['setSelection'](_0x5698d7,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3b83c5,_0xf99a03)=>{const _0x5a26a9=_0xf99a03['mapper'],_0x4d5a7c=_0x5a26a9['findMappedViewAncestor'](_0xf99a03['viewPosition']),_0x3a90d6=_0x5a26a9['toModelElement'](_0x4d5a7c);_0x3a90d6['is']('element','tableOfContents')&&(_0xf99a03['modelPosition']=this['editor']['model']['createPositionAt'](_0x3a90d6,0x0),_0x3b83c5['stop']());};}}function Ym(_0x208460,_0x8f01cd,_0x47b547){return 0x1===_0x8f01cd?_0x47b547['createContainerElement']('ol',null,[_0x208460]):_0x47b547['createContainerElement']('ol',null,[_0x47b547['createContainerElement']('li',null,[Ym(_0x208460,_0x8f01cd-0x1,_0x47b547)])]);}class TableOfContentsUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x38f5e3=this['editor'];_0x38f5e3['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xa0977e=this['_createButton'](_0x13bcd9);return _0xa0977e['tooltip']=!0x0,_0xa0977e;}),_0x38f5e3['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ot)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d9845=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53e2a4;for(const _0x37b0cb in _0x4d9845){const _0x1abdc1=_0x37b0cb,_0x4de72b=_0x4d9845[_0x1abdc1];if('tableOfContentsLicenseKeyValid'==_0x4de72b||'tableOfContentsLicenseKeyInvalid'==_0x4de72b||'tableOfContentsLicenseKeyExpired'==_0x4de72b||'tableOfContentsLicenseKeyDomainLimit'==_0x4de72b||'tableOfContentsLicenseKeyNotAllowed'==_0x4de72b||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4de72b||'tableOfContentsLicenseKeyUsageLimit'==_0x4de72b){delete _0x4d9845[_0x1abdc1],_0x53e2a4=_0x4de72b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x53e2a4&&_0x4d9845['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x53e2a4&&_0x4d9845['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x53e2a4&&_0x4d9845['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x53e2a4&&_0x4d9845['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x53e2a4&&_0x4d9845['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x53e2a4&&_0x4d9845['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4fd193){const _0x5605c6=this['editor'],_0x2474cb=_0x5605c6['locale'],_0x4a3aa2=_0x5605c6['commands']['get']('insertTableOfContents'),_0x5d1d9e=new _0x4fd193(_0x2474cb);return _0x5d1d9e['set']({'label':qm(_0x2474cb,'Table\x20of\x20contents'),'icon':_0x298ad3}),_0x5d1d9e['bind']('isEnabled')['to'](_0x4a3aa2,'isEnabled'),this['listenTo'](_0x5d1d9e,'execute',()=>{_0x5605c6['execute']('insertTableOfContents'),_0x5605c6['editing']['view']['focus']();}),_0x5d1d9e;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x4ac504{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Km='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x4ac504{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c0d9e){super(_0x5c0d9e),_0x5c0d9e['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x355512){const _0x32d5e8=_0x7c4208([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]),_0x4ec3b5=0x7780c648,_0x26b101=0x77874c20^_0x4ec3b5,_0x1300b8=window[_0x7c4208([0x44,0x61,0x74,0x65])][_0x7c4208([0x6e,0x6f,0x77])](),_0x545ea6=_0x355512[_0x7c4208([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32a402=new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b3f69=>{_0x545ea6[_0x7c4208([0x6f,0x6e,0x63,0x65])](_0x7c4208([0x72,0x65,0x61,0x64,0x79]),_0x5b3f69);}),_0x5a8bd7={[_0x7c4208([0x6b,0x74,0x79])]:_0x7c4208([0x45,0x43]),[_0x7c4208([0x75,0x73,0x65])]:_0x7c4208([0x73,0x69,0x67]),[_0x7c4208([0x63,0x72,0x76])]:_0x7c4208([0x50,0x2d,0x32,0x35,0x36]),[_0x7c4208([0x78])]:_0x7c4208([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]),[_0x7c4208([0x79])]:_0x7c4208([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]),[_0x7c4208([0x61,0x6c,0x67])]:_0x7c4208([0x45,0x53,0x32,0x35,0x36])},_0x46eaed=_0x545ea6[_0x7c4208([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7c4208([0x67,0x65,0x74])](_0x7c4208([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1eca31(){let _0x342077,_0x27f543=null,_0xed60aa=null;try{if(_0x46eaed==_0x7c4208([0x47,0x50,0x4c]))return _0x7c4208([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x342077=_0x42d520(),!_0x342077)return _0x7c4208([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x342077[_0x7c4208([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xed60aa=_0x567fdc(_0x342077[_0x7c4208([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x342077[_0x7c4208([0x6a,0x74,0x69])])),await _0x2d06d6()?_0x546605()?_0x3e2b63()?_0x7c4208([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53d328()?(_0x342077[_0x7c4208([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7c4208([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27f543=_0x868253(_0x7c4208([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4adc40()):_0x7c4208([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7c4208([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7c4208([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7c4208([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e2b63(){const _0x15c616=[_0x7c4208([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7c4208([0x74,0x72,0x69,0x61,0x6c])][_0x7c4208([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x342077[_0x7c4208([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1300b8/0x3e8:0xe10*_0x26b101;return _0x342077[_0x7c4208([0x65,0x78,0x70])]<_0x15c616;}function _0x546605(){const _0x2d73a1=_0x342077[_0x7c4208([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d73a1&&(!!_0x2d73a1[_0x7c4208([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c4208([0x2a]))||!!_0x2d73a1[_0x7c4208([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c4208([0x45,0x43,0x48])));}function _0x53d328(){const _0x3f1414=_0x342077[_0x7c4208([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f1414||0x0==_0x3f1414[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x249e70}=new URL(window[_0x7c4208([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f1414[_0x7c4208([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249e70))return!0x0;const _0x142434=_0x249e70[_0x7c4208([0x73,0x70,0x6c,0x69,0x74])](_0x7c4208([0x2e]));return _0x3f1414[_0x7c4208([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bf20e=>_0x4bf20e[_0x7c4208([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c4208([0x2a])))[_0x7c4208([0x6d,0x61,0x70])](_0x16a5fd=>_0x16a5fd[_0x7c4208([0x73,0x70,0x6c,0x69,0x74])](_0x7c4208([0x2e])))[_0x7c4208([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46712c=>_0x46712c[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x142434[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7c4208([0x6d,0x61,0x70])](_0x4869fa=>Array(_0x142434[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4869fa[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7c4208([0x66,0x69,0x6c,0x6c])](_0x4869fa[0x0]===_0x7c4208([0x2a])?_0x7c4208([0x2a]):'')[_0x7c4208([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4869fa))[_0x7c4208([0x73,0x6f,0x6d,0x65])](_0x5887c2=>_0x142434[_0x7c4208([0x65,0x76,0x65,0x72,0x79])]((_0x44ebbc,_0x286e2e)=>_0x5887c2[_0x286e2e]===_0x44ebbc||_0x5887c2[_0x286e2e]===_0x7c4208([0x2a])));}function _0x4adc40(){return _0x27f543&&_0xed60aa?new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf5c0,_0x47e643)=>{_0x27f543[_0x7c4208([0x74,0x68,0x65,0x6e])](_0x5cf5c0,_0x47e643),_0xed60aa[_0x7c4208([0x74,0x68,0x65,0x6e])](_0x228eed=>{_0x228eed!=_0x7c4208([0x56,0x61,0x6c,0x69,0x64])&&_0x5cf5c0(_0x228eed);},_0x47e643);}):_0x27f543||_0xed60aa||_0x7c4208([0x56,0x61,0x6c,0x69,0x64]);}}function _0x567fdc(_0x21be7a,_0x18c59d){return new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b5b67=>{if(_0x43f9af())return _0x1b5b67(_0x7c4208([0x56,0x61,0x6c,0x69,0x64]));_0x52535c(),_0x545ea6[_0x7c4208([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7c4208([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x546589=!0x1;const _0x13f1fd=_0x288d30();function _0x44de5f(_0x51dab8){return!!_0x51dab8&&(typeof _0x51dab8===_0x7c4208([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51dab8===_0x7c4208([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51dab8[_0x7c4208([0x74,0x68,0x65,0x6e])]===_0x7c4208([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51dab8[_0x7c4208([0x63,0x61,0x74,0x63,0x68])]===_0x7c4208([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x328ac2(_0x3e53d5){_0x27e927(_0x3e53d5)[_0x7c4208([0x74,0x68,0x65,0x6e])](_0x5419ca=>{if(!_0x5419ca||_0x5419ca[_0x7c4208([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7c4208([0x6f,0x6b]))return _0x7c4208([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4578dc(_0x36c782(_0x13f1fd+_0x18c59d))!=_0x5419ca[_0x7c4208([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7c4208([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7c4208([0x56,0x61,0x6c,0x69,0x64]);})[_0x7c4208([0x74,0x68,0x65,0x6e])](_0x4582bd=>(_0xdf1d1b(),_0x4582bd),()=>{const _0x45fab7=_0x1178ab();return null==_0x45fab7?(_0xdf1d1b(),_0x7c4208([0x56,0x61,0x6c,0x69,0x64])):_0x7c4208(_0x1300b8-_0x45fab7>(0x538c4248^_0x4ec3b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7c4208([0x74,0x68,0x65,0x6e])](_0x1b5b67)[_0x7c4208([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b5b67(_0x7c4208([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x387938=0x77b628c8^_0x4ec3b5;function _0xdf1d1b(){const _0x32cdfa=_0x7c4208([0x6c,0x6c,0x63,0x74,0x2d])+_0x4578dc(_0x36c782(_0x21be7a)),_0x3186fd=_0x23a53c(_0x4578dc(window[_0x7c4208([0x4d,0x61,0x74,0x68])][_0x7c4208([0x63,0x65,0x69,0x6c])](_0x1300b8/_0x387938)));window[_0x7c4208([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7c4208([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32cdfa,_0x3186fd);}function _0x1178ab(){const _0x3dd266=_0x7c4208([0x6c,0x6c,0x63,0x74,0x2d])+_0x4578dc(_0x36c782(_0x21be7a)),_0x4d3226=window[_0x7c4208([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7c4208([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dd266);return _0x4d3226?window[_0x7c4208([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23a53c(_0x4d3226),0x10)*_0x387938:null;}function _0x27e927(_0x1aec15){return new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe7b97a,_0x259faf)=>{_0x1aec15[_0x7c4208([0x74,0x68,0x65,0x6e])](_0xe7b97a,_0x259faf),window[_0x7c4208([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x259faf,0x77811288^_0x4ec3b5);});}}_0x545ea6[_0x7c4208([0x6f,0x6e])](_0x7c4208([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28b863,_0x2796a9)=>{if(_0x2796a9[0x0]!=_0x21be7a)return _0x1b5b67(_0x7c4208([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2796a9[0x1]={..._0x2796a9[0x1],[_0x7c4208([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13f1fd};},{[_0x7c4208([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7c4208([0x68,0x69,0x67,0x68])}),_0x545ea6[_0x7c4208([0x6f,0x6e])](_0x7c4208([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4276f7=>{_0x44de5f(_0x4276f7[_0x7c4208([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x546589=!0x0,_0x328ac2(_0x4276f7[_0x7c4208([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7c4208([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7c4208([0x6c,0x6f,0x77])}),_0x32a402[_0x7c4208([0x74,0x68,0x65,0x6e])](()=>{_0x546589||_0x1b5b67(_0x7c4208([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43f9af(){return _0x545ea6[_0x7c4208([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7c4208([0x76,0x69,0x65,0x77])][_0x7c4208([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7c4208([0x61,0x75,0x74,0x6f]);}function _0x52535c(){_0x545ea6[_0x7c4208([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7c4208([0x76,0x69,0x65,0x77])][_0x7c4208([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7c4208([0x61,0x75,0x74,0x6f]);}}function _0x868253(_0x2f9075){const _0x16939e=[new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c9bf8=>setTimeout(_0x5c9bf8,0x7789f884^_0x4ec3b5)),_0x32a402[_0x7c4208([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc313=>{let _0xbecb15=0x0;_0x545ea6[_0x7c4208([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c4208([0x6f,0x6e])](_0x7c4208([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x358600,_0x39a584)=>{_0x39a584[0x0][_0x7c4208([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbecb15++,_0xbecb15==(0x7780c3a0^_0x4ec3b5)&&(_0x1bc313(),_0x358600[_0x7c4208([0x6f,0x66,0x66])]());});}))];return window[_0x7c4208([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7c4208([0x72,0x61,0x63,0x65])](_0x16939e)[_0x7c4208([0x74,0x68,0x65,0x6e])](()=>_0x2f9075);}async function _0x46e304(){await _0x32a402,_0x545ea6[_0x7c4208([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c4208([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d4c03,_0x545ea6[_0x7c4208([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c4208([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d4c03,_0x545ea6[_0x7c4208([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7c4208([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15fd6b(_0x1aea17){const _0x1e4f1d=_0x5e6915();_0x545ea6[_0x1e4f1d]=_0x7c4208([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])+_0x1aea17,_0x1aea17!=_0x7c4208([0x56,0x61,0x6c,0x69,0x64])&&_0x46e304();}function _0x5e6915(){const _0x1e9c3c=window[_0x7c4208([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7c4208([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7c4208([0x6e,0x6f,0x77])]())[_0x7c4208([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7c4208([0x2e]),'');let _0x72cfc5=_0x7c4208([0x75]);for(let _0x58ed7c=0x0;_0x58ed7c<_0x1e9c3c[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58ed7c+=0x2){let _0x531f1b=window[_0x7c4208([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e9c3c[_0x7c4208([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58ed7c,_0x58ed7c+0x2));_0x531f1b>=_0x32d5e8[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x531f1b-=_0x32d5e8[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x72cfc5+=_0x32d5e8[_0x531f1b];}return _0x72cfc5;}function _0x42d520(){const _0x1cecd=_0x46eaed[_0x7c4208([0x73,0x70,0x6c,0x69,0x74])](_0x7c4208([0x2e]));if(0x3!=_0x1cecd[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c412f(_0x1cecd[0x1]);function _0x4c412f(_0x259210){const _0x3d00e0=_0x29f190(_0x259210);return _0x3d00e0&&_0x12156d()?_0x3d00e0:null;function _0x12156d(){const _0x41ff34=_0x3d00e0[_0x7c4208([0x6a,0x74,0x69])],_0xbe2610=window[_0x7c4208([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41ff34[_0x7c4208([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41ff34[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19218c={..._0x3d00e0,[_0x7c4208([0x6a,0x74,0x69])]:_0x41ff34[_0x7c4208([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41ff34[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19218c[_0x7c4208([0x76,0x63])],_0x36c782(_0x19218c)==_0xbe2610;}}}async function _0x2d06d6(){let _0x3d777d=!0x0;try{const _0x37e16b=_0x46eaed[_0x7c4208([0x73,0x70,0x6c,0x69,0x74])](_0x7c4208([0x2e])),[_0x61d966,_0x2d17ce,_0x3cc698]=_0x37e16b;return _0x47f6f1(_0x61d966),await _0x17e1c2(_0x61d966,_0x2d17ce,_0x3cc698),_0x3d777d;}catch{return!0x1;}function _0x47f6f1(_0xc126f3){const _0x2ed93a=_0x29f190(_0xc126f3);_0x2ed93a&&_0x2ed93a[_0x7c4208([0x61,0x6c,0x67])]==_0x7c4208([0x45,0x53,0x32,0x35,0x36])||(_0x3d777d=!0x1);}async function _0x17e1c2(_0x5bfb78,_0x5865f5,_0x30fc34){const _0x432018=window[_0x7c4208([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7c4208([0x66,0x72,0x6f,0x6d])](_0x3f76fb(_0x30fc34),_0x1fd174=>_0x1fd174[_0x7c4208([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a9181=new window[(_0x7c4208([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7c4208([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bfb78+_0x7c4208([0x2e])+_0x5865f5),_0x5c4d0c=window[_0x7c4208([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7c4208([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c4d0c)return;const _0x4e219e=await _0x5c4d0c[_0x7c4208([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7c4208([0x6a,0x77,0x6b]),_0x5a8bd7,{[_0x7c4208([0x6e,0x61,0x6d,0x65])]:_0x7c4208([0x45,0x43,0x44,0x53,0x41]),[_0x7c4208([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7c4208([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7c4208([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c4d0c[_0x7c4208([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7c4208([0x6e,0x61,0x6d,0x65])]:_0x7c4208([0x45,0x43,0x44,0x53,0x41]),[_0x7c4208([0x68,0x61,0x73,0x68])]:{[_0x7c4208([0x6e,0x61,0x6d,0x65])]:_0x7c4208([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e219e,_0x432018,_0x1a9181)||(_0x3d777d=!0x1);}}function _0x29f190(_0x1fbd85){return _0x1fbd85[_0x7c4208([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7c4208([0x65,0x79]))?JSON[_0x7c4208([0x70,0x61,0x72,0x73,0x65])](_0x3f76fb(_0x1fbd85)):null;}function _0x3f76fb(_0x5171c8){return window[_0x7c4208([0x61,0x74,0x6f,0x62])](_0x5171c8[_0x7c4208([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7c4208([0x2b]))[_0x7c4208([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7c4208([0x2f])));}function _0x36c782(_0x5939ae){let _0x378ccc=0x1505;function _0x662738(_0x2813fb){for(let _0x1ceea4=0x0;_0x1ceea4<_0x2813fb[_0x7c4208([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ceea4++){const _0x4c85d8=_0x2813fb[_0x7c4208([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ceea4);_0x378ccc=(_0x378ccc<<0x5)+_0x378ccc+_0x4c85d8,_0x378ccc&=_0x378ccc;}}function _0xdf34b5(_0xb34faa){Array[_0x7c4208([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb34faa)?_0xb34faa[_0x7c4208([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xdf34b5):_0xb34faa&&typeof _0xb34faa==_0x7c4208([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7c4208([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb34faa)[_0x7c4208([0x73,0x6f,0x72,0x74])]()[_0x7c4208([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56659f,_0x2d18df])=>{_0x662738(_0x56659f),_0xdf34b5(_0x2d18df);}):_0x662738(window[_0x7c4208([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb34faa));}return _0xdf34b5(_0x5939ae),_0x378ccc>>>0x0;}function _0x4578dc(_0x2aedff){return _0x2aedff[_0x7c4208([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7c4208([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7c4208([0x30]));}function _0x23a53c(_0x5f3b14){return _0x5f3b14[_0x7c4208([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7c4208([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7c4208([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d4c03(){}function _0x7c4208(_0x24e98b){return _0x24e98b['map'](_0x3d8fe4=>String['fromCharCode'](_0x3d8fe4))['join']('');}_0x15fd6b(await _0x1eca31());}(this);}['_logSuppressibleWarning'](_0x25b31b,_0x50c5da){if(this['_isSuppressedLog'](_0x25b31b,_0x50c5da))return;const _0x422b07=Km+'/support/error-codes.html#error-'+_0x25b31b;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x25b31b,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x50c5da?[_0x50c5da]:[],'\x0aRead\x20more:\x20'+_0x422b07);}['_logSuppressibleInfo'](_0x2e3ab1,_0xa75ee9,_0x2de8cf){if(this['_isSuppressedLog'](_0x2e3ab1))return;let _0x2a6276=_0xa75ee9;_0x2de8cf&&(_0x2a6276+='\x0aRead\x20more:\x20'+(Km+'/'+_0x2de8cf)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x2e3ab1,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x2a6276);}['_checkUnsupportedPlugin'](_0xa812f3,_0x1a8059){this['editor']['plugins']['has'](_0xa812f3)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0xa812f3,..._0x1a8059});}['_validateConfigColorValue'](_0x5e43fa){const _0x23044e=this['editor']['config']['get'](_0x5e43fa);if(!_0x23044e)return;const _0x1d9316=Array['isArray'](_0x23044e),_0x2beb60=_0x1d9316?_0x23044e:[_0x23044e];for(const [_0x4ca320,_0x15e0ad]of _0x2beb60['entries']()){const _0x54912b='string'==typeof _0x15e0ad?_0x15e0ad:_0x15e0ad['color'];tg(_0x54912b)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x1d9316?_0x5e43fa+'['+_0x4ca320+']':_0x5e43fa,'color':_0x54912b});}}['_validateConfigColorFormat'](_0xc2eaaf){const _0x9c17b7=this['editor']['config']['get'](_0xc2eaaf);_0x9c17b7&&eg(_0x9c17b7)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0xc2eaaf,'format':_0x9c17b7});}['_isSuppressedLog'](_0x156e50,_0x3b7e90){const _0x39a63a=this['editor']['config']['get']('email.logs');return!!_0x39a63a['suppressAll']||(!('function'!=typeof _0x39a63a['suppress']||!_0x39a63a['suppress'](_0x156e50,_0x3b7e90))||!(!Array['isArray'](_0x39a63a['suppress'])||!_0x39a63a['suppress']['includes'](_0x156e50)));}}const Jm=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function tg(_0x4b2a05){return!!_0x4b2a05&&Jm['some'](_0x467cdc=>_0x4b2a05['includes'](_0x467cdc+'('));}function eg(_0xc3ba27){return!!_0xc3ba27&&Jm['includes'](_0xc3ba27);}class HighlightEmailIntegration extends _0x4ac504{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 ig=function(_0x5f1a2a){var _0x1263f4,_0x36547a,_0x1ff315=_0x5f1a2a,_0xae364d={'a':0x0,'b':0x0,'c':0x0},_0x63ec78=[];return _0x1263f4=function(_0x5b5c20,_0x4f5aba){var _0x39c3a6,_0x28fb42,_0x5312a9,_0x53e910,_0x55aa78,_0x4db3e0;if(_0x5b5c20['test'](_0x1ff315)){for(_0x28fb42=0x0,_0x5312a9=(_0x39c3a6=_0x1ff315['match'](_0x5b5c20))['length'];_0x28fb42<_0x5312a9;_0x28fb42+=0x1)_0xae364d[_0x4f5aba]+=0x1,_0x53e910=_0x39c3a6[_0x28fb42],_0x55aa78=_0x1ff315['indexOf'](_0x53e910),_0x4db3e0=_0x53e910['length'],_0x63ec78['push']({'selector':_0x5f1a2a['substr'](_0x55aa78,_0x4db3e0),'type':_0x4f5aba,'index':_0x55aa78,'length':_0x4db3e0}),_0x1ff315=_0x1ff315['replace'](_0x53e910,Array(_0x4db3e0+0x1)['join']('\x20'));}},_0x36547a=function(_0x2b6b85){var _0x5d7eb7,_0x573533,_0x543abb,_0x9b76b3;if(_0x2b6b85['test'](_0x1ff315)){for(_0x573533=0x0,_0x543abb=(_0x5d7eb7=_0x1ff315['match'](_0x2b6b85))['length'];_0x573533<_0x543abb;_0x573533+=0x1)_0x9b76b3=_0x5d7eb7[_0x573533],_0x1ff315=_0x1ff315['replace'](_0x9b76b3,Array(_0x9b76b3['length']+0x1)['join']('A'));}},_0x36547a(/\\[0-9A-Fa-f]{6}\s?/g),_0x36547a(/\\[0-9A-Fa-f]{1,5}\s/g),_0x36547a(/\\./g),(function(){var _0x2b83ef,_0x49730b,_0x2e581d,_0x2c91f8,_0x46819c=/{[^]*/gm;if(_0x46819c['test'](_0x1ff315)){for(_0x49730b=0x0,_0x2e581d=(_0x2b83ef=_0x1ff315['match'](_0x46819c))['length'];_0x49730b<_0x2e581d;_0x49730b+=0x1)_0x2c91f8=_0x2b83ef[_0x49730b],_0x1ff315=_0x1ff315['replace'](_0x2c91f8,Array(_0x2c91f8['length']+0x1)['join']('\x20'));}}()),_0x1263f4(/(\[[^\]]+\])/g,'b'),_0x1263f4(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x1263f4(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x1263f4(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x1263f4(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x1263f4(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x1ff315=(_0x1ff315=(_0x1ff315=(_0x1ff315=(_0x1ff315=(_0x1ff315=_0x1ff315['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'),_0x1263f4(/([^\s\+>~\.\[:]+)/g,'c'),_0x63ec78['sort'](function(_0x52a613,_0xd3c55c){return _0x52a613['index']-_0xd3c55c['index'];}),{'selector':_0x5f1a2a,'specificity':'0,'+_0xae364d['a']['toString']()+','+_0xae364d['b']['toString']()+','+_0xae364d['c']['toString'](),'specificityArray':[0x0,_0xae364d['a'],_0xae364d['b'],_0xae364d['c']],'parts':_0x63ec78};};function sg(_0x13a4ab){const _0xaf9564=[];let _0x247b59='',_0x75e604=0x0;for(;_0x75e604<_0x13a4ab['length'];){const _0x220046=_0x13a4ab[_0x75e604];if('('===_0x220046){const _0x3aec62=ng(_0x13a4ab,_0x75e604+0x1);if(-0x1===_0x3aec62)return[];_0x247b59+=_0x13a4ab['slice'](_0x75e604,_0x3aec62+0x1),_0x75e604=_0x3aec62+0x1;}else','!==_0x220046||_0x247b59['endsWith']('\x5c')?(_0x247b59+=_0x220046,_0x75e604++):(_0xaf9564['push'](_0x247b59['trim']()),_0x247b59='',_0x75e604++);}return _0x247b59['trim']()&&_0xaf9564['push'](_0x247b59['trim']()),_0xaf9564['filter'](Boolean);}function ng(_0x3f3554,_0x3f82b8){let _0x1e9a3f=0x1;for(let _0x2c60b5=_0x3f82b8;_0x2c60b5<_0x3f3554['length'];_0x2c60b5++){const _0x5564c4=_0x3f3554[_0x2c60b5];if('('===_0x5564c4)_0x1e9a3f++;else{if(')'===_0x5564c4&&(_0x1e9a3f--,0x0===_0x1e9a3f))return _0x2c60b5;}}return-0x1;}function rg(_0xb43286){return _0xb43286['replace'](/!\s*important/i,'')['trim']();}function og(_0x55dfea,_0x4d532a){const _0x1c5b58=new Map(),_0x2c043f=_0x1083e=>_0x1c5b58['has'](_0x1083e)?_0x1c5b58['get'](_0x1083e):_0x55dfea(_0x1083e);for(const [_0x31a22b,_0x2f5027]of _0x4d532a['getStylesEntries']())if(_0x2f5027&&_0x31a22b['startsWith']('--')){const _0x435553=ag(_0x2c043f,_0x2f5027);_0x1c5b58['set'](_0x31a22b,_0x435553),_0x4d532a['remove'](_0x31a22b);}for(const [_0x88957f,_0x2280b7]of _0x4d532a['getStylesEntries']())if(_0x2280b7){const _0x557231=ag(_0x2c043f,_0x2280b7);_0x4d532a['set'](_0x88957f,_0x557231);}return _0x1c5b58;}function ag(_0x538d1d,_0x37e715){return function(_0x2deaad,_0x59005e){let _0x215022='',_0x19e8e4=0x0;for(;_0x19e8e4<_0x2deaad['length'];){const _0x4f15b9=_0x2deaad['indexOf']('var(',_0x19e8e4);if(-0x1===_0x4f15b9){_0x215022+=_0x2deaad['slice'](_0x19e8e4);break;}_0x215022+=_0x2deaad['slice'](_0x19e8e4,_0x4f15b9);const _0x3955d1=_0x4f15b9+0x4,_0xdcd933=ng(_0x2deaad,_0x3955d1);_0x215022+=_0x59005e(_0x2deaad['substring'](_0x3955d1,_0xdcd933)),_0x19e8e4=_0xdcd933+0x1;}return _0x215022;}(_0x37e715,_0x3d545d=>{const [_0x53005a,_0x5f0794]=sg(_0x3d545d),_0x1d9a2c=_0x538d1d(_0x53005a);return void 0x0!==_0x1d9a2c?_0x1d9a2c:_0x5f0794?ag(_0x538d1d,_0x5f0794):'var('+_0x53005a+')';});}async function cg(_0x11435a){const _0x5b2242=[await _0x1e8944(_0x11435a['stylesheets']),_0x11435a['inlineCss']]['filter'](_0x35e431=>_0x35e431&&_0x35e431['length'])['join']('\x0a'),_0x169015=await async function(_0x1eef9e,_0x48a01a){const _0x4f07d7=new CSSStyleSheet();return await _0x4f07d7['replace'](_0x48a01a),lg(Array['from'](_0x4f07d7['cssRules'])['filter'](_0xf92c5d=>_0xf92c5d instanceof CSSStyleRule))['flatMap'](({selectorText:_0x340681,contentCssText:_0x172f27})=>{const _0x4c0a32=sg(_0x340681),_0x1b8fc5=new _0x13eec7(_0x1eef9e)['setTo'](_0x172f27);return _0x4c0a32['map'](_0x205b18=>{const _0x2b588d=function(_0xdcb06f){const _0x4bd1d6=':where(';let _0x660f06=_0xdcb06f,_0x58693b=0x0;for(let _0x2f40e1=0x0;_0x2f40e1<0x64;_0x2f40e1++){const _0x1ea8b6=_0x660f06['indexOf'](_0x4bd1d6,_0x58693b);if(-0x1===_0x1ea8b6)break;let _0x598080=0x0;for(let _0x1dcaf9=0x0;_0x1dcaf9<_0x1ea8b6;_0x1dcaf9++)'('===_0x660f06[_0x1dcaf9]?_0x598080++:')'===_0x660f06[_0x1dcaf9]&&_0x598080--;if(_0x598080>0x0){_0x58693b=_0x1ea8b6+_0x4bd1d6['length'];continue;}let _0x447dbc=-0x1;for(let _0x3ec3e8=_0x1ea8b6+_0x4bd1d6['length'],_0x48fc3d=0x1;_0x3ec3e8<_0x660f06['length'];_0x3ec3e8++)if('('===_0x660f06[_0x3ec3e8]?_0x48fc3d++:')'===_0x660f06[_0x3ec3e8]&&_0x48fc3d--,!_0x48fc3d){_0x447dbc=_0x3ec3e8;break;}-0x1!==_0x447dbc?(_0x660f06=_0x660f06['slice'](0x0,_0x1ea8b6)+_0x660f06['slice'](_0x447dbc+0x1),_0x58693b=_0x1ea8b6):_0x58693b=_0x1ea8b6+_0x4bd1d6['length'];}return _0x660f06['replace'](/\s+/g,'\x20')['trim']();}(_0x205b18),_0x17db1c=_0x2b588d?function(_0x3cec74){var _0x5511e0,_0x2fbae8,_0x4a14c3,_0x5af7f9,_0x4d586d=[];for(_0x4a14c3=0x0,_0x5af7f9=(_0x5511e0=_0x3cec74['split'](','))['length'];_0x4a14c3<_0x5af7f9;_0x4a14c3+=0x1)(_0x2fbae8=_0x5511e0[_0x4a14c3])['length']>0x0&&_0x4d586d['push'](ig(_0x2fbae8));return _0x4d586d;}(_0x2b588d)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x1b8fc5,'flatSelector':_0x205b18,'specificity':_0x17db1c};});})['sort']((_0xec19ed,_0x349c16)=>function(_0x4036f4,_0x5949b3){var _0x3679bf,_0xb85ca6,_0x19d370;if('string'==typeof _0x4036f4){if(-0x1!==_0x4036f4['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x3679bf=ig(_0x4036f4)['specificityArray'];}else{if(!Array['isArray'](_0x4036f4))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x4036f4['filter'](function(_0x43b169){return'number'==typeof _0x43b169;})['length'])throw'Invalid\x20specificity\x20array';_0x3679bf=_0x4036f4;}if('string'==typeof _0x5949b3){if(-0x1!==_0x5949b3['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0xb85ca6=ig(_0x5949b3)['specificityArray'];}else{if(!Array['isArray'](_0x5949b3))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x5949b3['filter'](function(_0x78a460){return'number'==typeof _0x78a460;})['length'])throw'Invalid\x20specificity\x20array';_0xb85ca6=_0x5949b3;}for(_0x19d370=0x0;_0x19d370<0x4;_0x19d370+=0x1){if(_0x3679bf[_0x19d370]<_0xb85ca6[_0x19d370])return-0x1;if(_0x3679bf[_0x19d370]>_0xb85ca6[_0x19d370])return 0x1;}return 0x0;}(_0xec19ed['specificity'],_0x349c16['specificity']));}(_0x11435a['stylesProcessor'],_0x5b2242),_0x452d56=function(_0x12504c){const _0x544ffa=new Map();for(const {stylesMap:_0x5bc633,flatSelector:_0x221ca2}of _0x12504c){if(':root'!==_0x221ca2)continue;const _0xa6f919=og(_0x544ffa['get']['bind'](_0x544ffa),_0x5bc633);for(const [_0x22f304,_0xe4b1d8]of _0xa6f919)_0x544ffa['set'](_0x22f304,_0xe4b1d8);}return _0x544ffa;}(_0x169015);return{'parsedCssRules':_0x169015,'rootCssVariables':_0x452d56};}function lg(_0x3e17ca,_0x202b39=''){return _0x3e17ca['flatMap'](_0x33f6db=>{const {selectorText:_0x1249c6,cssText:_0x50fbbb,cssRules:_0x2b8a16}=_0x33f6db;if(!_0x1249c6)return[];const _0x2bca40=_0x1249c6['replace'](/&/g,_0x202b39);let _0x284f9e=_0x50fbbb['replace'](_0x1249c6,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2b8a16||!_0x2b8a16['length'])return[{'selectorText':_0x2bca40,'contentCssText':_0x284f9e}];for(const _0x1613da of _0x2b8a16)_0x284f9e=_0x284f9e['replace'](_0x1613da['cssText'],'')['trim']();return[{'selectorText':_0x2bca40,'contentCssText':_0x284f9e},...lg(Array['from'](_0x2b8a16),_0x2bca40)];});}function hg(_0x26efbf,_0x298d55){const _0x2f1ec3=new _0x13eec7(_0x26efbf);for(const _0x5db154 of _0x298d55){let _0x2bf783=null;if(_0x2bf783='string'==typeof _0x5db154?new _0x13eec7(_0x26efbf)['setTo'](_0x5db154):_0x5db154,_0x2bf783){for(const [_0x54c370,_0x26901a]of _0x2bf783['getStylesEntries']())_0x2f1ec3['set'](_0x54c370,_0x26901a);}}return _0x2f1ec3;}class ExportInlineStylesCommand extends _0x1110b9{['_stylesProcessor'];constructor(_0x3ee766){super(_0x3ee766),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x7bf268(this['_stylesProcessor']),_0x1e5541(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x34d20e){const _0x4d32d5=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5973ea}=this['editor']['locale'],{rootName:_0x7874a='main',dataControllerDowncastOptions:_0x1c2cb2={},transformations:_0x2a8899=_0x4d32d5['transformations']||[]}=_0x34d20e||{};this['isBusy']=!0x0,this['refresh']();const _0x1cdcb6=this['_getRootDataHTMLFragment'](_0x7874a,_0x1c2cb2),_0x44a0b1=_0x2d330b(_0x1cdcb6['ownerDocument'],'div',{'dir':_0x5973ea,'class':'ck-content'},[_0x1cdcb6]);return this['_collectAndApplyStyles'](_0x2a8899,_0x44a0b1)['then'](()=>{const _0x907bc1=function(_0x35caaf){const _0x150911=_0x35caaf['ownerDocument']['createDocumentFragment']();for(;_0x35caaf['firstChild'];)_0x150911['appendChild'](_0x35caaf['firstChild']);return _0x150911;}(_0x44a0b1),_0x57fe3a=_0x44a0b1['getAttribute']('style');if(_0x57fe3a)for(const _0x3ad0fd of _0x907bc1['children']){const _0x4250eb=_0x3ad0fd['getAttribute']('style'),_0x23ec7d=hg(this['_stylesProcessor'],[_0x57fe3a,_0x4250eb]);_0x3ad0fd['setAttribute']('style',ug(_0x23ec7d));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x907bc1);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x198100,_0x181470){const {data:_0x42594c,model:_0x4ce601}=this['editor'],_0x2a8ee2=_0x4ce601['document']['getRoot'](_0x198100),_0x10557c=_0x42594c['toView'](_0x2a8ee2,_0x181470);return _0x42594c['htmlProcessor']['domConverter']['viewToDom'](_0x10557c);}async['_collectAndApplyStyles'](_0x4b1a44,_0x56187f){const {stylesheets:_0x22ea49,inlineCss:_0x5ddc64,stripCssClasses:_0x474628}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x17e8c8,rootCssVariables:_0x581dad}=await cg({'stylesheets':_0x22ea49||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x5ddc64});this['_processElementTree']({'transformations':_0x4b1a44,'parsedCssRules':_0x17e8c8,'element':_0x56187f,'stripCssClasses':_0x474628,'parentCSSVariablesLookup':_0x581dad['get']['bind'](_0x581dad)});}['_processElementTree']({element:_0x229063,parsedCssRules:_0x2dde0d,parentCSSVariablesLookup:_0x1443b7,stripCssClasses:_0x656b38,transformations:_0x3bd6ad}){const {stylesMap:_0x4f1d39,localCSSVariables:_0x5bed8b}=function(_0x3845ac){const _0x243a8d=_0x3845ac['element']['getAttribute']('style')||'',_0x4aa443=_0x3845ac['parsedCssRules']['filter'](_0x42e11f=>_0x3845ac['element']['matches'](_0x42e11f['flatSelector']))['map'](_0x852102=>_0x852102['stylesMap']),_0x4a7af2=hg(_0x3845ac['stylesProcessor'],[..._0x4aa443,_0x243a8d]);return{'localCSSVariables':og(_0x3845ac['fallbackCSSVariablesLookup'],_0x4a7af2),'stylesMap':_0x4a7af2};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1443b7,'parsedCssRules':_0x2dde0d,'element':_0x229063});for(const _0x5394ea of _0x3bd6ad){const _0x836493=_0x5394ea(_0x229063,_0x4f1d39);_0x836493&&_0x836493 instanceof HTMLElement&&(_0x229063=_0x836493);}_0x4f1d39['size']?_0x229063['setAttribute']('style',ug(_0x4f1d39)):_0x229063['removeAttribute']('style');const _0x2373f5=_0x1acd5f=>_0x5bed8b['has'](_0x1acd5f)?_0x5bed8b['get'](_0x1acd5f):_0x1443b7(_0x1acd5f);for(const _0x270787 of _0x229063['children'])_0x270787 instanceof HTMLElement&&this['_processElementTree']({'element':_0x270787,'parentCSSVariablesLookup':_0x2373f5,'parsedCssRules':_0x2dde0d,'stripCssClasses':_0x656b38,'transformations':_0x3bd6ad});_0x656b38&&_0x229063['removeAttribute']('class');}}function ug(_0xb57717){return _0xb57717['getStylesEntries']()['map'](_0x2b6bf6=>_0x2b6bf6['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x4ac504{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'](){!async function(_0x4e838f){const _0x1a161e=_0xd91a53([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]),_0x2c1d0f=0x6f40c3fb,_0xa994dc=0x6f474993^_0x2c1d0f,_0x148349=window[_0xd91a53([0x44,0x61,0x74,0x65])][_0xd91a53([0x6e,0x6f,0x77])](),_0x16b9f5=_0x4e838f[_0xd91a53([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x477668=new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb3a9=>{_0x16b9f5[_0xd91a53([0x6f,0x6e,0x63,0x65])](_0xd91a53([0x72,0x65,0x61,0x64,0x79]),_0x3fb3a9);}),_0x2f91a6={[_0xd91a53([0x6b,0x74,0x79])]:_0xd91a53([0x45,0x43]),[_0xd91a53([0x75,0x73,0x65])]:_0xd91a53([0x73,0x69,0x67]),[_0xd91a53([0x63,0x72,0x76])]:_0xd91a53([0x50,0x2d,0x32,0x35,0x36]),[_0xd91a53([0x78])]:_0xd91a53([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]),[_0xd91a53([0x79])]:_0xd91a53([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]),[_0xd91a53([0x61,0x6c,0x67])]:_0xd91a53([0x45,0x53,0x32,0x35,0x36])},_0x3b8907=_0x16b9f5[_0xd91a53([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd91a53([0x67,0x65,0x74])](_0xd91a53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d744a(){let _0x29a3a4,_0x531707=null,_0xe802a1=null;try{if(_0x3b8907==_0xd91a53([0x47,0x50,0x4c]))return _0xd91a53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29a3a4=_0xa1f15e(),!_0x29a3a4)return _0xd91a53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29a3a4[_0xd91a53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe802a1=_0x453d32(_0x29a3a4[_0xd91a53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29a3a4[_0xd91a53([0x6a,0x74,0x69])])),await _0x40eec0()?_0x32cb09()?_0x499a58()?_0xd91a53([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17ada3()?(_0x29a3a4[_0xd91a53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd91a53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x531707=_0x505087(_0xd91a53([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c5790()):_0xd91a53([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd91a53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd91a53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd91a53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x499a58(){const _0xa86cf9=[_0xd91a53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd91a53([0x74,0x72,0x69,0x61,0x6c])][_0xd91a53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a3a4[_0xd91a53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x148349/0x3e8:0xe10*_0xa994dc;return _0x29a3a4[_0xd91a53([0x65,0x78,0x70])]<_0xa86cf9;}function _0x32cb09(){const _0x16aa71=_0x29a3a4[_0xd91a53([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16aa71&&(!!_0x16aa71[_0xd91a53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd91a53([0x2a]))||!!_0x16aa71[_0xd91a53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd91a53([0x45,0x49,0x53])));}function _0x17ada3(){const _0x19e4aa=_0x29a3a4[_0xd91a53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19e4aa||0x0==_0x19e4aa[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e2362}=new URL(window[_0xd91a53([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19e4aa[_0xd91a53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e2362))return!0x0;const _0x56855e=_0x4e2362[_0xd91a53([0x73,0x70,0x6c,0x69,0x74])](_0xd91a53([0x2e]));return _0x19e4aa[_0xd91a53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bcab6=>_0x1bcab6[_0xd91a53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd91a53([0x2a])))[_0xd91a53([0x6d,0x61,0x70])](_0x1462d1=>_0x1462d1[_0xd91a53([0x73,0x70,0x6c,0x69,0x74])](_0xd91a53([0x2e])))[_0xd91a53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4725b=>_0x4725b[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56855e[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd91a53([0x6d,0x61,0x70])](_0x4f549e=>Array(_0x56855e[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f549e[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd91a53([0x66,0x69,0x6c,0x6c])](_0x4f549e[0x0]===_0xd91a53([0x2a])?_0xd91a53([0x2a]):'')[_0xd91a53([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f549e))[_0xd91a53([0x73,0x6f,0x6d,0x65])](_0x2eb86f=>_0x56855e[_0xd91a53([0x65,0x76,0x65,0x72,0x79])]((_0x1c6608,_0xa5d00c)=>_0x2eb86f[_0xa5d00c]===_0x1c6608||_0x2eb86f[_0xa5d00c]===_0xd91a53([0x2a])));}function _0x1c5790(){return _0x531707&&_0xe802a1?new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x829b77,_0x574565)=>{_0x531707[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x829b77,_0x574565),_0xe802a1[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x20cff5=>{_0x20cff5!=_0xd91a53([0x56,0x61,0x6c,0x69,0x64])&&_0x829b77(_0x20cff5);},_0x574565);}):_0x531707||_0xe802a1||_0xd91a53([0x56,0x61,0x6c,0x69,0x64]);}}function _0x453d32(_0x54f481,_0x51971e){return new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156d61=>{if(_0x1fe03e())return _0x156d61(_0xd91a53([0x56,0x61,0x6c,0x69,0x64]));_0xcd0e(),_0x16b9f5[_0xd91a53([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd91a53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20c7da=!0x1;const _0x45efd8=_0x288d30();function _0x45a0fb(_0x1cd9d9){return!!_0x1cd9d9&&(typeof _0x1cd9d9===_0xd91a53([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cd9d9===_0xd91a53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cd9d9[_0xd91a53([0x74,0x68,0x65,0x6e])]===_0xd91a53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cd9d9[_0xd91a53([0x63,0x61,0x74,0x63,0x68])]===_0xd91a53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53e387(_0x34bb8c){_0x12980b(_0x34bb8c)[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x3e7f48=>{if(!_0x3e7f48||_0x3e7f48[_0xd91a53([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd91a53([0x6f,0x6b]))return _0xd91a53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x268a58(_0x33fe85(_0x45efd8+_0x51971e))!=_0x3e7f48[_0xd91a53([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd91a53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd91a53([0x56,0x61,0x6c,0x69,0x64]);})[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x93e3ac=>(_0x2f9208(),_0x93e3ac),()=>{const _0x5d7131=_0x2336eb();return null==_0x5d7131?(_0x2f9208(),_0xd91a53([0x56,0x61,0x6c,0x69,0x64])):_0xd91a53(_0x148349-_0x5d7131>(0x4b4c47fb^_0x2c1d0f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x156d61)[_0xd91a53([0x63,0x61,0x74,0x63,0x68])](()=>{_0x156d61(_0xd91a53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa294ef=0x6f762d7b^_0x2c1d0f;function _0x2f9208(){const _0x527b01=_0xd91a53([0x6c,0x6c,0x63,0x74,0x2d])+_0x268a58(_0x33fe85(_0x54f481)),_0x50322d=_0x53260e(_0x268a58(window[_0xd91a53([0x4d,0x61,0x74,0x68])][_0xd91a53([0x63,0x65,0x69,0x6c])](_0x148349/_0xa294ef)));window[_0xd91a53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd91a53([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x527b01,_0x50322d);}function _0x2336eb(){const _0x334261=_0xd91a53([0x6c,0x6c,0x63,0x74,0x2d])+_0x268a58(_0x33fe85(_0x54f481)),_0x1dc005=window[_0xd91a53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd91a53([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x334261);return _0x1dc005?window[_0xd91a53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53260e(_0x1dc005),0x10)*_0xa294ef:null;}function _0x12980b(_0x3a1c21){return new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18e592,_0xdafef1)=>{_0x3a1c21[_0xd91a53([0x74,0x68,0x65,0x6e])](_0x18e592,_0xdafef1),window[_0xd91a53([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdafef1,0x6f41173b^_0x2c1d0f);});}}_0x16b9f5[_0xd91a53([0x6f,0x6e])](_0xd91a53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b21e8,_0x1b4786)=>{if(_0x1b4786[0x0]!=_0x54f481)return _0x156d61(_0xd91a53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b4786[0x1]={..._0x1b4786[0x1],[_0xd91a53([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45efd8};},{[_0xd91a53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd91a53([0x68,0x69,0x67,0x68])}),_0x16b9f5[_0xd91a53([0x6f,0x6e])](_0xd91a53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x302f4b=>{_0x45a0fb(_0x302f4b[_0xd91a53([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20c7da=!0x0,_0x53e387(_0x302f4b[_0xd91a53([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd91a53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd91a53([0x6c,0x6f,0x77])}),_0x477668[_0xd91a53([0x74,0x68,0x65,0x6e])](()=>{_0x20c7da||_0x156d61(_0xd91a53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fe03e(){return _0x16b9f5[_0xd91a53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd91a53([0x76,0x69,0x65,0x77])][_0xd91a53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd91a53([0x61,0x75,0x74,0x6f]);}function _0xcd0e(){_0x16b9f5[_0xd91a53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd91a53([0x76,0x69,0x65,0x77])][_0xd91a53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd91a53([0x61,0x75,0x74,0x6f]);}}function _0x505087(_0xe6ebc7){const _0x298da3=[new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e5900=>setTimeout(_0x4e5900,0x6f49fd37^_0x2c1d0f)),_0x477668[_0xd91a53([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dfcd3=>{let _0x41c229=0x0;_0x16b9f5[_0xd91a53([0x6d,0x6f,0x64,0x65,0x6c])][_0xd91a53([0x6f,0x6e])](_0xd91a53([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x405c22,_0x4df16c)=>{_0x4df16c[0x0][_0xd91a53([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41c229++,_0x41c229==(0x6f40c613^_0x2c1d0f)&&(_0x2dfcd3(),_0x405c22[_0xd91a53([0x6f,0x66,0x66])]());});}))];return window[_0xd91a53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd91a53([0x72,0x61,0x63,0x65])](_0x298da3)[_0xd91a53([0x74,0x68,0x65,0x6e])](()=>_0xe6ebc7);}async function _0x1482a9(){await _0x477668;const _0x2ed753=_0x16b9f5['commands'][_0xd91a53([0x67,0x65,0x74])](_0xd91a53([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x2ed753&&_0x2ed753[_0xd91a53([0x6f,0x6e])](_0xd91a53([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0xaf0b87=>{_0xaf0b87['stop']();},{'priority':_0xd91a53([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x16b9f5[_0xd91a53([0x6d,0x6f,0x64,0x65,0x6c])][_0xd91a53([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17849c,_0x16b9f5[_0xd91a53([0x6d,0x6f,0x64,0x65,0x6c])][_0xd91a53([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17849c,_0x16b9f5[_0xd91a53([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd91a53([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd0135f(_0x578106){const _0x2e6e6d=_0x2de14c();_0x16b9f5[_0x2e6e6d]=_0xd91a53([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])+_0x578106,_0x578106!=_0xd91a53([0x56,0x61,0x6c,0x69,0x64])&&_0x1482a9();}function _0x2de14c(){const _0x1b97cb=window[_0xd91a53([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd91a53([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd91a53([0x6e,0x6f,0x77])]())[_0xd91a53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd91a53([0x2e]),'');let _0x5a02b7=_0xd91a53([0x44]);for(let _0x1aeec8=0x0;_0x1aeec8<_0x1b97cb[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aeec8+=0x2){let _0x46ea99=window[_0xd91a53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b97cb[_0xd91a53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1aeec8,_0x1aeec8+0x2));_0x46ea99>=_0x1a161e[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46ea99-=_0x1a161e[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a02b7+=_0x1a161e[_0x46ea99];}return _0x5a02b7;}function _0xa1f15e(){const _0x2723b3=_0x3b8907[_0xd91a53([0x73,0x70,0x6c,0x69,0x74])](_0xd91a53([0x2e]));if(0x3!=_0x2723b3[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55192d(_0x2723b3[0x1]);function _0x55192d(_0x5c6dee){const _0x313ce1=_0x50dd82(_0x5c6dee);return _0x313ce1&&_0x5f55b2()?_0x313ce1:null;function _0x5f55b2(){const _0x457e61=_0x313ce1[_0xd91a53([0x6a,0x74,0x69])],_0x5a2b6d=window[_0xd91a53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x457e61[_0xd91a53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x457e61[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d58e5={..._0x313ce1,[_0xd91a53([0x6a,0x74,0x69])]:_0x457e61[_0xd91a53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x457e61[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d58e5[_0xd91a53([0x76,0x63])],_0x33fe85(_0x2d58e5)==_0x5a2b6d;}}}async function _0x40eec0(){let _0xcca830=!0x0;try{const _0x51ed6b=_0x3b8907[_0xd91a53([0x73,0x70,0x6c,0x69,0x74])](_0xd91a53([0x2e])),[_0x3496e6,_0x232d8d,_0x3ca376]=_0x51ed6b;return _0x3b878c(_0x3496e6),await _0x665c25(_0x3496e6,_0x232d8d,_0x3ca376),_0xcca830;}catch{return!0x1;}function _0x3b878c(_0x5f5cdc){const _0x51e34c=_0x50dd82(_0x5f5cdc);_0x51e34c&&_0x51e34c[_0xd91a53([0x61,0x6c,0x67])]==_0xd91a53([0x45,0x53,0x32,0x35,0x36])||(_0xcca830=!0x1);}async function _0x665c25(_0x700db7,_0x37b2ee,_0x83e748){const _0x1d02a3=window[_0xd91a53([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd91a53([0x66,0x72,0x6f,0x6d])](_0xdbdd5a(_0x83e748),_0xca5d05=>_0xca5d05[_0xd91a53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54c48a=new window[(_0xd91a53([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd91a53([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x700db7+_0xd91a53([0x2e])+_0x37b2ee),_0x3e0980=window[_0xd91a53([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd91a53([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e0980)return;const _0x58acf9=await _0x3e0980[_0xd91a53([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd91a53([0x6a,0x77,0x6b]),_0x2f91a6,{[_0xd91a53([0x6e,0x61,0x6d,0x65])]:_0xd91a53([0x45,0x43,0x44,0x53,0x41]),[_0xd91a53([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd91a53([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd91a53([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e0980[_0xd91a53([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd91a53([0x6e,0x61,0x6d,0x65])]:_0xd91a53([0x45,0x43,0x44,0x53,0x41]),[_0xd91a53([0x68,0x61,0x73,0x68])]:{[_0xd91a53([0x6e,0x61,0x6d,0x65])]:_0xd91a53([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58acf9,_0x1d02a3,_0x54c48a)||(_0xcca830=!0x1);}}function _0x50dd82(_0x1208f3){return _0x1208f3[_0xd91a53([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd91a53([0x65,0x79]))?JSON[_0xd91a53([0x70,0x61,0x72,0x73,0x65])](_0xdbdd5a(_0x1208f3)):null;}function _0xdbdd5a(_0x466e68){return window[_0xd91a53([0x61,0x74,0x6f,0x62])](_0x466e68[_0xd91a53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd91a53([0x2b]))[_0xd91a53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd91a53([0x2f])));}function _0x33fe85(_0x2318da){let _0x18493d=0x1505;function _0x5da58a(_0x259c34){for(let _0x37aa8d=0x0;_0x37aa8d<_0x259c34[_0xd91a53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37aa8d++){const _0x48c3fa=_0x259c34[_0xd91a53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37aa8d);_0x18493d=(_0x18493d<<0x5)+_0x18493d+_0x48c3fa,_0x18493d&=_0x18493d;}}function _0x557ff0(_0x341634){Array[_0xd91a53([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x341634)?_0x341634[_0xd91a53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x557ff0):_0x341634&&typeof _0x341634==_0xd91a53([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd91a53([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x341634)[_0xd91a53([0x73,0x6f,0x72,0x74])]()[_0xd91a53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2674fc,_0x368b17])=>{_0x5da58a(_0x2674fc),_0x557ff0(_0x368b17);}):_0x5da58a(window[_0xd91a53([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x341634));}return _0x557ff0(_0x2318da),_0x18493d>>>0x0;}function _0x268a58(_0xab53be){return _0xab53be[_0xd91a53([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd91a53([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd91a53([0x30]));}function _0x53260e(_0x3f18a4){return _0x3f18a4[_0xd91a53([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd91a53([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd91a53([0x6a,0x6f,0x69,0x6e])]('');}function _0x17849c(){}function _0xd91a53(_0x49b869){return _0x49b869['map'](_0x46cf50=>String['fromCharCode'](_0x46cf50))['join']('');}_0xd0135f(await _0x1d744a());}(this);}}class ExportInlineStyles extends _0x4ac504{['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 _0x221fb3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x472dcf;for(const _0x2f10bd in _0x221fb3){const _0x322594=_0x2f10bd,_0xe3eafd=_0x221fb3[_0x322594];if('exportInlineStylesLicenseKeyValid'==_0xe3eafd||'exportInlineStylesLicenseKeyInvalid'==_0xe3eafd||'exportInlineStylesLicenseKeyExpired'==_0xe3eafd||'exportInlineStylesLicenseKeyDomainLimit'==_0xe3eafd||'exportInlineStylesLicenseKeyNotAllowed'==_0xe3eafd||'exportInlineStylesLicenseKeyEvaluationLimit'==_0xe3eafd||'exportInlineStylesLicenseKeyUsageLimit'==_0xe3eafd){delete _0x221fb3[_0x322594],_0x472dcf=_0xe3eafd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x472dcf&&_0x221fb3['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x472dcf&&_0x221fb3['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x472dcf&&_0x221fb3['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x472dcf&&_0x221fb3['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x472dcf&&_0x221fb3['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x472dcf&&_0x221fb3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function dg(_0x3d14b2={}){const _0x3c82ee=[fg,mg,gg];return _0x3d14b2['useFigureToTableFallback']&&_0x3c82ee['push'](pg,Og),_0x3c82ee;}function fg(_0x22be45,_0x1ddc3a){if(!['TABLE','IMG']['includes'](_0x22be45['tagName']))return;const _0xf24f6=_0x1ddc3a['getAsString']('float');if(_0xf24f6){const _0x3fdebc=rg(_0xf24f6);'left'!==_0x3fdebc&&'right'!==_0x3fdebc||_0x22be45['setAttribute']('align',_0x3fdebc);}}function mg(_0x57444c,_0x4bced2){if('TABLE'!==_0x57444c['tagName']||_0x4bced2['has']('float'))return;const _0x58fa4f=yg(_0x4bced2),_0x3b6e27=_0x4bced2['getAsString']('width');(_0x58fa4f||_0x3b6e27)&&(wg(_0x57444c,_0x57444c,{'align':_0x58fa4f,'width':_0x3b6e27}),_0x4bced2['remove']('width'),_0x4bced2['remove']('margin-left'),_0x4bced2['remove']('margin-right'),_0x4bced2['remove']('min-width'),_0x4bced2['remove']('max-width'));}function gg(_0x11cc79,_0x25425d){if('IMG'!==_0x11cc79['tagName'])return;const _0x2c6d49=_0x25425d['getAsString']('width');_0x2c6d49&&(_0x11cc79['setAttribute']('width',_0x2c6d49),_0x11cc79['setAttribute']('height','auto'));}function pg(_0x27f7b4,_0x25fd08){if('FIGURE'!==_0x27f7b4['tagName'])return;const _0x31f4f3=yg(_0x25fd08),_0x39893a=_0x25fd08['getAsString']('width');if(!_0x31f4f3&&!_0x39893a)return;const _0x3e0144=_g(_0x27f7b4,'div');return wg(_0x27f7b4,_0x3e0144,{'align':_0x31f4f3,'width':_0x39893a}),_0x25fd08['set']('width','100%'),_0x25fd08['remove']('margin-left'),_0x25fd08['remove']('margin-right'),_0x25fd08['remove']('min-width'),_0x25fd08['remove']('max-width'),_0x3e0144;}function Og(_0x5cd10c){if('FIGCAPTION'!==_0x5cd10c['tagName'])return;const _0x4f3c41=_g(_0x5cd10c,'div');return _0x5cd10c['replaceWith'](_0x4f3c41),_0x4f3c41;}function wg(_0x1088a7,_0x438ad5,_0x23b457){const _0x52d68f=_0x1088a7['ownerDocument'],{table:_0x2099b4,cell:_0x572661}=bg(_0x52d68f,'100%');_0x23b457['align']&&_0x572661['setAttribute']('align',rg(_0x23b457['align']));let _0x1fb30b=_0x572661;if(_0x23b457['width']){const {table:_0x43818f,cell:_0xaab1d1}=bg(_0x52d68f,rg(_0x23b457['width']));_0x572661['appendChild'](_0x43818f),_0x1fb30b=_0xaab1d1;}_0x1088a7['replaceWith'](_0x2099b4),_0x1088a7['removeAttribute']('align'),_0x1088a7['removeAttribute']('width'),_0x1fb30b['appendChild'](_0x438ad5);}function bg(_0x2371a3,_0x8e71b6){const _0x38815c=_0x2371a3['createElement']('table');_0x38815c['setAttribute']('width',_0x8e71b6),_0x38815c['setAttribute']('cellpadding','0'),_0x38815c['setAttribute']('cellspacing','0'),_0x38815c['setAttribute']('border','0'),_0x38815c['setAttribute']('role','presentation');const _0x1130a5=_0x2371a3['createElement']('tbody'),_0x11a072=_0x2371a3['createElement']('tr'),_0x4dd6f3=_0x2371a3['createElement']('td');return _0x38815c['appendChild'](_0x1130a5),_0x1130a5['appendChild'](_0x11a072),_0x11a072['appendChild'](_0x4dd6f3),{'table':_0x38815c,'cell':_0x4dd6f3};}function yg(_0x351605){const _0x647e9e=_0x351605['getAsString']('margin-left'),_0x3b5be4=_0x351605['getAsString']('margin-right'),_0x4a581c=_0x647e9e&&rg(_0x647e9e),_0x368493=_0x3b5be4&&rg(_0x3b5be4);return'auto'===_0x4a581c&&'auto'===_0x368493?'center':'auto'===_0x4a581c?'right':'auto'===_0x368493?'left':void 0x0;}function _g(_0x8807f0,_0x33b0b5){const _0x30882e=_0x8807f0['ownerDocument']['createElement'](_0x33b0b5);for(const _0x1e0812 of Array['from'](_0x8807f0['attributes']))_0x30882e['setAttribute'](_0x1e0812['name'],_0x1e0812['value']);for(;_0x8807f0['firstChild'];)_0x30882e['appendChild'](_0x8807f0['firstChild']);return _0x30882e;}class ImageEmailIntegration extends _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3184bf,plugins:_0x5e9118}=this['editor'],_0x4cc776=_0x3184bf['get']('exportInlineStyles');if(_0x4cc776?.['transformations']?.['includes'](pg))return;_0x5e9118['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 _0x4ac504{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 _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3a0404=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x3a0404['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x46ee4a=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x50476f=this['editor']['config']['get']('list');_0x50476f&&_0x50476f['properties']&&_0x50476f['properties']['reversed']&&_0x46ee4a['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x50476f&&_0x50476f['enableListItemMarkerFormatting']&&_0x46ee4a['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x4ac504{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:_0x5c6be6}=this['editor'],_0xb70b42=_0x5c6be6['get'](EmailConfigurationLogger);_0x5c6be6['has']('Table')&&(_0x5c6be6['has']('PlainTableOutput')||_0xb70b42['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x5c6be6['has']('TableLayout')||_0xb70b42['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x5e6b72,plugins:_0x401cfc}=this['editor'];_0x5e6b72['get']('table')&&_0x401cfc['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x34aa93){const _0x4d07e6=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x4d07e6['_validateConfigColorValue']('table.'+_0x34aa93+'.borderColors'),_0x4d07e6['_validateConfigColorValue']('table.'+_0x34aa93+'.backgroundColors'),_0x4d07e6['_validateConfigColorValue']('table.'+_0x34aa93+'.defaultProperties.borderColor'),_0x4d07e6['_validateConfigColorValue']('table.'+_0x34aa93+'.defaultProperties'),_0x4d07e6['_validateConfigColorFormat']('table.'+_0x34aa93+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x30a83e=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x30a83e['_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 _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x4d6c46}=this['editor'];_0x4d6c46['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x4d6c46['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x353d0c){const _0x39712d=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x353d0c)&&(_0x39712d['_validateConfigColorValue'](_0x353d0c+'.colors'),_0x39712d['_validateConfigColorValue'](_0x353d0c+'.documentColors'),_0x39712d['_validateConfigColorFormat'](_0x353d0c+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x541c2d}=this['editor'],_0x39788d=_0x541c2d['get'](EmailConfigurationLogger);_0x541c2d['has']('SourceEditing')||_0x541c2d['has']('SourceEditingEnhanced')||_0x39788d['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x4ac504{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 _0x4ac504{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:_0x2a87b3}=this['editor'];if(!_0x2a87b3['has']('DataFilter'))return;const _0x390503=_0x2a87b3['get']('DataFilter'),_0x34872b=_0x2a87b3['get'](EmailConfigurationLogger);for(const _0xc78aa2 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x390503['once']('register:'+_0xc78aa2,(_0x532ed8,_0x5c17c2)=>{_0x34872b['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x5c17c2['view']});});}}class MergeFieldsEmailIntegration extends _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xd3c00f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0xd3c00f['_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 _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x49bac0=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x49bac0['_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 _0x4ac504{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 _0x4ac504{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 _0x4ac504{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 _0x4ac504{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 _0x4ac504{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x55351c,plugins:_0x3cbc35}=this['editor'],_0xe1a1d3=_0x3cbc35['get'](EmailConfigurationLogger),_0x22a5e2=_0x55351c['get']('exportInlineStyles');_0x22a5e2?.['transformations']?.['includes'](pg)||_0xe1a1d3['_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 _0x4ac504{['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 _0x17f142=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ef6c5;for(const _0x26c4a4 in _0x17f142){const _0x4d24a5=_0x26c4a4,_0x429aa9=_0x17f142[_0x4d24a5];if('emailConfigurationHelperLicenseKeyValid'==_0x429aa9||'emailConfigurationHelperLicenseKeyInvalid'==_0x429aa9||'emailConfigurationHelperLicenseKeyExpired'==_0x429aa9||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x429aa9||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x429aa9||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x429aa9||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x429aa9){delete _0x17f142[_0x4d24a5],_0x1ef6c5=_0x429aa9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x1ef6c5&&_0x17f142['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x1ef6c5&&_0x17f142['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x1ef6c5&&_0x17f142['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x1ef6c5&&_0x17f142['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x1ef6c5&&_0x17f142['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x1ef6c5&&_0x17f142['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function vg(_0x1ec811,_0x261644){const t=_0x1ec811['t'];switch(_0x261644){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 _0x261644;}}class ExportPdfCommand extends _0x1110b9{constructor(_0x47e831){super(_0x47e831),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x36c944={}){const _0x293c6c=this['editor'],_0x56e002=_0x36c944['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x4bb7ac=_0x36c944['dataCallback']||(_0x2fa8a6=>_0x2fa8a6['data']['get']()),_0x2348ae=_0x293c6c['plugins']['get']('ExportPdf'),_0x31d11c=_0x36c944['token']||_0x2348ae['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x1e8944(_0x36c944['stylesheets']||['EDITOR_STYLES'])['then'](async _0x2935a4=>{if(_0x293c6c['ui']['ariaLiveAnnouncer']['announce'](vg(_0x293c6c['locale'],'PDF\x20export\x20started')),_0x293c6c['plugins']['has']('MergeFields')){_0x36c944['converterOptions']||(_0x36c944['converterOptions']={});const _0x56c0cf=_0x293c6c['plugins']['get']('MergeFieldsEditing'),_0x4a111d=_0x56c0cf['previewMode'],{prefix:_0x1bbbf9,suffix:_0x15cf8d}=_0x293c6c['config']['get']('mergeFields'),_0x1ee3d9='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x2ed1ce={'prefix':_0x1bbbf9,'suffix':_0x15cf8d,'data':{}};if('$labels'===_0x4a111d){for(const _0x1b519b of _0x56c0cf['getMergeFieldsIds']())'image'===_0x56c0cf['getMergeFieldType'](_0x1b519b)?_0x2ed1ce['data'][_0x1b519b]=_0x1ee3d9:_0x2ed1ce['data'][_0x1b519b]=_0x56c0cf['wrapInAffixes'](_0x56c0cf['getLabel'](_0x1b519b)||_0x1b519b);}else{const _0x1f3b44='$defaultValues'===_0x4a111d?_0x56c0cf['getDefaultValues']():_0x56c0cf['getDataSetValues'](_0x4a111d,!0x0);for(const _0x33a0d7 of Object['entries'](_0x1f3b44)){const [_0xe9db79,_0x8c3ce9]=_0x33a0d7;'image'===_0x56c0cf['getMergeFieldType'](_0xe9db79)?_0x2ed1ce['data'][_0xe9db79]=null!==_0x8c3ce9?_0x8c3ce9:_0x1ee3d9:_0x2ed1ce['data'][_0xe9db79]=null!==_0x8c3ce9?_0x8c3ce9:_0x56c0cf['getLabel'](_0xe9db79)||_0xe9db79;}}_0x36c944['converterOptions']['merge_fields']=_0x2ed1ce;}const _0x3dcb92=0x2===_0x36c944['version']?function(_0x48de68){const _0x59603d=_0x48de68?.['document']?.['margins'];return Tg({'pageWidth':Eg(_0x48de68?.['document']?.['size']||'A4'),'marginLeft':_0x59603d?.['left'],'marginRight':_0x59603d?.['right']});}(_0x36c944['converterOptions']):(_0x2c6aee=_0x36c944['converterOptions'],Tg({'pageWidth':Eg(_0x2c6aee?.['format']||'A4'),'marginLeft':_0x2c6aee?.['margin_left'],'marginRight':_0x2c6aee?.['margin_right']}));var _0x2c6aee;const _0x4078c1={'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'+_0x293c6c['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x3dcb92+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x4bb7ac(_0x293c6c)+'\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':_0x2935a4,[0x2===_0x36c944['version']?'config':'options']:_0x36c944['converterOptions']},_0x49f42c={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x31d11c?{'Authorization':_0x31d11c['value']}:null,'x-cs-app-id':_0x36c944['appID']||'cke5'},'body':JSON['stringify'](_0x4078c1)};return window['fetch'](_0x56e002,_0x49f42c)['then'](_0x559b5c=>{if(0xc8!==_0x559b5c['status'])throw _0x559b5c;return _0x559b5c['blob']();})['then'](_0x46a5ff=>{_0x293c6c['ui']['ariaLiveAnnouncer']['announce'](vg(_0x293c6c['locale'],'PDF\x20export\x20successful'));const _0xe98dba='function'==typeof _0x36c944['fileName']?_0x36c944['fileName']():_0x36c944['fileName'];this['_downloadFile'](_0x46a5ff,_0xe98dba||'document.pdf');});})['catch'](_0x13f52b=>{const _0x3e8c36=_0x293c6c['plugins']['get']('Notification');throw _0x293c6c['ui']['ariaLiveAnnouncer']['announce'](vg(_0x293c6c['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x3e8c36['showWarning'](vg(_0x293c6c['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x13f52b;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x1f6b5f,_0x4f63ae){const _0x5e989c=document['createElement']('a');_0x5e989c['href']=window['URL']['createObjectURL'](_0x1f6b5f),_0x5e989c['download']=_0x4f63ae,_0x5e989c['click'](),_0x5e989c['remove']();}}function Tg({pageWidth:_0x219e15,marginLeft:_0x22534a,marginRight:_0x2dc1c0}){return'width:calc('+[_0x219e15,_0x22534a,_0x2dc1c0]['filter'](Boolean)['join']('\x20-\x20')+');';}function Eg(_0x262ad5){if('object'==typeof _0x262ad5&&'width'in _0x262ad5)return _0x262ad5['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']}[_0x262ad5['toLowerCase']()][0x0];}class ExportPdfUI extends _0x4ac504{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fc6a5=this['editor'];_0x2fc6a5['ui']['componentFactory']['add']('exportPdf',()=>{const _0x292dc0=this['_createButton'](_0x13bcd9),_0x188718=_0x2fc6a5['commands']['get']('exportPdf');return _0x292dc0['set']({'tooltip':!0x0}),_0x292dc0['bind']('isOn')['to'](_0x188718,'isBusy'),_0x292dc0;}),_0x2fc6a5['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ot));}['_createButton'](_0x4d0782){const _0x4682e5=this['editor'],_0x197403=_0x4682e5['config']['get']('exportPdf')||{},_0x176737=_0x4682e5['commands']['get']('exportPdf'),_0x5bb9a0=new _0x4d0782(_0x4682e5['locale']),_0x555bea=new _0x513369();return _0x5bb9a0['children']['add'](_0x555bea),_0x555bea['bind']('isVisible')['to'](_0x176737,'isBusy'),_0x5bb9a0['iconView']['bind']('isVisible')['to'](_0x176737,'isBusy',_0x5b4b18=>!_0x5b4b18),_0x5bb9a0['set']({'icon':_0x56ba00}),_0x5bb9a0['bind']('isEnabled')['to'](_0x176737,'isEnabled'),_0x5bb9a0['bind']('label')['to'](_0x176737,'isBusy',_0x4c16bf=>vg(_0x4682e5['locale'],_0x4c16bf?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x5bb9a0,'execute',()=>{_0x4682e5['execute']('exportPdf',_0x197403),_0x4682e5['editing']['view']['focus']();}),_0x5bb9a0;}}class ExportPdf extends _0x4ac504{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',Qt,ExportPdfUI];}['init'](){const _0x374ba7=this['editor'],_0x25669c=_0x374ba7['config']['get']('exportPdf')||{};_0x374ba7['commands']['add']('exportPdf',new ExportPdfCommand(_0x374ba7));const _0x342fb6=_0x374ba7['plugins']['get']('CloudServices');!0x1===_0x25669c['tokenUrl']?this['_token']=null:_0x25669c['tokenUrl']?_0x342fb6['registerTokenUrl'](_0x25669c['tokenUrl'])['then'](_0x2fcd4d=>{this['_token']=_0x2fcd4d;}):this['_token']=_0x342fb6['token'];}}function Ag(_0xce319c,_0x467ff5={}){const _0x3e855a=_0xce319c['plugins']['has']('Users'),_0x309a50=_0xce319c['plugins']['has']('CommentsRepository'),_0x485ef6=_0xce319c['plugins']['has']('TrackChanges'),_0x3da9e7=_0x467ff5;if(_0x3e855a&&_0x309a50){const _0x14001d=function(_0x5e515d){const _0x172a28={};if(!_0x5e515d['length'])return _0x172a28;for(const _0xd29a11 of _0x5e515d)_0xd29a11['comments']['map'](_0x2696b0=>{void 0x0===_0x172a28[_0xd29a11['id']]&&(_0x172a28[_0xd29a11['id']]=[]),_0x172a28[_0xd29a11['id']]['push']({'author':_0x2696b0['author']['name'],'content':_0x2696b0['content'],'created':_0x2696b0['createdAt'],'is_resolved':_0xd29a11['isResolved']});});return _0x172a28;}(_0xce319c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x14001d)['length']&&(_0x3da9e7['comments']=_0x14001d);}if(_0x3e855a&&_0x485ef6){const _0x45ce91=_0xce319c['plugins']['get']('TrackChanges'),_0x35f38c=_0xce319c['plugins']['get']('Users'),_0xa79a52=function(_0x4024b5,_0x485fa7){const _0x4d3061={};if(!_0x4024b5['length']||!_0x485fa7['length'])return _0x4d3061;for(const {id:_0x277013,createdAt:_0x472b22,authorId:_0x2097c7,attributes:_0x2ec141}of _0x4024b5){const _0x1e7f06=_0x2ec141&&_0x2ec141['@external'],_0x4eb673=_0x1e7f06?_0x1e7f06['authorName']:_0x485fa7['get'](_0x2097c7)['name'];_0x4d3061[_0x277013]={'author':_0x4eb673,'created':_0x472b22};}return _0x4d3061;}(_0x45ce91['getSuggestions']({'toJSON':!0x0}),_0x35f38c['users']);Object['keys'](_0xa79a52)['length']&&(_0x3da9e7['suggestions']=_0xa79a52);}return(_0x3da9e7['suggestions']||_0x3da9e7['comments'])&&(_0x3da9e7['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x3da9e7;}function Sg(_0x21c0fb,_0xa56a47={}){const _0x1f3371=_0x21c0fb['plugins']['has']('Users'),_0x3cf24e=_0x21c0fb['plugins']['has']('CommentsRepository'),_0x4e2b70=_0x21c0fb['plugins']['has']('TrackChanges'),_0x7454f=_0x21c0fb['plugins']['has']('MergeFields'),_0x524fdc=_0x21c0fb['locale']['contentLanguage'],_0x46dc95=_0xa56a47,_0x162f59={};if(_0x46dc95['document']=_0x46dc95['document']||{},_0x46dc95['document']['language']=_0x46dc95['document']['language']||_0x524fdc,_0x1f3371&&_0x3cf24e){const _0x37aa88=function(_0x16edcb){const _0x1ed660=[];if(!_0x16edcb['length'])return _0x1ed660;for(const _0x5d1f0b of _0x16edcb){const _0xe61d7a=_0x5d1f0b['comments']['map'](_0x4abb61=>({'author':_0x4abb61['author']['name'],'content':_0x4abb61['content'],'created_at':_0x4abb61['createdAt']}));_0x1ed660['push']({'thread_id':_0x5d1f0b['id'],'is_resolved':_0x5d1f0b['isResolved'],'comments':_0xe61d7a});}return _0x1ed660;}(_0x21c0fb['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x37aa88['length']&&(_0x162f59['comment_threads']=_0x37aa88);}if(_0x1f3371&&_0x4e2b70){const _0x44fe82=_0x21c0fb['plugins']['get']('TrackChanges'),_0x3f4c4f=_0x21c0fb['plugins']['get']('Users'),_0xaf37cf=function(_0x1b9c3a,_0x1cb505){if(!_0x1b9c3a['length']||!_0x1cb505['length'])return[];return _0x1b9c3a['map'](({id:_0x4c92a7,createdAt:_0x431749,authorId:_0x30fe8f,attributes:_0x5da2f9})=>{const _0x23f5fe=_0x5da2f9&&_0x5da2f9['@external'];return{'id':_0x4c92a7,'author':_0x23f5fe?_0x23f5fe['authorName']:_0x1cb505['get'](_0x30fe8f)['name'],'created_at':_0x431749};});}(_0x44fe82['getSuggestions']({'toJSON':!0x0}),_0x3f4c4f['users']);_0xaf37cf['length']&&(_0x162f59['suggestions']=_0xaf37cf);}if(_0x7454f){const _0x390627=_0x21c0fb['plugins']['get']('MergeFieldsEditing'),_0x8af6e=_0x390627['previewMode'],{prefix:_0x14da25,suffix:_0x10541f}=_0x21c0fb['config']['get']('mergeFields');if(_0x46dc95['merge_fields']={'prefix':_0x14da25,'suffix':_0x10541f},'$labels'!==_0x8af6e){_0x46dc95['merge_fields']['data']={};const _0x325c17='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x2022bc='$defaultValues'===_0x8af6e?_0x390627['getDefaultValues']():_0x390627['getDataSetValues'](_0x8af6e,!0x0);for(const _0x4e2d23 of Object['entries'](_0x2022bc)){const [_0x4da5f4,_0xd2056b]=_0x4e2d23;'image'===_0x390627['getMergeFieldType'](_0x4da5f4)?_0x46dc95['merge_fields']['data'][_0x4da5f4]=null!==_0xd2056b?_0xd2056b:_0x325c17:_0x46dc95['merge_fields']['data'][_0x4da5f4]=null!==_0xd2056b?_0xd2056b:_0x390627['getLabel'](_0x4da5f4)||_0x4da5f4;}}}return(_0x162f59['comment_threads']||_0x162f59['suggestions'])&&(_0x46dc95['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x46dc95['collaboration_features']=_0x162f59),_0x46dc95;}function Ig(_0x7477c5,_0x5e0900){const t=_0x7477c5['t'];switch(_0x5e0900){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 _0x5e0900;}}const Cg=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x1110b9{constructor(_0x43df60){super(_0x43df60),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x2a813a={}){const _0x15c534=this['editor'],_0x457714=_0x2a813a['version']||0x2,_0x25caef=0x1===_0x457714,_0x7c2ff5=_0x2a813a['converterUrl']||(_0x25caef?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x7ca42c=_0x2a813a['converterOptions']||{},_0x2ab7e9=_0x15c534['plugins']['get']('ExportWord'),_0x403a96=_0x2a813a['token']||_0x2ab7e9['_token'],_0x220aae=!0x0===_0x7ca42c['auto_pagination'],_0x15ab9=_0x2a813a['dataCallback']||(_0x166cb3=>_0x166cb3['data']['get']({'pagination':_0x220aae}));return 0x2===_0x457714&&function(_0x485880){for(const _0x173a76 of Cg)if(void 0x0!==_0x485880[_0x173a76])return!0x0;return!0x1;}(_0x7ca42c)&&_0x2e934f('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x1e8944(_0x2a813a['stylesheets']||['EDITOR_STYLES'])['then'](async _0x2bd5c8=>{_0x15c534['ui']['ariaLiveAnnouncer']['announce'](Ig(_0x15c534['locale'],'Word\x20document\x20export\x20started'));const _0x2cdd62=await _0x15ab9(_0x15c534),_0x128b99={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x15c534['locale']['contentLanguageDirection']+'\x22>'+_0x2cdd62+'</div>','css':_0x2bd5c8,[_0x25caef?'options':'config']:{..._0x7ca42c,..._0x25caef?Ag(_0x15c534,_0x7ca42c):Sg(_0x15c534,_0x7ca42c)}},_0x52d063={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x403a96?{'Authorization':_0x403a96['value']}:null},'body':JSON['stringify'](_0x128b99)};return window['fetch'](_0x7c2ff5,_0x52d063)['then'](_0x524208=>{if(0xc8!==_0x524208['status'])throw _0x524208;return _0x524208['blob']();})['then'](_0x18d80c=>{_0x15c534['ui']['ariaLiveAnnouncer']['announce'](Ig(_0x15c534['locale'],'Word\x20document\x20export\x20successful'));const _0x274648='function'==typeof _0x2a813a['fileName']?_0x2a813a['fileName']():_0x2a813a['fileName'];this['_downloadFile'](_0x18d80c,_0x274648||'document.docx');});})['catch'](_0x21685e=>{const _0x443001=_0x15c534['plugins']['get']('Notification');throw _0x15c534['ui']['ariaLiveAnnouncer']['announce'](Ig(_0x15c534['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x443001['showWarning'](Ig(_0x15c534['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x21685e;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x5196fa,_0x45d042){const _0x29b041=document['createElement']('a');_0x29b041['href']=window['URL']['createObjectURL'](_0x5196fa),_0x29b041['download']=_0x45d042,_0x29b041['click'](),_0x29b041['remove']();}}class ExportWordUI extends _0x4ac504{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x9d0978=this['editor'];_0x9d0978['ui']['componentFactory']['add']('exportWord',()=>{const _0x311d71=_0x9d0978['commands']['get']('exportWord'),_0x1b8859=this['_createButton'](_0x13bcd9);return _0x1b8859['set']({'tooltip':!0x0}),_0x1b8859['bind']('isOn')['to'](_0x311d71,'isBusy'),_0x1b8859;}),_0x9d0978['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ot));}['_createButton'](_0x4b96d9){const _0x6a0b1b=this['editor'],_0x165fae=_0x6a0b1b['config']['get']('exportWord')||{},_0x27a131=_0x6a0b1b['commands']['get']('exportWord'),_0x521000=new _0x4b96d9(_0x6a0b1b['locale']),_0xff9b80=new _0x513369();return _0x521000['children']['add'](_0xff9b80),_0xff9b80['bind']('isVisible')['to'](_0x27a131,'isBusy'),_0x521000['iconView']['bind']('isVisible')['to'](_0x27a131,'isBusy',_0x3cef27=>!_0x3cef27),_0x521000['set']({'icon':_0x5c7da1}),_0x521000['bind']('isEnabled')['to'](_0x27a131,'isEnabled'),_0x521000['bind']('label')['to'](_0x27a131,'isBusy',_0x1fe359=>Ig(_0x6a0b1b['locale'],_0x1fe359?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x521000,'execute',()=>{_0x6a0b1b['execute']('exportWord',_0x165fae),_0x6a0b1b['editing']['view']['focus']();}),_0x521000;}}class ExportWord extends _0x4ac504{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',Qt,ExportWordUI];}['init'](){const _0x2bb643=this['editor'],_0x7a624=_0x2bb643['config']['get']('exportWord')||{};_0x2bb643['commands']['add']('exportWord',new ExportWordCommand(_0x2bb643));const _0xe2c5c9=_0x2bb643['plugins']['get']('CloudServices');!0x1===_0x7a624['tokenUrl']?this['_token']=null:_0x7a624['tokenUrl']?_0xe2c5c9['registerTokenUrl'](_0x7a624['tokenUrl'])['then'](_0x21988e=>{this['_token']=_0x21988e;}):this['_token']=_0xe2c5c9['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3ccfa5,_0x19e587){this['_model']=_0x3ccfa5,this['_elementName']=_0x19e587['elementName'],this['_getElementKey']=_0x19e587['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2e0f52){const _0xc11acc=new Set(),_0x599b86=new Map();for(const _0x4874ca of _0x2e0f52){if('insert'===_0x4874ca['type']&&'$text'!==_0x4874ca['name']&&_0x4874ca['position']['nodeAfter']){const _0x1ca95d=this['_model']['createRangeOn'](_0x4874ca['position']['nodeAfter']);for(const _0x5503a1 of _0x1ca95d['getItems']()){if(!_0x5503a1['is']('element',this['_elementName']))continue;const _0x19e9ef=this['_getElementKey'](_0x5503a1);_0x599b86['has'](_0x19e9ef)||_0x599b86['set'](_0x19e9ef,[]),_0x599b86['get'](_0x19e9ef)['push'](_0x5503a1);}}if('remove'===_0x4874ca['type']&&_0x4874ca['name']===this['_elementName']){const _0x27b654=this['_getElementKey']({'getAttribute':_0x2fd538=>_0x4874ca['attributes']['get'](_0x2fd538)});_0xc11acc['add'](_0x27b654);}}for(const [_0x15e9a0,_0x3292e4]of this['_trackedElements'])'$graveyard'===_0x3292e4['root']['rootName']&&_0xc11acc['add'](_0x15e9a0);for(const _0x34b22a of _0xc11acc)this['_trackedElements']['delete'](_0x34b22a);for(const [_0x2281b3,_0x47f7f2]of _0x599b86)this['_trackedElements']['set'](_0x2281b3,_0x47f7f2[_0x47f7f2['length']-0x1]);const _0x5e9608=new Set();for(const [_0x3a456a,_0x2d6382]of _0x599b86)_0xc11acc['has'](_0x3a456a)&&(_0x5e9608['add'](_0x2d6382[0x0]),_0x2d6382['length']>0x1?_0x599b86['set'](_0x3a456a,_0x2d6382['slice'](0x1)):_0x599b86['delete'](_0x3a456a),_0xc11acc['delete'](_0x3a456a));return{'removed':Array['from'](_0xc11acc),'inserted':Array['from'](_0x599b86['values']())['flat'](),'moved':Array['from'](_0x5e9608)};}}class FootnotesTracker extends _0x4ac504{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d3fa6){super(_0x3d3fa6),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x244166=>_0x244166['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x516d8=>_0x516d8['getAttribute']('footnoteId')});}['init'](){const {editor:_0x57a6b6}=this,{model:_0x13a71d,data:_0x1294d2}=_0x57a6b6;_0x13a71d['document']['registerPostFixer'](_0x106ccb=>{const _0x494cf7=_0x13a71d['document']['differ']['getChanges']();let _0x25f14f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x106ccb,_0x494cf7)&&(_0x25f14f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x106ccb,_0x494cf7)&&(_0x25f14f=!0x0),this['_handleFootnoteReferencesChanges'](_0x106ccb,_0x494cf7)&&(_0x25f14f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x106ccb)&&(_0x25f14f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x106ccb)&&(_0x25f14f=!0x0),this['_sortFootnoteDefinitions'](_0x106ccb)&&(_0x25f14f=!0x0),_0x25f14f;}),this['listenTo'](_0x13a71d['document'],'change:data',()=>{_0x13a71d['enqueueChange']({'isUndoable':!0x1},_0x48cba7=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x48cba7);});},{'priority':'low'}),this['listenTo'](_0x1294d2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x78e8e6){return this['_footnotes']['find'](_0x30e75e=>_0x30e75e['id']===_0x78e8e6)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3f6234){this['_footnoteFormatter']=_0x3f6234;}['_updateFootnotesCounters'](_0x19c913,_0x2ed024=0x0){let _0x3bc17c=!0x1;for(let _0x14370f=_0x2ed024;_0x14370f<this['_footnotes']['length'];_0x14370f++)this['_updateFootnoteRefCounter'](_0x19c913,_0x14370f)&&(_0x3bc17c=!0x0);return _0x3bc17c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5937d8,_0xae97ca){const _0x2c7a9c=_0x5937d8['createElement']('footnotesDefinitions',{});return _0x5937d8['append'](_0x2c7a9c,_0xae97ca),this['_footnotesDefinitions']=_0x2c7a9c,_0x2c7a9c;}['_ensureFootnotesDefinitionsContainerExists'](_0x7829f8){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1f1386=this['_footnotes'][0x0]['reference']['root'],_0x4da917=this['_insertEmptyFootnotesDefinitionsContainer'](_0x7829f8,_0x1f1386);for(const _0x913c8e of this['_footnotes'])_0x913c8e['definition']['parent']||_0x7829f8['insert'](_0x913c8e['definition'],_0x4da917,'end');this['_updateFootnotesCounters'](_0x7829f8);}['_handleFootnotesDefinitionsObjectChanges'](_0x39a4c8,_0x8a908d){let _0x163a4d=!0x1;const {inserted:_0x41678b,removed:_0x1fcc62,moved:_0xff6430}=this['_footnoteDefsContainerTracker']['getChanges'](_0x8a908d);if(_0xff6430['length']&&(this['_footnotesDefinitions']=_0xff6430[0x0]),_0x41678b['length']){if(_0x41678b['length']>0x1||this['_footnotesDefinitions']&&_0x41678b['some'](_0x5d6b96=>_0x5d6b96!==this['_footnotesDefinitions'])){const _0x4a9df9=_0x39a4c8['createElement']('footnotesDefinitions',{}),_0x56fb69=[];this['_footnotesDefinitions']&&_0x56fb69['push'](this['_footnotesDefinitions']),_0x56fb69['push'](..._0x41678b),_0x39a4c8['insert'](_0x4a9df9,_0x56fb69[0x0],'before');for(const _0x32d8df of _0x56fb69)_0x39a4c8['move'](_0x39a4c8['createRangeIn'](_0x32d8df),_0x39a4c8['createPositionAt'](_0x4a9df9,'end')),_0x39a4c8['remove'](_0x32d8df);this['_footnotesDefinitions']=_0x4a9df9,this['_updateFootnotesCounters'](_0x39a4c8),_0x163a4d=!0x0;}else this['_footnotesDefinitions']=_0x41678b[0x0];}if(_0x1fcc62['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x132be8 of this['_footnotes'])_0x39a4c8['remove'](_0x132be8['reference']),_0x163a4d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x163a4d;}['_handleFootnoteDefinitionsChanges'](_0x24bce5,_0x23c370){let _0x209a3d=!0x1;const _0x422d28=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x52bc0b,moved:_0x230dea}=this['_footnoteDefsTracker']['getChanges'](_0x23c370);for(const _0x17ddbc of[..._0x230dea,..._0x52bc0b]){const _0x3ca360=_0x17ddbc['getAttribute']('footnoteId'),_0x4b7427=this['getFootnote'](_0x3ca360);_0x4b7427&&(_0x4b7427['definition']=_0x17ddbc),kg(_0x24bce5,_0x422d28,_0x17ddbc)&&(_0x209a3d=!0x0);}return _0x209a3d;}['_handleFootnoteReferencesChanges'](_0x83835e,_0xe71d61){let _0x5dee67=!0x1;const {removed:_0x18eea4,inserted:_0x3c7ffe,moved:_0xb40a82}=this['_footnoteRefsTracker']['getChanges'](_0xe71d61);for(const _0x5cc537 of _0x18eea4)this['_handleRemoveFootnoteReferenceById'](_0x83835e,_0x5cc537)&&(_0x5dee67=!0x0);for(const _0x44e61a of _0x3c7ffe)this['_handleInsertedFootnoteReference'](_0x83835e,_0x44e61a)&&(_0x5dee67=!0x0);for(const _0x42dd6f of _0xb40a82)this['_handleMovedFootnoteReference'](_0x83835e,_0x42dd6f)&&(_0x5dee67=!0x0);return _0x5dee67;}['_handleFootnotesDefinitionsObjectSync'](_0x4ae271){if(!this['_footnotesDefinitions'])return!0x1;let _0x25cdba=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x160b40=[];for(const _0x4b549d of this['_footnotesDefinitions']['getChildren']()){const _0x3afe57=_0x4b549d['getAttribute']('footnoteId');this['getFootnote'](_0x3afe57)||(_0x160b40['unshift'](_0x4b549d),_0x25cdba=!0x0);}for(const _0x431bd9 of _0x160b40)_0x4ae271['remove'](_0x431bd9);}const _0x582529=new Set(),_0x4d7f54=[];for(const _0x209396 of this['_footnotesDefinitions']['getChildren']()){const _0x4a5108=_0x209396['getAttribute']('footnoteId');_0x582529['has'](_0x4a5108)?(_0x4d7f54['unshift'](_0x209396),_0x25cdba=!0x0):_0x582529['add'](_0x4a5108);}for(const _0x13a69b of _0x4d7f54)_0x4ae271['remove'](_0x13a69b);return this['_footnotesDefinitions']['childCount']||(_0x4ae271['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x25cdba=!0x0),_0x25cdba;}['_handleInsertedFootnoteReference'](_0x15d9fc,_0x199863){if(this['_footnotes']['find'](_0x28bb25=>_0x28bb25['reference']===_0x199863))return!0x1;let _0x11fca1=!0x1;const _0x1e72aa=_0x199863['getAttribute']('footnoteId'),_0x1e2ab1=this['_footnotes']['findIndex'](_0x4d1c12=>_0x4d1c12['id']===_0x1e72aa);-0x1!==_0x1e2ab1&&(_0x15d9fc['remove'](this['_footnotes'][_0x1e2ab1]['reference']),this['_footnotes']['splice'](_0x1e2ab1,0x1),_0x11fca1=!0x0);let _0x1bafd9=this['_footnotesDefinitions']?function(_0x5aebe5,_0x18f53c){for(const _0x3f09ba of _0x5aebe5['getChildren']())if(_0x3f09ba['getAttribute']('footnoteId')===_0x18f53c)return _0x3f09ba;return null;}(this['_footnotesDefinitions'],_0x1e72aa):null;_0x1bafd9||(_0x1bafd9=_0x15d9fc['createElement']('footnoteDefinition',{'footnoteId':_0x1e72aa}),this['_footnotesDefinitions']&&(_0x15d9fc['insert'](_0x1bafd9,this['_footnotesDefinitions'],'end'),_0x11fca1=!0x0));const _0xa24d3c={'id':_0x1e72aa,'reference':_0x199863,'definition':_0x1bafd9},_0x245071=xg(this['editor']['model'],this['_footnotes'],_0x199863);this['_footnotes']['splice'](_0x245071,0x0,_0xa24d3c);let _0x3c44f0=_0x245071;return-0x1!==_0x1e2ab1&&(_0x3c44f0=Math['min'](_0x245071,_0x1e2ab1)),this['_updateFootnotesCounters'](_0x15d9fc,_0x3c44f0)&&(_0x11fca1=!0x0),_0x11fca1;}['_handleRemoveFootnoteReferenceById'](_0x53d709,_0x59aa53){const _0x57e9cc=this['_footnotes']['findIndex'](_0x30d5a6=>_0x30d5a6['id']===_0x59aa53);if(-0x1===_0x57e9cc)return!0x1;let _0x359445=!0x1;const _0x427e32=this['_footnotes'][_0x57e9cc];return'$graveyard'!==_0x427e32['definition']['root']['rootName']&&(_0x53d709['remove'](_0x427e32['definition']),_0x359445=!0x0),this['_footnotes']['splice'](_0x57e9cc,0x1),this['_updateFootnotesCounters'](_0x53d709,_0x57e9cc)&&(_0x359445=!0x0),_0x359445;}['_handleMovedFootnoteReference'](_0x379698,_0x38bf3c){const _0x397249=_0x38bf3c['getAttribute']('footnoteId'),_0x3256e7=this['_footnotes']['findIndex'](_0x39c82f=>_0x39c82f['id']===_0x397249),_0x42c6ca=this['_footnotes'][_0x3256e7];let _0x41f9c4=!0x1;_0x42c6ca['reference']=_0x38bf3c,this['_footnotes']['splice'](_0x3256e7,0x1);const _0xebceeb=xg(this['editor']['model'],this['_footnotes'],_0x38bf3c);return this['_footnotes']['splice'](_0xebceeb,0x0,_0x42c6ca),this['_updateFootnotesCounters'](_0x379698,Math['min'](_0x3256e7,_0xebceeb))&&(_0x41f9c4=!0x0),_0x41f9c4;}['_updateFootnoteRefCounter'](_0x1015c7,_0x5f9015){if(!this['_footnotesDefinitions'])return!0x1;const _0x49b794=this['_footnotes'][_0x5f9015];let _0x53455f;return _0x53455f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x49b794,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5f9015+0x1}):String(_0x5f9015+0x1),_0x49b794['reference']['getAttribute']('footnoteCounter')!=_0x53455f&&(_0x1015c7['setAttribute']('footnoteCounter',_0x53455f,_0x49b794['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x303a1e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x49bad2,_0x26ca6a){if(_0x49bad2['length']!==_0x26ca6a['length'])return!0x1;for(let _0x324dfd=0x0;_0x324dfd<_0x49bad2['length'];_0x324dfd++)if(_0x49bad2[_0x324dfd]!==_0x26ca6a[_0x324dfd])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5e32a9=>_0x5e32a9['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5582d9=>_0x5582d9['getAttribute']('footnoteId'))))return!0x1;let _0x51dd24=!0x1;for(let _0x576a71=0x0;_0x576a71<this['_footnotes']['length'];_0x576a71++){const _0x3ff8b5=this['_footnotes'][_0x576a71],_0x24a3df=_0x303a1e['createPositionBefore'](_0x3ff8b5['definition']),_0x1ed724=_0x303a1e['createPositionAt'](this['_footnotesDefinitions'],_0x576a71);_0x24a3df['isEqual'](_0x1ed724)||(_0x303a1e['move'](_0x303a1e['createRangeOn'](_0x3ff8b5['definition']),_0x1ed724),_0x51dd24=!0x0);}return _0x51dd24;}['_ensureFootnotesReferencesHaveProperOrder'](_0x176e16){if(!this['_footnotes']['length'])return!0x1;const {model:_0x53bf2b}=this['editor'];let _0x10c7f8=!0x1;for(let _0x3a2b80=0x0;_0x3a2b80<this['_footnotes']['length']-0x1;_0x3a2b80++){const _0x19608d=this['_footnotes'][_0x3a2b80],_0x1a9e18=this['_footnotes'][_0x3a2b80+0x1],_0x384113=_0x53bf2b['createPositionBefore'](_0x19608d['reference']),_0x2eb73b=_0x53bf2b['createPositionBefore'](_0x1a9e18['reference']);'after'===_0x384113['compareWith'](_0x2eb73b)&&(this['_handleMovedFootnoteReference'](_0x176e16,_0x19608d['reference']),_0x3a2b80=-0x1,_0x10c7f8=!0x0);}return _0x10c7f8;}}function kg(_0x5d9ec5,_0x1213d2,_0x306ab3){if(_0x306ab3['childCount'])return!0x1;const _0x3c5c6c=_0x1213d2?'paragraph':'footnoteInlineContent';return _0x5d9ec5['insert'](_0x5d9ec5['createElement'](_0x3c5c6c),_0x306ab3),!0x0;}function xg(_0x122173,_0x3c33a6,_0x27e100){if(0x0===_0x3c33a6['length'])return 0x0;const _0xa82359=_0x122173['createPositionBefore'](_0x27e100);for(let _0x2156cd=0x0;_0x2156cd<_0x3c33a6['length'];_0x2156cd++){const _0x2ff87d=_0x3c33a6[_0x2156cd],_0xe58050=_0x122173['createPositionBefore'](_0x2ff87d['reference']);if('before'===_0xa82359['compareWith'](_0xe58050))return _0x2156cd;}const _0x4dfab8=_0x27e100['root'];let _0xb63d45=-0x1;for(let _0x10dcfe=_0x3c33a6['length']-0x1;_0x10dcfe>=0x0;_0x10dcfe--)if(_0x3c33a6[_0x10dcfe]['reference']['root']===_0x4dfab8){_0xb63d45=_0x10dcfe;break;}if(-0x1!==_0xb63d45)return _0xb63d45+0x1;const _0x41e487=_0x122173['document']['getRootNames'](),_0x5462b7=_0x41e487['indexOf'](_0x4dfab8['rootName']),_0x183695=_0x41e487[_0x5462b7+0x1];if(_0x183695){for(let _0x16321f=0x0;_0x16321f<_0x3c33a6['length'];_0x16321f++)if(_0x3c33a6[_0x16321f]['reference']['root']['rootName']===_0x183695)return _0x16321f;}return _0x3c33a6['length'];}class InsertFootnoteCommand extends _0x1110b9{['refresh'](){const _0x1b1cfc=this['editor']['model']['document']['selection'],_0x1192ea=this['_getPositionToInsertFootnote'](_0x1b1cfc);this['isEnabled']=!!_0x1192ea;}['execute'](_0x42be93){const {editor:_0x323005}=this,{model:_0x433a8d}=_0x323005,{selection:_0x1c2824}=_0x433a8d['document'],_0x153386=this['_getPositionToInsertFootnote'](_0x1c2824);if(!_0x153386)return;const _0x81f57f=_0x323005['plugins']['get']('FootnotesEditing'),_0x51e7e6=_0x42be93?.['footnoteId']??_0x288d30();!function(_0x20b764){return'string'==typeof _0x20b764&&_0x20b764['length']>0x0&&!/\s/['test'](_0x20b764)&&!/^\d/['test'](_0x20b764);}(_0x51e7e6)?_0x2e934f('insert-footnote-command-executed-with-invalid-id'):(_0x433a8d['change'](_0x11d603=>{const _0x23014a=_0x11d603['createElement']('footnoteRef',{'footnoteId':_0x51e7e6});_0x433a8d['insertObject'](_0x23014a,_0x153386,null);}),_0x81f57f['_moveSelectionToFootnoteDefinition'](_0x51e7e6));}['_getPositionToInsertFootnote'](_0x356fe0){const {model:_0x20a16f}=this['editor'],{schema:_0x1bf579}=_0x20a16f,_0x80585a=_0x356fe0['getFirstRange']();for(const _0x3bb13c of _0x80585a['getItems']())if(_0x1bf579['isBlock'](_0x3bb13c)||_0x1bf579['isObject'](_0x3bb13c))return null;const _0x3d9409=_0x80585a['end'];return _0x1bf579['checkChild'](_0x3d9409,'footnoteRef')?_0x3d9409:null;}}class FootnotesEditing extends _0x4ac504{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4fdb26}=this;_0x4fdb26['config']['define']('footnotes.multiBlock',!0x0),_0x4fdb26['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x4fdb26)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x59198a){const _0x38a8a0=_0x337c80([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]),_0x7a5a03=0x47a28506,_0x44d569=0x47a50f6e^_0x7a5a03,_0x34dd54=window[_0x337c80([0x44,0x61,0x74,0x65])][_0x337c80([0x6e,0x6f,0x77])](),_0x85ff7b=_0x59198a[_0x337c80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a7c03=new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x325b8e=>{_0x85ff7b[_0x337c80([0x6f,0x6e,0x63,0x65])](_0x337c80([0x72,0x65,0x61,0x64,0x79]),_0x325b8e);}),_0x596417={[_0x337c80([0x6b,0x74,0x79])]:_0x337c80([0x45,0x43]),[_0x337c80([0x75,0x73,0x65])]:_0x337c80([0x73,0x69,0x67]),[_0x337c80([0x63,0x72,0x76])]:_0x337c80([0x50,0x2d,0x32,0x35,0x36]),[_0x337c80([0x78])]:_0x337c80([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]),[_0x337c80([0x79])]:_0x337c80([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]),[_0x337c80([0x61,0x6c,0x67])]:_0x337c80([0x45,0x53,0x32,0x35,0x36])},_0x47db88=_0x85ff7b[_0x337c80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x337c80([0x67,0x65,0x74])](_0x337c80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x263b3a(){let _0x45c0e0,_0xbeb28=null,_0x3053e0=null;try{if(_0x47db88==_0x337c80([0x47,0x50,0x4c]))return _0x337c80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45c0e0=_0x52c582(),!_0x45c0e0)return _0x337c80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45c0e0[_0x337c80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3053e0=_0x846931(_0x45c0e0[_0x337c80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45c0e0[_0x337c80([0x6a,0x74,0x69])])),await _0xd3f487()?_0x19e6fa()?_0x2c8b0a()?_0x337c80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x338540()?(_0x45c0e0[_0x337c80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337c80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbeb28=_0x181ba1(_0x337c80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5450d3()):_0x337c80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x337c80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x337c80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x337c80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c8b0a(){const _0x1fcbfa=[_0x337c80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x337c80([0x74,0x72,0x69,0x61,0x6c])][_0x337c80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c0e0[_0x337c80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34dd54/0x3e8:0xe10*_0x44d569;return _0x45c0e0[_0x337c80([0x65,0x78,0x70])]<_0x1fcbfa;}function _0x19e6fa(){const _0x477d9d=_0x45c0e0[_0x337c80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x477d9d&&(!!_0x477d9d[_0x337c80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c80([0x2a]))||!!_0x477d9d[_0x337c80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c80([0x46,0x4f,0x4f])));}function _0x338540(){const _0x1edc0a=_0x45c0e0[_0x337c80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1edc0a||0x0==_0x1edc0a[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x104a91}=new URL(window[_0x337c80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1edc0a[_0x337c80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104a91))return!0x0;const _0x1b685c=_0x104a91[_0x337c80([0x73,0x70,0x6c,0x69,0x74])](_0x337c80([0x2e]));return _0x1edc0a[_0x337c80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19cd2f=>_0x19cd2f[_0x337c80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c80([0x2a])))[_0x337c80([0x6d,0x61,0x70])](_0x4138b0=>_0x4138b0[_0x337c80([0x73,0x70,0x6c,0x69,0x74])](_0x337c80([0x2e])))[_0x337c80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bbca7=>_0x4bbca7[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b685c[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337c80([0x6d,0x61,0x70])](_0x3e838a=>Array(_0x1b685c[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e838a[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337c80([0x66,0x69,0x6c,0x6c])](_0x3e838a[0x0]===_0x337c80([0x2a])?_0x337c80([0x2a]):'')[_0x337c80([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e838a))[_0x337c80([0x73,0x6f,0x6d,0x65])](_0x173049=>_0x1b685c[_0x337c80([0x65,0x76,0x65,0x72,0x79])]((_0xd1de69,_0x48291a)=>_0x173049[_0x48291a]===_0xd1de69||_0x173049[_0x48291a]===_0x337c80([0x2a])));}function _0x5450d3(){return _0xbeb28&&_0x3053e0?new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x276b1b,_0x463ea6)=>{_0xbeb28[_0x337c80([0x74,0x68,0x65,0x6e])](_0x276b1b,_0x463ea6),_0x3053e0[_0x337c80([0x74,0x68,0x65,0x6e])](_0x4dab2d=>{_0x4dab2d!=_0x337c80([0x56,0x61,0x6c,0x69,0x64])&&_0x276b1b(_0x4dab2d);},_0x463ea6);}):_0xbeb28||_0x3053e0||_0x337c80([0x56,0x61,0x6c,0x69,0x64]);}}function _0x846931(_0x43af81,_0x2fd608){return new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12e9df=>{if(_0x51cd33())return _0x12e9df(_0x337c80([0x56,0x61,0x6c,0x69,0x64]));_0x2f3e63(),_0x85ff7b[_0x337c80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x337c80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c9953=!0x1;const _0x2cd258=_0x288d30();function _0x2f16a5(_0x19990e){return!!_0x19990e&&(typeof _0x19990e===_0x337c80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19990e===_0x337c80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19990e[_0x337c80([0x74,0x68,0x65,0x6e])]===_0x337c80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19990e[_0x337c80([0x63,0x61,0x74,0x63,0x68])]===_0x337c80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x200dbc(_0x231601){_0x35a75e(_0x231601)[_0x337c80([0x74,0x68,0x65,0x6e])](_0x207b40=>{if(!_0x207b40||_0x207b40[_0x337c80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x337c80([0x6f,0x6b]))return _0x337c80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1cec25(_0x232ba6(_0x2cd258+_0x2fd608))!=_0x207b40[_0x337c80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x337c80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x337c80([0x56,0x61,0x6c,0x69,0x64]);})[_0x337c80([0x74,0x68,0x65,0x6e])](_0x5395b3=>(_0x4e23fe(),_0x5395b3),()=>{const _0x2ebd22=_0x1e5cf8();return null==_0x2ebd22?(_0x4e23fe(),_0x337c80([0x56,0x61,0x6c,0x69,0x64])):_0x337c80(_0x34dd54-_0x2ebd22>(0x63ae0106^_0x7a5a03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x337c80([0x74,0x68,0x65,0x6e])](_0x12e9df)[_0x337c80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12e9df(_0x337c80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58e353=0x47946b86^_0x7a5a03;function _0x4e23fe(){const _0x5430b3=_0x337c80([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cec25(_0x232ba6(_0x43af81)),_0xed7359=_0x33bb94(_0x1cec25(window[_0x337c80([0x4d,0x61,0x74,0x68])][_0x337c80([0x63,0x65,0x69,0x6c])](_0x34dd54/_0x58e353)));window[_0x337c80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337c80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5430b3,_0xed7359);}function _0x1e5cf8(){const _0x10333c=_0x337c80([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cec25(_0x232ba6(_0x43af81)),_0x540ec8=window[_0x337c80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337c80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10333c);return _0x540ec8?window[_0x337c80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33bb94(_0x540ec8),0x10)*_0x58e353:null;}function _0x35a75e(_0x5cabaa){return new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45ec2c,_0x2a180f)=>{_0x5cabaa[_0x337c80([0x74,0x68,0x65,0x6e])](_0x45ec2c,_0x2a180f),window[_0x337c80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a180f,0x47a351c6^_0x7a5a03);});}}_0x85ff7b[_0x337c80([0x6f,0x6e])](_0x337c80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1346d6,_0xf44eb)=>{if(_0xf44eb[0x0]!=_0x43af81)return _0x12e9df(_0x337c80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf44eb[0x1]={..._0xf44eb[0x1],[_0x337c80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cd258};},{[_0x337c80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337c80([0x68,0x69,0x67,0x68])}),_0x85ff7b[_0x337c80([0x6f,0x6e])](_0x337c80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd61106=>{_0x2f16a5(_0xd61106[_0x337c80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c9953=!0x0,_0x200dbc(_0xd61106[_0x337c80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x337c80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337c80([0x6c,0x6f,0x77])}),_0x5a7c03[_0x337c80([0x74,0x68,0x65,0x6e])](()=>{_0x5c9953||_0x12e9df(_0x337c80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51cd33(){return _0x85ff7b[_0x337c80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337c80([0x76,0x69,0x65,0x77])][_0x337c80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x337c80([0x61,0x75,0x74,0x6f]);}function _0x2f3e63(){_0x85ff7b[_0x337c80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337c80([0x76,0x69,0x65,0x77])][_0x337c80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x337c80([0x61,0x75,0x74,0x6f]);}}function _0x181ba1(_0x804d22){const _0x446733=[new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4178f4=>setTimeout(_0x4178f4,0x47abbbca^_0x7a5a03)),_0x5a7c03[_0x337c80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bbb77=>{let _0x491320=0x0;_0x85ff7b[_0x337c80([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c80([0x6f,0x6e])](_0x337c80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb2400c,_0x2eaece)=>{_0x2eaece[0x0][_0x337c80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x491320++,_0x491320==(0x47a280ee^_0x7a5a03)&&(_0x5bbb77(),_0xb2400c[_0x337c80([0x6f,0x66,0x66])]());});}))];return window[_0x337c80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x337c80([0x72,0x61,0x63,0x65])](_0x446733)[_0x337c80([0x74,0x68,0x65,0x6e])](()=>_0x804d22);}async function _0x38a368(){await _0x5a7c03,_0x85ff7b[_0x337c80([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35be32,_0x85ff7b[_0x337c80([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35be32,_0x85ff7b[_0x337c80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x337c80([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x339c11(_0x311074){const _0x1951e6=_0x3737fa();_0x85ff7b[_0x1951e6]=_0x337c80([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x311074,_0x311074!=_0x337c80([0x56,0x61,0x6c,0x69,0x64])&&_0x38a368();}function _0x3737fa(){const _0x32fce3=window[_0x337c80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x337c80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x337c80([0x6e,0x6f,0x77])]())[_0x337c80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x337c80([0x2e]),'');let _0x38f2ce=_0x337c80([0x75]);for(let _0x443380=0x0;_0x443380<_0x32fce3[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x443380+=0x2){let _0x36509e=window[_0x337c80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32fce3[_0x337c80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x443380,_0x443380+0x2));_0x36509e>=_0x38a8a0[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36509e-=_0x38a8a0[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38f2ce+=_0x38a8a0[_0x36509e];}return _0x38f2ce;}function _0x52c582(){const _0x3220db=_0x47db88[_0x337c80([0x73,0x70,0x6c,0x69,0x74])](_0x337c80([0x2e]));if(0x3!=_0x3220db[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c0417(_0x3220db[0x1]);function _0x2c0417(_0x20a944){const _0x203cc9=_0x1e8af3(_0x20a944);return _0x203cc9&&_0x4e57d2()?_0x203cc9:null;function _0x4e57d2(){const _0x296599=_0x203cc9[_0x337c80([0x6a,0x74,0x69])],_0x4ee529=window[_0x337c80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x296599[_0x337c80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x296599[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1286c0={..._0x203cc9,[_0x337c80([0x6a,0x74,0x69])]:_0x296599[_0x337c80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x296599[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1286c0[_0x337c80([0x76,0x63])],_0x232ba6(_0x1286c0)==_0x4ee529;}}}async function _0xd3f487(){let _0x1870ae=!0x0;try{const _0x382b51=_0x47db88[_0x337c80([0x73,0x70,0x6c,0x69,0x74])](_0x337c80([0x2e])),[_0x2077ac,_0x2b8ff6,_0x1ee2bc]=_0x382b51;return _0x207336(_0x2077ac),await _0x33c483(_0x2077ac,_0x2b8ff6,_0x1ee2bc),_0x1870ae;}catch{return!0x1;}function _0x207336(_0x3258bc){const _0x3fcca9=_0x1e8af3(_0x3258bc);_0x3fcca9&&_0x3fcca9[_0x337c80([0x61,0x6c,0x67])]==_0x337c80([0x45,0x53,0x32,0x35,0x36])||(_0x1870ae=!0x1);}async function _0x33c483(_0x3e2d0e,_0x2c94dd,_0x1557da){const _0x1f2dae=window[_0x337c80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x337c80([0x66,0x72,0x6f,0x6d])](_0xf424d5(_0x1557da),_0xf26259=>_0xf26259[_0x337c80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34047d=new window[(_0x337c80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x337c80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e2d0e+_0x337c80([0x2e])+_0x2c94dd),_0x137156=window[_0x337c80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x337c80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x137156)return;const _0x12bd17=await _0x137156[_0x337c80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x337c80([0x6a,0x77,0x6b]),_0x596417,{[_0x337c80([0x6e,0x61,0x6d,0x65])]:_0x337c80([0x45,0x43,0x44,0x53,0x41]),[_0x337c80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x337c80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x337c80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x137156[_0x337c80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x337c80([0x6e,0x61,0x6d,0x65])]:_0x337c80([0x45,0x43,0x44,0x53,0x41]),[_0x337c80([0x68,0x61,0x73,0x68])]:{[_0x337c80([0x6e,0x61,0x6d,0x65])]:_0x337c80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12bd17,_0x1f2dae,_0x34047d)||(_0x1870ae=!0x1);}}function _0x1e8af3(_0xe28ce1){return _0xe28ce1[_0x337c80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x337c80([0x65,0x79]))?JSON[_0x337c80([0x70,0x61,0x72,0x73,0x65])](_0xf424d5(_0xe28ce1)):null;}function _0xf424d5(_0x1595b8){return window[_0x337c80([0x61,0x74,0x6f,0x62])](_0x1595b8[_0x337c80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x337c80([0x2b]))[_0x337c80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x337c80([0x2f])));}function _0x232ba6(_0xdfcc6a){let _0x4167dd=0x1505;function _0x227ffd(_0x5b24db){for(let _0x21b2f1=0x0;_0x21b2f1<_0x5b24db[_0x337c80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21b2f1++){const _0xaf70c5=_0x5b24db[_0x337c80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21b2f1);_0x4167dd=(_0x4167dd<<0x5)+_0x4167dd+_0xaf70c5,_0x4167dd&=_0x4167dd;}}function _0x3fb8ce(_0x13617b){Array[_0x337c80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13617b)?_0x13617b[_0x337c80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fb8ce):_0x13617b&&typeof _0x13617b==_0x337c80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x337c80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13617b)[_0x337c80([0x73,0x6f,0x72,0x74])]()[_0x337c80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e8006,_0x3f3b6f])=>{_0x227ffd(_0x4e8006),_0x3fb8ce(_0x3f3b6f);}):_0x227ffd(window[_0x337c80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13617b));}return _0x3fb8ce(_0xdfcc6a),_0x4167dd>>>0x0;}function _0x1cec25(_0x512bbd){return _0x512bbd[_0x337c80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x337c80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x337c80([0x30]));}function _0x33bb94(_0x5a34f9){return _0x5a34f9[_0x337c80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x337c80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x337c80([0x6a,0x6f,0x69,0x6e])]('');}function _0x35be32(){}function _0x337c80(_0x2d9f34){return _0x2d9f34['map'](_0x130a94=>String['fromCharCode'](_0x130a94))['join']('');}_0x339c11(await _0x263b3a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x305143){const {plugins:_0x709118,editing:_0x7f046a,model:_0x1ed2f7}=this['editor'],_0x4ebe59=_0x709118['get'](FootnotesTracker)['getFootnote'](_0x305143);return!!_0x4ebe59&&(_0x1ed2f7['change'](_0x50a1a7=>{_0x50a1a7['setSelection'](_0x50a1a7['createPositionAt'](_0x4ebe59['definition'],'end'));}),_0x7f046a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1b52ec){const {plugins:_0x2ed0e7,editing:_0x2d3a47,model:_0x15033a}=this['editor'],_0x4fc82a=_0x2ed0e7['get'](FootnotesTracker)['getFootnote'](_0x1b52ec);return!!_0x4fc82a&&(_0x15033a['change'](_0x4718eb=>{_0x4718eb['setSelection'](_0x4fc82a['reference'],'on');}),_0x2d3a47['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45ef2e}=this['editor']['model'],_0x44e925=this['editor']['config']['get']('footnotes.multiBlock');_0x45ef2e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45ef2e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45ef2e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x44e925?_0x45ef2e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45ef2e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45ef2e['addChildCheck'](_0xda6583=>{for(const _0x1157db of _0xda6583)if('footnoteDefinition'===_0x1157db['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3b77b4}=this,{conversion:_0x5b9f6c,editing:_0x117051}=_0x3b77b4,{t:t}=_0x3b77b4['locale'];_0x5b9f6c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3873ca,{writer:_0x24b900,consumable:_0x1b0bf6})=>{const _0xca0546=_0x3873ca['getChild'](0x0);if(!_0xca0546||!_0xca0546['is']('element','a'))return null;const _0x407995=_0xca0546['getAttribute']('href')||'';if(!_0x407995['startsWith']('#'))return null;const _0x3ef3b3=_0x407995['replace'](/^#/,'');if(!_0x3ef3b3)return null;_0x1b0bf6['consume'](_0xca0546,{'name':!0x0,'attributes':['href']});for(const {item:_0x55abda}of _0x117051['view']['createRangeIn'](_0xca0546))_0x55abda['is']('$textProxy')?_0x1b0bf6['consume'](_0x55abda['textNode'],{'name':!0x0}):_0x55abda['is']('element')&&_0x1b0bf6['consume'](_0x55abda,{'name':!0x0});return _0x24b900['createElement']('footnoteRef',{'footnoteId':_0x3ef3b3});}}),_0x5b9f6c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x45c3e1,{writer:_0x506fd8})=>Dg(_0x45c3e1,_0x506fd8)}),_0x5b9f6c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x10d7dd,{writer:_0x3df7b7})=>{const _0x3e69b2=_0x10d7dd['getAttribute']('footnoteCounter');return _0x4b80d1(Dg(_0x10d7dd,_0x3df7b7),_0x3df7b7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e69b2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x32f440}=this,{t:t}=_0x32f440['locale'],{conversion:_0xd7ee97}=_0x32f440;_0xd7ee97['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xd7ee97['for']('upcast')['add'](_0x2be5ca=>{_0x2be5ca['on']('element:ol',(_0x525afe,_0x3f1223,_0x5a6889)=>{const _0x5e2a2a=_0x3f1223['viewItem'];if(!_0x5e2a2a['hasClass']('footnotes-list')||!_0x3f1223['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5a6889['consumable']['consume'](_0x5e2a2a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x41edb6,modelCursor:_0xe5a4d4}=_0x5a6889['convertChildren'](_0x3f1223['viewItem'],_0x3f1223['modelCursor']);_0x3f1223['modelRange']=_0x41edb6,_0x3f1223['modelCursor']=_0xe5a4d4;}),_0x2be5ca['on']('element:hr',(_0x4a358d,_0x337e69,_0x10c801)=>{const _0x4178ef=_0x337e69['viewItem'];_0x4178ef['hasClass']('footnotes-divider')&&_0x337e69['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x10c801['consumable']['consume'](_0x4178ef,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xd7ee97['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc87815,{writer:_0x162a33})=>Lg(_0x162a33)}),_0xd7ee97['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3b9b77,{writer:_0x4581c6})=>{const _0x21472=Lg(_0x4581c6,{'data-footnotes-list-label':t('Footnotes')}),_0x4c9922=_0x4b80d1(_0x21472,_0x4581c6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4581c6['setCustomProperty']('footnotesDefinitions',!0x0,_0x4c9922),_0x4c9922;}});}['_defineDefinitionConverters'](){const {editor:_0x5b11fb}=this,{conversion:_0x1b9974,locale:_0x3dfeff}=_0x5b11fb,_0x16e84f=_0x5b11fb['config']['get']('footnotes.multiBlock');_0x1b9974['for']('upcast')['add'](_0x5a6781=>{_0x5a6781['on']('element:li',(_0x4d8bd1,_0x1b3663,_0x32039f)=>{const _0x3b81ed=_0x1b3663['viewItem'];if(!_0x3b81ed['hasClass']('footnote-definition')||!_0x3b81ed['getAttribute']('id'))return;const _0x4f9ff7=_0x3b81ed['parent'];if(!_0x4f9ff7['is']('element','ol')||!_0x4f9ff7['hasClass']('footnotes-list'))return;if(!_0x32039f['consumable']['test'](_0x3b81ed,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e4857=_0x32039f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3b81ed['getAttribute']('id')});if(!_0x32039f['safeInsert'](_0x3e4857,_0x1b3663['modelCursor']))return;_0x32039f['consumable']['consume'](_0x3b81ed,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4038f3=Array['from'](_0x3b81ed['getChildren']())['find'](_0xc461a=>_0xc461a['is']('element')&&_0xc461a['hasClass']('footnote-content'));for(const _0x152d42 of _0x3b81ed['getChildren']())_0x152d42['is']('element')&&(_0x32039f['consumable']['consume'](_0x152d42,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x32039f['consumable']['consume'](_0x152d42,{'name':!0x0,'classes':'footnote-content'}));if(_0x4038f3){if(_0x16e84f)_0x32039f['convertChildren'](_0x4038f3,_0x3e4857);else{const _0x19632e=_0x32039f['writer']['createElement']('footnoteInlineContent');_0x32039f['writer']['insert'](_0x19632e,_0x3e4857),_0x32039f['convertChildren'](_0x4038f3,_0x19632e);}}_0x32039f['updateConversionResult'](_0x3e4857,_0x1b3663);});}),_0x1b9974['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x57e98f,{writer:_0x40d041})=>Qg(_0x57e98f,_0x40d041,_0x3dfeff,{'dataPipeline':!0x0})}),_0x1b9974['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x54d045,{writer:_0x290f56})=>Qg(_0x54d045,_0x290f56,_0x3dfeff)});}['_defineBogusParagraphConverters'](){const {editor:_0x34d683}=this,{conversion:_0x38737c}=_0x34d683;_0x34d683['config']['get']('footnotes.multiBlock')?(_0x38737c['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':Rg(),'converterPriority':'high'}),_0x38737c['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':Rg({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x34d683['model']['document'],'change:data',()=>{!function(_0x305a44,_0x4fa5e4){const _0x1079bc=_0x305a44['document']['differ'],_0x479499=new Set();for(const _0x50734d of _0x1079bc['getChanges']()){const _0x4e06e4='attribute'==_0x50734d['type']?_0x50734d['range']['start']['parent']:_0x50734d['position']['parent'];_0x4e06e4['is']('element','footnoteDefinition')&&_0x479499['add'](_0x4e06e4);}for(const _0xc044f3 of _0x479499['values']()){const _0x1ef316=Array['from'](_0xc044f3['getChildren']())['filter'](_0x1f6cf2=>Mg(_0x1f6cf2,_0x4fa5e4['mapper']));for(const _0x3e8416 of _0x1ef316)_0x4fa5e4['reconvertItem'](_0x3e8416);}}(_0x34d683['model'],_0x34d683['editing']);})):(_0x38737c['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':Rg()}),_0x38737c['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x30413c,{writer:_0x3b10d4})=>{const _0x49f340=_0x3b10d4['createContainerElement']('span');return _0x3b10d4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49f340),_0x49f340;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1cb6c5}=this,{editing:_0x5b4548,t:t}=_0x1cb6c5,_0x11a808=_0x1cb6c5['model']['document']['selection'];_0x1cb6c5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1cb6c5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5b4548['view']['document'],'enter',(_0x1a5fbd,_0x17339b)=>{const _0x51fc9b=function(_0x2259e1){const _0x2d8cd9=_0x2259e1['getSelectedElement']();if(_0x2d8cd9?.['is']('element','footnoteRef'))return _0x2d8cd9;return null;}(_0x11a808);if(_0x51fc9b){const _0xcb7c54=_0x51fc9b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xcb7c54),_0x17339b['preventDefault'](),_0x1a5fbd['stop']();}},{'context':_0x13c975});}['_defineClickHandlers'](){const {editor:_0x49d721}=this,{editing:_0x48095b}=_0x49d721;_0x49d721['editing']['view']['addObserver'](_0xc69b7),_0x49d721['editing']['view']['addObserver'](_0x3cd15a);let _0x82b836=!0x1;this['listenTo'](_0x48095b['view']['document'],'pointerdown',(_0x1ce903,_0x1b56bf)=>{const {target:_0x3dda08}=_0x1b56bf,_0x278ed1=_0x48095b['view']['document']['selection'];_0x82b836=!!(_0x3dda08?.['is']('element','a')&&_0x3dda08['parent']?.['is']('element','sup')&&_0x3dda08['parent']['hasClass']('footnote'))&&_0x278ed1['getSelectedElement']()===_0x3dda08['parent'];},{'priority':'high'}),this['listenTo'](_0x48095b['view']['document'],'click',(_0x525d6b,_0x570799)=>{const {target:_0x31a022}=_0x570799;if(!_0x31a022?.['is']('element','a'))return;if(_0x31a022['parent']?.['is']('element','sup')&&_0x31a022['parent']['hasClass']('footnote')&&!_0x82b836)return void _0x570799['preventDefault']();let _0x1d9e3b=_0x31a022['getAttribute']('href');if(!_0x1d9e3b?.['startsWith']('#'))return;_0x1d9e3b=_0x1d9e3b['slice'](0x1);let _0x56575a=!0x1;(_0x1d9e3b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1d9e3b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1d9e3b))&&(_0x56575a=!0x0),_0x56575a&&(_0x570799['preventDefault'](),_0x525d6b['stop']());},{'priority':'high','context':'$capture'});}}function Rg({dataPipeline:_0x4c1d97}={}){return(_0x5e9968,{writer:_0x4c2221})=>{if(!Pg(_0x5e9968))return null;if(!_0x4c1d97)return _0x4c2221['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x441bed=_0x4c2221['createContainerElement']('p');return _0x4c2221['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x441bed),_0x441bed;};}function Pg(_0x495bd1){const {parent:_0x58ae29}=_0x495bd1;if(!_0x58ae29?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x58ae29['childCount'])return!0x1;for(const _0x226f05 of _0x495bd1['getAttributeKeys']())if(!_0x226f05['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x226f05)return!0x1;return!0x0;}function Mg(_0x569caf,_0x2abfce){if(!_0x569caf['is']('element','paragraph'))return!0x1;const _0x53bfd1=_0x2abfce['toViewElement'](_0x569caf);return!!_0x53bfd1&&Pg(_0x569caf)!==_0x53bfd1['is']('element','span');}function Ng(_0x15e8ab){return _0x13c975(_0x15e8ab)&&_0x15e8ab['is']('containerElement')&&!!_0x15e8ab['getCustomProperty']('footnotesDefinitions');}function Lg(_0x37ad4a,_0x1a7cc1={}){const _0x13cd00=_0x37ad4a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5602be=_0x37ad4a['createContainerElement']('ol',{'class':'footnotes-list'},_0x37ad4a['createSlot']());return _0x37ad4a['createContainerElement']('div',{'class':'footnotes',..._0x1a7cc1},[_0x13cd00,_0x5602be]);}function Dg(_0x23fba2,_0x4cd03d){const _0x375ae9=_0x23fba2['getAttribute']('footnoteId'),_0x54b2fb=_0x23fba2['getAttribute']('footnoteCounter'),_0x4179ca=_0x4cd03d['createUIElement']('a',{'href':'#'+_0x375ae9},function(_0x1fc55e){const _0x30f1e4=this['toDomElement'](_0x1fc55e);return _0x30f1e4['textContent']=_0x54b2fb,_0x30f1e4;}),_0x47771d=_0x4cd03d['createContainerElement']('sup',{'id':'ref-'+_0x375ae9,'class':'footnote'},[_0x4179ca]);return _0x47771d['getFillerOffset']=()=>null,_0x47771d;}function Qg(_0x1384a9,_0x375d9b,_0x1a21f5,{dataPipeline:_0x159f23}={}){const {t:t}=_0x1a21f5,_0xa15627=_0x1384a9['getAttribute']('footnoteId'),_0x2f6c45=_0x375d9b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xa15627},function(_0x31606b){const _0x19001f=this['toDomElement'](_0x31606b);return _0x19001f['innerText']='^',_0x19001f;}),_0x33ddb2=_0x159f23?_0x375d9b['createContainerElement']('div',{'class':'footnote-content'}):_0x3df3e1(_0x375d9b['createEditableElement']('div',{'class':'footnote-content'}),_0x375d9b,{'label':t('Footnote\x20content.')});return _0x375d9b['insert'](_0x375d9b['createPositionAt'](_0x33ddb2,0x0),_0x375d9b['createSlot']()),_0x375d9b['createContainerElement']('li',{'class':'footnote-definition','id':_0xa15627},[_0x2f6c45,_0x33ddb2]);}class FootnotesClipboard extends _0x4ac504{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x3ecbd1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2e8a06}=this,{plugins:_0x4828c7,model:_0x59c1b0}=_0x2e8a06,_0x1b31d7=_0x4828c7['get'](_0x3ecbd1),_0x298962=_0x4828c7['get'](FootnotesTracker);this['listenTo'](_0x1b31d7,'outputTransformation',(_0x5b1d13,_0x359c3d)=>{const _0x408ee0=Vg(_0x59c1b0['createRangeIn'](_0x359c3d['content']));if(!_0x408ee0['length'])return;const _0x5e1afd=_0x298962['getFootnotes'](),_0x575f3d=_0x408ee0['reduce']((_0x453613,_0x3b1f34)=>{const _0x20a94d=_0x5e1afd['find'](_0x4ac07f=>_0x4ac07f['id']===_0x3b1f34);if(_0x20a94d){const _0x32a141=_0x2e8a06['data']['toView'](_0x20a94d['definition'],{'isClipboardPipeline':!0x0}),_0x321459=_0x2e8a06['data']['htmlProcessor']['toData'](_0x32a141);_0x453613[_0x20a94d['id']]=_0x321459;}return _0x453613;},Object['create'](null));_0x359c3d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x575f3d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x439015}=this,{model:_0xfa8c1f,plugins:_0x137b5f}=_0x439015,{view:_0x29a9d4}=_0x439015['editing'],_0x38e728=_0x137b5f['get'](_0x3ecbd1),_0x44c2fe=_0x137b5f['get'](FootnotesTracker),_0xab51d7=_0x439015['config']['get']('footnotes.multiBlock');let _0x16e58f=null;this['listenTo'](_0x29a9d4['document'],'clipboardInput',(_0xd7b8df,_0x532486)=>{const _0x16bc50=_0x532486['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x16e58f=_0x16bc50?JSON['parse'](_0x16bc50):null;}),this['listenTo'](_0x38e728,'contentInsertion',(_0x4e946c,_0x77924b)=>{const _0x4027af=_0x77924b['sourceEditorId']===this['editor']['id'];_0x4027af&&'drop'===_0x77924b['method']||_0xfa8c1f['change'](_0x5277f6=>{let _0x3cd2ab=_0x44c2fe['getFootnotesDefinitionsObjectElement']();const _0x2c75bd=!!_0x3cd2ab&&Array['from'](_0xfa8c1f['document']['selection']['getSelectedBlocks']())['includes'](_0x3cd2ab);if(!_0x16e58f&&function(_0x1195de){for(const {item:_0xddfcd3}of _0x1195de)if(_0xddfcd3['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0xfa8c1f['createRangeIn'](_0x77924b['content']))&&(_0x16e58f=function(_0x578452,_0x2195cf){const _0x48061e=$g(_0x578452,_0x2195cf);if(!_0x48061e)return null;const _0x56e3ee=Object['create'](null);for(const _0x5bb205 of _0x48061e['getChildren']())_0x5bb205['is']('element','footnoteDefinition')&&_0x5bb205['hasAttribute']('footnoteId')&&(_0x56e3ee[_0x5bb205['getAttribute']('footnoteId')]=_0x578452['cloneElement'](_0x5bb205,!0x0));return Object['keys'](_0x56e3ee)['length']?_0x56e3ee:null;}(_0x5277f6,_0x77924b['content'])),(_0x3cd2ab&&!_0x2c75bd||!_0x3cd2ab&&!_0x16e58f)&&function(_0x48f2f1,_0x490507){const _0xa472bb=[];for(const {item:_0x279c5d}of _0x48f2f1['createRangeIn'](_0x490507))_0x279c5d['is']('element','footnotesDefinitions')&&_0xa472bb['push'](_0x279c5d);for(const _0x20b2de of _0xa472bb)_0x48f2f1['remove'](_0x20b2de);}(_0x5277f6,_0x77924b['content']),!_0x16e58f)return;const {selection:_0x2b4157}=_0xfa8c1f['document'],_0x15df6a=_0x2b4157['getFirstRange']()['root'];_0x3cd2ab&&!_0x2c75bd||(_0x3cd2ab=$g(_0x5277f6,_0x77924b['content']),_0x3cd2ab||=_0x44c2fe['_insertEmptyFootnotesDefinitionsContainer'](_0x5277f6,_0x15df6a));const _0x33a65f=Array['from'](_0x2b4157['getRanges']())['flatMap'](Vg),_0x430e0c=function(_0x4516fb,_0x14d921,_0x52774f){const _0x1ff6c8=Object['create'](null);for(const {item:_0x5dde35}of _0x4516fb['createRangeIn'](_0x14d921))if(_0x5dde35['is']('element','footnoteRef')){const _0x39f542=_0x5dde35['getAttribute']('footnoteId');if(!_0x52774f(_0x39f542))continue;_0x1ff6c8[_0x39f542]||(_0x1ff6c8[_0x39f542]=_0x288d30()),_0x4516fb['setAttribute']('footnoteId',_0x1ff6c8[_0x39f542],_0x5dde35);}return _0x1ff6c8;}(_0x5277f6,_0x77924b['content'],_0x44adbb=>{if(!_0x4027af)return!0x0;return!!_0x44c2fe['getFootnote'](_0x44adbb)&&!_0x33a65f['includes'](_0x44adbb);});for(const [_0x152218,_0x94f776]of Object['entries'](_0x16e58f)){const _0x429faa=_0x430e0c[_0x152218]||_0x152218;let _0x29170b;if('string'!=typeof _0x94f776)_0x29170b=_0x94f776,_0x429faa!==_0x152218&&_0x5277f6['setAttribute']('footnoteId',_0x429faa,_0x29170b);else{_0x29170b=_0x5277f6['createElement']('footnoteDefinition',{'footnoteId':_0x429faa});const _0x315dd0=_0x439015['data']['htmlProcessor']['toView'](_0x94f776);let _0x5da3eb;if(_0xab51d7)_0x5da3eb=_0x439015['data']['toModel'](_0x315dd0,_0x29170b);else{_0x5da3eb=_0x5277f6['createElement']('footnoteInlineContent');const _0x273460=_0x439015['data']['toModel'](_0x315dd0,_0x5da3eb);_0x5277f6['insert'](_0x273460,_0x5da3eb);}_0x5277f6['append'](_0x5da3eb,_0x29170b);}_0x5277f6['insert'](_0x29170b,_0x3cd2ab,'end');}_0x16e58f=null;});});}}function $g(_0x597feb,_0xad090a){for(const {item:_0x4697be}of _0x597feb['createRangeIn'](_0xad090a))if(_0x4697be['is']('element','footnotesDefinitions'))return _0x4697be;return null;}function Vg(_0x3b7d47){const _0x268e3c=new Set();for(const {item:_0x4811a2}of _0x3b7d47)_0x4811a2['is']('element','footnoteRef')&&_0x268e3c['add'](_0x4811a2['getAttribute']('footnoteId'));return Array['from'](_0x268e3c);}class FootnotesUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33fcf9}=this,{componentFactory:_0x472f9d}=_0x33fcf9['ui'];_0x472f9d['add']('insertFootnote',Ug(_0x33fcf9,_0x13bcd9)),_0x472f9d['add']('menuBar:insertFootnote',Ug(_0x33fcf9,ot)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbc2a5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc42e88;for(const _0x5d1003 in _0xbc2a5){const _0x47834d=_0x5d1003,_0x44f478=_0xbc2a5[_0x47834d];if('footnotesLicenseKeyValid'==_0x44f478||'footnotesLicenseKeyInvalid'==_0x44f478||'footnotesLicenseKeyExpired'==_0x44f478||'footnotesLicenseKeyDomainLimit'==_0x44f478||'footnotesLicenseKeyNotAllowed'==_0x44f478||'footnotesLicenseKeyEvaluationLimit'==_0x44f478||'footnotesLicenseKeyUsageLimit'==_0x44f478){delete _0xbc2a5[_0x47834d],_0xc42e88=_0x44f478,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xc42e88&&_0xbc2a5['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xc42e88&&_0xbc2a5['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xc42e88&&_0xbc2a5['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xc42e88&&_0xbc2a5['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xc42e88&&_0xbc2a5['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xc42e88&&_0xbc2a5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Ug(_0x3339ea,_0x3aa19b){const _0xc37ccb=_0x3339ea['commands']['get']('insertFootnote');return _0x2838c8=>{const {t:t}=_0x2838c8,_0x40a76f=new _0x3aa19b(_0x2838c8),_0x2c1c35=_0x40a76f instanceof ot;return _0x40a76f['bind']('isEnabled')['to'](_0xc37ccb,'isEnabled'),_0x40a76f['set']({'label':t(_0x2c1c35?'Footnote':'Insert\x20footnote'),'icon':_0x304f3a,'tooltip':!0x0}),_0x40a76f['on']('execute',()=>{_0xc37ccb['execute'](),_0x3339ea['editing']['view']['focus']();}),_0x40a76f;};}class Footnotes extends _0x4ac504{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Bg=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends _0x1110b9{['refresh'](){const {editor:_0x39cb22}=this,_0x2f07ef=_0x39cb22['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2f07ef,this['value']=_0x2f07ef?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x102caf}){const {editor:_0x42909a}=this,_0x2e7d0e=_0x42909a['plugins']['get'](FootnotesTracker),_0x3e9763=_0x2e7d0e['getFootnotesDefinitionsObjectElement']();_0x3e9763&&Bg['includes'](_0x102caf)&&_0x42909a['model']['change'](_0x31b95b=>{_0x31b95b['setAttribute']('footnotesListStyle',_0x102caf,_0x3e9763),_0x2e7d0e['_updateFootnotesCounters'](_0x31b95b);});}}class FootnotesStartCommand extends _0x1110b9{['refresh'](){const {editor:_0x3a174a}=this,_0x4dde2e=_0x3a174a['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4dde2e,this['value']=_0x4dde2e?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x58154d}){const {editor:_0x3ea57e}=this,_0x454a51=_0x3ea57e['plugins']['get'](FootnotesTracker),_0x29138d=_0x454a51['getFootnotesDefinitionsObjectElement']();_0x29138d&&Number['isInteger'](_0x58154d)&&_0x3ea57e['model']['change'](_0x86fc55=>{_0x86fc55['setAttribute']('footnotesListStart',_0x58154d,_0x29138d),_0x454a51['_updateFootnotesCounters'](_0x86fc55);});}}class FootnotesPropertiesEditing extends _0x4ac504{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5207d6}=this;_0x5207d6['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5207d6['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5207d6['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x5207d6)),_0x5207d6['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x5207d6)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x576019}=this,{schema:_0x5d1ba0}=_0x576019['model'];_0x5d1ba0['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4082f9}=this,{conversion:_0x22f660,model:_0x167d4f}=_0x4082f9,{schema:_0x58ff86}=_0x167d4f;_0x22f660['for']('upcast')['add'](_0x5c81c3=>{_0x5c81c3['on']('element:ol',(_0x3af851,_0x11e63b,_0x14ed7c)=>{const _0x4980da=_0x11e63b['viewItem'],_0xdd3185=_0x11e63b['modelCursor']?.['parent'];_0x4980da['hasClass']('footnotes-list')&&_0xdd3185?.['is']('element','footnotesDefinitions')&&(function(_0x5930b1,_0x11e7fb,_0x1cca77,_0x7157c5){if(!_0x7157c5['checkAttribute'](_0x11e7fb,'footnotesListStart'))return;let _0x4d86d6=0x1;const _0x570bf1=_0x1cca77['consumable']['consume'](_0x5930b1,{'attributes':'start'});if(_0x570bf1){const _0x5bcfb5=Number['parseInt'](_0x5930b1['getAttribute']('start'),0xa);Number['isNaN'](_0x5bcfb5)||(_0x4d86d6=_0x5bcfb5);}!_0x570bf1&&_0x11e7fb['hasAttribute']('footnotesListStart')||_0x1cca77['writer']['setAttribute']('footnotesListStart',_0x4d86d6,_0x11e7fb);}(_0x4980da,_0xdd3185,_0x14ed7c,_0x58ff86),function(_0x3f60ce,_0x456ad6,_0x59e4bd,_0x43c2ae){if(!_0x43c2ae['checkAttribute'](_0x456ad6,'footnotesListStyle'))return;let _0x2b8887='decimal',_0x1754af=!0x1;if(_0x59e4bd['consumable']['consume'](_0x3f60ce,{'attributes':'type'})){const _0x1ce75c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3f60ce['getAttribute']('type')];_0x1ce75c&&(_0x2b8887=_0x1ce75c),_0x1754af=!0x0;}_0x59e4bd['consumable']['consume'](_0x3f60ce,{'styles':'list-style-type'})&&(_0x2b8887=function(_0x2c28f3){switch(_0x2c28f3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x2c28f3;}}(_0x3f60ce['getStyle']('list-style-type')),_0x1754af=!0x0),!_0x1754af&&_0x456ad6['hasAttribute']('footnotesListStyle')||_0x59e4bd['writer']['setAttribute']('footnotesListStyle',_0x2b8887,_0x456ad6);}(_0x4980da,_0xdd3185,_0x14ed7c,_0x58ff86));});}),_0x22f660['for']('downcast')['add'](_0x1a10b4=>{_0x1a10b4['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x28b7c2,_0x2507da,_0x4676cc)=>{if(!_0x4676cc['consumable']['consume'](_0x2507da['item'],_0x28b7c2['name']))return;const _0x313f16=Fg(_0x2507da['item'],_0x4676cc['mapper']),{attributeNewValue:_0x22b6f4}=_0x2507da;null==_0x22b6f4||0x1===_0x22b6f4?_0x4676cc['writer']['removeAttribute']('start',_0x313f16):_0x4676cc['writer']['setAttribute']('start',String(_0x22b6f4),_0x313f16);}),_0x1a10b4['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x207665,_0x2cbc41,_0x3da697)=>{if(!_0x3da697['consumable']['consume'](_0x2cbc41['item'],_0x207665['name']))return;const _0x363c5b=Fg(_0x2cbc41['item'],_0x3da697['mapper']),{attributeNewValue:_0x64af87}=_0x2cbc41;_0x64af87&&'decimal'!==_0x64af87?_0x3da697['writer']['setStyle']('list-style-type',_0x64af87,_0x363c5b):_0x3da697['writer']['removeStyle']('list-style-type',_0x363c5b);});});}['_definePostfixer'](){const {editor:_0x56d983}=this,{model:_0x5d1e04}=_0x56d983,_0x3c5fce=_0x56d983['plugins']['get'](FootnotesTracker),_0x366a80=this['_getDefaultListStyle'](),_0x5b6f9d=this['_getDefaultStartIndex']();_0x5d1e04['document']['registerPostFixer'](_0x57cfdc=>{const _0x42e653=_0x5d1e04['document']['differ']['getChanges']();let _0x2e406d=!0x1;for(const _0x278bdc of _0x42e653){if('insert'!==_0x278bdc['type']||'$text'===_0x278bdc['name'])continue;const _0x139fc6=_0x5d1e04['createRangeOn'](_0x278bdc['position']['nodeAfter']);for(const _0x52409a of _0x139fc6['getItems']())_0x52409a['is']('element','footnotesDefinitions')&&(!_0x52409a['hasAttribute']('footnotesListStart')&&_0x5d1e04['schema']['checkAttribute'](_0x52409a,'footnotesListStart')&&(_0x57cfdc['setAttribute']('footnotesListStart',_0x5b6f9d,_0x52409a),_0x2e406d=!0x0),!_0x52409a['hasAttribute']('footnotesListStyle')&&_0x5d1e04['schema']['checkAttribute'](_0x52409a,'footnotesListStyle')&&(_0x57cfdc['setAttribute']('footnotesListStyle',_0x366a80,_0x52409a),_0x2e406d=!0x0));}return _0x2e406d&&_0x3c5fce['_updateFootnotesCounters'](_0x57cfdc),_0x2e406d;});}['_defineFormatter'](){const {editor:_0x3e22d5}=this;_0x3e22d5['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x35d507=>this['_formatFootnoteListValue'](_0x35d507));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x41f207,value:_0x54928f,digits:_0x3f7ae2}){const _0x1059da=_0x41f207['getAttribute']('footnotesListStyle'),_0x2eeaf2=_0x41f207['getAttribute']('footnotesListStart'),_0x23ed99=Math['floor'](_0x54928f)+(_0x2eeaf2??0x1)-0x1;switch(_0x1059da){case'decimal-leading-zero':return function(_0x4106c8,_0x8b572f){return String(_0x4106c8)['padStart'](_0x8b572f,'0');}(_0x23ed99,Math['max'](0x2,_0x3f7ae2));case'lower-alpha':case'lower-latin':return jg(_0x23ed99,!0x1);case'upper-alpha':case'upper-latin':return jg(_0x23ed99,!0x0);case'lower-roman':return Gg(_0x23ed99,!0x1);case'upper-roman':return Gg(_0x23ed99,!0x0);default:return String(_0x23ed99);}}}function Fg(_0x28e6d9,_0x5e335c){const _0x3a7a49=_0x5e335c['toViewElement'](_0x28e6d9);return Array['from'](_0x3a7a49['getChildren']())['find'](_0x2d2bab=>_0x2d2bab['is']('element','ol')&&_0x2d2bab['hasClass']('footnotes-list'));}function jg(_0x5d9859,_0x340f98){let _0x2fc840='',_0x23d4ba=_0x5d9859;for(;_0x23d4ba>0x0;){const _0x17be38=(_0x23d4ba-0x1)%0x1a;_0x2fc840=String['fromCharCode'](0x61+_0x17be38)+_0x2fc840,_0x23d4ba=Math['floor']((_0x23d4ba-0x1)/0x1a);}return _0x340f98?_0x2fc840['toUpperCase']():_0x2fc840;}const Hg=[{'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 Gg(_0x2b0273,_0x2049d9){let _0x35d8b6='',_0xd712a9=_0x2b0273;for(const {value:_0x3e59e2,numeral:_0x1ff7a5}of Hg)for(;_0xd712a9>=_0x3e59e2;)_0x35d8b6+=_0x1ff7a5,_0xd712a9-=_0x3e59e2;return _0x2049d9?_0x35d8b6:_0x35d8b6['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends _0x268b55{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xc1a0cc();['keystrokes']=new _0x3c1644();['focusables']=new vt();['focusCycler'];constructor(_0x47c1e4,{styleButtonViews:_0x132ec5,styleGridAriaLabel:_0x11ec3b}){super(_0x47c1e4),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x132ec5,_0x11ec3b),[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 _0x2fbe97 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2fbe97['element']);$t({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x81fd87['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 _0x57caac=_0x26884f=>_0x26884f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x57caac),this['keystrokes']['set']('arrowleft',_0x57caac),this['keystrokes']['set']('arrowup',_0x57caac),this['keystrokes']['set']('arrowdown',_0x57caac);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x57a50a,_0xb4ba1b){const _0x3e4638=new _0x268b55(this['locale']);return _0x3e4638['children']=_0x3e4638['createCollection'](),_0x3e4638['children']['addMany'](_0x57a50a),_0x3e4638['setTemplate']({'tag':'div','attributes':{'aria-label':_0xb4ba1b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3e4638['children']}),_0x3e4638['children']['delegate']('execute')['to'](this),_0x3e4638['focus']=function(){for(const _0x4debcc of this['children'])if(_0x4debcc instanceof _0x13bcd9&&_0x4debcc['isOn'])return void _0x4debcc['focus']();this['children']['first']['focus']();},_0x3e4638['focusTracker']=new _0xc1a0cc(),_0x3e4638['keystrokes']=new _0x3c1644(),_0x3e4638['render'](),_0x3e4638['keystrokes']['listenTo'](_0x3e4638['element']),this['children']['add'](_0x3e4638),_0x3e4638;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2ff119=this['_createStartIndexPropertyView'](),_0x18648e=[_0x2ff119],_0x1f7d14=new Vt(this['locale'],_0x18648e);return _0x1f7d14['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1f7d14['buttonView']['bind']('isEnabled')['toMany'](_0x18648e,'isEnabled',(..._0x59189d)=>_0x59189d['some'](_0x1ce209=>_0x1ce209)),_0x1f7d14['buttonView']['on']('change:isEnabled',(_0x43cb06,_0x494fd5,_0x473cbb)=>{_0x473cbb||(_0x1f7d14['isCollapsed']=!0x0);}),this['children']['add'](_0x1f7d14),[_0x2ff119,_0x1f7d14];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3f968c=new wt(this['locale'],Ut);return _0x3f968c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3f968c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3f968c['fieldView']['on']('input',()=>{const _0x1b1e06=_0x3f968c['fieldView']['element'],_0x27a82a=_0x1b1e06['valueAsNumber'];Number['isNaN'](_0x27a82a)?_0x3f968c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1b1e06['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x27a82a}):_0x3f968c['errorText']=t(_0x27a82a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3f968c;}}class FootnotesPropertiesUI extends _0x4ac504{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[Dt,_0x496ff4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xfd1ca1}=this,{componentFactory:_0x440948}=_0xfd1ca1['ui'];_0xfd1ca1['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x440948['add']('footnotesStyle',function(_0x43dbe1){return _0x374b8c=>{const {t:t}=_0x374b8c,_0x5982c3=_0x43dbe1['commands']['get']('footnotesStyle'),_0xb9f382=st(_0x374b8c),{buttonView:_0x22d461}=_0xb9f382;return _0xb9f382['class']='ck-footnotes-styles-dropdown',_0xb9f382['bind']('isEnabled')['to'](_0x5982c3,'isEnabled'),_0x22d461['set']({'label':t('Footnotes\x20style'),'icon':_0x304f3a,'tooltip':!0x0}),_0xb9f382['once']('change:isOpen',()=>{const _0x3d967=function({editor:_0xccd19e,dropdownView:_0x589196}){const {t:t}=_0xccd19e['locale'],_0x1e8b2a=t('Footnotes\x20definitions\x20styles'),_0x6718d2=function(_0x174a43){const t=_0x174a43['locale']['t'],_0x1ba042=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5cccd8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x492b80},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5a5b5f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x487f8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2e7c41},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x85fd01}];return _0x1ba042['map'](function(_0x529d8b){const _0x11ee27=_0x529d8b['locale'];return({label:_0x18e943,icon:_0x53e952,tooltip:_0x3491db,style:_0x4059df})=>{const _0x428833=_0x529d8b['commands']['get']('footnotesStyle'),_0x3c3c05=new _0x13bcd9(_0x11ee27);return _0x3c3c05['set']({'label':_0x18e943,'icon':_0x53e952,'tooltip':_0x3491db}),_0x3c3c05['bind']('isOn')['to'](_0x428833,'value',_0x534941=>_0x534941===_0x4059df),_0x3c3c05['bind']('isEnabled')['to'](_0x428833,'isEnabled'),_0x3c3c05['on']('execute',()=>{_0x529d8b['execute']('footnotesStyle',{'value':_0x4059df}),_0x529d8b['editing']['view']['focus']();}),_0x3c3c05;};}(_0x174a43));}(_0xccd19e),_0x527a40=new FootnotesDefinitionsPropertiesView(_0xccd19e['locale'],{'styleGridAriaLabel':_0x1e8b2a,'styleButtonViews':_0x6718d2}),_0x400eb9=_0xccd19e['commands']['get']('footnotesStart');return _0x527a40['startIndexFieldView']['bind']('isEnabled')['to'](_0x400eb9),_0x527a40['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x400eb9),_0x527a40['on']('footnotesListStart',(_0x19ee0d,_0x5af525)=>{_0xccd19e['execute']('footnotesStart',{'value':_0x5af525['startIndex']});}),_0x527a40['delegate']('execute')['to'](_0x589196),_0x527a40;}({'editor':_0x43dbe1,'dropdownView':_0xb9f382});_0xb9f382['panelView']['children']['add'](_0x3d967);}),_0xb9f382;};}(_0xfd1ca1));}['afterInit'](){const {editor:_0x27231d}=this,{t:t}=_0x27231d['locale'],_0x5b4abe=_0x27231d['plugins']['get'](_0x496ff4),{defaultPositions:_0x4145e1}=ft;_0x5b4abe['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x27231d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5ed9b5=>{let _0x215359=_0x5ed9b5['getFirstPosition']()?.['parent'];return _0x215359?.['is']('$text')&&(_0x215359=_0x215359['parent']),_0x215359?.['is']('element')?_0x215359['findAncestor'](Ng):null;},'positions':[_0x4145e1['southArrowNorth'],_0x4145e1['southArrowNorthMiddleWest'],_0x4145e1['southArrowNorthMiddleEast'],_0x4145e1['southArrowNorthWest'],_0x4145e1['southArrowNorthEast'],_0x4145e1['northArrowSouth'],_0x4145e1['northArrowSouthMiddleWest'],_0x4145e1['northArrowSouthMiddleEast'],_0x4145e1['northArrowSouthWest'],_0x4145e1['northArrowSouthEast'],_0x4145e1['viewportStickyNorth']]});}}class FootnotesProperties extends _0x4ac504{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Zg='copyFormat',Xg='pasteFormat',qg='ck-format-painter-active';class CopyFormatCommand extends _0x1110b9{constructor(_0x2d9492){super(_0x2d9492),this['value']=void 0x0,this['on']('change:isEnabled',(_0x2cee16,_0x445b09,_0x550893)=>{_0x550893||this['reset']();}),this['on']('change:value',()=>_0x2d9492['commands']['get'](Xg)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x2a7451=this['editor']['model'],_0x4a01e8=_0x2a7451['document']['selection'];return Object['fromEntries'](Array['from'](_0x4a01e8['getAttributes']())['filter'](([_0x15630c])=>_0x2a7451['schema']['getAttributeProperties'](_0x15630c)['isFormatting']));}}class PasteFormatCommand extends _0x1110b9{constructor(_0x1e9080){super(_0x1e9080),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x1e9080);}['execute'](_0x5b9c46={}){const _0x71b787=this['editor']['model'],_0x2b325c=_0x71b787['document']['selection'],_0x4ff7a3=Array['from'](_0x2b325c['getRanges']()),_0x101769=_0x2b325c['isCollapsed']?[this['_createRangeOnEntireWord'](_0x71b787,_0x2b325c)]:_0x4ff7a3;_0x71b787['change'](_0xfc7e7a=>{_0xfc7e7a['setSelection'](_0x101769),this['_removeFormatCommand']['execute']();for(const _0x544230 in _0x5b9c46)for(const _0x162450 of _0x71b787['schema']['getValidRanges'](_0x101769,_0x544230))_0xfc7e7a['setAttribute'](_0x544230,_0x5b9c46[_0x544230],_0x162450);_0xfc7e7a['setSelection'](_0x4ff7a3);});}['_createRangeOnEntireWord'](_0x4b6345,_0x46a8f1){const _0x22c081=_0x4b6345['createSelection'](_0x46a8f1);_0x4b6345['modifySelection'](_0x22c081,{'unit':'word','direction':'backward'});const _0x74848d=_0x22c081['getFirstPosition']();_0x4b6345['modifySelection'](_0x22c081,{'unit':'word','direction':'forward'});const _0x3b1c2a=_0x22c081['getLastPosition']();return _0x4b6345['createRange'](_0x74848d,_0x3b1c2a);}}class RemoveFormatCommandAlias extends _0x1110b9{['execute'](){const _0x4c15a2=this['editor']['model'],_0x355438=_0x4c15a2['schema'];_0x4c15a2['change'](_0x4c5647=>{for(const _0x22a92f of this['_getFormattingItems'](_0x4c15a2['document']['selection'],_0x355438))if(_0x22a92f['is']('selection')){for(const _0x2c979f of this['_getFormattingAttributes'](_0x22a92f,_0x355438))_0x4c5647['removeSelectionAttribute'](_0x2c979f);}else{const _0x312f64=_0x4c5647['createRangeOn'](_0x22a92f);for(const _0x335bed of this['_getFormattingAttributes'](_0x22a92f,_0x355438))_0x4c5647['removeAttribute'](_0x335bed,_0x312f64);}});}*['_getFormattingItems'](_0x3eb5e6,_0x23cf55){const _0x376c4d=_0x7d8072=>!!_0x254002(this['_getFormattingAttributes'](_0x7d8072,_0x23cf55));for(const _0x573e30 of _0x3eb5e6['getRanges']())for(const _0xccc295 of _0x573e30['getItems']())!_0x23cf55['isBlock'](_0xccc295)&&_0x376c4d(_0xccc295)&&(yield _0xccc295);for(const _0xf23f98 of _0x3eb5e6['getSelectedBlocks']())_0x376c4d(_0xf23f98)&&(yield _0xf23f98);_0x376c4d(_0x3eb5e6)&&(yield _0x3eb5e6);}*['_getFormattingAttributes'](_0x4ef35b,_0x3779e0){for(const [_0x3980b8]of _0x4ef35b['getAttributes']()){const _0x3fd494=_0x3779e0['getAttributeProperties'](_0x3980b8);_0x3fd494&&_0x3fd494['isFormatting']&&(yield _0x3980b8);}}}class FormatPainterEditing extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2288b7=this['editor'];_0x2288b7['commands']['add'](Zg,new CopyFormatCommand(_0x2288b7)),_0x2288b7['commands']['add'](Xg,new PasteFormatCommand(_0x2288b7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2181f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4113a2;for(const _0x158342 in _0x2181f6){const _0x116794=_0x158342,_0x5d17d5=_0x2181f6[_0x116794];if('formatPainterLicenseKeyValid'==_0x5d17d5||'formatPainterLicenseKeyInvalid'==_0x5d17d5||'formatPainterLicenseKeyExpired'==_0x5d17d5||'formatPainterLicenseKeyDomainLimit'==_0x5d17d5||'formatPainterLicenseKeyNotAllowed'==_0x5d17d5||'formatPainterLicenseKeyEvaluationLimit'==_0x5d17d5||'formatPainterLicenseKeyUsageLimit'==_0x5d17d5){delete _0x2181f6[_0x116794],_0x4113a2=_0x5d17d5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4113a2&&_0x2181f6['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4113a2&&_0x2181f6['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4113a2&&_0x2181f6['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4113a2&&_0x2181f6['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4113a2&&_0x2181f6['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4113a2&&_0x2181f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Wg(_0x1335d2,_0x5d0a03){const t=_0x1335d2['t'];switch(_0x5d0a03){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 _0x5d0a03;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x3b006d(_0x4ac504){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x55b315=this['editor'];_0x55b315['editing']['view']['addObserver'](_0x3cd15a),_0x55b315['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Wg(_0x55b315['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':Wg(_0x55b315['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x55b315['ui']['componentFactory']['add']('formatPainter',_0x21e875=>{const _0x337f5f=st(_0x21e875,Bt),_0x175a22=_0x55b315['commands']['get'](Zg);_0x337f5f['buttonView']['set']({'label':Wg(_0x55b315['locale'],'Paint\x20formatting'),'icon':_0x17c89c,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x337f5f['class']='ck-format-painter-dropdown',_0x175a22&&(_0x337f5f['bind']('isEnabled')['to'](_0x175a22,'isEnabled'),this['listenTo'](_0x175a22,'change:isEnabled',(_0x2ef512,_0x120971,_0x239135)=>{_0x239135||this['_finishPainting']();}),_0x337f5f['buttonView']['bind']('isOn')['to'](_0x175a22,'value',_0x28f320=>!!_0x28f320),this['listenTo'](_0x55b315,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x175a22,'change:value',(_0x37bc8b,_0x31ac93,_0x1d468d)=>{this['_toggleSpecialCursor'](!!_0x1d468d);}));const _0x1e1799=new pt({'withText':!0x0,'label':Wg(_0x55b315['locale'],'Continuous\x20painting'),'tooltip':Wg(_0x55b315['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});gt(_0x337f5f,new _0xe4e0d0([{'type':'switchbutton','model':_0x1e1799}]),{'role':'menu'});const _0x269407=()=>{this['_copyFormatting'](),this['listenTo'](_0x81fd87['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1e1799['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x337f5f,'execute',()=>{_0x1e1799['isOn']=!_0x1e1799['isOn'];}),this['listenTo'](_0x337f5f['buttonView'],'execute',()=>{_0x55b315['editing']['view']['focus'](),_0x337f5f['buttonView']['isOn']?this['_finishPainting']():_0x269407();}),_0x55b315['keystrokes']['set']('Ctrl+Alt+C',(_0x15c881,_0x55401e)=>{_0x269407(),_0x1e1799['isOn']=!0x0,_0x55401e();},{'priority':'high'}),_0x55b315['keystrokes']['set']('Ctrl+Alt+V',(_0x5a9858,_0x9a0878)=>{_0x337f5f['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1e1799['isOn']||this['_finishPainting'](),_0x9a0878());},{'priority':'high'}),_0x55b315['keystrokes']['set']('Esc',(_0x11a602,_0xe476a5)=>{_0x337f5f['buttonView']['isOn']&&(_0x1e1799['isOn']=!0x1,this['_finishPainting'](),_0xe476a5());}),_0x337f5f;});}['afterInit'](){!async function(_0x5e743b){const _0x5771a9=_0x358b41([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]),_0x5521d1=0x4597e011,_0x2ee8ea=0x45906a79^_0x5521d1,_0x2def2f=window[_0x358b41([0x44,0x61,0x74,0x65])][_0x358b41([0x6e,0x6f,0x77])](),_0x57ce5b=_0x5e743b[_0x358b41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x334882=new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b062=>{_0x57ce5b[_0x358b41([0x6f,0x6e,0x63,0x65])](_0x358b41([0x72,0x65,0x61,0x64,0x79]),_0x14b062);}),_0x5809c3={[_0x358b41([0x6b,0x74,0x79])]:_0x358b41([0x45,0x43]),[_0x358b41([0x75,0x73,0x65])]:_0x358b41([0x73,0x69,0x67]),[_0x358b41([0x63,0x72,0x76])]:_0x358b41([0x50,0x2d,0x32,0x35,0x36]),[_0x358b41([0x78])]:_0x358b41([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]),[_0x358b41([0x79])]:_0x358b41([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]),[_0x358b41([0x61,0x6c,0x67])]:_0x358b41([0x45,0x53,0x32,0x35,0x36])},_0x9af432=_0x57ce5b[_0x358b41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x358b41([0x67,0x65,0x74])](_0x358b41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x227d97(){let _0x3e1d06,_0x3eaeb1=null,_0x558550=null;try{if(_0x9af432==_0x358b41([0x47,0x50,0x4c]))return _0x358b41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e1d06=_0x24a3bd(),!_0x3e1d06)return _0x358b41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e1d06[_0x358b41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x558550=_0x11dacd(_0x3e1d06[_0x358b41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e1d06[_0x358b41([0x6a,0x74,0x69])])),await _0x515ead()?_0x27fbe6()?_0x37237b()?_0x358b41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40e65c()?(_0x3e1d06[_0x358b41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x358b41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3eaeb1=_0x5915c3(_0x358b41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb46ce5()):_0x358b41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x358b41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x358b41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x358b41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37237b(){const _0x34d083=[_0x358b41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x358b41([0x74,0x72,0x69,0x61,0x6c])][_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1d06[_0x358b41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2def2f/0x3e8:0xe10*_0x2ee8ea;return _0x3e1d06[_0x358b41([0x65,0x78,0x70])]<_0x34d083;}function _0x27fbe6(){const _0x37828a=_0x3e1d06[_0x358b41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37828a&&(!!_0x37828a[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358b41([0x2a]))||(!!_0x37828a[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358b41([0x46,0x50]))||(!!_0x37828a[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358b41([0x50,0x50]))||!(!_0x37828a[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358b41([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4d17bd()))));}function _0x40e65c(){const _0x42ee11=_0x3e1d06[_0x358b41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42ee11||0x0==_0x42ee11[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e499c}=new URL(window[_0x358b41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42ee11[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e499c))return!0x0;const _0x5b1de2=_0x2e499c[_0x358b41([0x73,0x70,0x6c,0x69,0x74])](_0x358b41([0x2e]));return _0x42ee11[_0x358b41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x513c40=>_0x513c40[_0x358b41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358b41([0x2a])))[_0x358b41([0x6d,0x61,0x70])](_0x4d60db=>_0x4d60db[_0x358b41([0x73,0x70,0x6c,0x69,0x74])](_0x358b41([0x2e])))[_0x358b41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a593f=>_0x4a593f[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b1de2[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x358b41([0x6d,0x61,0x70])](_0xf8a0d9=>Array(_0x5b1de2[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf8a0d9[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x358b41([0x66,0x69,0x6c,0x6c])](_0xf8a0d9[0x0]===_0x358b41([0x2a])?_0x358b41([0x2a]):'')[_0x358b41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf8a0d9))[_0x358b41([0x73,0x6f,0x6d,0x65])](_0x1203f3=>_0x5b1de2[_0x358b41([0x65,0x76,0x65,0x72,0x79])]((_0x319a59,_0x49a0e9)=>_0x1203f3[_0x49a0e9]===_0x319a59||_0x1203f3[_0x49a0e9]===_0x358b41([0x2a])));}function _0xb46ce5(){return _0x3eaeb1&&_0x558550?new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56ec92,_0x38ce40)=>{_0x3eaeb1[_0x358b41([0x74,0x68,0x65,0x6e])](_0x56ec92,_0x38ce40),_0x558550[_0x358b41([0x74,0x68,0x65,0x6e])](_0x3b6f8d=>{_0x3b6f8d!=_0x358b41([0x56,0x61,0x6c,0x69,0x64])&&_0x56ec92(_0x3b6f8d);},_0x38ce40);}):_0x3eaeb1||_0x558550||_0x358b41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11dacd(_0x140e17,_0x4da819){return new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x93f807=>{if(_0x4ec73f())return _0x93f807(_0x358b41([0x56,0x61,0x6c,0x69,0x64]));_0x1a6d1c(),_0x57ce5b[_0x358b41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x358b41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bf2bc=!0x1;const _0x569cee=_0x288d30();function _0x4e4aec(_0x1885ac){return!!_0x1885ac&&(typeof _0x1885ac===_0x358b41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1885ac===_0x358b41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1885ac[_0x358b41([0x74,0x68,0x65,0x6e])]===_0x358b41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1885ac[_0x358b41([0x63,0x61,0x74,0x63,0x68])]===_0x358b41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c9e74(_0x4f8762){_0x3d029b(_0x4f8762)[_0x358b41([0x74,0x68,0x65,0x6e])](_0x535362=>{if(!_0x535362||_0x535362[_0x358b41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x358b41([0x6f,0x6b]))return _0x358b41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f883a(_0x45b3b5(_0x569cee+_0x4da819))!=_0x535362[_0x358b41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x358b41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x358b41([0x56,0x61,0x6c,0x69,0x64]);})[_0x358b41([0x74,0x68,0x65,0x6e])](_0x2ef4ca=>(_0x1d81a8(),_0x2ef4ca),()=>{const _0x552077=_0x4049d5();return null==_0x552077?(_0x1d81a8(),_0x358b41([0x56,0x61,0x6c,0x69,0x64])):_0x358b41(_0x2def2f-_0x552077>(0x619b6411^_0x5521d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x358b41([0x74,0x68,0x65,0x6e])](_0x93f807)[_0x358b41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x93f807(_0x358b41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x594898=0x45a10e91^_0x5521d1;function _0x1d81a8(){const _0x5942fe=_0x358b41([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f883a(_0x45b3b5(_0x140e17)),_0x2672e5=_0x210383(_0x4f883a(window[_0x358b41([0x4d,0x61,0x74,0x68])][_0x358b41([0x63,0x65,0x69,0x6c])](_0x2def2f/_0x594898)));window[_0x358b41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x358b41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5942fe,_0x2672e5);}function _0x4049d5(){const _0x4fa698=_0x358b41([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f883a(_0x45b3b5(_0x140e17)),_0xfec42d=window[_0x358b41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x358b41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fa698);return _0xfec42d?window[_0x358b41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x210383(_0xfec42d),0x10)*_0x594898:null;}function _0x3d029b(_0x35092b){return new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xeab7bf,_0x3fa993)=>{_0x35092b[_0x358b41([0x74,0x68,0x65,0x6e])](_0xeab7bf,_0x3fa993),window[_0x358b41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fa993,0x459634d1^_0x5521d1);});}}_0x57ce5b[_0x358b41([0x6f,0x6e])](_0x358b41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13638f,_0x3073d7)=>{if(_0x3073d7[0x0]!=_0x140e17)return _0x93f807(_0x358b41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3073d7[0x1]={..._0x3073d7[0x1],[_0x358b41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x569cee};},{[_0x358b41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x358b41([0x68,0x69,0x67,0x68])}),_0x57ce5b[_0x358b41([0x6f,0x6e])](_0x358b41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34a43b=>{_0x4e4aec(_0x34a43b[_0x358b41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bf2bc=!0x0,_0x5c9e74(_0x34a43b[_0x358b41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x358b41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x358b41([0x6c,0x6f,0x77])}),_0x334882[_0x358b41([0x74,0x68,0x65,0x6e])](()=>{_0x4bf2bc||_0x93f807(_0x358b41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ec73f(){return _0x57ce5b[_0x358b41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x358b41([0x76,0x69,0x65,0x77])][_0x358b41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x358b41([0x61,0x75,0x74,0x6f]);}function _0x1a6d1c(){_0x57ce5b[_0x358b41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x358b41([0x76,0x69,0x65,0x77])][_0x358b41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x358b41([0x61,0x75,0x74,0x6f]);}}function _0x5915c3(_0x358c95){const _0x1ac9a4=[new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7c23=>setTimeout(_0x2f7c23,0x459ededd^_0x5521d1)),_0x334882[_0x358b41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216371=>{let _0x3fd50b=0x0;_0x57ce5b[_0x358b41([0x6d,0x6f,0x64,0x65,0x6c])][_0x358b41([0x6f,0x6e])](_0x358b41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3dc18f,_0x52e7ab)=>{_0x52e7ab[0x0][_0x358b41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fd50b++,_0x3fd50b==(0x4597e5f9^_0x5521d1)&&(_0x216371(),_0x3dc18f[_0x358b41([0x6f,0x66,0x66])]());});}))];return window[_0x358b41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x358b41([0x72,0x61,0x63,0x65])](_0x1ac9a4)[_0x358b41([0x74,0x68,0x65,0x6e])](()=>_0x358c95);}async function _0x2d609b(){await _0x334882,_0x57ce5b[_0x358b41([0x6d,0x6f,0x64,0x65,0x6c])][_0x358b41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ea98d,_0x57ce5b[_0x358b41([0x6d,0x6f,0x64,0x65,0x6c])][_0x358b41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ea98d,_0x57ce5b[_0x358b41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x358b41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d17bd(){return window[_0x358b41([0x67,0x6c,0x6f,0x62])]&&window[_0x358b41([0x67,0x6c,0x6f,0x62])][_0x358b41([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x505a11(_0x50e1f0){const _0x3cf6b1=_0x27aeae();_0x57ce5b[_0x3cf6b1]=_0x358b41([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x50e1f0,_0x50e1f0!=_0x358b41([0x56,0x61,0x6c,0x69,0x64])&&_0x2d609b();}function _0x27aeae(){const _0x51ea04=window[_0x358b41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x358b41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x358b41([0x6e,0x6f,0x77])]())[_0x358b41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x358b41([0x2e]),'');let _0x4831f6=_0x358b41([0x51]);for(let _0x2f71ce=0x0;_0x2f71ce<_0x51ea04[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f71ce+=0x2){let _0x42a13e=window[_0x358b41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51ea04[_0x358b41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f71ce,_0x2f71ce+0x2));_0x42a13e>=_0x5771a9[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42a13e-=_0x5771a9[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4831f6+=_0x5771a9[_0x42a13e];}return _0x4831f6;}function _0x24a3bd(){const _0x4e6a95=_0x9af432[_0x358b41([0x73,0x70,0x6c,0x69,0x74])](_0x358b41([0x2e]));if(0x3!=_0x4e6a95[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54f9d6(_0x4e6a95[0x1]);function _0x54f9d6(_0x3d4f68){const _0x1a663c=_0x1b1446(_0x3d4f68);return _0x1a663c&&_0x4e208b()?_0x1a663c:null;function _0x4e208b(){const _0x521e8b=_0x1a663c[_0x358b41([0x6a,0x74,0x69])],_0x21f1d1=window[_0x358b41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x521e8b[_0x358b41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x521e8b[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x359484={..._0x1a663c,[_0x358b41([0x6a,0x74,0x69])]:_0x521e8b[_0x358b41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x521e8b[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x359484[_0x358b41([0x76,0x63])],_0x45b3b5(_0x359484)==_0x21f1d1;}}}async function _0x515ead(){let _0x25614f=!0x0;try{const _0x4d6f25=_0x9af432[_0x358b41([0x73,0x70,0x6c,0x69,0x74])](_0x358b41([0x2e])),[_0x5f49e0,_0x39f591,_0x6c8572]=_0x4d6f25;return _0x3ea242(_0x5f49e0),await _0x4545f6(_0x5f49e0,_0x39f591,_0x6c8572),_0x25614f;}catch{return!0x1;}function _0x3ea242(_0x48f9b7){const _0x11810f=_0x1b1446(_0x48f9b7);_0x11810f&&_0x11810f[_0x358b41([0x61,0x6c,0x67])]==_0x358b41([0x45,0x53,0x32,0x35,0x36])||(_0x25614f=!0x1);}async function _0x4545f6(_0x193c3b,_0x4d8426,_0x27e899){const _0x411d92=window[_0x358b41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x358b41([0x66,0x72,0x6f,0x6d])](_0xd258fa(_0x27e899),_0x555d7a=>_0x555d7a[_0x358b41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x302185=new window[(_0x358b41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x358b41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x193c3b+_0x358b41([0x2e])+_0x4d8426),_0x95d2ca=window[_0x358b41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x358b41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x95d2ca)return;const _0x41cf8c=await _0x95d2ca[_0x358b41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x358b41([0x6a,0x77,0x6b]),_0x5809c3,{[_0x358b41([0x6e,0x61,0x6d,0x65])]:_0x358b41([0x45,0x43,0x44,0x53,0x41]),[_0x358b41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x358b41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x358b41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x95d2ca[_0x358b41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x358b41([0x6e,0x61,0x6d,0x65])]:_0x358b41([0x45,0x43,0x44,0x53,0x41]),[_0x358b41([0x68,0x61,0x73,0x68])]:{[_0x358b41([0x6e,0x61,0x6d,0x65])]:_0x358b41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41cf8c,_0x411d92,_0x302185)||(_0x25614f=!0x1);}}function _0x1b1446(_0x3a3ea1){return _0x3a3ea1[_0x358b41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x358b41([0x65,0x79]))?JSON[_0x358b41([0x70,0x61,0x72,0x73,0x65])](_0xd258fa(_0x3a3ea1)):null;}function _0xd258fa(_0x443fc6){return window[_0x358b41([0x61,0x74,0x6f,0x62])](_0x443fc6[_0x358b41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x358b41([0x2b]))[_0x358b41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x358b41([0x2f])));}function _0x45b3b5(_0x3479df){let _0x24670c=0x1505;function _0x434c41(_0x510c0a){for(let _0x4a523f=0x0;_0x4a523f<_0x510c0a[_0x358b41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a523f++){const _0x4c2a08=_0x510c0a[_0x358b41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a523f);_0x24670c=(_0x24670c<<0x5)+_0x24670c+_0x4c2a08,_0x24670c&=_0x24670c;}}function _0x616cbe(_0x19911f){Array[_0x358b41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19911f)?_0x19911f[_0x358b41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x616cbe):_0x19911f&&typeof _0x19911f==_0x358b41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x358b41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19911f)[_0x358b41([0x73,0x6f,0x72,0x74])]()[_0x358b41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f31ea,_0x30033f])=>{_0x434c41(_0x3f31ea),_0x616cbe(_0x30033f);}):_0x434c41(window[_0x358b41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19911f));}return _0x616cbe(_0x3479df),_0x24670c>>>0x0;}function _0x4f883a(_0x4f6176){return _0x4f6176[_0x358b41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x358b41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x358b41([0x30]));}function _0x210383(_0x23dfb5){return _0x23dfb5[_0x358b41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x358b41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x358b41([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ea98d(){}function _0x358b41(_0x1eac69){return _0x1eac69['map'](_0x37dc28=>String['fromCharCode'](_0x37dc28))['join']('');}_0x505a11(await _0x227d97());}(this);}['_toggleSpecialCursor'](_0x3ac87e){this['editor']['editing']['view']['change'](_0x5966a5=>{for(const _0x1d528b of this['editor']['editing']['view']['document']['roots'])_0x3ac87e?_0x5966a5['addClass'](qg,_0x1d528b):_0x5966a5['removeClass'](qg,_0x1d528b);});}['_copyFormatting'](){const {editor:_0x38f060}=this;_0x38f060['execute'](Zg),_0x38f060['ui']['ariaLiveAnnouncer']['announce'](Wg(_0x38f060['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x2456cb}=this,_0x4f45de=_0x2456cb['commands']['get'](Zg)['value'];_0x2456cb['execute'](Xg,_0x4f45de),_0x2456cb['ui']['ariaLiveAnnouncer']['announce'](Wg(_0x2456cb['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](Zg)['reset'](),this['stopListening'](_0x81fd87['window']['document'],'mouseup');}}class FormatPainter extends _0x4ac504{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function zg(_0x3fd470,_0x19ae2c){const t=_0x3fd470['t'];switch(_0x19ae2c){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 _0x19ae2c;}}class ImportWordUI extends _0x4ac504{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x38af52=this['editor'];_0x38af52['ui']['componentFactory']['add']('importWord',()=>{const _0x51bc59=this['_createButton'](Tt),_0x16f038=_0x38af52['commands']['get']('importWord');return _0x51bc59['bind']('isOn')['to'](_0x16f038,'isBusy'),_0x51bc59['tooltip']=!0x0,_0x51bc59;}),_0x38af52['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](Ft));}['_createButton'](_0x3117c0){const _0xe34cdb=this['editor'],_0x5291fc=_0xe34cdb['commands']['get']('importWord'),_0x17ea8a=new _0x3117c0(_0xe34cdb['locale']),_0x1fbddb=new _0x513369();return _0x17ea8a['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x17ea8a['set']({'icon':_0x15a742}),_0x17ea8a['bind']('isEnabled')['to'](_0x5291fc),_0x17ea8a['bind']('label')['to'](_0x5291fc,'isBusy',_0x83b603=>zg(_0xe34cdb['locale'],_0x83b603?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1fbddb['bind']('isVisible')['to'](_0x5291fc,'isBusy'),_0x17ea8a['iconView']['bind']('isVisible')['to'](_0x5291fc,'isBusy',_0x33574a=>!_0x33574a),_0x17ea8a['children']['add'](_0x1fbddb),_0x17ea8a['on']('done',(_0x4fa9d6,_0x16e527)=>{_0xe34cdb['execute']('importWord',_0x16e527[0x0],{}),_0xe34cdb['editing']['view']['focus']();}),_0x17ea8a;}}class ImportWordCommand extends _0x1110b9{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4599c7){super(_0x4599c7),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x592e21,_0x19bc45)=>{const _0x17200f=new DataTransfer();_0x17200f['setData']('text/html',_0x19bc45['html']);const _0x37bf69=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4aa0b9=>{this['_importMarker']['stopListening'](),_0x4aa0b9['setSelection'](_0x37bf69),_0x4599c7['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x17200f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x12004c,_0x4e53a5={}){if(this['isBusy'])return Promise['resolve']();const _0x483d89=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x454e81,suffix:_0x5952e7}=this['editor']['config']['get']('mergeFields');_0x4e53a5['merge_fields']={'prefix':_0x454e81,'suffix':_0x5952e7};}const _0x3072c6={'url':_0x483d89['converterUrl'],'file':_0x12004c,'serviceConfig':{..._0x4e53a5,'formatting':_0x483d89['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3072c6)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3bf3d8=this['editor']['model'],_0x3e409e=_0x3bf3d8['schema'],_0x1d2b8d=_0x3bf3d8['document']['selection'],_0x37b50d=_0x254002(_0x1d2b8d['getSelectedBlocks']());return!!_0x37b50d&&_0x3e409e['checkChild'](_0x37b50d['parent'],'paragraph');}['_prepareForImport'](){const _0x21bcf2=this['editor'],_0x4b2f6a=_0x21bcf2['model'],_0x5d2adb=_0x4b2f6a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x21bcf2['model']['createBatch']({'isUndoable':!0x0}),_0x4b2f6a['enqueueChange'](this['_undoStepBatch'],_0x497ddd=>{_0x5d2adb['isCollapsed']||_0x4b2f6a['deleteContent'](_0x5d2adb,{'leaveUnmerged':!0x0});const _0x334315=_0x5d2adb['getFirstPosition'](),_0x5a71d7=_0x254002(_0x5d2adb['getSelectedBlocks']());let _0x2cb115;_0x2cb115=_0x5a71d7['is']('element','paragraph')&&_0x5a71d7['isEmpty']?_0x334315:_0x334315['isAtStart']?_0x4b2f6a['createPositionBefore'](_0x5a71d7):_0x334315['isAtEnd']?_0x4b2f6a['createPositionAfter'](_0x5a71d7):_0x497ddd['split'](_0x334315)['position'],this['_importMarker']=_0x497ddd['addMarker']('importWord:'+_0x288d30(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x41f7a7(_0x2cb115)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x213c56=this['editor']['model'];_0x213c56['markers']['has'](this['_importMarker'])&&_0x213c56['enqueueChange'](this['_undoStepBatch'],_0x3b1a84=>{_0x3b1a84['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x329b81,file:_0x3869ad,serviceConfig:_0x3aea01}){const _0x4f3c57=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5a848a=new FormData();_0x5a848a['set']('config',JSON['stringify'](_0x3aea01)),_0x5a848a['set']('file',_0x3869ad);const _0x496f12={'method':'POST','headers':{},'body':_0x5a848a,'signal':this['_abortController']['signal']};return _0x4f3c57&&(_0x496f12['headers']['Authorization']=_0x4f3c57['value']),fetch(_0x329b81,_0x496f12);}['_handleImportResponse'](_0x1938d1){return _0x1938d1['ok']?_0x1938d1['json']()['then'](_0x20534c=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x20534c,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2e934f('import-word-plugin-import-cancelled');const _0x19fde7=this['editor'],_0x4eef1f=zg(_0x19fde7['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x19fde7['plugins']['get']('Notification')['showWarning'](_0x4eef1f),_0x74de25('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x4ac504{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Qt,_0x3ecbd1,'CloudServices'];}constructor(_0x39e4a4){super(_0x39e4a4),this['_token']=null;}async['init'](){const _0xea372c=this['editor'];_0xea372c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xea372c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xea372c['commands']['add']('importWord',new ImportWordCommand(_0xea372c));const {tokenUrl:_0x26a5b6}=_0xea372c['config']['get']('importWord');if(_0x26a5b6){const {tokenUrl:_0x46fd86}=_0xea372c['config']['get']('cloudServices')||{};this['_token']=_0x26a5b6===_0x46fd86?_0xea372c['plugins']['get']('CloudServices')['token']:await _0xea372c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x26a5b6);}}['getToken'](){return this['_token'];}}class ImportWord extends _0x4ac504{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0x1110b9{['refresh'](){const _0x588734=this['editor']['model']['document'],_0x184a2b=_0x254002(_0x588734['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x184a2b)&&this['_canHaveLineHeight'](_0x184a2b),this['value']=this['isEnabled']&&_0x184a2b['getAttribute']('lineHeight');}['execute'](_0x3494ee={}){const _0x1f38aa=this['editor']['model'],_0x2af329=_0x1f38aa['document']['selection'],_0x306075=_0x3494ee['value'];_0x1f38aa['change'](_0x348798=>{const _0x3621e7=Array['from'](_0x2af329['getSelectedBlocks']())['filter'](_0x550ccd=>this['_canHaveLineHeight'](_0x550ccd));for(const _0x3fba56 of _0x3621e7)_0x306075?_0x348798['setAttribute']('lineHeight',_0x306075,_0x3fba56):_0x348798['removeAttribute']('lineHeight',_0x3fba56);});}['_canHaveLineHeight'](_0x1bb4d5){return this['editor']['model']['schema']['checkAttribute'](_0x1bb4d5,'lineHeight');}}const Yg={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 Kg(_0x4514b5){return'string'==typeof _0x4514b5&&'default'===_0x4514b5['toLowerCase']();}function Jg(_0x4488d0){return _0x4488d0['options']['map'](_0x2450a0=>{return Kg(_0x2450a0)?{'title':String(_0x4488d0['defaultValue']),'model':'default'}:('number'==typeof _0x2450a0&&(_0x2450a0=String(_0x2450a0)),'string'!=typeof _0x2450a0?_0x2450a0:parseFloat(_0x2450a0)?{'title':_0x2450a0,'model':_0x2450a0,'view':{'name':'span','styles':{'line-height':_0x2450a0}}}:'string'==typeof(_0x385dd9=_0x2450a0)?Yg[_0x385dd9]:Yg[_0x385dd9['model']]);var _0x385dd9;})['filter'](_0x49cae1=>void 0x0!==_0x49cae1);}class LineHeightTodoListIntegration extends _0x4ac504{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x35adcd,conversion:_0xd614a1}=this['editor'];if(!_0x35adcd['has']('ListEditing')||!_0x35adcd['has']('TodoListEditing'))return;_0x35adcd['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x52c62c,_0x2dfa27,_0x316a07,_0x61eefc,_0x2dab23){'todo'==_0x2dab23['getAttribute']('listType')&&_0x2dfa27&&(_0x52c62c['addClass']('ck-list-marker-line-height',_0x316a07),_0x52c62c['setStyle']('--ck-content-list-marker-line-height',_0x2dfa27,_0x316a07));}}),_0xd614a1['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xd614a1['for']('upcast')['add'](_0x4db3b7=>{_0x4db3b7['on']('element:li',function(_0xa0ef47){const _0x56a618=new _0x1d18d6(_0xa0ef47);return(_0x1488d6,_0x8b1d3a,_0x4df43a)=>{const _0x5b1b64=_0x56a618['match'](_0x8b1d3a['viewItem']);if(!_0x5b1b64)return;const _0x5e43d5=_0x5b1b64['match'];_0x5e43d5['name']=!0x1,_0x4df43a['consumable']['consume'](_0x8b1d3a['viewItem'],_0x5e43d5);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x4ac504{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b303b){super(_0x4b303b),_0x4b303b['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x269824=this['editor'];this['_validateConfig'](),_0x269824['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x269824['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x269824['commands']['add']('lineHeight',new LineHeightCommand(_0x269824)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x58a2d2){const _0x10e0a6=_0x2631ce([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]),_0x59fe66=0x45ddd215,_0x3e2a5b=0x45da587d^_0x59fe66,_0x4f8ce1=window[_0x2631ce([0x44,0x61,0x74,0x65])][_0x2631ce([0x6e,0x6f,0x77])](),_0x1f58f4=_0x58a2d2[_0x2631ce([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21851f=new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c447=>{_0x1f58f4[_0x2631ce([0x6f,0x6e,0x63,0x65])](_0x2631ce([0x72,0x65,0x61,0x64,0x79]),_0x20c447);}),_0x580242={[_0x2631ce([0x6b,0x74,0x79])]:_0x2631ce([0x45,0x43]),[_0x2631ce([0x75,0x73,0x65])]:_0x2631ce([0x73,0x69,0x67]),[_0x2631ce([0x63,0x72,0x76])]:_0x2631ce([0x50,0x2d,0x32,0x35,0x36]),[_0x2631ce([0x78])]:_0x2631ce([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]),[_0x2631ce([0x79])]:_0x2631ce([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]),[_0x2631ce([0x61,0x6c,0x67])]:_0x2631ce([0x45,0x53,0x32,0x35,0x36])},_0x4bc213=_0x1f58f4[_0x2631ce([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2631ce([0x67,0x65,0x74])](_0x2631ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x288242(){let _0x4a5372,_0x260f94=null,_0x3a55b9=null;try{if(_0x4bc213==_0x2631ce([0x47,0x50,0x4c]))return _0x2631ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a5372=_0x1d3bd7(),!_0x4a5372)return _0x2631ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a5372[_0x2631ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a55b9=_0x492885(_0x4a5372[_0x2631ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a5372[_0x2631ce([0x6a,0x74,0x69])])),await _0x103868()?_0x512493()?_0x5e59aa()?_0x2631ce([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c1342()?(_0x4a5372[_0x2631ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2631ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x260f94=_0x2ea6c0(_0x2631ce([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc698()):_0x2631ce([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2631ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2631ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2631ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e59aa(){const _0x1baff5=[_0x2631ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2631ce([0x74,0x72,0x69,0x61,0x6c])][_0x2631ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5372[_0x2631ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f8ce1/0x3e8:0xe10*_0x3e2a5b;return _0x4a5372[_0x2631ce([0x65,0x78,0x70])]<_0x1baff5;}function _0x512493(){const _0x8f85cc=_0x4a5372[_0x2631ce([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8f85cc&&(!!_0x8f85cc[_0x2631ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2631ce([0x2a]))||!!_0x8f85cc[_0x2631ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2631ce([0x4c,0x48])));}function _0x1c1342(){const _0x352562=_0x4a5372[_0x2631ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x352562||0x0==_0x352562[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56211b}=new URL(window[_0x2631ce([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x352562[_0x2631ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56211b))return!0x0;const _0x285a41=_0x56211b[_0x2631ce([0x73,0x70,0x6c,0x69,0x74])](_0x2631ce([0x2e]));return _0x352562[_0x2631ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x319bcc=>_0x319bcc[_0x2631ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2631ce([0x2a])))[_0x2631ce([0x6d,0x61,0x70])](_0x4f80e2=>_0x4f80e2[_0x2631ce([0x73,0x70,0x6c,0x69,0x74])](_0x2631ce([0x2e])))[_0x2631ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x268f74=>_0x268f74[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x285a41[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2631ce([0x6d,0x61,0x70])](_0x29ad68=>Array(_0x285a41[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29ad68[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2631ce([0x66,0x69,0x6c,0x6c])](_0x29ad68[0x0]===_0x2631ce([0x2a])?_0x2631ce([0x2a]):'')[_0x2631ce([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29ad68))[_0x2631ce([0x73,0x6f,0x6d,0x65])](_0x549c16=>_0x285a41[_0x2631ce([0x65,0x76,0x65,0x72,0x79])]((_0x158e86,_0x27cb80)=>_0x549c16[_0x27cb80]===_0x158e86||_0x549c16[_0x27cb80]===_0x2631ce([0x2a])));}function _0x5dc698(){return _0x260f94&&_0x3a55b9?new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17693d,_0x2df58a)=>{_0x260f94[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x17693d,_0x2df58a),_0x3a55b9[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x2900a2=>{_0x2900a2!=_0x2631ce([0x56,0x61,0x6c,0x69,0x64])&&_0x17693d(_0x2900a2);},_0x2df58a);}):_0x260f94||_0x3a55b9||_0x2631ce([0x56,0x61,0x6c,0x69,0x64]);}}function _0x492885(_0x1f1c2c,_0xb60c14){return new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3def3f=>{if(_0x5d8527())return _0x3def3f(_0x2631ce([0x56,0x61,0x6c,0x69,0x64]));_0xed8c2(),_0x1f58f4[_0x2631ce([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2631ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b329c=!0x1;const _0x579b62=_0x288d30();function _0x16dcfd(_0x205fc3){return!!_0x205fc3&&(typeof _0x205fc3===_0x2631ce([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x205fc3===_0x2631ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x205fc3[_0x2631ce([0x74,0x68,0x65,0x6e])]===_0x2631ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x205fc3[_0x2631ce([0x63,0x61,0x74,0x63,0x68])]===_0x2631ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5adc81(_0x2fe85d){_0x4fbd1b(_0x2fe85d)[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x1d3036=>{if(!_0x1d3036||_0x1d3036[_0x2631ce([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2631ce([0x6f,0x6b]))return _0x2631ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6d27(_0x4d4442(_0x579b62+_0xb60c14))!=_0x1d3036[_0x2631ce([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2631ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2631ce([0x56,0x61,0x6c,0x69,0x64]);})[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x5baad4=>(_0x3141e7(),_0x5baad4),()=>{const _0xab519e=_0x490b5d();return null==_0xab519e?(_0x3141e7(),_0x2631ce([0x56,0x61,0x6c,0x69,0x64])):_0x2631ce(_0x4f8ce1-_0xab519e>(0x61d15615^_0x59fe66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x3def3f)[_0x2631ce([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3def3f(_0x2631ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4456d7=0x45eb3c95^_0x59fe66;function _0x3141e7(){const _0x4a5aaa=_0x2631ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6d27(_0x4d4442(_0x1f1c2c)),_0x368598=_0x5737c7(_0x1d6d27(window[_0x2631ce([0x4d,0x61,0x74,0x68])][_0x2631ce([0x63,0x65,0x69,0x6c])](_0x4f8ce1/_0x4456d7)));window[_0x2631ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2631ce([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a5aaa,_0x368598);}function _0x490b5d(){const _0x3a1efd=_0x2631ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6d27(_0x4d4442(_0x1f1c2c)),_0x4a08b9=window[_0x2631ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2631ce([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a1efd);return _0x4a08b9?window[_0x2631ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5737c7(_0x4a08b9),0x10)*_0x4456d7:null;}function _0x4fbd1b(_0x12d69c){return new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37bba6,_0x744d82)=>{_0x12d69c[_0x2631ce([0x74,0x68,0x65,0x6e])](_0x37bba6,_0x744d82),window[_0x2631ce([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x744d82,0x45dc06d5^_0x59fe66);});}}_0x1f58f4[_0x2631ce([0x6f,0x6e])](_0x2631ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bbe2e,_0x2e3fa8)=>{if(_0x2e3fa8[0x0]!=_0x1f1c2c)return _0x3def3f(_0x2631ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e3fa8[0x1]={..._0x2e3fa8[0x1],[_0x2631ce([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x579b62};},{[_0x2631ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2631ce([0x68,0x69,0x67,0x68])}),_0x1f58f4[_0x2631ce([0x6f,0x6e])](_0x2631ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31be2=>{_0x16dcfd(_0x31be2[_0x2631ce([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b329c=!0x0,_0x5adc81(_0x31be2[_0x2631ce([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2631ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2631ce([0x6c,0x6f,0x77])}),_0x21851f[_0x2631ce([0x74,0x68,0x65,0x6e])](()=>{_0x1b329c||_0x3def3f(_0x2631ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d8527(){return _0x1f58f4[_0x2631ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2631ce([0x76,0x69,0x65,0x77])][_0x2631ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2631ce([0x61,0x75,0x74,0x6f]);}function _0xed8c2(){_0x1f58f4[_0x2631ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2631ce([0x76,0x69,0x65,0x77])][_0x2631ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2631ce([0x61,0x75,0x74,0x6f]);}}function _0x2ea6c0(_0x37bfe3){const _0x44f0f3=[new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a019b=>setTimeout(_0x3a019b,0x45d4ecd9^_0x59fe66)),_0x21851f[_0x2631ce([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1da1d2=>{let _0x4e85e1=0x0;_0x1f58f4[_0x2631ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2631ce([0x6f,0x6e])](_0x2631ce([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5629,_0x1b80b1)=>{_0x1b80b1[0x0][_0x2631ce([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e85e1++,_0x4e85e1==(0x45ddd7fd^_0x59fe66)&&(_0x1da1d2(),_0x4b5629[_0x2631ce([0x6f,0x66,0x66])]());});}))];return window[_0x2631ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2631ce([0x72,0x61,0x63,0x65])](_0x44f0f3)[_0x2631ce([0x74,0x68,0x65,0x6e])](()=>_0x37bfe3);}async function _0x52e6b3(){await _0x21851f,_0x1f58f4[_0x2631ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2631ce([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52d9d2,_0x1f58f4[_0x2631ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2631ce([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52d9d2,_0x1f58f4[_0x2631ce([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2631ce([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cc3f5(_0x976acf){const _0x2f7799=_0x38aeee();_0x1f58f4[_0x2f7799]=_0x2631ce([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x976acf,_0x976acf!=_0x2631ce([0x56,0x61,0x6c,0x69,0x64])&&_0x52e6b3();}function _0x38aeee(){const _0x4fc434=window[_0x2631ce([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2631ce([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2631ce([0x6e,0x6f,0x77])]())[_0x2631ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2631ce([0x2e]),'');let _0x3b6e11=_0x2631ce([0x50]);for(let _0x40eab7=0x0;_0x40eab7<_0x4fc434[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40eab7+=0x2){let _0x3ca99b=window[_0x2631ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fc434[_0x2631ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40eab7,_0x40eab7+0x2));_0x3ca99b>=_0x10e0a6[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ca99b-=_0x10e0a6[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b6e11+=_0x10e0a6[_0x3ca99b];}return _0x3b6e11;}function _0x1d3bd7(){const _0x495019=_0x4bc213[_0x2631ce([0x73,0x70,0x6c,0x69,0x74])](_0x2631ce([0x2e]));if(0x3!=_0x495019[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c2daf(_0x495019[0x1]);function _0x3c2daf(_0x4d45e6){const _0x208a27=_0x3fa53d(_0x4d45e6);return _0x208a27&&_0x2a5856()?_0x208a27:null;function _0x2a5856(){const _0x29d7a4=_0x208a27[_0x2631ce([0x6a,0x74,0x69])],_0x37ae95=window[_0x2631ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29d7a4[_0x2631ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d7a4[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x80edc0={..._0x208a27,[_0x2631ce([0x6a,0x74,0x69])]:_0x29d7a4[_0x2631ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29d7a4[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x80edc0[_0x2631ce([0x76,0x63])],_0x4d4442(_0x80edc0)==_0x37ae95;}}}async function _0x103868(){let _0x74bf6e=!0x0;try{const _0x4ab7aa=_0x4bc213[_0x2631ce([0x73,0x70,0x6c,0x69,0x74])](_0x2631ce([0x2e])),[_0x3c964e,_0x3be530,_0x47695f]=_0x4ab7aa;return _0x4c8b05(_0x3c964e),await _0x440df3(_0x3c964e,_0x3be530,_0x47695f),_0x74bf6e;}catch{return!0x1;}function _0x4c8b05(_0x41028f){const _0x27c0fa=_0x3fa53d(_0x41028f);_0x27c0fa&&_0x27c0fa[_0x2631ce([0x61,0x6c,0x67])]==_0x2631ce([0x45,0x53,0x32,0x35,0x36])||(_0x74bf6e=!0x1);}async function _0x440df3(_0x2c478b,_0x408c9f,_0x4059cc){const _0x286d1f=window[_0x2631ce([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2631ce([0x66,0x72,0x6f,0x6d])](_0x134bea(_0x4059cc),_0x2ddacc=>_0x2ddacc[_0x2631ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a61ed=new window[(_0x2631ce([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2631ce([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c478b+_0x2631ce([0x2e])+_0x408c9f),_0x5e242d=window[_0x2631ce([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2631ce([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e242d)return;const _0x336af6=await _0x5e242d[_0x2631ce([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2631ce([0x6a,0x77,0x6b]),_0x580242,{[_0x2631ce([0x6e,0x61,0x6d,0x65])]:_0x2631ce([0x45,0x43,0x44,0x53,0x41]),[_0x2631ce([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2631ce([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2631ce([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e242d[_0x2631ce([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2631ce([0x6e,0x61,0x6d,0x65])]:_0x2631ce([0x45,0x43,0x44,0x53,0x41]),[_0x2631ce([0x68,0x61,0x73,0x68])]:{[_0x2631ce([0x6e,0x61,0x6d,0x65])]:_0x2631ce([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x336af6,_0x286d1f,_0x2a61ed)||(_0x74bf6e=!0x1);}}function _0x3fa53d(_0x47a35f){return _0x47a35f[_0x2631ce([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2631ce([0x65,0x79]))?JSON[_0x2631ce([0x70,0x61,0x72,0x73,0x65])](_0x134bea(_0x47a35f)):null;}function _0x134bea(_0x5a2eee){return window[_0x2631ce([0x61,0x74,0x6f,0x62])](_0x5a2eee[_0x2631ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2631ce([0x2b]))[_0x2631ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2631ce([0x2f])));}function _0x4d4442(_0x572b59){let _0x3a9a8a=0x1505;function _0x532be8(_0x128689){for(let _0xcee83f=0x0;_0xcee83f<_0x128689[_0x2631ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcee83f++){const _0x51da94=_0x128689[_0x2631ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcee83f);_0x3a9a8a=(_0x3a9a8a<<0x5)+_0x3a9a8a+_0x51da94,_0x3a9a8a&=_0x3a9a8a;}}function _0xa5ca0a(_0x2e4a47){Array[_0x2631ce([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e4a47)?_0x2e4a47[_0x2631ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa5ca0a):_0x2e4a47&&typeof _0x2e4a47==_0x2631ce([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2631ce([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e4a47)[_0x2631ce([0x73,0x6f,0x72,0x74])]()[_0x2631ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xce7ac6,_0x125e4e])=>{_0x532be8(_0xce7ac6),_0xa5ca0a(_0x125e4e);}):_0x532be8(window[_0x2631ce([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e4a47));}return _0xa5ca0a(_0x572b59),_0x3a9a8a>>>0x0;}function _0x1d6d27(_0x4a6fe7){return _0x4a6fe7[_0x2631ce([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2631ce([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2631ce([0x30]));}function _0x5737c7(_0x142a7f){return _0x142a7f[_0x2631ce([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2631ce([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2631ce([0x6a,0x6f,0x69,0x6e])]('');}function _0x52d9d2(){}function _0x2631ce(_0x5c370e){return _0x5c370e['map'](_0x4110b9=>String['fromCharCode'](_0x4110b9))['join']('');}_0x3cc3f5(await _0x288242());}(this);}['_validateConfig'](){const _0x2c420a=this['editor'];if(!_0x2c420a['config']['get']('lineHeight.supportAllValues'))return;const _0xd1be9b=_0x2c420a['config']['get']('lineHeight.options')['filter'](_0x538e6f=>'string'==typeof _0x538e6f&&(!Kg(_0x538e6f)&&isNaN(Number(_0x538e6f))));if(_0xd1be9b['length'])throw new _0x1976e8('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xd1be9b});}['_prepareAnyValueConverters'](){const _0x584c59=this['editor'],_0x41392c=this['editor']['config']['get']('lineHeight.defaultValue');_0x584c59['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xafa004=>String(_0xafa004)===String(_0x41392c)?null:{'key':'style','value':{'line-height':_0xafa004}}}),_0x584c59['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x5ef90d=>{let _0x50c43b=_0x5ef90d['getStyle']('line-height');return _0x467de0(_0x50c43b)&&(_0x50c43b=String(Number(_0x50c43b['slice'](0x0,-0x1))/0x64)),String(_0x50c43b)===String(_0x41392c)?null:_0x50c43b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x285170=this['editor'],_0xf9aff2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x7d6c27=function(_0x10a16c,_0x51a15c){const _0x27568a={'model':{'key':_0x10a16c,'values':[]},'view':{}};for(const _0x28cad0 of _0x51a15c)'class'===_0x28cad0['view']?.['key']?(_0x27568a['model']['values']['push'](_0x28cad0['model']),_0x27568a['view'][_0x28cad0['model']]={'key':'class','value':_0x28cad0['view']['value']}):(_0x27568a['model']['values']['push'](_0x28cad0['model']),_0x27568a['view'][_0x28cad0['model']]={'key':'style','value':'line-height:'+_0x28cad0['model']+';'});return _0x27568a;}('lineHeight',Jg(this['editor']['config']['get']('lineHeight'))['filter'](_0x6dbfc6=>_0x6dbfc6['model']));_0x285170['conversion']['attributeToAttribute'](_0x7d6c27),_0x285170['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5f49ac=>{let _0x58bf63=_0x5f49ac['getStyle']('line-height');return _0x467de0(_0x58bf63)&&(_0x58bf63=String(Number(_0x58bf63['slice'](0x0,-0x1))/0x64)),_0x58bf63===String(_0xf9aff2)?null:_0x7d6c27['model']['values']['includes'](_0x58bf63)?_0x58bf63:null;}}});}}class LineHeightUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x513ce8={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x513ce8),this['_registerMenuBarComponent'](_0x513ce8),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3e0880=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35fdd7;for(const _0x36c707 in _0x3e0880){const _0x294087=_0x36c707,_0x11e675=_0x3e0880[_0x294087];if('lineHeightLicenseKeyValid'==_0x11e675||'lineHeightLicenseKeyInvalid'==_0x11e675||'lineHeightLicenseKeyExpired'==_0x11e675||'lineHeightLicenseKeyDomainLimit'==_0x11e675||'lineHeightLicenseKeyNotAllowed'==_0x11e675||'lineHeightLicenseKeyEvaluationLimit'==_0x11e675||'lineHeightLicenseKeyUsageLimit'==_0x11e675){delete _0x3e0880[_0x294087],_0x35fdd7=_0x11e675,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x35fdd7&&_0x3e0880['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x35fdd7&&_0x3e0880['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x35fdd7&&_0x3e0880['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x35fdd7&&_0x3e0880['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x35fdd7&&_0x3e0880['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x35fdd7&&_0x3e0880['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x47c481=this['editor'],t=_0x47c481['t'],_0x2721d3=_0x47c481['config']['get']('lineHeight'),_0xe79903={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return Jg(_0x2721d3)['map'](_0x5bbf43=>{const _0x4d2273=_0xe79903[_0x5bbf43['title']];return _0x4d2273&&_0x4d2273!=_0x5bbf43['title']&&(_0x5bbf43=Object['assign']({},_0x5bbf43,{'title':_0x4d2273})),_0x5bbf43;});}['_prepareListOptions'](){const _0x4da338=this['editor']['commands']['get']('lineHeight'),_0xd4ef42=this['editor']['config']['get']('lineHeight.defaultValue'),_0x20d764=this['_getLocalizedLineHeightOptions'](),_0x59060b=new _0xe4e0d0(),_0x214cf=_0x559f50=>'default'===_0x559f50||String(_0xd4ef42)===_0x559f50;for(const _0x5cca32 of _0x20d764){const _0xe95ee0={'type':'button','model':new pt({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5cca32['title'],'withText':!0x0})};_0x214cf(_0x5cca32['model'])?(_0xe95ee0['model']['bind']('isOn')['to'](_0x4da338,'value',_0x341477=>!_0x341477),_0xe95ee0['model']['commandParam']=void 0x0):(_0xe95ee0['model']['bind']('isOn')['to'](_0x4da338,'value',_0x8a33b4=>_0x8a33b4===_0x5cca32['model']),_0xe95ee0['model']['commandParam']=_0x5cca32['model']),_0x59060b['add'](_0xe95ee0);}if(this['_shouldRenderCustomValueOption']()){const _0x1012fb=this['_getCustomValueOptionDefinition'](_0x20d764);_0x59060b['add'](_0x1012fb);}return _0x59060b;}['_getCustomValueOptionDefinition'](_0x1f9658){const _0x3fcf44=this['editor'],t=_0x3fcf44['t'],_0x51b491=_0x3fcf44['commands']['get']('lineHeight'),_0x48bea9=_0x1f9658['map'](_0x284a7f=>_0x284a7f['model']),_0x5d1591={'type':'button','model':new pt({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5d1591['model']['bind']('commandParam')['to'](_0x51b491,'value'),_0x5d1591['model']['bind']('isOn')['to'](_0x51b491,'value',_0x492524=>!!_0x492524&&!_0x48bea9['includes'](String(_0x492524))),_0x5d1591['model']['bind']('label')['to'](_0x51b491,'value',_0x5f4db4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5f4db4))),_0x5d1591;}['_registerToolbarComponent']({accessibleLabel:_0x5fa671,options:_0x1ebbcb}){const _0x51b4d8=this['editor'],_0x433e94=_0x51b4d8['commands']['get']('lineHeight');_0x51b4d8['ui']['componentFactory']['add']('lineHeight',_0x317972=>{const _0x198167=st(_0x317972);return gt(_0x198167,_0x1ebbcb,{'role':'menu','ariaLabel':_0x5fa671}),_0x198167['buttonView']['set']({'label':_0x5fa671,'tooltip':!0x0,'icon':_0x337b30}),_0x198167['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x198167['bind']('isEnabled')['to'](_0x433e94),this['listenTo'](_0x198167,'execute',_0x26295b=>{_0x51b4d8['execute'](_0x26295b['source']['commandName'],{'value':_0x26295b['source']['commandParam']}),_0x51b4d8['editing']['view']['focus']();}),_0x198167['once']('change:isOpen',()=>{const _0x5d6689=_0x198167['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x198167,_0x1ebbcb,_0x5d6689);}),_0x198167;});}['_registerMenuBarComponent']({accessibleLabel:_0x95a57a,options:_0x4c3e36}){const _0x3e0c41=this['editor'],_0x574b55=_0x3e0c41['commands']['get']('lineHeight');_0x3e0c41['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2139ef=>{const _0xa8a48e=new rt(_0x2139ef);_0xa8a48e['buttonView']['set']({'label':_0x95a57a,'icon':_0x337b30}),_0xa8a48e['bind']('isEnabled')['to'](_0x574b55);const _0x1e50d0=new ct(_0x2139ef);for(const _0x119954 of _0x4c3e36){const _0x4f748f=new lt(_0x2139ef,_0xa8a48e),_0x59358e=new ot(_0x2139ef);_0x59358e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x59358e['bind'](...Object['keys'](_0x119954['model']))['to'](_0x119954['model']),_0x59358e['delegate']('execute')['to'](_0xa8a48e),_0x59358e['on']('execute',()=>{_0x3e0c41['execute'](_0x119954['model']['commandName'],{'value':_0x119954['model']['commandParam']}),_0x3e0c41['editing']['view']['focus']();}),_0x4f748f['children']['add'](_0x59358e),_0x1e50d0['items']['add'](_0x4f748f);}return _0xa8a48e['panelView']['children']['add'](_0x1e50d0),this['_attachCustomOptionVisibilityHandler'](_0xa8a48e,_0x4c3e36,_0x1e50d0),_0xa8a48e;});}['_attachCustomOptionVisibilityHandler'](_0x44d4ec,_0x59ced7,_0x3e4f71){if(!this['_shouldRenderCustomValueOption']())return;const _0x47b31d=()=>{if(!_0x44d4ec['isOpen'])return;_0x3e4f71['items']['last']['isVisible']=Boolean(_0x59ced7['last']['model']['isOn']);};_0x47b31d(),_0x44d4ec['on']('change:isOpen',()=>{_0x47b31d();});}}class LineHeight extends _0x4ac504{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0x1110b9{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x240ad7,_0xe795d8,_0x1742d6){super(_0x240ad7),this['defaultListMarkerStyle']=_0xe795d8,this['_listDefinitions']=_0x1742d6,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x374162={}){const _0x322421=this['editor']['model'],_0x322c6a=_0x374162['listMarkerStyle']||this['defaultListMarkerStyle'];_0x322421['change'](()=>{const _0x1d4725=this['_getListTypeFromListMarkerStyle'](_0x322c6a);if(!_0x1d4725)return;const _0x4b5957=_0x1d4725+'List';this['editor']['execute'](_0x4b5957,{'additionalAttributes':{'listMarkerStyle':_0x322c6a}});});}['_getValue'](){const _0x4190ba=_0x254002(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x4190ba)?_0x4190ba['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xac5be4=this['editor'],_0xc00fce=_0xac5be4['commands']['get']('customNumberedList'),_0x5500aa=_0xac5be4['commands']['get']('customBulletedList');return _0xc00fce['isEnabled']||_0x5500aa['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x2af670){const _0x1babd7=this['_listDefinitions']['find'](_0x52ad3a=>_0x52ad3a['listMarkerStyle']==_0x2af670);return _0x1babd7?_0x1babd7['listType']:null;}}class MultiLevelListEditing extends _0x4ac504{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x14b96a){super(_0x14b96a);const _0x43452b=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x590346=>_0x590346+'.'}]},..._0x43452b];}['init'](){const _0x5bb523=this['editor'],_0x23fccf=_0x5bb523['model'],_0xc2a076=_0x5bb523['editing']['view'],_0x3ebaa8=_0x5bb523['plugins']['get']('ListEditing');_0x5bb523['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x5bb523,'legal',this['_listDefinitions'])),_0x23fccf['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x23fccf['schema']['addAttributeCheck']((_0x7f606b,_0x21c665)=>{const _0x22781f=_0x7f606b['last'];if('listMarker'==_0x21c665||'listMarkerStyle'==_0x21c665)return!(!_0x22781f['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4bd0da=>_0x4bd0da['listType']==_0x22781f['getAttribute']('listType')))&&void 0x0;});for(const _0x11aaff of this['_listDefinitions'])_0x5bb523['conversion']['for']('upcast')['add'](_0x194e91=>{_0x194e91['on']('element:'+('customNumbered'==_0x11aaff['listType']?'ol':'ul'),ip(_0x11aaff,_0x23fccf['schema']),{'priority':'low'});}),_0x3ebaa8['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xc2fb0,_0x4a409b,_0x1d1c9d){_0x4a409b==_0x11aaff['listMarkerStyle']?(_0xc2fb0['addClass'](['multi-level-list',_0x11aaff['className']],_0x1d1c9d),_0xc2fb0['setStyle']('list-style-type','none',_0x1d1c9d)):(_0xc2fb0['removeClass'](['multi-level-list',_0x11aaff['className']],_0x1d1c9d),_0xc2fb0['removeStyle']('list-style-type',_0x1d1c9d));}}),_0x3ebaa8['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x48f876,_0x542f2c,{dataPipeline:_0xc3f896}){if(!_0x542f2c['hasAttribute']('listMarker'))return null;if(_0x542f2c['getAttribute']('listType')!=_0x11aaff['listType']||_0x542f2c['getAttribute']('listMarkerStyle')!=_0x11aaff['listMarkerStyle'])return null;const _0x2e03b1=String(_0x542f2c['getAttribute']('listMarker')),_0x4f8c6e=this['canInjectMarkerIntoElement'](_0x542f2c);return _0x48f876['createUIElement']('span',{'class':'multi-level-list__marker',...!_0xc3f896&&{'contenteditable':'false','data-multi-level-list-marker':_0x2e03b1}},function(_0x74b2c9){const _0xbcd901=this['toDomElement'](_0x74b2c9);return _0x4f8c6e?(_0xbcd901['appendChild'](_0x2d330b(_0x74b2c9,'span',{},_0xc3f896?_0x74b2c9['createTextNode'](_0x2e03b1):[])),_0xbcd901['appendChild'](_0x74b2c9['createTextNode']('\u00a0'))):_0xc3f896&&_0xbcd901['appendChild'](_0x74b2c9['createTextNode'](_0x2e03b1)),_0xbcd901;});},'canInjectMarkerIntoElement':_0x2eea18=>_0x23fccf['schema']['checkChild'](_0x2eea18,'$text')&&_0x23fccf['schema']['checkChild'](_0x2eea18,'$inlineObject')&&!_0x23fccf['schema']['isLimit'](_0x2eea18)&&_0x2eea18['getAttribute']('listType')==_0x11aaff['listType']&&_0x2eea18['getAttribute']('listMarkerStyle')==_0x11aaff['listMarkerStyle']});_0x5bb523['conversion']['for']('upcast')['add'](_0x3514dc=>{_0x3514dc['on']('element:span',function(_0x1c8525){return(_0x3bad5c,_0x43faaa,{writer:_0x29fd07,consumable:_0x59b2cb})=>{const _0x1eae6f=_0x43faaa['modelCursor'],_0x15d0cf=_0x1eae6f['parent'],_0x13f6b6=_0x43faaa['viewItem'];if(_0x59b2cb['consume'](_0x13f6b6,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1eae6f['isAtStart']&&_0x15d0cf['hasAttribute']('listType')&&_0x13f6b6['childCount']>0x0){const _0x3eca54=_0x1c8525['createRangeIn'](_0x13f6b6);let _0x548c2c='';for(const _0x3bb3f8 of _0x3eca54['getItems']())_0x3bb3f8['is']('$textProxy')?(_0x548c2c+=_0x3bb3f8['data']['trim'](),_0x59b2cb['consume'](_0x3bb3f8['textNode'])):_0x59b2cb['consume'](_0x3bb3f8,{'name':!0x0});_0x29fd07['setAttribute']('listMarker',_0x548c2c['trim'](),_0x15d0cf);}};}(_0xc2a076));}),_0x3ebaa8['on']('postFixer',(_0x5cc023,{listNodes:_0x41eec0,writer:_0x4b792e})=>{const _0x34e83f=[];for(const {node:_0x407fcd,previousNodeInList:_0x3364bd}of _0x41eec0){const _0x52e349=_0x407fcd['getAttribute']('listType'),_0x257d31=_0x407fcd['getAttribute']('listMarkerStyle')||('customNumbered'==_0x52e349?'legal':void 0x0),_0x28d008=this['_listDefinitions']['find'](_0x31018b=>_0x31018b['listType']==_0x52e349&&_0x31018b['listMarkerStyle']==_0x257d31);if('customNumbered'!=_0x52e349&&'customBulleted'!=_0x52e349&&(_0x407fcd['hasAttribute']('listMarker')&&(_0x4b792e['removeAttribute']('listMarker',_0x407fcd),_0x5cc023['return']=!0x0),_0x407fcd['hasAttribute']('listMarkerStyle')&&(_0x4b792e['removeAttribute']('listMarkerStyle',_0x407fcd),_0x5cc023['return']=!0x0)),!_0x28d008){'customBulleted'!=_0x52e349||_0x257d31||(_0x4b792e['setAttribute']('listType','bulleted',_0x407fcd),_0x5cc023['return']=!0x0);continue;}_0x407fcd['hasAttribute']('listMarkerStyle')||(_0x4b792e['setAttribute']('listMarkerStyle',_0x257d31,_0x407fcd),_0x5cc023['return']=!0x0);const _0x45f9b0=_0x407fcd['getAttribute']('listIndent');if(_0x3364bd&&_0x3364bd['getAttribute']('listItemId')==_0x407fcd['getAttribute']('listItemId'))continue;_0x34e83f['length']=_0x45f9b0+0x1,_0x3364bd||_0x34e83f[_0x45f9b0]?_0x3364bd&&_0x3364bd['getAttribute']('listType')!=_0x28d008['listType']?_0x34e83f[_0x45f9b0]=0x1:_0x34e83f[_0x45f9b0]++:_0x34e83f[_0x45f9b0]=_0x407fcd['getAttribute']('listStart')||0x1;const _0x1bfdd9=tp(_0x45f9b0,_0x28d008,_0x34e83f);_0x407fcd['getAttribute']('listMarker')!=_0x1bfdd9&&(_0x4b792e['setAttribute']('listMarker',_0x1bfdd9,_0x407fcd),_0x5cc023['return']=!0x0);}});const _0x4f6016=_0x5bb523['editing']['view']['document'];this['listenTo'](_0x4f6016,'clipboardOutput',(_0x346e22,_0x1aee3f)=>{const _0x2c22d3=new _0x1d18d6({'name':'span','classes':'multi-level-list__marker'}),_0x1de98a=new _0x1d18d6({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x78b49e=new _0x2ad35e(_0x1aee3f['content']['document']),_0x339cf9=[];for(const _0x162053 of _0x78b49e['createRangeIn'](_0x1aee3f['content'])['getItems']())_0x162053['is']('element')&&_0x2c22d3['match'](_0x162053)&&_0x339cf9['push'](_0x162053),_0x162053['is']('element')&&_0x1de98a['match'](_0x162053)&&_0x78b49e['removeStyle']('list-style-type',_0x162053);for(const _0x20f3ef of _0x339cf9)_0x78b49e['remove'](_0x20f3ef);});}['afterInit'](){!async function(_0x2bb018){const _0x552797=_0x4b6717([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]),_0xe7b3ff=0xf46a94a,_0x5e5812=0xf412322^_0xe7b3ff,_0x132284=window[_0x4b6717([0x44,0x61,0x74,0x65])][_0x4b6717([0x6e,0x6f,0x77])](),_0x4bb75c=_0x2bb018[_0x4b6717([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb14ef9=new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6fb8=>{_0x4bb75c[_0x4b6717([0x6f,0x6e,0x63,0x65])](_0x4b6717([0x72,0x65,0x61,0x64,0x79]),_0x3c6fb8);}),_0x3e4003={[_0x4b6717([0x6b,0x74,0x79])]:_0x4b6717([0x45,0x43]),[_0x4b6717([0x75,0x73,0x65])]:_0x4b6717([0x73,0x69,0x67]),[_0x4b6717([0x63,0x72,0x76])]:_0x4b6717([0x50,0x2d,0x32,0x35,0x36]),[_0x4b6717([0x78])]:_0x4b6717([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]),[_0x4b6717([0x79])]:_0x4b6717([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]),[_0x4b6717([0x61,0x6c,0x67])]:_0x4b6717([0x45,0x53,0x32,0x35,0x36])},_0x3269d7=_0x4bb75c[_0x4b6717([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b6717([0x67,0x65,0x74])](_0x4b6717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x84843b(){let _0x21fad5,_0x503060=null,_0x4f9fac=null;try{if(_0x3269d7==_0x4b6717([0x47,0x50,0x4c]))return _0x4b6717([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21fad5=_0x4c6a67(),!_0x21fad5)return _0x4b6717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21fad5[_0x4b6717([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f9fac=_0x53d8ab(_0x21fad5[_0x4b6717([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21fad5[_0x4b6717([0x6a,0x74,0x69])])),await _0x345bd8()?_0x313ecb()?_0x56c020()?_0x4b6717([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46f39c()?(_0x21fad5[_0x4b6717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b6717([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x503060=_0x4a383e(_0x4b6717([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4af2a1()):_0x4b6717([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b6717([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b6717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b6717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56c020(){const _0x470743=[_0x4b6717([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b6717([0x74,0x72,0x69,0x61,0x6c])][_0x4b6717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fad5[_0x4b6717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x132284/0x3e8:0xe10*_0x5e5812;return _0x21fad5[_0x4b6717([0x65,0x78,0x70])]<_0x470743;}function _0x313ecb(){const _0x541c6a=_0x21fad5[_0x4b6717([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x541c6a&&(!!_0x541c6a[_0x4b6717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6717([0x2a]))||!!_0x541c6a[_0x4b6717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6717([0x4d,0x4c,0x4c])));}function _0x46f39c(){const _0x5eed0d=_0x21fad5[_0x4b6717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5eed0d||0x0==_0x5eed0d[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14ae7c}=new URL(window[_0x4b6717([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5eed0d[_0x4b6717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14ae7c))return!0x0;const _0x40d562=_0x14ae7c[_0x4b6717([0x73,0x70,0x6c,0x69,0x74])](_0x4b6717([0x2e]));return _0x5eed0d[_0x4b6717([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37708b=>_0x37708b[_0x4b6717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6717([0x2a])))[_0x4b6717([0x6d,0x61,0x70])](_0xf33c75=>_0xf33c75[_0x4b6717([0x73,0x70,0x6c,0x69,0x74])](_0x4b6717([0x2e])))[_0x4b6717([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2391a1=>_0x2391a1[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40d562[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b6717([0x6d,0x61,0x70])](_0x1cff5a=>Array(_0x40d562[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cff5a[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b6717([0x66,0x69,0x6c,0x6c])](_0x1cff5a[0x0]===_0x4b6717([0x2a])?_0x4b6717([0x2a]):'')[_0x4b6717([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cff5a))[_0x4b6717([0x73,0x6f,0x6d,0x65])](_0x3219a4=>_0x40d562[_0x4b6717([0x65,0x76,0x65,0x72,0x79])]((_0x1a289a,_0x5461ba)=>_0x3219a4[_0x5461ba]===_0x1a289a||_0x3219a4[_0x5461ba]===_0x4b6717([0x2a])));}function _0x4af2a1(){return _0x503060&&_0x4f9fac?new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45c3bc,_0xcdb332)=>{_0x503060[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x45c3bc,_0xcdb332),_0x4f9fac[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x37c812=>{_0x37c812!=_0x4b6717([0x56,0x61,0x6c,0x69,0x64])&&_0x45c3bc(_0x37c812);},_0xcdb332);}):_0x503060||_0x4f9fac||_0x4b6717([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53d8ab(_0x5175bf,_0xa51283){return new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5930c8=>{if(_0x1fb398())return _0x5930c8(_0x4b6717([0x56,0x61,0x6c,0x69,0x64]));_0x5f51ea(),_0x4bb75c[_0x4b6717([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b6717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x327694=!0x1;const _0x22546f=_0x288d30();function _0x5d8c9d(_0x24098d){return!!_0x24098d&&(typeof _0x24098d===_0x4b6717([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24098d===_0x4b6717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24098d[_0x4b6717([0x74,0x68,0x65,0x6e])]===_0x4b6717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24098d[_0x4b6717([0x63,0x61,0x74,0x63,0x68])]===_0x4b6717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x382fdd(_0x3f86b0){_0x14a919(_0x3f86b0)[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x2ae1a6=>{if(!_0x2ae1a6||_0x2ae1a6[_0x4b6717([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b6717([0x6f,0x6b]))return _0x4b6717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a2e90(_0x44da09(_0x22546f+_0xa51283))!=_0x2ae1a6[_0x4b6717([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b6717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b6717([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x203d43=>(_0x147258(),_0x203d43),()=>{const _0x392d67=_0x3cd3c5();return null==_0x392d67?(_0x147258(),_0x4b6717([0x56,0x61,0x6c,0x69,0x64])):_0x4b6717(_0x132284-_0x392d67>(0x2b4a2d4a^_0xe7b3ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x5930c8)[_0x4b6717([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5930c8(_0x4b6717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bd7c0=0xf7047ca^_0xe7b3ff;function _0x147258(){const _0x4994bd=_0x4b6717([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a2e90(_0x44da09(_0x5175bf)),_0x356832=_0x567d4f(_0x1a2e90(window[_0x4b6717([0x4d,0x61,0x74,0x68])][_0x4b6717([0x63,0x65,0x69,0x6c])](_0x132284/_0x3bd7c0)));window[_0x4b6717([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b6717([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4994bd,_0x356832);}function _0x3cd3c5(){const _0x29c4c4=_0x4b6717([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a2e90(_0x44da09(_0x5175bf)),_0x546303=window[_0x4b6717([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b6717([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29c4c4);return _0x546303?window[_0x4b6717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x567d4f(_0x546303),0x10)*_0x3bd7c0:null;}function _0x14a919(_0x206489){return new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ffbd3,_0x3998eb)=>{_0x206489[_0x4b6717([0x74,0x68,0x65,0x6e])](_0x4ffbd3,_0x3998eb),window[_0x4b6717([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3998eb,0xf477d8a^_0xe7b3ff);});}}_0x4bb75c[_0x4b6717([0x6f,0x6e])](_0x4b6717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29da19,_0x40e664)=>{if(_0x40e664[0x0]!=_0x5175bf)return _0x5930c8(_0x4b6717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40e664[0x1]={..._0x40e664[0x1],[_0x4b6717([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22546f};},{[_0x4b6717([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b6717([0x68,0x69,0x67,0x68])}),_0x4bb75c[_0x4b6717([0x6f,0x6e])](_0x4b6717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54f622=>{_0x5d8c9d(_0x54f622[_0x4b6717([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x327694=!0x0,_0x382fdd(_0x54f622[_0x4b6717([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b6717([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b6717([0x6c,0x6f,0x77])}),_0xb14ef9[_0x4b6717([0x74,0x68,0x65,0x6e])](()=>{_0x327694||_0x5930c8(_0x4b6717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fb398(){return _0x4bb75c[_0x4b6717([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b6717([0x76,0x69,0x65,0x77])][_0x4b6717([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b6717([0x61,0x75,0x74,0x6f]);}function _0x5f51ea(){_0x4bb75c[_0x4b6717([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b6717([0x76,0x69,0x65,0x77])][_0x4b6717([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b6717([0x61,0x75,0x74,0x6f]);}}function _0x4a383e(_0x10fb34){const _0x52e218=[new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151efb=>setTimeout(_0x151efb,0xf4f9786^_0xe7b3ff)),_0xb14ef9[_0x4b6717([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189f7a=>{let _0x4fcab1=0x0;_0x4bb75c[_0x4b6717([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b6717([0x6f,0x6e])](_0x4b6717([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x142b39,_0x59f39a)=>{_0x59f39a[0x0][_0x4b6717([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fcab1++,_0x4fcab1==(0xf46aca2^_0xe7b3ff)&&(_0x189f7a(),_0x142b39[_0x4b6717([0x6f,0x66,0x66])]());});}))];return window[_0x4b6717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b6717([0x72,0x61,0x63,0x65])](_0x52e218)[_0x4b6717([0x74,0x68,0x65,0x6e])](()=>_0x10fb34);}async function _0x3c3088(){await _0xb14ef9,_0x4bb75c[_0x4b6717([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b6717([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3092e9,_0x4bb75c[_0x4b6717([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b6717([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3092e9,_0x4bb75c[_0x4b6717([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b6717([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x480f1a(_0x3cf292){const _0xf6ba32=_0x371e21();_0x4bb75c[_0xf6ba32]=_0x4b6717([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cf292,_0x3cf292!=_0x4b6717([0x56,0x61,0x6c,0x69,0x64])&&_0x3c3088();}function _0x371e21(){const _0xe6a823=window[_0x4b6717([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b6717([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b6717([0x6e,0x6f,0x77])]())[_0x4b6717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b6717([0x2e]),'');let _0x3524bf=_0x4b6717([0x75]);for(let _0x4e8013=0x0;_0x4e8013<_0xe6a823[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e8013+=0x2){let _0x349faa=window[_0x4b6717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe6a823[_0x4b6717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e8013,_0x4e8013+0x2));_0x349faa>=_0x552797[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x349faa-=_0x552797[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3524bf+=_0x552797[_0x349faa];}return _0x3524bf;}function _0x4c6a67(){const _0xe5f95a=_0x3269d7[_0x4b6717([0x73,0x70,0x6c,0x69,0x74])](_0x4b6717([0x2e]));if(0x3!=_0xe5f95a[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d2b1c(_0xe5f95a[0x1]);function _0x3d2b1c(_0x262cfa){const _0x1082a3=_0x2da974(_0x262cfa);return _0x1082a3&&_0x57ec01()?_0x1082a3:null;function _0x57ec01(){const _0x2e712b=_0x1082a3[_0x4b6717([0x6a,0x74,0x69])],_0x4cc052=window[_0x4b6717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e712b[_0x4b6717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e712b[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c6c22={..._0x1082a3,[_0x4b6717([0x6a,0x74,0x69])]:_0x2e712b[_0x4b6717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e712b[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c6c22[_0x4b6717([0x76,0x63])],_0x44da09(_0x5c6c22)==_0x4cc052;}}}async function _0x345bd8(){let _0x5e8573=!0x0;try{const _0x4650d2=_0x3269d7[_0x4b6717([0x73,0x70,0x6c,0x69,0x74])](_0x4b6717([0x2e])),[_0x567ec5,_0x48bb93,_0x949611]=_0x4650d2;return _0x18ff7d(_0x567ec5),await _0x5c5a5d(_0x567ec5,_0x48bb93,_0x949611),_0x5e8573;}catch{return!0x1;}function _0x18ff7d(_0x22bf03){const _0x1ffb4f=_0x2da974(_0x22bf03);_0x1ffb4f&&_0x1ffb4f[_0x4b6717([0x61,0x6c,0x67])]==_0x4b6717([0x45,0x53,0x32,0x35,0x36])||(_0x5e8573=!0x1);}async function _0x5c5a5d(_0xf0f826,_0x37ff88,_0x1d737e){const _0x4e4797=window[_0x4b6717([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b6717([0x66,0x72,0x6f,0x6d])](_0x339758(_0x1d737e),_0x5d9a45=>_0x5d9a45[_0x4b6717([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x188693=new window[(_0x4b6717([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b6717([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf0f826+_0x4b6717([0x2e])+_0x37ff88),_0x28a461=window[_0x4b6717([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b6717([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28a461)return;const _0x57a988=await _0x28a461[_0x4b6717([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b6717([0x6a,0x77,0x6b]),_0x3e4003,{[_0x4b6717([0x6e,0x61,0x6d,0x65])]:_0x4b6717([0x45,0x43,0x44,0x53,0x41]),[_0x4b6717([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b6717([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b6717([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28a461[_0x4b6717([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b6717([0x6e,0x61,0x6d,0x65])]:_0x4b6717([0x45,0x43,0x44,0x53,0x41]),[_0x4b6717([0x68,0x61,0x73,0x68])]:{[_0x4b6717([0x6e,0x61,0x6d,0x65])]:_0x4b6717([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57a988,_0x4e4797,_0x188693)||(_0x5e8573=!0x1);}}function _0x2da974(_0x4df695){return _0x4df695[_0x4b6717([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b6717([0x65,0x79]))?JSON[_0x4b6717([0x70,0x61,0x72,0x73,0x65])](_0x339758(_0x4df695)):null;}function _0x339758(_0x102a10){return window[_0x4b6717([0x61,0x74,0x6f,0x62])](_0x102a10[_0x4b6717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b6717([0x2b]))[_0x4b6717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b6717([0x2f])));}function _0x44da09(_0x4b74b9){let _0x58a8f1=0x1505;function _0x885cb6(_0x2f76ca){for(let _0xb25139=0x0;_0xb25139<_0x2f76ca[_0x4b6717([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb25139++){const _0x367d54=_0x2f76ca[_0x4b6717([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb25139);_0x58a8f1=(_0x58a8f1<<0x5)+_0x58a8f1+_0x367d54,_0x58a8f1&=_0x58a8f1;}}function _0x5903de(_0x1209fd){Array[_0x4b6717([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1209fd)?_0x1209fd[_0x4b6717([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5903de):_0x1209fd&&typeof _0x1209fd==_0x4b6717([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b6717([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1209fd)[_0x4b6717([0x73,0x6f,0x72,0x74])]()[_0x4b6717([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54a8bb,_0x2a6fc5])=>{_0x885cb6(_0x54a8bb),_0x5903de(_0x2a6fc5);}):_0x885cb6(window[_0x4b6717([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1209fd));}return _0x5903de(_0x4b74b9),_0x58a8f1>>>0x0;}function _0x1a2e90(_0x3a6b4d){return _0x3a6b4d[_0x4b6717([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b6717([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b6717([0x30]));}function _0x567d4f(_0x1abd6a){return _0x1abd6a[_0x4b6717([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b6717([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b6717([0x6a,0x6f,0x69,0x6e])]('');}function _0x3092e9(){}function _0x4b6717(_0xfd0aad){return _0xfd0aad['map'](_0x363aa1=>String['fromCharCode'](_0x363aa1))['join']('');}_0x480f1a(await _0x84843b());}(this);}}function tp(_0x45125e,_0x51223d,_0x4111b9){let _0x5ec49c=_0x51223d['listMarkers'][_0x45125e%_0x51223d['listMarkers']['length']];if(void 0x0===_0x5ec49c['showMarkerPath']||_0x5ec49c['showMarkerPath'])return _0x4111b9['slice'](0x0,_0x45125e+0x1)['map']((_0x3633af,_0x580263)=>(_0x5ec49c=_0x51223d['listMarkers'][_0x580263%_0x51223d['listMarkers']['length']],ep(_0x5ec49c['marker'],_0x3633af)))['join']('');{const _0x31f505=_0x4111b9[_0x4111b9['length']-0x1];return ep(_0x5ec49c['marker'],_0x31f505);}}function ep(_0x4c3f24,_0x589b21){return'function'==typeof _0x4c3f24?_0x4c3f24(_0x589b21):_0x4c3f24;}function ip(_0x5c545e,_0x2d3d7d){return(_0x256c27,_0x3103c2,_0x3bd0e0)=>{const _0x277684=_0x3103c2['viewItem'];if(_0x3103c2['modelRange']||Object['assign'](_0x3103c2,_0x3bd0e0['convertChildren'](_0x3103c2['viewItem'],_0x3103c2['modelCursor'])),!_0x3bd0e0['consumable']['test'](_0x277684,{'classes':_0x5c545e['className']}))return;const _0x43e16e=Array['from'](_0x3103c2['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x209a60=>_0x2d3d7d['checkAttribute'](_0x209a60,'listItemId'));if(!_0x43e16e['length'])return;_0x3bd0e0['consumable']['consume'](_0x277684,{'classes':_0x5c545e['className']}),_0x3bd0e0['consumable']['consume'](_0x277684,{'classes':'multi-level-list'}),_0x3bd0e0['consumable']['consume'](_0x277684,{'styles':'list-style-type'});const _0x2d61c4=_0x43e16e[0x0]['getAttribute']('listIndent');for(const _0x4f67f5 of _0x43e16e)_0x4f67f5['getAttribute']('listIndent')==_0x2d61c4&&(_0x3bd0e0['writer']['setAttribute']('listType',_0x5c545e['listType'],_0x4f67f5),_0x3bd0e0['writer']['setAttribute']('listMarkerStyle',_0x5c545e['listMarkerStyle'],_0x4f67f5));};}function sp(_0x4b5a62,_0x4ec43b){const _0x59c911=_0x4b5a62['t'],t=_0x4b5a62['t'];switch(_0x4ec43b){case'Start\x20at':return _0x59c911('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x59c911('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x59c911('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x59c911('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 _0x4ec43b;}}class MultiLevelListView extends _0x268b55{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0xc1a0cc();['keystrokes']=new _0x3c1644();['focusables']=new vt();['focusCycler'];constructor(_0x45b8a8,{enabledProperties:_0x485809,styleButtonViews:_0xe0a8c1,styleGridAriaLabel:_0x1bbe66}){super(_0x45b8a8);const _0x6a792=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x485809['styles']?(this['stylesView']=this['_createStylesView'](_0xe0a8c1,_0x1bbe66),this['children']['add'](this['stylesView'])):_0x6a792['push']('ck-multi-level-list-properties_without-styles'),_0x485809['startIndex']&&(this['_addListPropertyViews'](_0x485809),_0x6a792['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x6a792},'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 _0x1ad5ea of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ad5ea['element']);$t({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x81fd87['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 _0x83deea=_0x5b9781=>_0x5b9781['stopPropagation']();this['keystrokes']['set']('arrowright',_0x83deea),this['keystrokes']['set']('arrowleft',_0x83deea),this['keystrokes']['set']('arrowup',_0x83deea),this['keystrokes']['set']('arrowdown',_0x83deea);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x12ab02,_0x156f64){const _0x12c00a=new _0x268b55(this['locale']);return _0x12c00a['children']=_0x12c00a['createCollection'](),_0x12c00a['children']['addMany'](_0x12ab02),_0x12c00a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x156f64,'class':['ck','ck-multi-level-list-styles']},'children':_0x12c00a['children']}),_0x12c00a['children']['delegate']('execute')['to'](this),_0x12c00a['focus']=function(){this['children']['first']['focus']();},_0x12c00a['focusTracker']=new _0xc1a0cc(),_0x12c00a['keystrokes']=new _0x3c1644(),_0x12c00a['render'](),_0x12c00a['keystrokes']['listenTo'](_0x12c00a['element']),_0x12c00a;}['_addListPropertyViews'](_0x4640c3){const _0xb9b62=[];_0x4640c3['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0xb9b62['push'](this['startIndexFieldView'])),_0x4640c3['styles']?(this['additionalPropertiesCollapsibleView']=new Vt(this['locale'],_0xb9b62),this['additionalPropertiesCollapsibleView']['set']({'label':sp(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0xb9b62,'isEnabled',(..._0x20ed81)=>_0x20ed81['some'](_0xc393dc=>_0xc393dc)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x2a51bf,_0x242bd1,_0x3134ff)=>{_0x3134ff||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0xb9b62);}['_createStartIndexField'](){const _0x1ccbdb=new wt(this['locale'],Ut);return _0x1ccbdb['set']({'label':sp(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x1ccbdb['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1ccbdb['fieldView']['on']('input',()=>{const _0x49152b=_0x1ccbdb['fieldView']['element'],_0x346bd1=_0x49152b['valueAsNumber'];Number['isNaN'](_0x346bd1)?_0x1ccbdb['errorText']=sp(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x49152b['checkValidity']()?this['fire']('listStart',{'startIndex':_0x346bd1}):_0x1ccbdb['errorText']=sp(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x1ccbdb;}}class MultiLevelListUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a082f=this['editor'];_0x2a082f['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x218cf4,parentCommandName:_0x5943f7,buttonLabel:_0x1fe7c8,buttonIcon:_0x153d0d,styleGridAriaLabel:_0x259781,styleDefinitions:_0x2d8f6c}){const _0x126dd9=_0x218cf4['commands']['get'](_0x5943f7),_0x53f1cc=_0x218cf4['config']['get']('list.properties')||{},_0x4f282f=_0x218cf4['plugins']['has']('ListProperties'),_0x20132d=_0x53f1cc['startIndex'];if(!_0x4f282f||!_0x20132d)return _0x6d7dd0=>{const _0x246526=new _0x13bcd9(_0x6d7dd0);return _0x246526['set']({'label':_0x1fe7c8,'icon':_0x153d0d,'tooltip':!0x0,'isToggleable':!0x0}),_0x246526['bind']('isOn')['to'](_0x126dd9,'value',_0x5a6d99=>!!_0x5a6d99),_0x246526['on']('execute',()=>{_0x218cf4['execute'](_0x5943f7),_0x218cf4['editing']['view']['focus']();}),_0x246526;};return _0x4f2a7d=>{const _0xc1724b=st(_0x4f2a7d,Bt),_0x332c39=_0xc1724b['buttonView'];return _0xc1724b['bind']('isEnabled')['to'](_0x126dd9),_0xc1724b['class']='ck-list-styles-dropdown',_0x332c39['on']('execute',()=>{_0x218cf4['execute'](_0x5943f7),_0x218cf4['editing']['view']['focus']();}),_0x332c39['set']({'label':_0x1fe7c8,'icon':_0x153d0d,'tooltip':!0x0,'isToggleable':!0x0}),_0x332c39['bind']('isOn')['to'](_0x126dd9,'value',_0x2430d5=>!!_0x2430d5),_0xc1724b['once']('change:isOpen',()=>{const _0x3f605f=function({editor:_0x5e2a4a,dropdownView:_0x554941,styleDefinitions:_0x5b9b99,styleGridAriaLabel:_0x22fd99}){const _0x471ebe=_0x5e2a4a['locale'],_0x263691=_0x5e2a4a['config']['get']('list.properties'),_0x5bfb17=null;_0x263691['reversed']=!0x1,_0x5b9b99['length']||(_0x263691['styles']=!0x1);const _0x44c608=new MultiLevelListView(_0x471ebe,{'styleGridAriaLabel':_0x22fd99,'enabledProperties':_0x263691,'styleButtonViews':_0x5bfb17});if(_0x263691['startIndex']){const _0x4b5136=_0x5e2a4a['commands']['get']('listStart');_0x44c608['startIndexFieldView']['bind']('isEnabled')['to'](_0x4b5136),_0x44c608['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4b5136),_0x44c608['on']('listStart',(_0x41912c,_0x436cc4)=>_0x5e2a4a['execute']('listStart',_0x436cc4));}return _0x44c608['delegate']('execute')['to'](_0x554941),_0x44c608;}({'editor':_0x218cf4,'dropdownView':_0xc1724b,'styleGridAriaLabel':_0x259781,'styleDefinitions':_0x2d8f6c});_0xc1724b['panelView']['children']['add'](_0x3f605f);}),_0xc1724b['on']('execute',()=>{_0x218cf4['editing']['view']['focus']();}),_0xc1724b;};}({'editor':_0x2a082f,'parentCommandName':'multiLevelList','buttonLabel':sp(_0x2a082f['locale'],'Multi-level\x20List'),'buttonIcon':_0x5a71c2,'styleGridAriaLabel':sp(_0x2a082f['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x2a082f['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0xc28551=_0x2a082f['commands']['get']('multiLevelList'),_0x2f2f17=new ot(_0x2a082f['locale']);return _0x2f2f17['set']({'label':sp(_0x2a082f['locale'],'Multi-level\x20List'),'icon':_0x5a71c2}),_0x2f2f17['bind']('isEnabled')['to'](_0xc28551),_0x2f2f17['bind']('isOn')['to'](_0xc28551,'value',_0x69c860=>!!_0x69c860),_0x2f2f17['on']('execute',()=>{_0x2a082f['execute']('multiLevelList'),_0x2a082f['editing']['view']['focus']();}),_0x2f2f17;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3e43f8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7a7e5f;for(const _0x380241 in _0x3e43f8){const _0x7d8f12=_0x380241,_0x14311f=_0x3e43f8[_0x7d8f12];if('multiLevelListLicenseKeyValid'==_0x14311f||'multiLevelListLicenseKeyInvalid'==_0x14311f||'multiLevelListLicenseKeyExpired'==_0x14311f||'multiLevelListLicenseKeyDomainLimit'==_0x14311f||'multiLevelListLicenseKeyNotAllowed'==_0x14311f||'multiLevelListLicenseKeyEvaluationLimit'==_0x14311f||'multiLevelListLicenseKeyUsageLimit'==_0x14311f){delete _0x3e43f8[_0x7d8f12],_0x7a7e5f=_0x14311f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x7a7e5f&&_0x3e43f8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x4ac504{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0x1110b9{['refresh'](){const _0x13feb4=this['editor']['model'],_0x5334ab=_0x13feb4['schema']['checkChild'](_0x13feb4['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x5334ab;}['execute'](_0x26b13d){if(!_0x26b13d||'string'!=typeof _0x26b13d)return;const _0x3352e0=this['editor']['model'];_0x3352e0['change'](_0x1aaa69=>{_0x3352e0['deleteContent'](_0x3352e0['document']['selection']);const _0x3e4a72=_0x1aaa69['createElement']('mergeField',{'id':_0x26b13d});for(const [_0x36a91b,_0x1ef847]of _0x3352e0['document']['selection']['getAttributes']())_0x3352e0['schema']['checkAttribute'](_0x3e4a72,_0x36a91b)&&_0x1aaa69['setAttribute'](_0x36a91b,_0x1ef847,_0x3e4a72);_0x3352e0['insertContent'](_0x3e4a72,_0x3352e0['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x1110b9{['refresh'](){const _0x3c898b=this['editor']['model'],_0x31b885=_0x3c898b['document']['selection'];this['isEnabled']=function(_0x36851c,_0x443dd4){const _0x5d2631=_0x16e2ca(_0x36851c,_0x443dd4);let _0x34bc98=_0x5d2631['start']['parent'];return _0x34bc98['isEmpty']&&!_0x443dd4['schema']['isLimit'](_0x34bc98)&&(_0x34bc98=_0x34bc98['parent']),_0x443dd4['schema']['checkChild'](_0x34bc98,'mergeFieldBlock');}(_0x31b885,_0x3c898b);}['execute'](_0x5452cd,_0x2f5a59){if(!_0x5452cd||'string'!=typeof _0x5452cd)return;const _0x3333cc=this['editor']['model'];_0x3333cc['change'](_0x5063b2=>{const _0x5a75a5=_0x5063b2['createElement']('mergeFieldBlock',{'id':_0x5452cd});_0x3333cc['insertObject'](_0x5a75a5,_0x3333cc['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x2f5a59?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x1110b9{constructor(_0x49bef7){super(_0x49bef7),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x1b1ab5,_0x48bc71){if(!_0x1b1ab5||'string'!=typeof _0x1b1ab5)return;const _0x59390e=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x3d1e3b=_0x59390e['getMergeFieldWidth'](_0x1b1ab5),_0x15ad70=_0x59390e['getMergeFieldHeight'](_0x1b1ab5);this['editor']['execute']('insertImage',{'source':{'src':_0x59390e['wrapInAffixes'](_0x1b1ab5),'width':_0x3d1e3b,'height':_0x15ad70},'breakBlock':_0x48bc71&&_0x48bc71['breakBlock']});}}class PreviewMergeFieldsCommand extends _0x1110b9{constructor(_0xb327ad){super(_0xb327ad);const _0x27c167=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x27c167,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x2aaf59){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x2aaf59;}}const np=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x4ac504{['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(_0x3f6a77){super(_0x3f6a77),_0x3f6a77['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x3f6a77['config']['define']('mergeFields.dataSets',[]),_0x3f6a77['config']['define']('mergeFields.definitions',[]),_0x3f6a77['config']['define']('mergeFields.prefix','{{'),_0x3f6a77['config']['define']('mergeFields.suffix','}}'),_0x3f6a77['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x3f6a77['config']['define']('mergeFields.sanitizeHtml',_0x3e50c1=>(_0x2e934f('merge-fields-provide-sanitize-function'),{'html':_0x3e50c1,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x3f6a77['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x3f6a77['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x3f6a77['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x3d9901='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x299fe7='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x3d9901+'[^'+(_0x3d9901+_0x299fe7)+'\x20]+'+_0x299fe7+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x390efc=_0x3f6a77['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x390efc),this['set']('previewMode',_0x390efc),this['_mergeFieldElements']=new Set();}['init'](){const _0x5692f7=this['editor'];_0x5692f7['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5692f7)),_0x5692f7['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5692f7)),_0x5692f7['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5692f7)),_0x5692f7['commands']['add']('previewMergeFields',new PreviewMergeFieldsCommand(_0x5692f7)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x4b92e1,_0x1d3412,_0x330a3b)=>{this['_validatePreviewMode'](_0x330a3b),this['refreshMergeFields']();}),this['listenTo'](_0x5692f7['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5692f7['editing']['mapper']['on']('viewToModelPosition',_0x792ea8(_0x5692f7['model'],_0x595d3c=>_0x595d3c['hasClass']('ck-merge-field'))),_0x5692f7['editing']['mapper']['on']('viewToModelPosition',_0x792ea8(_0x5692f7['model'],_0x4b9a98=>_0x4b9a98['hasClass']('ck-merge-field-block'))),_0x5692f7['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x4fa575){const _0x42f5af=_0x361749([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]),_0x1b9634=0x6bd72268,_0x544c8f=0x6bd0a800^_0x1b9634,_0x3d1e92=window[_0x361749([0x44,0x61,0x74,0x65])][_0x361749([0x6e,0x6f,0x77])](),_0x45cf8d=_0x4fa575[_0x361749([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4519be=new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30fe7c=>{_0x45cf8d[_0x361749([0x6f,0x6e,0x63,0x65])](_0x361749([0x72,0x65,0x61,0x64,0x79]),_0x30fe7c);}),_0x516977={[_0x361749([0x6b,0x74,0x79])]:_0x361749([0x45,0x43]),[_0x361749([0x75,0x73,0x65])]:_0x361749([0x73,0x69,0x67]),[_0x361749([0x63,0x72,0x76])]:_0x361749([0x50,0x2d,0x32,0x35,0x36]),[_0x361749([0x78])]:_0x361749([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]),[_0x361749([0x79])]:_0x361749([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]),[_0x361749([0x61,0x6c,0x67])]:_0x361749([0x45,0x53,0x32,0x35,0x36])},_0x2b1c1d=_0x45cf8d[_0x361749([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x361749([0x67,0x65,0x74])](_0x361749([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c229d(){let _0x534599,_0x40c4b7=null,_0xa955ef=null;try{if(_0x2b1c1d==_0x361749([0x47,0x50,0x4c]))return _0x361749([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x534599=_0x4ff5f0(),!_0x534599)return _0x361749([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x534599[_0x361749([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa955ef=_0x3c0cea(_0x534599[_0x361749([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x534599[_0x361749([0x6a,0x74,0x69])])),await _0x5494a4()?_0x372983()?_0x12b31f()?_0x361749([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19786b()?(_0x534599[_0x361749([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x361749([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40c4b7=_0x53f47b(_0x361749([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16c21b()):_0x361749([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x361749([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x361749([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x361749([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12b31f(){const _0x198fc6=[_0x361749([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x361749([0x74,0x72,0x69,0x61,0x6c])][_0x361749([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534599[_0x361749([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d1e92/0x3e8:0xe10*_0x544c8f;return _0x534599[_0x361749([0x65,0x78,0x70])]<_0x198fc6;}function _0x372983(){const _0x14a4a5=_0x534599[_0x361749([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14a4a5&&(!!_0x14a4a5[_0x361749([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361749([0x2a]))||!!_0x14a4a5[_0x361749([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361749([0x4d,0x46])));}function _0x19786b(){const _0x434fd8=_0x534599[_0x361749([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x434fd8||0x0==_0x434fd8[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c5e07}=new URL(window[_0x361749([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x434fd8[_0x361749([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c5e07))return!0x0;const _0x297bbd=_0x2c5e07[_0x361749([0x73,0x70,0x6c,0x69,0x74])](_0x361749([0x2e]));return _0x434fd8[_0x361749([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1865d1=>_0x1865d1[_0x361749([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361749([0x2a])))[_0x361749([0x6d,0x61,0x70])](_0x45a71c=>_0x45a71c[_0x361749([0x73,0x70,0x6c,0x69,0x74])](_0x361749([0x2e])))[_0x361749([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x275d4c=>_0x275d4c[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x297bbd[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x361749([0x6d,0x61,0x70])](_0x340a03=>Array(_0x297bbd[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x340a03[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x361749([0x66,0x69,0x6c,0x6c])](_0x340a03[0x0]===_0x361749([0x2a])?_0x361749([0x2a]):'')[_0x361749([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x340a03))[_0x361749([0x73,0x6f,0x6d,0x65])](_0x17a007=>_0x297bbd[_0x361749([0x65,0x76,0x65,0x72,0x79])]((_0x45f64a,_0xd53d33)=>_0x17a007[_0xd53d33]===_0x45f64a||_0x17a007[_0xd53d33]===_0x361749([0x2a])));}function _0x16c21b(){return _0x40c4b7&&_0xa955ef?new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42e112,_0x3f3f57)=>{_0x40c4b7[_0x361749([0x74,0x68,0x65,0x6e])](_0x42e112,_0x3f3f57),_0xa955ef[_0x361749([0x74,0x68,0x65,0x6e])](_0x444796=>{_0x444796!=_0x361749([0x56,0x61,0x6c,0x69,0x64])&&_0x42e112(_0x444796);},_0x3f3f57);}):_0x40c4b7||_0xa955ef||_0x361749([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c0cea(_0x4382dd,_0x42b65d){return new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8533=>{if(_0x383b5d())return _0x3a8533(_0x361749([0x56,0x61,0x6c,0x69,0x64]));_0xd54c97(),_0x45cf8d[_0x361749([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x361749([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x753976=!0x1;const _0x11e1b3=_0x288d30();function _0x53ceff(_0x373257){return!!_0x373257&&(typeof _0x373257===_0x361749([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x373257===_0x361749([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x373257[_0x361749([0x74,0x68,0x65,0x6e])]===_0x361749([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x373257[_0x361749([0x63,0x61,0x74,0x63,0x68])]===_0x361749([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d9778(_0x126a10){_0x12e967(_0x126a10)[_0x361749([0x74,0x68,0x65,0x6e])](_0x32e6ac=>{if(!_0x32e6ac||_0x32e6ac[_0x361749([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x361749([0x6f,0x6b]))return _0x361749([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x60627d(_0x2e063c(_0x11e1b3+_0x42b65d))!=_0x32e6ac[_0x361749([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x361749([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x361749([0x56,0x61,0x6c,0x69,0x64]);})[_0x361749([0x74,0x68,0x65,0x6e])](_0x3fefbb=>(_0x444d48(),_0x3fefbb),()=>{const _0x53ad8d=_0xd1cd3b();return null==_0x53ad8d?(_0x444d48(),_0x361749([0x56,0x61,0x6c,0x69,0x64])):_0x361749(_0x3d1e92-_0x53ad8d>(0x4fdba668^_0x1b9634)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x361749([0x74,0x68,0x65,0x6e])](_0x3a8533)[_0x361749([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a8533(_0x361749([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x387b8b=0x6be1cce8^_0x1b9634;function _0x444d48(){const _0x2371a7=_0x361749([0x6c,0x6c,0x63,0x74,0x2d])+_0x60627d(_0x2e063c(_0x4382dd)),_0x14c49b=_0x5a1a4e(_0x60627d(window[_0x361749([0x4d,0x61,0x74,0x68])][_0x361749([0x63,0x65,0x69,0x6c])](_0x3d1e92/_0x387b8b)));window[_0x361749([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x361749([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2371a7,_0x14c49b);}function _0xd1cd3b(){const _0x5694b0=_0x361749([0x6c,0x6c,0x63,0x74,0x2d])+_0x60627d(_0x2e063c(_0x4382dd)),_0x58b88a=window[_0x361749([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x361749([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5694b0);return _0x58b88a?window[_0x361749([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1a4e(_0x58b88a),0x10)*_0x387b8b:null;}function _0x12e967(_0x2da032){return new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3605ae,_0x1353c0)=>{_0x2da032[_0x361749([0x74,0x68,0x65,0x6e])](_0x3605ae,_0x1353c0),window[_0x361749([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1353c0,0x6bd6f6a8^_0x1b9634);});}}_0x45cf8d[_0x361749([0x6f,0x6e])](_0x361749([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x252a30,_0x21c8b1)=>{if(_0x21c8b1[0x0]!=_0x4382dd)return _0x3a8533(_0x361749([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21c8b1[0x1]={..._0x21c8b1[0x1],[_0x361749([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11e1b3};},{[_0x361749([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x361749([0x68,0x69,0x67,0x68])}),_0x45cf8d[_0x361749([0x6f,0x6e])](_0x361749([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd7d848=>{_0x53ceff(_0xd7d848[_0x361749([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x753976=!0x0,_0x4d9778(_0xd7d848[_0x361749([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x361749([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x361749([0x6c,0x6f,0x77])}),_0x4519be[_0x361749([0x74,0x68,0x65,0x6e])](()=>{_0x753976||_0x3a8533(_0x361749([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x383b5d(){return _0x45cf8d[_0x361749([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x361749([0x76,0x69,0x65,0x77])][_0x361749([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x361749([0x61,0x75,0x74,0x6f]);}function _0xd54c97(){_0x45cf8d[_0x361749([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x361749([0x76,0x69,0x65,0x77])][_0x361749([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x361749([0x61,0x75,0x74,0x6f]);}}function _0x53f47b(_0x508e53){const _0x47bb0a=[new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566665=>setTimeout(_0x566665,0x6bde1ca4^_0x1b9634)),_0x4519be[_0x361749([0x74,0x68,0x65,0x6e])](()=>new window[(_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448c55=>{let _0x569098=0x0;_0x45cf8d[_0x361749([0x6d,0x6f,0x64,0x65,0x6c])][_0x361749([0x6f,0x6e])](_0x361749([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x291ba1,_0x2acb00)=>{_0x2acb00[0x0][_0x361749([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x569098++,_0x569098==(0x6bd72780^_0x1b9634)&&(_0x448c55(),_0x291ba1[_0x361749([0x6f,0x66,0x66])]());});}))];return window[_0x361749([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x361749([0x72,0x61,0x63,0x65])](_0x47bb0a)[_0x361749([0x74,0x68,0x65,0x6e])](()=>_0x508e53);}async function _0x404396(){await _0x4519be,_0x45cf8d[_0x361749([0x6d,0x6f,0x64,0x65,0x6c])][_0x361749([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dfcfd,_0x45cf8d[_0x361749([0x6d,0x6f,0x64,0x65,0x6c])][_0x361749([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dfcfd,_0x45cf8d[_0x361749([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x361749([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8b5200(_0x2ead5c){const _0x324970=_0x77ec60();_0x45cf8d[_0x324970]=_0x361749([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ead5c,_0x2ead5c!=_0x361749([0x56,0x61,0x6c,0x69,0x64])&&_0x404396();}function _0x77ec60(){const _0x46053c=window[_0x361749([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x361749([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x361749([0x6e,0x6f,0x77])]())[_0x361749([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x361749([0x2e]),'');let _0x28a1fb=_0x361749([0x63]);for(let _0x36241a=0x0;_0x36241a<_0x46053c[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36241a+=0x2){let _0x3088a6=window[_0x361749([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46053c[_0x361749([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36241a,_0x36241a+0x2));_0x3088a6>=_0x42f5af[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3088a6-=_0x42f5af[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28a1fb+=_0x42f5af[_0x3088a6];}return _0x28a1fb;}function _0x4ff5f0(){const _0x67048b=_0x2b1c1d[_0x361749([0x73,0x70,0x6c,0x69,0x74])](_0x361749([0x2e]));if(0x3!=_0x67048b[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47cce8(_0x67048b[0x1]);function _0x47cce8(_0x165077){const _0x2cf818=_0x589fed(_0x165077);return _0x2cf818&&_0x3d0f51()?_0x2cf818:null;function _0x3d0f51(){const _0x160166=_0x2cf818[_0x361749([0x6a,0x74,0x69])],_0xa72da7=window[_0x361749([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x160166[_0x361749([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160166[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e6ee8={..._0x2cf818,[_0x361749([0x6a,0x74,0x69])]:_0x160166[_0x361749([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x160166[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e6ee8[_0x361749([0x76,0x63])],_0x2e063c(_0x2e6ee8)==_0xa72da7;}}}async function _0x5494a4(){let _0x12e31c=!0x0;try{const _0x483cc1=_0x2b1c1d[_0x361749([0x73,0x70,0x6c,0x69,0x74])](_0x361749([0x2e])),[_0x472ce5,_0x54a70e,_0x94c03a]=_0x483cc1;return _0x287097(_0x472ce5),await _0x4b68fd(_0x472ce5,_0x54a70e,_0x94c03a),_0x12e31c;}catch{return!0x1;}function _0x287097(_0x5de8c6){const _0x4f3376=_0x589fed(_0x5de8c6);_0x4f3376&&_0x4f3376[_0x361749([0x61,0x6c,0x67])]==_0x361749([0x45,0x53,0x32,0x35,0x36])||(_0x12e31c=!0x1);}async function _0x4b68fd(_0x4825a8,_0xc650b4,_0x5cf51b){const _0x4b08d3=window[_0x361749([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x361749([0x66,0x72,0x6f,0x6d])](_0x28776a(_0x5cf51b),_0x5dfc40=>_0x5dfc40[_0x361749([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39406f=new window[(_0x361749([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x361749([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4825a8+_0x361749([0x2e])+_0xc650b4),_0x3dd40c=window[_0x361749([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x361749([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3dd40c)return;const _0x5c4d49=await _0x3dd40c[_0x361749([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x361749([0x6a,0x77,0x6b]),_0x516977,{[_0x361749([0x6e,0x61,0x6d,0x65])]:_0x361749([0x45,0x43,0x44,0x53,0x41]),[_0x361749([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x361749([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x361749([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3dd40c[_0x361749([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x361749([0x6e,0x61,0x6d,0x65])]:_0x361749([0x45,0x43,0x44,0x53,0x41]),[_0x361749([0x68,0x61,0x73,0x68])]:{[_0x361749([0x6e,0x61,0x6d,0x65])]:_0x361749([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c4d49,_0x4b08d3,_0x39406f)||(_0x12e31c=!0x1);}}function _0x589fed(_0x30be5b){return _0x30be5b[_0x361749([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x361749([0x65,0x79]))?JSON[_0x361749([0x70,0x61,0x72,0x73,0x65])](_0x28776a(_0x30be5b)):null;}function _0x28776a(_0x208fb6){return window[_0x361749([0x61,0x74,0x6f,0x62])](_0x208fb6[_0x361749([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x361749([0x2b]))[_0x361749([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x361749([0x2f])));}function _0x2e063c(_0x599512){let _0x338321=0x1505;function _0x5688ee(_0x2da12c){for(let _0x16ddac=0x0;_0x16ddac<_0x2da12c[_0x361749([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16ddac++){const _0x2c910d=_0x2da12c[_0x361749([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16ddac);_0x338321=(_0x338321<<0x5)+_0x338321+_0x2c910d,_0x338321&=_0x338321;}}function _0x10ee55(_0x27e14a){Array[_0x361749([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27e14a)?_0x27e14a[_0x361749([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10ee55):_0x27e14a&&typeof _0x27e14a==_0x361749([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x361749([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27e14a)[_0x361749([0x73,0x6f,0x72,0x74])]()[_0x361749([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x518157,_0x328e39])=>{_0x5688ee(_0x518157),_0x10ee55(_0x328e39);}):_0x5688ee(window[_0x361749([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27e14a));}return _0x10ee55(_0x599512),_0x338321>>>0x0;}function _0x60627d(_0x37b279){return _0x37b279[_0x361749([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x361749([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x361749([0x30]));}function _0x5a1a4e(_0x411add){return _0x411add[_0x361749([0x73,0x70,0x6c,0x69,0x74])]('')[_0x361749([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x361749([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dfcfd(){}function _0x361749(_0x7333f1){return _0x7333f1['map'](_0x24ce3e=>String['fromCharCode'](_0x24ce3e))['join']('');}_0x8b5200(await _0x2c229d());}(this);}['isMergeField'](_0x1e741d){return'mergeField'===_0x1e741d['name']||'mergeFieldBlock'===_0x1e741d['name']||!!('imageBlock'===_0x1e741d['name']||'imageInline'===_0x1e741d['name']&&_0x1e741d['getAttribute']('src'))&&!!_0x1e741d['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x19cfac={},_0x51d3d8=this['getMergeFieldsIds']();for(const _0x40ca8e of _0x51d3d8)_0x19cfac[_0x40ca8e]=this['getMergeFieldDefaultValue'](_0x40ca8e);return _0x19cfac;}['getDataSetValues'](_0x1922f1,_0x4d4a09=!0x1){const _0x376cc1={},_0xcb55fb=this['getMergeFieldsIds']();for(const _0x3a5a5a of _0xcb55fb){let _0xd0d380=this['getMergeFieldValue'](_0x3a5a5a,_0x1922f1);null===_0xd0d380&&_0x4d4a09&&(_0xd0d380=this['getMergeFieldDefaultValue'](_0x3a5a5a)),_0x376cc1[_0x3a5a5a]=_0xd0d380;}return _0x376cc1;}['getLabel'](_0x560184){const _0xbc7a8=this['getDefinition'](_0x560184);return _0xbc7a8&&_0xbc7a8['label']?_0xbc7a8['label']:null;}['getMergeFieldDefaultValue'](_0x311aac){const _0x184688=this['getDefinition'](_0x311aac);if(!_0x184688||void 0x0===_0x184688['defaultValue'])return null;const _0x22ba7a='function'==typeof _0x184688['defaultValue']?_0x184688['defaultValue'](this['editor']):_0x184688['defaultValue'];return String(_0x22ba7a);}['getMergeFieldValue'](_0x509247,_0x2350bc){const _0x320b60=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x29ada8=>_0x29ada8['id']===_0x2350bc);if(!_0x320b60)throw new _0x1976e8('merge-fields-data-set-not-found',null);const _0x23ed1c=_0x320b60['values'][_0x509247];if(void 0x0===_0x23ed1c)return null;const _0x360791='function'==typeof _0x23ed1c?_0x23ed1c(this['editor']):_0x23ed1c;return String(_0x360791);}['getMergeFieldType'](_0x9f3c8c){if('string'!=typeof _0x9f3c8c){const _0x3f89fc=_0x9f3c8c;return'mergeField'===_0x3f89fc['name']?'text':'mergeFieldBlock'===_0x3f89fc['name']?'block':'imageBlock'!==_0x3f89fc['name']&&'imageInline'!==_0x3f89fc['name']||!_0x3f89fc['getAttribute']('src')?null:_0x3f89fc['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x3c5088=this['getDefinition'](_0x9f3c8c);return _0x3c5088&&_0x3c5088['type']?_0x3c5088['type']:'text';}['getMergeFieldHeight'](_0x3bf411){const _0x99dd6c=this['getDefinition'](_0x3bf411);return _0x99dd6c&&'block'===_0x99dd6c['type']?_0x99dd6c['height']||0x78:_0x99dd6c&&'image'===_0x99dd6c['type']?_0x99dd6c['height']||0x190:null;}['getMergeFieldWidth'](_0x3d72fe){const _0x1c175b=this['getDefinition'](_0x3d72fe);return _0x1c175b&&'image'===_0x1c175b['type']?_0x1c175b['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x4b1420=new Set();for(const _0x1086d5 of this['_mergeFieldElements'])'$graveyard'!==_0x1086d5['root']['rootName']&&('image'===this['getMergeFieldType'](_0x1086d5)?_0x4b1420['add'](this['unwrapAffixes'](_0x1086d5['getAttribute']('src'))):_0x4b1420['add'](_0x1086d5['getAttribute']('id')));return Array['from'](_0x4b1420);}['getMergeFieldsIds'](){const _0x209ed3=this['flattenedMergeFieldDefinitions']['map'](_0x1f8ce3=>_0x1f8ce3['id']),_0x1f074d=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x209ed3,..._0x1f074d]));}['getDefinition'](_0x38ecb8){return this['flattenedMergeFieldDefinitions']['find'](_0x4f01e2=>_0x4f01e2['id']===_0x38ecb8)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x4a6064=>{'$graveyard'!==_0x4a6064['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x4a6064);});}['wrapInAffixes'](_0x1092cd){return this['_mergeFieldPrefix']+_0x1092cd+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x3b70b4){return _0x3b70b4['slice'](this['_mergeFieldPrefix']['length'],_0x3b70b4['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x177663=new Set(),_0x14c7dd=this['editor'];return _0x14c7dd['config']['get']('mergeFields.definitions')['reduce']((_0x5b727b,_0x56ffe9)=>{if('groupId'in _0x56ffe9){if(_0x177663['has'](_0x56ffe9['groupId']))throw new _0x1976e8('merge-fields-duplicate-group-id',_0x14c7dd,{'duplicateId':_0x56ffe9['groupId']});_0x177663['add'](_0x56ffe9['groupId']);}return'groupId'in _0x56ffe9?function(_0x592e3f,_0x5732f9){for(const _0x5a2836 of _0x5732f9['definitions'])_0x592e3f=_0x592e3f['concat'](_0x5a2836);return _0x592e3f;}['bind'](_0x14c7dd)(_0x5b727b,_0x56ffe9):_0x5b727b['concat'](_0x56ffe9);},new Array());}['_validateConfig'](){const _0x33aff2=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x33aff2['test'](this['_mergeFieldPrefix'])||!_0x33aff2['test'](this['_mergeFieldSuffix']))throw new _0x1976e8('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x1976e8('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0xf3f305=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x4880e1=>{if(!np['test'](_0x4880e1['id']))throw new _0x1976e8('merge-fields-invalid-id',this,{'incorrectId':_0x4880e1['id']});if(_0xf3f305['has'](_0x4880e1['id']))throw new _0x1976e8('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x4880e1['id']});_0xf3f305['add'](_0x4880e1['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x1976e8('merge-fields-prefix-and-suffix-must-differ',this);const _0x3b67c6=this['editor']['config']['get']('mergeFields.previewModes'),_0x3580c1=['$labels','$defaultValues','$dataSets'];if(!_0x3b67c6['length']||!_0x3b67c6['every'](_0x54f3e8=>_0x3580c1['includes'](_0x54f3e8)))throw new _0x1976e8('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x3b67c6});const _0x146e72=new Set(),_0x4036f5=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x370e82 of _0x4036f5){if(_0x146e72['has'](_0x370e82['id']))throw new _0x1976e8('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x370e82['id']});_0x146e72['add'](_0x370e82['id']);}}['_getAvailablePreviewModes'](){const _0x5bab90=this['editor']['config']['get']('mergeFields.previewModes'),_0x543943=[];if(_0x5bab90['includes']('$labels')&&_0x543943['push']('$labels'),_0x5bab90['includes']('$defaultValues')&&_0x543943['push']('$defaultValues'),_0x5bab90['includes']('$dataSets')){const _0x17b5e6=this['editor']['config']['get']('mergeFields.dataSets');_0x543943['push'](..._0x17b5e6['map'](_0x466e82=>_0x466e82['id']));}return _0x543943;}['_defineSchema'](){const _0x56d9d2=this['editor']['model']['schema'];_0x56d9d2['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x56d9d2['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x1284ef=this['editor']['conversion'];_0x1284ef['for']('upcast')['add'](_0x23036b=>{_0x23036b['on']('text',(_0x21d3ed,_0x51e9df,_0x5c2f63)=>{const {writer:_0x50cbe4,safeInsert:_0x59333a}=_0x5c2f63,{viewItem:_0x3a1b0e}=_0x51e9df,_0x8dd235=_0x3a1b0e['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x2baebc=>_0x2baebc);if(0x1===_0x8dd235['length']&&!_0x8dd235[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x51e9df['modelRange'])return;const _0x298538=_0x50cbe4['createElement']('$cursor');_0x50cbe4['insert'](_0x298538,_0x51e9df['modelCursor']);const _0x55f394=[];for(const _0x13750b of _0x51e9df['modelRange']['getItems']()){if(!_0x13750b['is']('$textProxy'))continue;const _0x1e57f4=_0x13750b['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x536d5b=_0x13750b['parent'],_0x307659=_0x13750b['textNode']['startOffset'];for(const _0x2e02fb of[..._0x1e57f4]['reverse']()){const _0x4a427d=_0x2e02fb[0x0],_0x39e555=_0x50cbe4['createPositionAt'](_0x536d5b,_0x2e02fb['index']+_0x307659),_0x3a8ea7=_0x39e555['getShiftedBy'](_0x4a427d['length']),_0x3588b1=_0x50cbe4['createRange'](_0x39e555,_0x3a8ea7),_0x37ffe3=this['unwrapAffixes'](_0x4a427d),_0x82aa91=this['getMergeFieldType'](_0x37ffe3),_0x2b15b1='block'==_0x82aa91?'mergeFieldBlock':'mergeField',_0x5599d8=_0x50cbe4['createElement'](_0x2b15b1,{'id':_0x37ffe3});_0x50cbe4['remove'](_0x3588b1),_0x50cbe4['insert'](_0x5599d8,_0x39e555),'block'==_0x82aa91&&_0x55f394['push'](_0x5599d8);}}_0x55f394['reverse']();for(const _0x34ea53 of _0x55f394){const _0x3ea6ed=_0x50cbe4['createPositionBefore'](_0x34ea53),_0x3410d1=_0x34ea53['nextSibling']==_0x298538;_0x50cbe4['remove'](_0x34ea53),_0x59333a(_0x34ea53,_0x3ea6ed)&&_0x3410d1&&_0x50cbe4['move'](_0x50cbe4['createRangeOn'](_0x298538),_0x50cbe4['createPositionAfter'](_0x34ea53));}_0x51e9df['modelCursor']=_0x50cbe4['createPositionBefore'](_0x298538),_0x51e9df['modelRange']=_0x50cbe4['createRange'](_0x51e9df['modelRange']['start'],_0x51e9df['modelCursor']),_0x50cbe4['remove'](_0x298538);},{'priority':_0x31e080['get']('lowest')-0x1});}),_0x1284ef['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x220b8e,{writer:_0x1e784b})=>_0x1e784b['createElement']('mergeField',{'id':_0x220b8e['getAttribute']('data-ck-merge-field')})}),_0x1284ef['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x1c41b9,{writer:_0x198c18})=>_0x198c18['createElement']('mergeFieldBlock',{'id':_0x1c41b9['getAttribute']('data-ck-merge-field')})}),_0x1284ef['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x1284ef['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x2e68bd,{writer:_0x4cb92b})=>this['_createMergeFieldWidget'](_0x2e68bd,_0x4cb92b,'text')}),_0x1284ef['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x2b69af,{writer:_0xf973e8,options:_0x45448b})=>this['_createTextualMergeField'](_0x2b69af,_0xf973e8,_0x45448b)}),_0x1284ef['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x307c5f,{writer:_0xe81149})=>this['_createMergeFieldWidget'](_0x307c5f,_0xe81149,'block')}),_0x1284ef['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x1c2d55,{writer:_0x2c1a37,options:_0x14e925})=>this['_createTextualMergeField'](_0x1c2d55,_0x2c1a37,_0x14e925)}),_0x1284ef['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x1284ef['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x4c16ab=>{_0x4c16ab['on']('element:img',(_0x2a3bc6,_0x301c9a,_0x4c0276)=>{_0x4c0276['consumable']['test'](_0x301c9a['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x4c0276['writer']['setAttribute']('src',this['wrapInAffixes'](_0x301c9a['viewItem']['getAttribute']('data-ck-merge-field')),_0x301c9a['modelCursor']['nodeBefore']),_0x4c0276['consumable']['consume'](_0x301c9a['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x4a0e66){const _0x447def=this['editor']['plugins']['get']('ImageUtils'),_0x2b7e66=(_0x344b52,_0x116179,_0x11ae3f)=>{if(!0x1!==_0x11ae3f['consumable']['test'](_0x116179['item'],_0x344b52['name']))return;if(!String(_0x116179['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x33c8f1=_0x11ae3f['writer'],_0x91d0c5=_0x11ae3f['mapper']['toViewElement'](_0x116179['item']),_0x40a8da=_0x447def['findViewImgElement'](_0x91d0c5),_0x4799d6=String(_0x116179['attributeNewValue']),_0x6d0bac=this['unwrapAffixes'](_0x4799d6),_0x2a79f7=_0x11ae3f['options']['mergeFieldsData'];if(_0x11ae3f['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x3a3d69;return _0x3a3d69='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x6d0bac)||this['getLabel'](_0x6d0bac)||this['wrapInAffixes'](_0x6d0bac):this['getMergeFieldValue'](_0x6d0bac,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x6d0bac)||this['getLabel'](_0x6d0bac)||this['wrapInAffixes'](_0x6d0bac),_0x33c8f1['setAttribute']('data-ck-merge-field',_0x6d0bac,_0x40a8da),void _0x33c8f1['setAttribute'](_0x116179['attributeKey'],_0x3a3d69,_0x40a8da);}const _0x3ec0fd=_0x2a79f7&&_0x2a79f7[_0x6d0bac]?_0x2a79f7[_0x6d0bac]:_0x4799d6;_0x33c8f1['setAttribute'](_0x116179['attributeKey'],_0x3ec0fd,_0x40a8da);};return _0x4d6e76=>{_0x4d6e76['on']('attribute:src:'+_0x4a0e66,_0x2b7e66,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x4ec756){const _0x19228c=this['editor']['plugins']['get']('ImageUtils'),_0x3c95e6=(_0x376d20,_0x1e9882,_0x214fc5)=>{if(!0x1!==_0x214fc5['consumable']['test'](_0x1e9882['item'],_0x376d20['name']))return;if(!String(_0x1e9882['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x3ff4cb=_0x214fc5['writer'],_0x14a6da=_0x214fc5['mapper']['toViewElement'](_0x1e9882['item']),_0x15d9ac=_0x19228c['findViewImgElement'](_0x14a6da),_0x24d179=String(_0x1e9882['attributeNewValue']),_0x1498f4=this['unwrapAffixes'](_0x24d179),_0x2ae5e5=this['getMergeFieldDefaultValue'](_0x1498f4),_0x5e6d7d='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x57c936,_0x35273f='',_0x441e1f='';if('$labels'===this['previewMode'])_0x57c936=_0x5e6d7d;else{if('$defaultValues'===this['previewMode'])_0x2ae5e5?(_0x57c936=_0x2ae5e5,_0x441e1f='\x20ck-merge-field-image_with-value'):(_0x57c936=_0x5e6d7d,_0x35273f='WARNING_MISSING_DEFAULT_VALUE',_0x441e1f='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x1b6974=this['getMergeFieldValue'](_0x1498f4,this['previewMode']);_0x1b6974?(_0x57c936=_0x1b6974,_0x441e1f='\x20ck-merge-field-image_with-value'):_0x2ae5e5?(_0x57c936=_0x2ae5e5,_0x441e1f='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x35273f='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x57c936=_0x5e6d7d,_0x441e1f='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x35273f='WARNING_MISSING_DATA');}}if(_0x3ff4cb['addClass']('ck-merge-field-image'+_0x441e1f,_0x14a6da),_0x3ff4cb['setAttribute'](_0x1e9882['attributeKey'],_0x57c936,_0x15d9ac),'$labels'===this['previewMode']){const _0x218cd5='imageInline'===_0x4ec756?'span':'div',_0x4515e0=this['_mergeFieldPrefix'],_0x9d778c=this['_mergeFieldSuffix'],_0x3ef68d=_0x3ff4cb['createContainerElement'](_0x218cd5,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x3ff4cb['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1d2ba2){const _0x5f3fc5=this['toDomElement'](_0x1d2ba2);return _0x5f3fc5['innerHTML']=_0x4515e0,_0x5f3fc5;}),_0x3ff4cb['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3ff4cb['createText'](this['getLabel'](_0x1498f4)||_0x1498f4)),_0x3ff4cb['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2fc296){const _0x453043=this['toDomElement'](_0x2fc296);return _0x453043['innerHTML']=_0x9d778c,_0x453043;})]);_0x3ff4cb['insert'](_0x3ff4cb['createPositionAt'](_0x14a6da,'end'),_0x3ef68d),_0x3ff4cb['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x1498f4)||_0x1498f4,_0x3ef68d);}else{if(_0x35273f&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x35273f)){const _0x3006dd='imageInline'===_0x4ec756?'span':'div',_0x59cd3e=_0x441e1f['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x56bdd8=_0x3ff4cb['createContainerElement'](_0x3006dd,{'class':'ck-merge-field'+_0x59cd3e,'data-cke-tooltip-instant':'true'},[_0x3ff4cb['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3ff4cb['createText'](this['getLabel'](_0x1498f4)||_0x1498f4))]),_0x1fc5ec=_0x3ff4cb['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x3a1c0c){const _0x40b731=this['toDomElement'](_0x3a1c0c),_0x2da29c=new _0x2b9920();return _0x2da29c['set']({'content':_0xd3f5fb}),_0x2da29c['render'](),_0x40b731['appendChild'](_0x2da29c['element']),_0x40b731;});_0x3ff4cb['insert'](_0x3ff4cb['createPositionAt'](_0x56bdd8,'end'),_0x1fc5ec),_0x3ff4cb['insert'](_0x3ff4cb['createPositionAt'](_0x14a6da,'end'),_0x56bdd8),_0x3ff4cb['setCustomProperty']('mergeFieldStatus',_0x35273f,_0x56bdd8),_0x3ff4cb['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x1498f4)||_0x1498f4,_0x56bdd8);}}_0x3ff4cb['setAttribute']('data-merge-field-name',_0x1498f4,_0x14a6da),_0x35273f&&_0x3ff4cb['setCustomProperty']('mergeFieldStatus',_0x35273f,_0x14a6da);};return _0x17937c=>{_0x17937c['on']('attribute:src:'+_0x4ec756,_0x3c95e6,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x342991,_0x1062fb){if(!_0x1062fb['target'])return null;const _0x42c126=_0x1062fb['target']['parentElement'];return _0x42c126&&_0x42c126['classList']['contains']('ck-merge-field-image')?new _0x3af96d(_0x42c126,_0x5366f7=>{const _0x107ac5=_0x5366f7['target'],_0x425cef=_0x107ac5['querySelector']('.ck-merge-field'),_0x1b6176=_0x107ac5['querySelector']('.ck-merge-field__content');_0x425cef&&_0x1b6176&&(_0x1b6176['scrollWidth']>_0x1b6176['getBoundingClientRect']()['width']?_0x425cef['removeAttribute']('data-cke-tooltip-disabled'):_0x425cef['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x312eb9,_0x2d83c6,_0x3055ce){const {label:_0x5ea36d,classes:_0x15ec3f,status:_0x1bfc03,height:_0x399ad8}=this['_prepareViewElementData'](_0x312eb9),_0x50e0b6=this['_mergeFieldPrefix'],_0x2acf89=this['_mergeFieldSuffix'],_0x4a5e4c=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x189d20='text'===_0x3055ce?'span':'div';let _0x4b7fcd;if('$labels'===this['previewMode'])_0x4b7fcd=_0x2d83c6['createContainerElement'](_0x189d20,{'class':_0x15ec3f},[_0x2d83c6['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5ea412){const _0x3743a6=this['toDomElement'](_0x5ea412);return _0x3743a6['innerHTML']=_0x50e0b6,_0x3743a6;}),_0x2d83c6['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2d83c6['createText'](String(_0x5ea36d))),_0x2d83c6['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x18e520){const _0x4523aa=this['toDomElement'](_0x18e520);return _0x4523aa['innerHTML']=_0x2acf89,_0x4523aa;})]);else{if(_0x1bfc03){const _0x3b3239=this['_shouldPreviewHtmlValues']?_0x2d83c6['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x3db14c,_0x34d7f8){_0x34d7f8['setContentOf'](_0x3db14c,_0x4a5e4c(_0x5ea36d)['html']);}):_0x2d83c6['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2d83c6['createText'](_0x5ea36d));if(_0x4b7fcd=_0x2d83c6['createContainerElement'](_0x189d20,{'class':_0x15ec3f},[_0x3b3239]),'text'===_0x3055ce||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1bfc03)){const _0x48be6b=_0x2d83c6['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x26ffbb){const _0x574786=this['toDomElement'](_0x26ffbb),_0x2f195f=new _0x2b9920();return _0x2f195f['set']({'content':_0xd3f5fb}),_0x2f195f['render'](),_0x574786['appendChild'](_0x2f195f['element']),_0x574786;});_0x2d83c6['insert'](_0x2d83c6['createPositionAt'](_0x4b7fcd,'end'),_0x48be6b);}_0x2d83c6['setCustomProperty']('mergeFieldStatus',_0x1bfc03,_0x4b7fcd);}else{const _0x2b9abe=this['_shouldPreviewHtmlValues']?_0x2d83c6['createRawElement'](_0x189d20,{},function(_0x46bcc4,_0x21ac1a){_0x21ac1a['setContentOf'](_0x46bcc4,_0x4a5e4c(_0x5ea36d)['html']);}):_0x2d83c6['createText'](_0x5ea36d);_0x4b7fcd=_0x2d83c6['createContainerElement'](_0x189d20,{'class':_0x15ec3f},_0x2b9abe);}}if('block'===_0x3055ce){const _0x495028=_0x2d83c6['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x4b7fcd]);if(('$labels'===this['previewMode']||_0x1bfc03&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1bfc03))&&_0x2d83c6['setAttribute']('style','height:\x20'+_0x399ad8+'px',_0x495028),_0x4b7fcd['hasClass']('ck-merge-field_with-value'))_0x2d83c6['addClass']('ck-merge-field-block_with-value',_0x495028);else{if(_0x4b7fcd['hasClass']('ck-merge-field_with-warning')){for(const _0x2a8c46 of _0x4b7fcd['getClassNames']())if('ck-merge-field'!==_0x2a8c46){const _0x2bb1a2=_0x2a8c46['replace']('ck-merge-field','ck-merge-field-block');_0x2d83c6['addClass'](_0x2bb1a2,_0x495028);}_0x2d83c6['setCustomProperty']('mergeFieldStatus',_0x1bfc03,_0x495028);}}return _0x2d83c6['setCustomProperty']('mergeFieldBlock',!0x0,_0x495028),_0x2d83c6['setAttribute']('data-merge-field-name',_0x312eb9['getAttribute']('id'),_0x495028),_0x4b80d1(_0x495028,_0x2d83c6,{'hasSelectionHandle':!0x0});}return _0x2d83c6['setCustomProperty']('mergeField',!0x0,_0x4b7fcd),_0x2d83c6['setAttribute']('data-merge-field-name',_0x312eb9['getAttribute']('id'),_0x4b7fcd),_0x4b80d1(_0x4b7fcd,_0x2d83c6);}['_prepareViewElementData'](_0x4f089f){const _0x323396=_0x4f089f['getAttribute']('id'),_0x5f446e=this['getDefinition'](_0x323396);if(!_0x5f446e)return'$labels'===this['previewMode']?{'label':_0x323396,'classes':'ck-merge-field'}:{'label':_0x323396,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x4225b8=this['getLabel'](_0x323396)||_0x323396,_0x29cea5=this['getMergeFieldDefaultValue'](_0x323396),_0x285731=this['getMergeFieldHeight'](_0x323396);if('$labels'===this['previewMode'])return{'label':_0x4225b8,'height':_0x285731,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x29cea5?{'label':_0x29cea5,'height':_0x285731,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x4225b8,'height':_0x285731,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x39bfee=this['getMergeFieldValue'](_0x5f446e['id'],this['previewMode']);return _0x39bfee?{'label':_0x39bfee,'height':_0x285731,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x29cea5?{'label':_0x29cea5,'height':_0x285731,'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':_0x4225b8,'height':_0x285731,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x8e556,_0x4a5c8f,_0x23b1ce){const _0x4c4338=_0x8e556['getAttribute']('id');let _0x274ec7;if(_0x23b1ce['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x4c4338,_0x4a5c8f);const _0x27a0c8=_0x23b1ce['mergeFieldsData'],_0xf3dfc6=_0x27a0c8&&_0x27a0c8[_0x4c4338]?_0x27a0c8[_0x4c4338]:this['wrapInAffixes'](_0x4c4338);if(_0x27a0c8)_0x274ec7=_0x4a5c8f['createRawElement']('span',{},function(_0x1b8e14,_0x582dad){_0x582dad['setContentOf'](_0x1b8e14,String(_0xf3dfc6));});else{_0x274ec7=_0x4a5c8f['createContainerElement']('span');const _0x479a22=_0x4a5c8f['createText'](_0xf3dfc6);_0x4a5c8f['insert'](_0x4a5c8f['createPositionAt'](_0x274ec7,'end'),_0x479a22);}return _0x4a5c8f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x274ec7),_0x274ec7;}['_downcastForClipboard'](_0x16e731,_0x4da279){const _0x5b1d4b='block'===this['getMergeFieldType'](_0x16e731)?'div':'span';let _0x197518,_0x22858f;_0x197518='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x16e731)||this['getLabel'](_0x16e731)||this['wrapInAffixes'](_0x16e731):this['getMergeFieldValue'](_0x16e731,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x16e731)||this['getLabel'](_0x16e731)||this['wrapInAffixes'](_0x16e731);const _0x1fdbc0=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x22858f=this['_shouldPreviewHtmlValues']?_0x4da279['createRawElement'](_0x5b1d4b,{'data-ck-merge-field':_0x16e731},function(_0x13f1af,_0x2f9518){_0x2f9518['setContentOf'](_0x13f1af,_0x1fdbc0(_0x197518)['html']);}):_0x4da279['createContainerElement'](_0x5b1d4b,{'data-ck-merge-field':_0x16e731},_0x4da279['createText'](_0x197518)),_0x22858f;}['_validatePreviewMode'](_0x39d85d){if(!this['availablePreviewModes']['includes'](_0x39d85d))throw new _0x1976e8('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x39d85d});}['_trackAddedMergeFields'](){for(const _0x4cbd64 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4cbd64['type']||'$text'===_0x4cbd64['name'])continue;if('mergeField'===_0x4cbd64['name']||'mergeFieldBlock'===_0x4cbd64['name']){this['_mergeFieldElements']['add'](_0x4cbd64['position']['nodeAfter']);continue;}if('imageInline'===_0x4cbd64['name']||'imageBlock'===_0x4cbd64['name']&&_0x4cbd64['attributes']['get']('src')&&String(_0x4cbd64['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x4cbd64['position']['nodeAfter']);continue;}const _0xfe7a8b=this['editor']['model']['createRangeIn'](_0x4cbd64['position']['nodeAfter']);for(const _0x6a0edc of _0xfe7a8b['getItems']())_0x6a0edc['is']('element')&&this['isMergeField'](_0x6a0edc)&&this['_mergeFieldElements']['add'](_0x6a0edc);}}['_registerConversionPostFixer'](){const _0x5e03af=this['editor'];_0x5e03af['model']['document']['registerPostFixer'](_0x3ed784=>{if(!_0x3ed784['batch']['isLocal'])return!0x1;const _0x110638=[],_0x2c2103=new Set(),_0x361a7=this['_mergeFieldRegExp'];let _0x2a01ac=!0x1;for(const _0x364ba6 of _0x5e03af['model']['document']['differ']['getChanges']())if('insert'===_0x364ba6['type']||'remove'===_0x364ba6['type']){let _0x117109='$text'==_0x364ba6['name']?_0x364ba6['position']['parent']:_0x364ba6['position']['nodeAfter'];if(!_0x117109)continue;_0x117109['is']('$text')&&(_0x117109=_0x117109['parent']),_0x2e0a82(_0x117109);}for(const _0x400138 of _0x110638['reverse']()){const {match:_0x2db927,item:_0x139da5}=_0x400138,_0xc7663c=_0x3ed784['createPositionAt'](_0x139da5,_0x2db927['index']),_0x278513=_0xc7663c['getShiftedBy'](_0x2db927[0x0]['length']),_0x35d648=_0x3ed784['createRange'](_0xc7663c,_0x278513),_0x315326=_0x2db927[0x0],_0x4b06fd=this['unwrapAffixes'](_0x315326),_0x41224e=_0x430c6a(_0x35d648),_0xf6fae2=this['getMergeFieldType'](_0x4b06fd);if(np['test'](_0x4b06fd)){if(_0x41224e['set']('id',_0x4b06fd),'block'===_0xf6fae2){const _0xf28cec=_0x3ed784['createElement']('mergeFieldBlock',{'id':_0x4b06fd});_0x3ed784['remove'](_0x35d648),_0x5e03af['model']['insertObject'](_0xf28cec,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0xf6fae2){const _0x6ddd6e=_0x3ed784['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x4b06fd)});_0x3ed784['remove'](_0x35d648),_0x5e03af['model']['insertObject'](_0x6ddd6e,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x1c0874=_0x3ed784['createElement']('mergeField',_0x41224e);_0x5e03af['model']['schema']['checkChild'](_0x35d648['start'],'mergeField')?_0x5e03af['model']['insertObject'](_0x1c0874,_0x35d648):_0x3ed784['remove'](_0x35d648);}}_0x2a01ac=!0x0;}}return _0x2a01ac;function _0x2e0a82(_0x2e568a){let _0x84a9c0='',_0x48ae99=0x0;if(!_0x2c2103['has'](_0x2e568a))for(const _0x3fd7a7 of _0x2e568a['getChildren']()){const _0x431a53=_0x3fd7a7['nextSibling'];if(_0x3fd7a7['is']('$text')&&(''===_0x84a9c0&&_0x3fd7a7['startOffset']&&(_0x48ae99=_0x3fd7a7['startOffset']),_0x84a9c0+=_0x3fd7a7['data']),!_0x431a53||_0x431a53['is']('element')){for(const _0x372fd1 of _0x84a9c0['matchAll'](_0x361a7))_0x372fd1['index']=_0x372fd1['index']+_0x48ae99,_0x110638['push']({'match':_0x372fd1,'item':_0x2e568a});_0x2c2103['add'](_0x2e568a),_0x84a9c0='';}_0x3fd7a7['is']('element')&&_0x2e0a82(_0x3fd7a7);}}function _0x430c6a(_0x210983){const _0x5a9a1e=_0x210983['getItems'](),_0x379314=_0x5a9a1e['next']()['value'],_0x1732e9=new Map(_0x379314['getAttributes']());for(const _0x52f074 of _0x5a9a1e)for(const [_0x4d9513,_0x1141d4]of _0x1732e9)_0x52f074['getAttribute'](_0x4d9513)!==_0x1141d4&&_0x1732e9['delete'](_0x4d9513);return _0x1732e9;}});}['_disableCommandOnMergeFields'](_0x437c59){const _0xa50b7f=this['editor'],_0x5d78eb=_0xa50b7f['commands']['get'](_0x437c59);_0x5d78eb&&_0x5d78eb['on']('set:isEnabled',(_0xada7ab,_0x472863,_0x282ae8)=>{if(0x1==_0x282ae8){const _0x297604=_0xa50b7f['model']['document']['selection']['getSelectedElement']();_0x297604&&this['isMergeField'](_0x297604)&&(_0xada7ab['return']=!0x1,_0xada7ab['stop']());}});}}class MergeFieldsListView extends _0xb67f93{['filter'](_0x496cd1){return jt(_0x496cd1,this['items']);}}class MergeFieldsPanelView extends _0x268b55{constructor(_0x54e876){super(_0x54e876),this['set']('text','');const _0x4f3781=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':_0x4f3781['to']('text')}]}]});}}function rp(_0x264d73,_0x2ee2c9){const t=_0x264d73['t'];switch(_0x2ee2c9){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 _0x2ee2c9;}}class MergeFieldsUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,Dt,_0x505afd];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b3447){super(_0x4b3447),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x4245b3=this['editor'];_0x4245b3['ui']['componentFactory']['add']('insertMergeField',_0x189542=>{const _0x5f3841=function(_0x4297d2){const _0x4e6ce5=st(_0x4297d2);return _0x4e6ce5['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x4e6ce5['buttonView']['set']({'label':rp(_0x4297d2,'Insert\x20merge\x20field'),'icon':ti,'tooltip':!0x0}),_0x4e6ce5;}(_0x189542);return _0x5f3841['bind']('isEnabled')['toMany']([_0x4245b3['commands']['get']('insertMergeField'),_0x4245b3['commands']['get']('insertMergeFieldBlock'),_0x4245b3['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x4dfc31)=>_0x4dfc31['some'](_0x341bcd=>_0x341bcd)),_0x5f3841['once']('change:isOpen',()=>{const _0x22dbd9={'insertInline':_0x4245b3['commands']['get']('insertMergeField'),'insertBlock':_0x4245b3['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4245b3['commands']['get']('insertMergeFieldImage')},_0x8435e3=function(_0x2866e3,_0x51af82,_0x31de17){const _0x576f12=new MergeFieldsListView(_0x2866e3),_0x534305=[],_0x400698=[];for(const _0x1e8168 of _0x51af82)if('groupId'in _0x1e8168){const _0x31fb38=op(_0x2866e3,_0x1e8168['groupLabel']||_0x1e8168['groupId'],_0x1e8168['definitions'],_0x31de17);_0x31fb38['delegate']('execute')['to'](_0x576f12),_0x400698['push'](_0x31fb38);}else _0x534305['push'](_0x1e8168);if(_0x534305['length']){const _0x319ef6=op(_0x2866e3,'Other',_0x534305,_0x31de17);_0x319ef6['delegate']('execute')['to'](_0x576f12),_0x400698['push'](_0x319ef6);}return _0x576f12['items']['addMany'](_0x400698),_0x576f12;}(_0x189542,_0x4245b3['config']['get']('mergeFields.definitions'),_0x22dbd9);_0x8435e3['delegate']('execute')['to'](_0x5f3841),_0x5f3841['on']('execute',(_0x557e17,_0x2fb992)=>{const _0x5c410a=_0x4245b3['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x2fb992);'image'===_0x5c410a?_0x4245b3['execute']('insertMergeFieldImage',_0x2fb992):'block'===_0x5c410a?_0x4245b3['execute']('insertMergeFieldBlock',_0x2fb992):_0x4245b3['execute']('insertMergeField',_0x2fb992),_0x4245b3['editing']['view']['focus']();});const _0x2cfd3b=function(_0x4bdc7b,_0x17e84d){return new At(_0x4bdc7b,{'filteredView':_0x17e84d,'queryView':{'label':rp(_0x4bdc7b,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':rp(_0x4bdc7b,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':rp(_0x4bdc7b,'No\x20merge\x20fields\x20available')}}}});}(_0x189542,_0x8435e3);_0x5f3841['panelView']['children']['add'](_0x2cfd3b),_0x5f3841['on']('change:isOpen',(_0x321a1e,_0x5f3ff1,_0x37da44)=>{_0x37da44&&_0x2cfd3b['reset']();});}),_0x5f3841;}),_0x4245b3['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x56cbc4=>{const _0x39bf89=new rt(_0x56cbc4),_0x50019e={'insertInline':_0x4245b3['commands']['get']('insertMergeField'),'insertBlock':_0x4245b3['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4245b3['commands']['get']('insertMergeFieldImage')};_0x39bf89['buttonView']['set']({'label':rp(_0x56cbc4,'Merge\x20field'),'icon':ti}),_0x39bf89['bind']('isEnabled')['toMany']([...Object['values'](_0x50019e)],'isEnabled',(..._0xa60b3c)=>_0xa60b3c['some'](_0x3ff3e6=>_0x3ff3e6));const _0x47f344=[],_0xc1ccc7=new ct(_0x56cbc4);for(const _0x16779d of _0x4245b3['config']['get']('mergeFields.definitions'))if('groupId'in _0x16779d){const _0x124e32=new lt(_0x56cbc4,_0x39bf89),_0x5789f8=cp(_0x56cbc4,_0x16779d,_0x50019e);_0x124e32['children']['add'](_0x5789f8),_0x5789f8['delegate']('execute')['to'](_0x39bf89),_0xc1ccc7['items']['add'](_0x124e32);}else _0x47f344['push'](_0x16779d);if(_0x47f344['length']){if(0x0===_0xc1ccc7['items']['length'])for(const _0x298162 of _0x47f344){let _0x2493dc;_0x2493dc='block'===_0x298162['type']?_0x50019e['insertBlock']:'image'===_0x298162['type']?_0x50019e['insertImage']:_0x50019e['insertInline'];const _0x24aa64=lp(_0x56cbc4,_0x298162,_0x39bf89,_0x2493dc);_0xc1ccc7['items']['add'](_0x24aa64);}else{const _0x1a3423=new lt(_0x56cbc4,_0x39bf89),_0x361d1b=cp(_0x56cbc4,{'groupId':'Other','definitions':_0x47f344},_0x50019e);_0x1a3423['children']['add'](_0x361d1b),_0x361d1b['delegate']('execute')['to'](_0x39bf89),_0xc1ccc7['items']['add'](_0x1a3423);}}return _0x39bf89['panelView']['children']['add'](_0xc1ccc7),_0x39bf89['on']('execute',(_0x498615,_0x4cb6d5)=>{const _0xe58946=_0x4245b3['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4cb6d5);'image'===_0xe58946?_0x4245b3['execute']('insertMergeFieldImage',_0x4cb6d5):'block'===_0xe58946?_0x4245b3['execute']('insertMergeFieldBlock',_0x4cb6d5):_0x4245b3['execute']('insertMergeField',_0x4cb6d5),_0x4245b3['editing']['view']['focus']();}),_0x39bf89;});const _0x1ad783=_0x4245b3['config']['get']('mergeFields.previewModes'),_0xc3561a=[];if(_0x1ad783['includes']('$labels')&&_0xc3561a['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':rp(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x1ad783['includes']('$defaultValues')&&_0xc3561a['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':rp(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x1ad783['includes']('$dataSets')){const _0x2015f6=_0x4245b3['config']['get']('mergeFields.dataSets');if(_0x2015f6['length']){for(const _0x343830 of _0x2015f6)_0xc3561a['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':_0x343830['label']||_0x343830['id'],'commandValue':_0x343830['id']})});}}_0x4245b3['ui']['componentFactory']['add']('previewMergeFields',_0x54811a=>{const _0x3691a3=_0x4245b3['commands']['get']('previewMergeFields'),_0x19143b=new _0xe4e0d0();for(const _0x23aa96 of Cr(_0xc3561a))_0x23aa96['model']['bind']('isOn')['to'](_0x3691a3,'value',_0x29475a=>_0x29475a===_0x23aa96['model']['commandValue']),_0x19143b['add'](_0x23aa96);const _0x4f00f4=st(_0x54811a),_0x49a468=rp(_0x54811a,'Merge\x20fields\x20preview');return _0x4f00f4['bind']('isEnabled')['to'](_0x3691a3),gt(_0x4f00f4,_0x19143b,{'ariaLabel':_0x49a468,'role':'menu'}),_0x4f00f4['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x4f00f4['buttonView']['set']({'label':_0x49a468,'ariaLabel':_0x49a468,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x3a3897,'tooltip':!0x0}),this['listenTo'](_0x4f00f4,'execute',_0x3183cf=>{const {commandValue:_0x3b1137}=_0x3183cf['source'];_0x4245b3['execute']('previewMergeFields',_0x3b1137),_0x4245b3['editing']['view']['focus']();}),_0x4f00f4;}),_0x4245b3['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x1d84da=>{const _0x20f429=new rt(_0x1d84da),_0x1d7d7a=_0x4245b3['commands']['get']('previewMergeFields');_0x20f429['buttonView']['set']({'label':rp(_0x1d84da,'Merge\x20fields\x20preview'),'icon':_0x3a3897}),_0x20f429['bind']('isEnabled')['to'](_0x1d7d7a);const _0x1d53cd=new ct(_0x1d84da);_0x1d53cd['set']({'ariaLabel':rp(_0x1d84da,'Merge\x20fields\x20preview')});for(const _0x3e0f45 of Cr(_0xc3561a)){const _0x4e9e15=new lt(_0x1d84da,_0x20f429),_0x26754d=new ot(_0x1d84da);_0x3e0f45['model']['bind']('isOn')['to'](_0x1d7d7a,'value',_0x328bc2=>_0x328bc2===_0x3e0f45['model']['commandValue']),_0x26754d['isToggleable']=!0x0,_0x26754d['bind'](...Object['keys'](_0x3e0f45['model']))['to'](_0x3e0f45['model']),_0x26754d['delegate']('execute')['to'](_0x20f429),_0x26754d['on']('execute',_0x2b5599=>{const {commandValue:_0x3c9cbe}=_0x2b5599['source'];_0x4245b3['execute']('previewMergeFields',_0x3c9cbe),_0x4245b3['editing']['view']['focus']();}),_0x4e9e15['children']['add'](_0x26754d),_0x1d53cd['items']['add'](_0x4e9e15);}return _0x20f429['panelView']['children']['add'](_0x1d53cd),_0x20f429;}),this['_balloon']=_0x4245b3['plugins']['get'](Dt),this['listenTo'](_0x4245b3['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x4245b3['ui']['focusTracker'],'change:isFocused',(_0x53aa06,_0x255789,_0xfff0e5)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0xfff0e5?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xfeee93=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18baf5;for(const _0x309c8e in _0xfeee93){const _0x3d5586=_0x309c8e,_0x39ffcb=_0xfeee93[_0x3d5586];if('mergeFieldsLicenseKeyValid'==_0x39ffcb||'mergeFieldsLicenseKeyInvalid'==_0x39ffcb||'mergeFieldsLicenseKeyExpired'==_0x39ffcb||'mergeFieldsLicenseKeyDomainLimit'==_0x39ffcb||'mergeFieldsLicenseKeyNotAllowed'==_0x39ffcb||'mergeFieldsLicenseKeyEvaluationLimit'==_0x39ffcb||'mergeFieldsLicenseKeyUsageLimit'==_0x39ffcb){delete _0xfeee93[_0x3d5586],_0x18baf5=_0x39ffcb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x18baf5&&_0xfeee93['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x18baf5&&_0xfeee93['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x18baf5&&_0xfeee93['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x18baf5&&_0xfeee93['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x18baf5&&_0xfeee93['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x18baf5&&_0xfeee93['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x11e7db=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x213286=!(!_0x11e7db||!_0x11e7db['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x213286){const _0x2914ff=_0x11e7db['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=rp(this['editor']['locale'],_0x2914ff),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x213286){const _0x2cddf0=_0x11e7db['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](rp(this['editor']['locale'],_0x2cddf0));}}}['_showBalloon'](_0x3b48f9){this['_balloonPanelView']||(this['_balloonPanelView']=new MergeFieldsPanelView(this['editor']['locale']),this['_balloonPanelView']['text']=_0x3b48f9),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x92aa01=this['editor']['editing']['view'];return{'target':()=>{const _0x2fb9d6=_0x92aa01['document']['selection']['getFirstRange'](),_0x49c592=_0x92aa01['domConverter']['mapViewToDom'](_0x2fb9d6['getContainedElement']());return _0x49c592?Array['from'](_0x49c592['getClientRects']())[0x0]:_0x92aa01['domConverter']['viewRangeToDom'](_0x2fb9d6);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0xd0dc8=>_0xd0dc8))return;const _0x1efd16=this['editor']['config']['get']('mergeFields.previewModes');_0x1efd16['indexOf']('$defaultValues')>-0x1&&_0x1efd16['length']>0x1&&(_0x1efd16['splice'](_0x1efd16['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x1efd16));}['_removeMenuBarButtonIfUnnecessary'](){const _0x12c60f=this['editor']['config'];if(_0x12c60f['get']('mergeFields.previewModes')){const _0x323082=_0x12c60f['get']('mergeFields.previewModes');if(0x1===_0x323082['length']){if(_0x323082['includes']('$dataSets'))0x1===_0x12c60f['get']('mergeFields.dataSets')['length']&&_0x458637();else _0x458637();}}function _0x458637(){const _0x3cc421=_0x12c60f['get']('menuBar.removeItems');_0x3cc421?(_0x3cc421['push']('menuBar:previewMergeFields'),_0x12c60f['set']('menuBar.removeItems',_0x3cc421)):_0x12c60f['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x3e6955=this['editor'],_0x2bbe48=_0x3e6955['config']['get']('mention.feeds'),_0x25ccf6=_0x3e6955['config']['get']('mergeFields.prefix');_0x2bbe48['push']({'marker':_0x25ccf6,'dropdownLimit':0xa,'feed':_0x5c2d1a=>_0x3e6955['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x1557cc=>{const _0x216ded=_0x3e6955['commands']['get']('insertMergeField')['isEnabled'],_0x4d3967=_0x3e6955['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x2c49df=_0x3e6955['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x2ec414=_0x3e6955['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x1557cc['id']);if('text'===_0x2ec414&&!_0x216ded)return!0x1;if('block'===_0x2ec414&&!_0x4d3967)return!0x1;if('image'===_0x2ec414&&!_0x2c49df)return!0x1;return(_0x3e6955['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x1557cc['id'])||_0x1557cc['id'])['toLowerCase']()['includes'](_0x5c2d1a['toLowerCase']());}),'itemRenderer':_0x134534=>{const _0x502b02=document['createElement']('button');return _0x502b02['innerHTML']=''+(_0x134534['label']||_0x134534['id']),_0x502b02;}}),_0x3e6955['config']['set']('mention.feeds',_0x2bbe48);}['_overrideMentionExecuteListener'](){const _0x4af747=this['editor'];_0x4af747['commands']['get']('mention')['on']('execute',(_0x1152c1,_0x18b0f9)=>{const _0x3a9d04=_0x18b0f9[0x0];_0x3a9d04['marker']===_0x4af747['config']['get']('mergeFields.prefix')&&_0x4af747['model']['change'](_0x4de140=>{_0x4de140['remove'](_0x3a9d04['range']);const _0x3d44ae=_0x3a9d04['mention']['id'],_0x37b8d8=_0x4af747['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3d44ae);'text'===_0x37b8d8?_0x4af747['execute']('insertMergeField',_0x3d44ae):'block'===_0x37b8d8?_0x4af747['execute']('insertMergeFieldBlock',_0x3d44ae,!0x1):_0x4af747['execute']('insertMergeFieldImage',_0x3d44ae,{'breakBlock':!0x0}),_0x1152c1['stop']();});},{'priority':'high'});}}function op(_0x2d39f1,_0x357c79,_0x42e096,_0xa536a4){const _0x502eff=new _0x447ccc(_0x2d39f1,new Ht());_0x502eff['label']=_0x357c79;for(const _0xb69189 of _0x42e096){let _0x2043c7;_0x2043c7='block'===_0xb69189['type']?_0xa536a4['insertBlock']:'image'===_0xb69189['type']?_0xa536a4['insertImage']:_0xa536a4['insertInline'];const _0x377ae6=ap(_0x2d39f1,_0xb69189,_0x2043c7);_0x377ae6['delegate']('execute')['to'](_0x502eff),_0x502eff['items']['add'](_0x377ae6);}return _0x502eff;}function ap(_0x45e578,_0x5567e8,_0x292382){const _0x331555=new _0x3c0063(_0x45e578),_0x2797c0=new It(),_0x4bb62f=new _0x13bcd9(_0x45e578,_0x2797c0);return _0x331555['children']['add'](_0x4bb62f),_0x4bb62f['set']({'label':_0x5567e8['label']||_0x5567e8['id'],'withText':!0x0}),_0x4bb62f['bind']('isEnabled')['to'](_0x292382),_0x4bb62f['on']('execute',()=>{_0x331555['fire']('execute',_0x5567e8['id']);}),_0x331555;}function cp(_0x3bb523,_0x3f6117,_0x412ee7){const _0x4a2968=new rt(_0x3bb523),_0x4db85f=new ct(_0x3bb523);for(const _0x5281af of _0x3f6117['definitions']){let _0x32bbfc;_0x32bbfc='block'===_0x5281af['type']?_0x412ee7['insertBlock']:'image'===_0x5281af['type']?_0x412ee7['insertImage']:_0x412ee7['insertInline'];const _0x49c2c7=lp(_0x3bb523,_0x5281af,_0x4a2968,_0x32bbfc);_0x4db85f['items']['add'](_0x49c2c7);}return _0x4a2968['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x4a2968['buttonView']['set']({'label':_0x3f6117['groupLabel']||_0x3f6117['groupId']}),_0x4a2968['panelView']['children']['add'](_0x4db85f),_0x4a2968;}function lp(_0x9cdf5f,_0x730db,_0x2fec5a,_0x3c926f){const _0x43901a=new lt(_0x9cdf5f,_0x2fec5a),_0xb0c986=new ot(_0x9cdf5f);return _0xb0c986['set']({'label':_0x730db['label']||_0x730db['id']}),_0x43901a['delegate']('execute')['to'](_0x2fec5a),_0x43901a['children']['add'](_0xb0c986),_0xb0c986['bind']('isEnabled')['to'](_0x3c926f),_0xb0c986['on']('execute',()=>{_0x43901a['fire']('execute',_0x730db['id']);}),_0x43901a;}class MergeFields extends _0x4ac504{static get['requires'](){return[MergeFieldsEditing,MergeFieldsUI];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x4ac504{['_recalculatePageBreaksDebounced']=Vr(()=>this['_recalculatePageBreaks'](),0xc8);['_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 _0x2e934f('pagination-config-not-found',this['editor']['config']);const _0x12495a=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x12495a),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3985fd,_0x1a4f1a,_0x44920b)=>{_0x44920b&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3e1b19){const _0x10f46a=_0x10ee20([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]),_0x3acb2e=0xc82cb1e,_0x208269=0xc854176^_0x3acb2e,_0x7cbe94=window[_0x10ee20([0x44,0x61,0x74,0x65])][_0x10ee20([0x6e,0x6f,0x77])](),_0x579577=_0x3e1b19[_0x10ee20([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26835c=new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f50c2=>{_0x579577[_0x10ee20([0x6f,0x6e,0x63,0x65])](_0x10ee20([0x72,0x65,0x61,0x64,0x79]),_0x2f50c2);}),_0x41220d={[_0x10ee20([0x6b,0x74,0x79])]:_0x10ee20([0x45,0x43]),[_0x10ee20([0x75,0x73,0x65])]:_0x10ee20([0x73,0x69,0x67]),[_0x10ee20([0x63,0x72,0x76])]:_0x10ee20([0x50,0x2d,0x32,0x35,0x36]),[_0x10ee20([0x78])]:_0x10ee20([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]),[_0x10ee20([0x79])]:_0x10ee20([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]),[_0x10ee20([0x61,0x6c,0x67])]:_0x10ee20([0x45,0x53,0x32,0x35,0x36])},_0x4c0fa9=_0x579577[_0x10ee20([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10ee20([0x67,0x65,0x74])](_0x10ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f8908(){let _0x25892c,_0x4cf33e=null,_0x184500=null;try{if(_0x4c0fa9==_0x10ee20([0x47,0x50,0x4c]))return _0x10ee20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25892c=_0x4810b4(),!_0x25892c)return _0x10ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25892c[_0x10ee20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x184500=_0x5da85c(_0x25892c[_0x10ee20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25892c[_0x10ee20([0x6a,0x74,0x69])])),await _0x40cef3()?_0x27ead1()?_0x1564a3()?_0x10ee20([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33f67d()?(_0x25892c[_0x10ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10ee20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cf33e=_0x1b7e26(_0x10ee20([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f8ec7()):_0x10ee20([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10ee20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10ee20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1564a3(){const _0x3337e0=[_0x10ee20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10ee20([0x74,0x72,0x69,0x61,0x6c])][_0x10ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25892c[_0x10ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7cbe94/0x3e8:0xe10*_0x208269;return _0x25892c[_0x10ee20([0x65,0x78,0x70])]<_0x3337e0;}function _0x27ead1(){const _0x1c2b71=_0x25892c[_0x10ee20([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c2b71&&(!!_0x1c2b71[_0x10ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ee20([0x2a]))||!!_0x1c2b71[_0x10ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ee20([0x50,0x41,0x47])));}function _0x33f67d(){const _0x41b2fd=_0x25892c[_0x10ee20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41b2fd||0x0==_0x41b2fd[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13a0e7}=new URL(window[_0x10ee20([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41b2fd[_0x10ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a0e7))return!0x0;const _0x27f2f6=_0x13a0e7[_0x10ee20([0x73,0x70,0x6c,0x69,0x74])](_0x10ee20([0x2e]));return _0x41b2fd[_0x10ee20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325634=>_0x325634[_0x10ee20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ee20([0x2a])))[_0x10ee20([0x6d,0x61,0x70])](_0x577208=>_0x577208[_0x10ee20([0x73,0x70,0x6c,0x69,0x74])](_0x10ee20([0x2e])))[_0x10ee20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a56ae=>_0x2a56ae[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27f2f6[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10ee20([0x6d,0x61,0x70])](_0x43e37d=>Array(_0x27f2f6[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43e37d[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10ee20([0x66,0x69,0x6c,0x6c])](_0x43e37d[0x0]===_0x10ee20([0x2a])?_0x10ee20([0x2a]):'')[_0x10ee20([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43e37d))[_0x10ee20([0x73,0x6f,0x6d,0x65])](_0xb19b2=>_0x27f2f6[_0x10ee20([0x65,0x76,0x65,0x72,0x79])]((_0x5e0cbe,_0x3c0e7f)=>_0xb19b2[_0x3c0e7f]===_0x5e0cbe||_0xb19b2[_0x3c0e7f]===_0x10ee20([0x2a])));}function _0x1f8ec7(){return _0x4cf33e&&_0x184500?new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x487ff2,_0x5f6af6)=>{_0x4cf33e[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x487ff2,_0x5f6af6),_0x184500[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x2c2a7f=>{_0x2c2a7f!=_0x10ee20([0x56,0x61,0x6c,0x69,0x64])&&_0x487ff2(_0x2c2a7f);},_0x5f6af6);}):_0x4cf33e||_0x184500||_0x10ee20([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5da85c(_0x11ed3a,_0x499300){return new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d9fde=>{if(_0x18349d())return _0x3d9fde(_0x10ee20([0x56,0x61,0x6c,0x69,0x64]));_0x4ee33f(),_0x579577[_0x10ee20([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5db066=!0x1;const _0x47228d=_0x288d30();function _0x266f37(_0x3244a4){return!!_0x3244a4&&(typeof _0x3244a4===_0x10ee20([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3244a4===_0x10ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3244a4[_0x10ee20([0x74,0x68,0x65,0x6e])]===_0x10ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3244a4[_0x10ee20([0x63,0x61,0x74,0x63,0x68])]===_0x10ee20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b7e25(_0xe6a57b){_0x37ad99(_0xe6a57b)[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x233b6b=>{if(!_0x233b6b||_0x233b6b[_0x10ee20([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10ee20([0x6f,0x6b]))return _0x10ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3994dd(_0x18d117(_0x47228d+_0x499300))!=_0x233b6b[_0x10ee20([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10ee20([0x56,0x61,0x6c,0x69,0x64]);})[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x22d4a3=>(_0xfb1126(),_0x22d4a3),()=>{const _0xe4b165=_0x100f86();return null==_0xe4b165?(_0xfb1126(),_0x10ee20([0x56,0x61,0x6c,0x69,0x64])):_0x10ee20(_0x7cbe94-_0xe4b165>(0x288e4f1e^_0x3acb2e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x3d9fde)[_0x10ee20([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d9fde(_0x10ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38fde3=0xcb4259e^_0x3acb2e;function _0xfb1126(){const _0x59d0aa=_0x10ee20([0x6c,0x6c,0x63,0x74,0x2d])+_0x3994dd(_0x18d117(_0x11ed3a)),_0x230f98=_0x547799(_0x3994dd(window[_0x10ee20([0x4d,0x61,0x74,0x68])][_0x10ee20([0x63,0x65,0x69,0x6c])](_0x7cbe94/_0x38fde3)));window[_0x10ee20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10ee20([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d0aa,_0x230f98);}function _0x100f86(){const _0x5ed0c2=_0x10ee20([0x6c,0x6c,0x63,0x74,0x2d])+_0x3994dd(_0x18d117(_0x11ed3a)),_0x29e41e=window[_0x10ee20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10ee20([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ed0c2);return _0x29e41e?window[_0x10ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547799(_0x29e41e),0x10)*_0x38fde3:null;}function _0x37ad99(_0x18527f){return new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b2923,_0x10eb92)=>{_0x18527f[_0x10ee20([0x74,0x68,0x65,0x6e])](_0x5b2923,_0x10eb92),window[_0x10ee20([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10eb92,0xc831fde^_0x3acb2e);});}}_0x579577[_0x10ee20([0x6f,0x6e])](_0x10ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3abc53,_0x46ed12)=>{if(_0x46ed12[0x0]!=_0x11ed3a)return _0x3d9fde(_0x10ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46ed12[0x1]={..._0x46ed12[0x1],[_0x10ee20([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47228d};},{[_0x10ee20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10ee20([0x68,0x69,0x67,0x68])}),_0x579577[_0x10ee20([0x6f,0x6e])](_0x10ee20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe73cd4=>{_0x266f37(_0xe73cd4[_0x10ee20([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5db066=!0x0,_0x3b7e25(_0xe73cd4[_0x10ee20([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10ee20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10ee20([0x6c,0x6f,0x77])}),_0x26835c[_0x10ee20([0x74,0x68,0x65,0x6e])](()=>{_0x5db066||_0x3d9fde(_0x10ee20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18349d(){return _0x579577[_0x10ee20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10ee20([0x76,0x69,0x65,0x77])][_0x10ee20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10ee20([0x61,0x75,0x74,0x6f]);}function _0x4ee33f(){_0x579577[_0x10ee20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10ee20([0x76,0x69,0x65,0x77])][_0x10ee20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10ee20([0x61,0x75,0x74,0x6f]);}}function _0x1b7e26(_0x3b803d){const _0x2f636c=[new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6a4415=>setTimeout(_0x6a4415,0xc8bf5d2^_0x3acb2e)),_0x26835c[_0x10ee20([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a045=>{let _0x462584=0x0;_0x579577[_0x10ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ee20([0x6f,0x6e])](_0x10ee20([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17bb6d,_0x315e88)=>{_0x315e88[0x0][_0x10ee20([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x462584++,_0x462584==(0xc82cef6^_0x3acb2e)&&(_0x28a045(),_0x17bb6d[_0x10ee20([0x6f,0x66,0x66])]());});}))];return window[_0x10ee20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10ee20([0x72,0x61,0x63,0x65])](_0x2f636c)[_0x10ee20([0x74,0x68,0x65,0x6e])](()=>_0x3b803d);}async function _0xddd013(){await _0x26835c,_0x579577[_0x10ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ee20([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36f04c,_0x579577[_0x10ee20([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ee20([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36f04c,_0x579577[_0x10ee20([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10ee20([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47dc4b(_0x300766){const _0x30cb00=_0x406566();_0x579577[_0x30cb00]=_0x10ee20([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x300766,_0x300766!=_0x10ee20([0x56,0x61,0x6c,0x69,0x64])&&_0xddd013();}function _0x406566(){const _0x15bfd7=window[_0x10ee20([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10ee20([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10ee20([0x6e,0x6f,0x77])]())[_0x10ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10ee20([0x2e]),'');let _0x1d2792=_0x10ee20([0x49]);for(let _0x5d3425=0x0;_0x5d3425<_0x15bfd7[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d3425+=0x2){let _0x34d305=window[_0x10ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15bfd7[_0x10ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d3425,_0x5d3425+0x2));_0x34d305>=_0x10f46a[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34d305-=_0x10f46a[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d2792+=_0x10f46a[_0x34d305];}return _0x1d2792;}function _0x4810b4(){const _0x317c8d=_0x4c0fa9[_0x10ee20([0x73,0x70,0x6c,0x69,0x74])](_0x10ee20([0x2e]));if(0x3!=_0x317c8d[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e45d1(_0x317c8d[0x1]);function _0x5e45d1(_0x3ce8f6){const _0x4d04d7=_0x17653a(_0x3ce8f6);return _0x4d04d7&&_0x2e6d31()?_0x4d04d7:null;function _0x2e6d31(){const _0x2b9dd7=_0x4d04d7[_0x10ee20([0x6a,0x74,0x69])],_0x30213e=window[_0x10ee20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b9dd7[_0x10ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b9dd7[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x481d45={..._0x4d04d7,[_0x10ee20([0x6a,0x74,0x69])]:_0x2b9dd7[_0x10ee20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b9dd7[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x481d45[_0x10ee20([0x76,0x63])],_0x18d117(_0x481d45)==_0x30213e;}}}async function _0x40cef3(){let _0x548e83=!0x0;try{const _0x191f73=_0x4c0fa9[_0x10ee20([0x73,0x70,0x6c,0x69,0x74])](_0x10ee20([0x2e])),[_0xb6b82e,_0x192ea5,_0x5e9eec]=_0x191f73;return _0xe1fd68(_0xb6b82e),await _0x6c0444(_0xb6b82e,_0x192ea5,_0x5e9eec),_0x548e83;}catch{return!0x1;}function _0xe1fd68(_0x57efc0){const _0x3a1682=_0x17653a(_0x57efc0);_0x3a1682&&_0x3a1682[_0x10ee20([0x61,0x6c,0x67])]==_0x10ee20([0x45,0x53,0x32,0x35,0x36])||(_0x548e83=!0x1);}async function _0x6c0444(_0x41c07b,_0x3f732d,_0x5c4ef9){const _0x32893c=window[_0x10ee20([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10ee20([0x66,0x72,0x6f,0x6d])](_0x45af06(_0x5c4ef9),_0x14be3a=>_0x14be3a[_0x10ee20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cc15b=new window[(_0x10ee20([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10ee20([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41c07b+_0x10ee20([0x2e])+_0x3f732d),_0x5b0ee1=window[_0x10ee20([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10ee20([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b0ee1)return;const _0x40988f=await _0x5b0ee1[_0x10ee20([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10ee20([0x6a,0x77,0x6b]),_0x41220d,{[_0x10ee20([0x6e,0x61,0x6d,0x65])]:_0x10ee20([0x45,0x43,0x44,0x53,0x41]),[_0x10ee20([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10ee20([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10ee20([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b0ee1[_0x10ee20([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10ee20([0x6e,0x61,0x6d,0x65])]:_0x10ee20([0x45,0x43,0x44,0x53,0x41]),[_0x10ee20([0x68,0x61,0x73,0x68])]:{[_0x10ee20([0x6e,0x61,0x6d,0x65])]:_0x10ee20([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40988f,_0x32893c,_0x1cc15b)||(_0x548e83=!0x1);}}function _0x17653a(_0x1093e2){return _0x1093e2[_0x10ee20([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10ee20([0x65,0x79]))?JSON[_0x10ee20([0x70,0x61,0x72,0x73,0x65])](_0x45af06(_0x1093e2)):null;}function _0x45af06(_0x3074c1){return window[_0x10ee20([0x61,0x74,0x6f,0x62])](_0x3074c1[_0x10ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10ee20([0x2b]))[_0x10ee20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10ee20([0x2f])));}function _0x18d117(_0x2f3072){let _0xf373bb=0x1505;function _0x16f5b3(_0x5c014d){for(let _0x465767=0x0;_0x465767<_0x5c014d[_0x10ee20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x465767++){const _0x25af07=_0x5c014d[_0x10ee20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x465767);_0xf373bb=(_0xf373bb<<0x5)+_0xf373bb+_0x25af07,_0xf373bb&=_0xf373bb;}}function _0x1d6959(_0x16d866){Array[_0x10ee20([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16d866)?_0x16d866[_0x10ee20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d6959):_0x16d866&&typeof _0x16d866==_0x10ee20([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10ee20([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16d866)[_0x10ee20([0x73,0x6f,0x72,0x74])]()[_0x10ee20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e97d7,_0xc4e3fe])=>{_0x16f5b3(_0x5e97d7),_0x1d6959(_0xc4e3fe);}):_0x16f5b3(window[_0x10ee20([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16d866));}return _0x1d6959(_0x2f3072),_0xf373bb>>>0x0;}function _0x3994dd(_0x31c780){return _0x31c780[_0x10ee20([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10ee20([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10ee20([0x30]));}function _0x547799(_0xef4c67){return _0xef4c67[_0x10ee20([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10ee20([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10ee20([0x6a,0x6f,0x69,0x6e])]('');}function _0x36f04c(){}function _0x10ee20(_0x54167c){return _0x54167c['map'](_0x459fc2=>String['fromCharCode'](_0x459fc2))['join']('');}_0x47dc4b(await _0x2f8908());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x125d2d=this['editor'],_0x7033d1=_0x125d2d['editing']['view'],_0x2c80a6=this['_getAttachedDomRoot']();if(!_0x2c80a6||0x0===_0x2c80a6['childElementCount'])return void _0x125d2d['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x52a361,pageHeight:_0x5b364b}=_0x125d2d['config']['get']('pagination'),{top:_0x4810e9,left:_0x40c22f,bottom:_0x3742e1,right:_0x4c0e66}=this['_configuredPaddings'];this['_pagesContainer']=new _0x268b55(_0x125d2d['locale']);const _0x161619=this['_pagesContainer'];_0x161619['set']('class',''),_0x161619['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x52a361,'width':_0x52a361,'height':'calc(\x20'+_0x5b364b+'\x20-\x20'+_0x4810e9+'\x20-\x20'+_0x3742e1+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4c0e66+'\x200\x20'+_0x40c22f,'columnGap':'calc('+_0x40c22f+'\x20+\x20'+_0x4c0e66+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x161619['bindTemplate']['to']('class')}}),_0x161619['render'](),_0x2c80a6['parentNode']['insertBefore'](_0x161619['element'],_0x2c80a6['nextSibling']),this['listenTo'](_0x7033d1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x404a51 of this['editor']['editing']['view']['domRoots']['values']())if(_0x404a51['ownerDocument']['body']['contains'](_0x404a51))return _0x404a51;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1e6a09=this['editor']['editing']['view'],_0x28999f=this['_pagesContainer'],_0xfcd56c=this['_getAttachedDomRoot']();if(!_0xfcd56c)return Promise['resolve']();for(_0x28999f['class']=['ck-reset','ck-pagination-view',..._0xfcd56c['classList']]['join']('\x20');_0x28999f['element']['firstChild'];)_0x28999f['element']['firstChild']['remove']();const _0x426bec=Array['from'](_0x1e6a09['domRoots']);_0x426bec['sort'](([,_0x5423ad],[,_0xc40c87])=>_0x5423ad['compareDocumentPosition'](_0xc40c87)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2083ed,_0x5ddee2]of _0x426bec){const _0x375165=_0x5ddee2['cloneNode'](!0x0);'attributeStyleMap'in _0x375165&&_0x375165['attributeStyleMap']['clear'](),_0x375165['dataset']['rootName']=_0x2083ed,_0x375165['className']='ck-content\x20ck-pagination_enabled',_0x375165['removeAttribute']('id'),_0x375165['tabIndex']=-0x1,_0x28999f['element']['append'](_0x375165);}const _0x269419=Array['from'](_0x28999f['element']['querySelectorAll']('img'));return function(_0x1a16dd){return Promise['all'](_0x1a16dd['map'](_0x4e9d05=>Promise['race']([dp(_0x4e9d05),fp(0x3e8)])));}(_0x269419)['then'](()=>{for(const _0x4d67cb of _0x269419['filter'](_0x285b34=>!_0x285b34['closest']('table')))if(_0x4d67cb['offsetParent']){const _0x44a27c=_0x81fd87['window']['getComputedStyle'](_0x4d67cb),_0x2e70fa=_0x81fd87['document']['createElement']('span');for(const _0x828dc of _0x44a27c)_0x2e70fa['style']['setProperty'](_0x828dc,_0x44a27c[_0x828dc]);_0x2e70fa['style']['backgroundImage']='url(\x20'+_0x4d67cb['src']+'\x20)',_0x2e70fa['style']['breakInside']='avoid','PICTURE'==_0x4d67cb['parentElement']?.['tagName']?_0x4d67cb['parentElement']['replaceWith'](_0x2e70fa):_0x4d67cb['replaceWith'](_0x2e70fa);}return new Promise(_0x1d2ed6=>_0x81fd87['window']['requestAnimationFrame'](()=>_0x1d2ed6()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x5326b2=this['_pagesContainer']['element'];if(!_0x5326b2['ownerDocument']['body']['contains'](_0x5326b2))return;const _0x5ebae4=new _0x20d411(_0x5326b2)['excludeScrollbarsAndBorders'](),_0x519ac8=Math['floor'](_0x5ebae4['width']+0x64),_0x51962e=Op(_0x5326b2,Math['floor'](_0x5ebae4['left']-_0x5326b2['scrollLeft']),_0x519ac8,_0x5ebae4['height'])['map'](_0x49e8e5=>this['_mapPageStarterInfoToPageBreakInfo'](_0x49e8e5))['filter'](_0x45c88f=>!0x1!==_0x45c88f);_0x51962e['every'](_0x157745=>!!_0x157745)&&(this['pageBreaks']=_0x51962e);}['_mapPageStarterInfoToPageBreakInfo'](_0x555c28){const _0x3582e2=this['editor']['editing']['view'],_0x556103=this['editor']['editing']['mapper'],_0x45bfac=_0x3582e2['domConverter'],_0x295fae=_0x555c28['path']['shift'](),_0x43cdd5=this['_pagesContainer']['element']['childNodes'][_0x295fae]['dataset']['rootName'],_0x14b959=_0x3582e2['getDomRoot'](_0x43cdd5);if(!_0x14b959)return null;const _0x3c53fa=function(_0x5d8a59,_0x1496b6){let _0x4dc1dc=_0x5d8a59;for(const _0x15dd43 of _0x1496b6['path']){if(!_0x4dc1dc)return null;_0x4dc1dc=_0x4dc1dc['childNodes'][_0x15dd43];}return _0x4dc1dc;}(_0x14b959,_0x555c28);if(!_0x3c53fa)return null;const _0x3d67c9=_0x45bfac['domPositionToView'](_0x3c53fa,_0x555c28['textOffset']||0x0);return _0x3d67c9?'manual'==_0x555c28['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x3d67c9,_0x3c53fa):'text'==_0x555c28['type']&&_0x556103['toModelPosition'](_0x3d67c9)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x3d67c9,_0x3c53fa,_0x555c28['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x3d67c9,_0x3c53fa,_0x555c28['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x57fe34,_0x47ba6d){const _0x269e82=this['editor']['model'],_0x21cae9=this['editor']['editing']['mapper']['toModelElement'](_0x57fe34['parent']),_0x4078aa=_0x269e82['createRangeOn'](_0x21cae9);return new PageBreakInfo({'type':'manual','modelRange':_0x4078aa,'domNode':_0x47ba6d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x553959,_0x5267de,_0x36bcd5){const _0x47cc27=this['editor']['model'],_0x5788d9=this['editor']['editing']['mapper'],_0x1f5aab=this['editor']['editing']['view']['domConverter'];if(_0x36bcd5>=_0x5267de['length'])return null;const _0x3dd992=_0x5788d9['toModelPosition'](_0x553959),_0x3784a4=_0x47cc27['createRange'](_0x3dd992),_0x290a5d=_0x5788d9['findMappedViewAncestor'](_0x553959),_0x76f9a3=_0x1f5aab['mapViewToDom'](_0x290a5d);return new PageBreakInfo({'type':'text','modelRange':_0x3784a4,'domNode':_0x5267de,'offset':hp(_0x5267de,_0x36bcd5,_0x76f9a3)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x41db56,_0x1967c0,_0x592395){const _0x48168b=this['editor']['model'],_0x361ac0=this['editor']['editing'],_0xfbae25=_0x361ac0['mapper'],_0x3c171b=_0x361ac0['view']['domConverter'],_0x36a75a=_0xfbae25['findMappedViewAncestor'](_0x41db56),_0x3e11e4=_0xfbae25['toModelElement'](_0x36a75a);if(!_0x3e11e4||_0x3e11e4['is']('element','$root'))return!0x1;const _0x3f9b4b=function(_0x3a7618){const _0x16cd6b=_0x3a7618['parent'],_0x309812=_0x16cd6b['root']['document']['model'],_0x212ac7=_0x16cd6b['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x103f36=null;for(const _0x225eb7 of _0x212ac7){if(_0x225eb7['is']('rootElement'))return _0x103f36;if(!_0x309812['createPositionBefore'](_0x225eb7)['isTouching'](_0x3a7618))return _0x103f36;_0x103f36=_0x225eb7;}}(_0x48168b['createPositionBefore'](_0x3e11e4)),_0x2cef85=_0x3f9b4b||_0x3e11e4;let _0x59877f=_0xfbae25['toViewElement'](_0x2cef85),_0x5557dc=_0x48168b['createRangeOn'](_0x2cef85);const _0x343aa6=_0x48168b['createPositionBefore'](_0x2cef85)['nodeBefore'];if(_0x343aa6&&_0x343aa6['is']('element','imageBlock')){const _0x1569c0=_0xfbae25['toViewElement'](_0x343aa6),_0x293920=_0x3c171b['mapViewToDom'](_0x1569c0),_0x125cb9=_0x81fd87['window']['getComputedStyle'](_0x293920)['float'];'left'!=_0x125cb9&&'right'!=_0x125cb9||(_0x5557dc=_0x48168b['createRangeOn'](_0x343aa6));}for(;_0x59877f['parent']!==_0x59877f['root']&&0x0===_0x59877f['index'];)_0x59877f=_0x59877f['parent'];const _0x30cebe=new _0x20d411(vp(_0x1967c0)?_0x1967c0:mp(_0x1967c0)),_0x201fc9=_0x592395?_0x30cebe['height']-_0x592395:0x0,_0x44b6a1=_0x3c171b['mapViewToDom'](_0x59877f),_0x419ccc=new _0x20d411(_0x44b6a1);return new PageBreakInfo({'type':'element','modelRange':_0x5557dc,'domNode':_0x44b6a1,'offset':Math['round'](_0x201fc9)||_0x36a75a!=up(_0x41db56)?_0x201fc9+_0x30cebe['top']-_0x419ccc['top']:0x0});}get['_configuredPaddings'](){const _0x2e7ad7=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2e7ad7);}static['_findPageStarterInfos'](_0x16d9ac,_0x16709a,_0x1ddd89,_0x46de57,_0x1414aa){return Op(_0x16d9ac,_0x16709a,_0x1ddd89,_0x46de57,_0x1414aa);}}class PageBreakInfo{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x580ea8,modelRange:_0x41969b,domNode:_0xfa313f,offset:_0x47f681}){this['type']=_0x580ea8,this['modelRange']=_0x41969b,this['_domNode']=_0xfa313f,this['_offset']=_0x47f681;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5aedef=new _0x20d411(vp(this['_domNode'])?this['_domNode']:mp(this['_domNode']));return'manual'==this['type']?_0x5aedef['top']+_0x5aedef['height']/0x2:_0x5aedef['top']+this['_offset'];}}function hp(_0x522e20,_0x14890e,_0x2673d9){const _0x1fea21=mp(_0x522e20),_0x371147=function(_0x339388){const _0x1a29cd=_0x81fd87['document']['createRange']();return _0x1a29cd['selectNodeContents'](_0x339388),_0x1a29cd;}(_0x2673d9);let _0x2a53d;_0x2a53d=0x0==_0x14890e?pp(_0x371147['startContainer'],_0x371147['startOffset'],_0x522e20['parentNode'],Array['from'](_0x522e20['parentNode']['childNodes'])['indexOf'](_0x522e20)):pp(_0x371147['startContainer'],_0x371147['startOffset'],_0x522e20,_0x14890e);const _0x40026a=pp(_0x522e20,_0x14890e,_0x371147['endContainer'],_0x371147['endOffset']),_0x556aed=new _0x20d411(_0x2a53d)['bottom'];return(new _0x20d411(_0x40026a)['top']+_0x556aed)/0x2-new _0x20d411(_0x1fea21)['top'];}function up(_0x1696c4){let _0x1f9cbd=_0x1696c4['parent'];for(;_0x1f9cbd['is']('$text')||_0x1f9cbd['is']('attributeElement');)_0x1f9cbd=_0x1f9cbd['parent'];return _0x1f9cbd;}function dp(_0x8d06cd){return _0x8d06cd['hasAttribute']('width')&&_0x8d06cd['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1863ae=>{function _0x229372(){_0x8d06cd['removeEventListener']('load',_0x229372),_0x8d06cd['removeEventListener']('error',_0x229372),_0x1863ae();}_0x8d06cd['complete']?_0x1863ae():(_0x8d06cd['addEventListener']('load',_0x229372),_0x8d06cd['addEventListener']('error',_0x229372));});}function fp(_0x157b22){return new Promise(_0x239a83=>setTimeout(_0x239a83,_0x157b22));}function mp(_0x5ad00e){const _0x5ce99a=_0x81fd87['document']['createRange']();return _0x5ce99a['selectNode'](_0x5ad00e),_0x5ce99a;}function gp(_0xa275d5,_0xaecb01,_0x4457a5){const _0x22ad7c=_0x81fd87['document']['createRange']();return _0x22ad7c['setStart'](_0xa275d5,_0xaecb01),_0x22ad7c['setEnd'](_0xa275d5,_0x4457a5),_0x22ad7c;}function pp(_0x420122,_0x29d235,_0x1111cb,_0x2c6fa2){const _0x33a0f6=_0x81fd87['document']['createRange']();return _0x33a0f6['setStart'](_0x420122,_0x29d235),_0x33a0f6['setEnd'](_0x1111cb,_0x2c6fa2),_0x33a0f6;}function Op(_0x2e1a2f,_0x4b7a86,_0x400252,_0x3ba074,_0x2976db){const _0x3c87d3=[];for(const [_0x37cafb,_0x472948]of _0x2e1a2f['childNodes']['entries']()){let _0x4e0af6=[];vp(_0x472948)&&_0x472948['offsetParent']&&['static','relative']['includes'](_0x81fd87['window']['getComputedStyle'](_0x472948)['position'])?_0x4e0af6=wp(_0x472948,_0x37cafb,_0x4b7a86,_0x400252,_0x3ba074,_0x2976db):Tp(_0x472948)&&(_0x4e0af6=bp(_0x472948,_0x37cafb,_0x4b7a86,_0x400252,_0x2976db)),_0x4e0af6['length']&&(_0x3c87d3['push'](..._0x4e0af6),_0x4b7a86+=_0x4e0af6['length']*_0x400252,_0x2976db=!0x1);}return _0x3c87d3;}function wp(_0x1a7c53,_0x3f5192,_0x1cbed1,_0x30e06f,_0x4fed81,_0x60ec2c){const _0x5e56ff=[];var _0x31640e;if((_0x31640e=_0x1a7c53['previousSibling'])&&vp(_0x31640e)&&Boolean(_0x31640e['classList']['contains']('page-break')||_0x31640e['closest']('.page-break'))&&(_0x5e56ff['push']({'type':'manual','offset':0x0,'path':[_0x3f5192-0x1]}),_0x60ec2c=!0x0),'table-row'==_0x81fd87['window']['getComputedStyle'](_0x1a7c53)['display']){let _0x133f34=0x0,_0xdcbd7c=!0x1;for(const _0x33328f of _0x1a7c53['getClientRects']())_0x133f34+=_0x33328f['height'],_0x33328f['left']>=_0x1cbed1&&(_0xdcbd7c=!0x0);if(_0x133f34<_0x4fed81&&_0xdcbd7c)return _0x60ec2c||_0x5e56ff['push']({'type':'element','offset':0x0,'path':[_0x3f5192]}),_0x5e56ff;}const _0x1ba897=_0x1a7c53['closest']('figure.image');if(_0x1ba897&&function(_0x445c60){let _0x2ac861=!0x1;const _0x4e3bbd=_0x445c60['parentElement'],_0x113f37=_0x4e3bbd['dataset']['rootName'],_0x10c88b=_0x445c60['nextElementSibling'],_0xb6e938=_0x445c60['previousElementSibling'],_0x6c37f6=_0x10c88b&&_0x81fd87['window']['getComputedStyle'](_0x10c88b)['float'],_0x247370=_0x10c88b&&'ck-fake-selection-container'===_0x10c88b['className'];!_0x113f37||_0x10c88b||_0xb6e938||(_0x2ac861=!0x0),_0x113f37&&!_0xb6e938&&_0x247370&&(_0x2ac861=!0x0),_0x113f37&&!_0xb6e938&&'none'!==_0x6c37f6&&(_0x2ac861=!0x0);if(_0x2ac861)return!0x1;return!0x0;}(_0x1ba897)){const _0x2e316c=_0x81fd87['window']['getComputedStyle'](_0x1ba897)['float'];if('left'==_0x2e316c||'right'==_0x2e316c)return _0x5e56ff;}const _0x3e28e8=Op(_0x1a7c53,_0x1cbed1,_0x30e06f,_0x4fed81,_0x60ec2c);if(_0x3e28e8['length']){for(const _0x3bace4 of _0x3e28e8)_0x5e56ff['push']({'type':_0x3bace4['type'],'offset':_0x3bace4['offset'],'textOffset':_0x3bace4['textOffset'],'path':[_0x3f5192,..._0x3bace4['path']]}),_0x1cbed1+=_0x30e06f,_0x60ec2c=!0x1;return _0x5e56ff;}return _0x5e56ff['push'](...function(_0xfa0fbc,_0x44af19,_0xae93b5,_0x5a3fe2,_0x18fbd1){const _0x8f49fc=[];if('table-cell'==_0x81fd87['window']['getComputedStyle'](_0xfa0fbc)['display'])return[];const _0x7c0b53=[];for(const _0x41c4d6 of _0xfa0fbc['getClientRects']())if(_0x41c4d6['left']>=_0xae93b5){for(const _0x67ce02 of _0x7c0b53)_0x67ce02['height']+=_0x41c4d6['height'];_0x7c0b53['push']({'height':_0x41c4d6['height']}),_0xae93b5+=_0x5a3fe2;}for(const _0x3989ba of _0x7c0b53)_0x18fbd1||_0x8f49fc['push']({'type':'element','offset':_0x3989ba['height'],'textOffset':0x0,'path':[_0x44af19]}),_0x18fbd1=!0x1;return _0x8f49fc;}(_0x1a7c53,_0x3f5192,_0x1cbed1,_0x30e06f,_0x60ec2c)),_0x5e56ff;}function bp(_0x56d60d,_0x35bf7b,_0x49ebfe,_0x29726b,_0x11578e){const _0x4a9b3b=mp(_0x56d60d),_0x1066f5=[];let _0x35c9fc=0x0;for(const _0x463f65 of _0x4a9b3b['getClientRects']())if(_0x463f65['left']>=_0x49ebfe){const _0x2eee7d=yp(_0x56d60d,_0x35c9fc,_0x49ebfe,_0x29726b);_0x11578e||_0x1066f5['push']({'type':'text','path':[_0x35bf7b],'textOffset':_0x2eee7d}),_0x35c9fc=_0x2eee7d,_0x49ebfe+=_0x29726b,_0x11578e=!0x1;}return _0x1066f5;}function yp(_0x171b23,_0x461859,_0xa9eca9,_0x47e6e8){let _0x5f2a5a=_0x461859,_0x5baff5=_0x171b23['length'];for(;_0x5baff5-_0x5f2a5a>0x1;){const _0x5c2706=Math['ceil']((_0x5f2a5a+_0x5baff5)/0x2);_p(gp(_0x171b23,_0x5f2a5a,_0x5c2706),_0xa9eca9,_0x47e6e8)?_0x5baff5=_0x5c2706:_0x5f2a5a=_0x5c2706;}return _0x5f2a5a;}function _p(_0x22a452,_0x4a0878,_0x22ae67){for(const _0xf01366 of _0x22a452['getClientRects']())if(_0xf01366['left']>=_0x4a0878&&_0xf01366['left']<_0x4a0878+_0x22ae67)return!0x0;return!0x1;}function vp(_0x16f915){return _0x16f915['nodeType']==Node['ELEMENT_NODE'];}function Tp(_0x4ac826){return _0x4ac826['nodeType']==Node['TEXT_NODE'];}const Ep=/* #__PURE__ -- @preserve */
_0x3196f3('px');let Ap=class LineView extends _0x268b55{constructor(){super();const _0x366d3f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x366d3f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x366d3f['if']('isVisible','ck-hidden',_0x5f23d7=>!_0x5f23d7)],'style':{'left':_0x366d3f['to']('left',_0x3b7381=>Ep(_0x3b7381)),'top':_0x366d3f['to']('top',_0x3b2063=>Ep(_0x3b2063)),'width':_0x366d3f['to']('width',_0x11b144=>Ep(_0x11b144))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x551e1a){this['_viewCollection']=_0x551e1a['ui']['view']['body'];}['destroy'](){for(const _0x43c7ba of this['_hiddenLines'])_0x43c7ba['destroy']();}['cleanLines'](){for(const _0x4129de of this['_visibleLines'])_0x4129de['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4129de);this['_visibleLines']['clear']();}['showLine'](_0x40ff1f,_0x4cdd22,_0x51c5b8,_0x26bd20){let _0x7ee4f9;this['_hiddenLines']['size']?(_0x7ee4f9=_0x254002(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x7ee4f9)):_0x7ee4f9=new Ap(),_0x7ee4f9['set']({'pageNumber':_0x26bd20,'left':_0x40ff1f,'top':_0x4cdd22,'width':_0x51c5b8}),_0x7ee4f9['isVisible']=!0x0,this['_viewCollection']['has'](_0x7ee4f9)||this['_viewCollection']['add'](_0x7ee4f9),this['_visibleLines']['add'](_0x7ee4f9);}['setViewCollection'](_0x47921b){for(const _0x5b175f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x5b175f)&&this['_viewCollection']['remove'](_0x5b175f);this['_viewCollection']=_0x47921b;}}const Sp='ck-pagination_enabled';class PaginationRenderer extends _0x4ac504{['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'](Sp),this['on']('change:isEnabled',(_0x122511,_0xc25065,_0x22e5ad)=>{_0x22e5ad||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](Sp,_0x22e5ad);});}['destroy'](){this['_toggleEditingRootsClass'](Sp,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3982c9){if(!this['isEnabled'])return;const _0x4fd9ad=_0x3982c9>0x1?this['_getPageBreakLineOffset'](_0x3982c9-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4fd9ad-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1036b5['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x378dc9=this['editor'],_0x5730fc=this['_getAttachedDomRoot']();_0x5730fc?(this['_scrollableEditingRootDomAncestor']&&_0x378dc9['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x54a8bd){let _0x3751e4=_0x54a8bd;do{_0x3751e4=_0x3751e4['parentElement'];const _0x127a78=_0x81fd87['window']['getComputedStyle'](_0x3751e4)['overflowY'];if('auto'==_0x127a78||'scroll'==_0x127a78)break;}while('BODY'!=_0x3751e4['tagName']);return _0x3751e4;}(_0x5730fc),_0x378dc9['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3af96d(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x378dc9['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xd09981=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xd09981['ui']['view']['listenTo'](_0x81fd87['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xd09981['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3f5676 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3f5676['ownerDocument']['body']['contains'](_0x3f5676))return _0x3f5676;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x1b21dd=this['_getAttachedDomRoot'](),_0x55d671=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x1b21dd||0x1==_0x55d671['length'])return void(this['pageNumber']=0x1);const _0x1ebc1c=new _0x20d411(_0x1b21dd)['excludeScrollbarsAndBorders'](),_0x5d27af=new _0x20d411(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x46806f=_0x5d27af['top']+_0x5d27af['height']/0x3;let _0x38e96f=!0x1;const _0x521daf=[];for(let _0x3db828=0x1;_0x3db828<_0x55d671['length'];_0x3db828++){const _0x20426e=this['_getPageBreakLineOffset'](_0x3db828,_0x5d27af);if(!_0x20426e)continue;const _0x47f0af=_0x5d27af['top']+_0x20426e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x521daf['push']({'pageOffsetTop':_0x47f0af,'domRootRect':_0x1ebc1c,'domScrollableRect':_0x5d27af,'pageNumber':_0x3db828}),_0x47f0af>_0x46806f&&!_0x38e96f&&(this['pageNumber']=_0x3db828,_0x38e96f=!0x0);}this['_renderPageBreakLines'](_0x521daf),_0x38e96f||(this['pageNumber']=_0x55d671['length']);}['_renderPageBreakLines'](_0x150bdf){const {scrollX:_0x5302cf,scrollY:_0x2f6c7c}=_0x81fd87['window'];if(_0x150bdf['length']){for(const {domScrollableRect:_0x134c20,pageOffsetTop:_0x4aceeb,domRootRect:_0x20b7f2,pageNumber:_0x43e317}of _0x150bdf)_0x134c20['top']<_0x4aceeb&&_0x4aceeb<_0x134c20['bottom']&&this['linesRepository']['showLine'](_0x20b7f2['left']+_0x5302cf,_0x4aceeb+_0x2f6c7c,_0x20b7f2['width'],_0x43e317+0x1);}}['_getPageBreakLineOffset'](_0x3a004a,_0x95ce23=null){const _0x21a5d3=this['_paginationLookupPlugin']['pageBreaks'][_0x3a004a]['offset'];return _0x21a5d3?(_0x95ce23||(_0x95ce23=new _0x20d411(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x21a5d3-_0x95ce23['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xbe5505,_0x3cc7fb=!0x0){const _0x3635ae=this['editor']['editing']['view'];_0x3635ae['change'](_0x2ecd83=>{for(const _0xacfbdf of _0x3635ae['document']['roots'])_0x3cc7fb?_0x2ecd83['addClass'](_0xbe5505,_0xacfbdf):_0x2ecd83['removeClass'](_0xbe5505,_0xacfbdf);});}}function Ip(_0x4de67f,_0x3ac9fc,..._0x303f58){const t=_0x4de67f['t'];switch(_0x3ac9fc){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)',..._0x303f58);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 _0x3ac9fc;}}class PaginationEditing extends _0x4ac504{['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 _0x58b89b=this['editor']['plugins']['get']('Pagination'),_0x1660c=this['editor']['plugins']['get'](PaginationLookup),_0x2a2917=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x58b89b),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2a2917),this['listenTo'](_0x1660c,'change:pageBreaks',(_0x4ffe0d,_0x5e264a,_0x9504f4,_0x3362f5)=>{this['totalPages']=_0x9504f4['length'],this['_updatePageBreakMarkers'](_0x9504f4,_0x3362f5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51d02e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e67b0;for(const _0x3024c0 in _0x51d02e){const _0x37fc34=_0x3024c0,_0x50407e=_0x51d02e[_0x37fc34];if('paginationLicenseKeyValid'==_0x50407e||'paginationLicenseKeyInvalid'==_0x50407e||'paginationLicenseKeyExpired'==_0x50407e||'paginationLicenseKeyDomainLimit'==_0x50407e||'paginationLicenseKeyNotAllowed'==_0x50407e||'paginationLicenseKeyEvaluationLimit'==_0x50407e||'paginationLicenseKeyUsageLimit'==_0x50407e){delete _0x51d02e[_0x37fc34],_0x3e67b0=_0x50407e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e67b0&&_0x51d02e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e67b0&&_0x51d02e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e67b0&&_0x51d02e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e67b0&&_0x51d02e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e67b0&&_0x51d02e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e67b0&&_0x51d02e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3cbc97){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x3cbc97));}['moveSelectionToPage'](_0x47b2df){if(!this['isEnabled'])return;const _0x5baee3=this['editor'],_0x1d1f70=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x47b2df-0x1];_0x1d1f70&&_0x5baee3['model']['change'](_0x292c9e=>{switch(_0x1d1f70['type']){case'manual':{const _0x162e5a=_0x5baee3['model']['schema']['getNearestSelectionRange'](_0x1d1f70['modelRange']['end'],'forward');_0x292c9e['setSelection'](_0x162e5a);break;}case'element':{const _0x550621=_0x5baee3['model']['schema']['getNearestSelectionRange'](_0x1d1f70['modelRange']['start'],'forward');_0x292c9e['setSelection'](_0x550621);break;}case'text':{const _0x189ed2=_0x1d1f70['modelRange']['start'];if(_0x189ed2['textNode']&&'\x20'===_0x189ed2['textNode']['data'][_0x189ed2['offset']]){const _0x3679ed=_0x292c9e['createPositionAt'](_0x189ed2['parent'],_0x189ed2['offset']+0x1);_0x292c9e['setSelection'](_0x3679ed);}else _0x292c9e['setSelection'](_0x1d1f70['modelRange']);}}_0x5baee3['editing']['view']['focus']();});}['goToNextPage'](){const _0x2a6806=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2a6806),this['scrollToPage'](_0x2a6806);}['goToPreviousPage'](){const _0x1b3c3c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1b3c3c),this['scrollToPage'](_0x1b3c3c);}['_updatePageBreakMarkers'](_0x25738b,_0x4efc87){const _0x16165f=this['editor']['model'];this['isEnabled']&&_0x16165f['change'](_0x45eb5e=>{for(let _0x3cd694=0x1;_0x3cd694<_0x25738b['length'];_0x3cd694++){const _0x51f69f=_0x25738b[_0x3cd694]['modelRange'],_0x24a44f='pagination:'+(_0x3cd694+0x1);_0x16165f['markers']['has'](_0x24a44f)?_0x45eb5e['updateMarker'](_0x24a44f,{'range':_0x51f69f}):_0x45eb5e['addMarker'](_0x24a44f,{'range':_0x51f69f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x53b263=_0x25738b['length'];_0x53b263<_0x4efc87['length'];_0x53b263++){const _0x56d574='pagination:'+(_0x53b263+0x1);_0x16165f['markers']['has'](_0x56d574)&&_0x45eb5e['removeMarker'](_0x56d574);}});}['_setUpDataDowncastConversion'](){const _0x11a9d9='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2c2f1e=>{_0x2c2f1e['on']('addMarker:'+_0x11a9d9,(_0x264f61,{markerRange:_0x6f4571,markerName:_0x29ef86},_0x5cd4f0)=>{if(!_0x5cd4f0['options']['pagination'])return;if(!_0x5cd4f0['consumable']['consume'](_0x6f4571,_0x264f61['name']))return;const _0x5b01be=_0x6f4571['getContainedElement']();let _0x407cd1=_0x5b01be?_0x5cd4f0['mapper']['toViewElement'](_0x5b01be):null;if(!_0x407cd1){const _0x52742c=_0x6f4571['start'];if(_0x5cd4f0['schema']['checkChild'](_0x52742c,'$text')){const _0x3d31de=_0x5cd4f0['mapper']['toViewPosition'](_0x52742c);_0x407cd1=_0x5cd4f0['writer']['createContainerElement']('span'),_0x407cd1['getFillerOffset']=()=>null,_0x5cd4f0['writer']['insert'](_0x3d31de,_0x407cd1);}else{const _0xfa50ea=_0x52742c['nodeAfter'];_0x407cd1=_0x5cd4f0['mapper']['toViewElement'](_0xfa50ea);}}for(;_0x407cd1['parent']!==_0x407cd1['root']&&0x0===_0x407cd1['index'];)_0x407cd1=_0x407cd1['parent'];const _0x2f54ac=_0x29ef86['substring'](0xb);_0x407cd1['hasClass']('page-break')||(_0x5cd4f0['writer']['setStyle']('page-break-before','always',_0x407cd1),_0x5cd4f0['writer']['setAttribute']('data-pagination-page',_0x2f54ac,_0x407cd1),_0x5cd4f0['mapper']['bindElementToMarker'](_0x407cd1,_0x29ef86)),_0x264f61['stop']();});});}['_setupKeystrokes'](){const _0x694fc5=this['editor'];_0x694fc5['keystrokes']['set']('Shift+Pageup',(_0xe4e818,_0x56d79b)=>{this['goToPreviousPage'](),_0x56d79b();}),_0x694fc5['keystrokes']['set']('Shift+Pagedown',(_0x5b843a,_0x4c51e2)=>{this['goToNextPage'](),_0x4c51e2();}),_0x694fc5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':Ip(_0x694fc5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':Ip(_0x694fc5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':Ip(_0x694fc5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4c6089){return _0x4c6089<0x1&&(_0x4c6089=0x1),_0x4c6089>this['totalPages']&&(_0x4c6089=this['totalPages']),_0x4c6089;}}class PageNavigatorView extends _0x268b55{['pageNumberView'];constructor(_0x2dc795){super(_0x2dc795);const _0x23e4dd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new Gt(_0x2dc795,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5ab538=>Ip(_0x2dc795,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5ab538)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x37cf3d=>!_0x37cf3d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x23e4dd['if']('isEnabled','ck-disabled',_0x4baa0b=>!_0x4baa0b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x23e4dd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3b9ef9=this['pageNumberView']['element'],_0x49167b=_0x58f50a=>{this['pageNumberView']['element']['value']=String(_0x58f50a);};_0x49167b(this['pageNumber']),this['on']('change:pageNumber',(_0x548376,_0x10d2ca,_0x4d6222)=>{_0x49167b(_0x4d6222);}),this['listenTo'](_0x3b9ef9,'keydown',(_0x3a540b,_0xeb9de5)=>{if('ArrowUp'===_0xeb9de5['key']||'ArrowDown'===_0xeb9de5['key'])return void _0xeb9de5['stopPropagation']();if(_0xeb9de5['keyCode']!==_0x2e23e1['enter'])return;_0xeb9de5['preventDefault']();const _0x18f754=_0x3b9ef9['valueAsNumber'];Number['isNaN'](_0x18f754)?_0x3b9ef9['value']=String(this['pageNumber']):(_0x3b9ef9['checkValidity']()?this['pageNumber']=_0x18f754:_0x18f754>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3b9ef9['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3b9ef9['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3b9ef9,'blur',()=>{_0x3b9ef9['value']=String(this['pageNumber']);}),this['listenTo'](_0x3b9ef9,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0x4ac504{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1996eb=this['editor'],_0x4110c1=_0x1996eb['plugins']['get']('PaginationEditing');_0x1996eb['ui']['componentFactory']['add']('pageNavigation',_0x2bbdfe=>{const _0x4a08b1=new PageNavigatorView(_0x2bbdfe);return _0x4a08b1['bind']('pageNumber')['to'](_0x4110c1),_0x4a08b1['bind']('totalPages')['to'](_0x4110c1),_0x4a08b1['bind']('isEnabled')['to'](_0x4110c1),_0x4a08b1['on']('navigation',(_0x8405,_0x47a3f9)=>{_0x4110c1['moveSelectionToPage'](_0x47a3f9),_0x4110c1['scrollToPage'](_0x47a3f9);}),_0x4a08b1;}),_0x1996eb['ui']['componentFactory']['add']('nextPage',_0x16d529=>{const _0x3904e6=new _0x13bcd9(_0x16d529);return _0x3904e6['isEnabled']=!0x0,_0x3904e6['label']=Ip(_0x1996eb['locale'],'Go\x20to\x20next\x20page'),_0x3904e6['icon']=_0x1544dc,_0x3904e6['tooltip']=!0x0,_0x3904e6['keystroke']='Shift+PageDown',_0x3904e6['bind']('isEnabled')['to'](_0x4110c1),this['listenTo'](_0x3904e6,'execute',()=>{_0x4110c1['goToNextPage']();}),_0x3904e6;}),_0x1996eb['ui']['componentFactory']['add']('previousPage',_0xc62a60=>{const _0x3caa20=new _0x13bcd9(_0xc62a60);return _0x3caa20['isEnabled']=!0x0,_0x3caa20['label']=Ip(_0x1996eb['locale'],'Go\x20to\x20previous\x20page'),_0x3caa20['icon']=_0xe035f,_0x3caa20['tooltip']=!0x0,_0x3caa20['keystroke']='Shift+PageUp',_0x3caa20['bind']('isEnabled')['to'](_0x4110c1),this['listenTo'](_0x3caa20,'execute',()=>{_0x4110c1['goToPreviousPage']();}),_0x3caa20;});}}class Pagination extends _0x4ac504{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0xc978e8){super(_0xc978e8),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x438e13=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x438e13),this['bind']('totalPages')['to'](_0x438e13),_0x1036b5['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x15e236){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x15e236);}}const Cp=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function kp(_0x297e96){return Cp['test'](_0x297e96);}const xp=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function Rp(_0xed28f5,_0x430fc6){const _0x259c8a=new Map();for(const [_0x1ba960,_0x3ad2e9]of _0x430fc6){if(!_0x1ba960['tagName']&&!_0x1ba960['className'])continue;const _0x167d76=!_0x1ba960['tagName']||_0xed28f5['name']===_0x1ba960['tagName'],_0x2ed148=!_0x1ba960['className']||_0xed28f5['hasClass'](_0x1ba960['className']);_0x167d76&&_0x2ed148&&_0x259c8a['set'](_0x1ba960,_0x3ad2e9);}return _0x259c8a;}function Pp(_0x303d4e){const _0x41a894={};for(let _0x20f3da=0x0;_0x20f3da<_0x303d4e['length'];_0x20f3da++){const _0x182234=_0x303d4e[_0x20f3da],_0x981549=_0x303d4e['getPropertyValue'](_0x182234);'initial'!==_0x981549&&(_0x41a894[_0x182234]=_0x981549);}return _0x41a894;}function Mp(_0x2403ac){const _0x837ff0=_0x2403ac['split'](',')['map'](_0x5b70e1=>_0x5b70e1['trim']()),_0x3340b4=[];for(const _0x43ed8a of _0x837ff0){const _0x140755=xp['exec'](_0x43ed8a);_0x140755&&_0x3340b4['push'](_0x140755['groups']);}return _0x3340b4;}function Np(_0x487333){const _0x24c4f3={};for(const _0x2253d3 of _0x487333)Object['assign'](_0x24c4f3,_0x2253d3);return _0x24c4f3;}class MSOfficeStylesInliner extends _0x3668a6{['execute'](_0x5a22a9){const {body:_0x7f7e08,styles:_0x1abe6a}=_0x5a22a9['_parsedData'],_0x343bb1=new _0x2ad35e(_0x7f7e08['document']),_0x18ac7b=_0x343bb1['createRangeIn'](_0x7f7e08),_0x3755c8=function(_0x5ff8e2){const _0x5ce47e={};for(const _0x3cadb9 of _0x5ff8e2)for(const _0x400024 of _0x3cadb9['cssRules'])if(_0x400024 instanceof CSSStyleRule){const _0x15703a=Pp(_0x400024['style']);_0x5ce47e[_0x400024['selectorText']]=Object['assign']({},_0x5ce47e[_0x400024['selectorText']]||{},_0x15703a);}return _0x5ce47e;}(_0x1abe6a),_0x43077b=function(_0x4d7e2b){const _0x57eab6=new Map();for(const _0x25cd49 in _0x4d7e2b){const _0x265bf3=Mp(_0x25cd49),_0xe1270d=_0x4d7e2b[_0x25cd49];for(const _0x58d85c of _0x265bf3)_0x57eab6['set'](_0x58d85c,_0xe1270d);}return _0x57eab6;}(_0x3755c8);for(const _0x3785a5 of _0x18ac7b){if('elementStart'!==_0x3785a5['type'])continue;const _0x128cd5=Rp(_0x3785a5['item'],_0x43077b);if(_0x128cd5['size']){const _0x2d8e6f=Np(Array['from'](_0x128cd5['values']()));for(const _0x15f7f0 in _0x2d8e6f){const _0xaee5a3=_0x3785a5['item'];_0xaee5a3['hasStyle'](_0x15f7f0)||_0x343bb1['setStyle'](_0x15f7f0,_0x2d8e6f[_0x15f7f0],_0xaee5a3);}}}_0x5a22a9['content']=_0x7f7e08;}['isActive'](_0x3ba5ec){return super['isActive'](_0x3ba5ec)||kp(_0x3ba5ec);}}class PasteFromOfficeEnhancedInliner extends _0x4ac504{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0xab7eb2=this['editor'],_0x5b68f5=_0xab7eb2['plugins']['get']('ClipboardPipeline'),_0x47e582=_0xab7eb2['editing']['view']['document'],_0x33acf3=new MSOfficeStylesInliner(_0x47e582);_0x5b68f5['on']('inputTransformation',(_0x4ea857,_0x19745b)=>{const _0xf2e4b4=_0x19745b['dataTransfer']['getData']('text/html');_0x33acf3['isActive'](_0xf2e4b4)&&(_0x19745b['_parsedData']||(_0x19745b['_parsedData']=_0x38e2dc(_0xf2e4b4,_0x47e582['stylesProcessor'])),_0x33acf3['execute'](_0x19745b));},{'priority':_0x31e080['get']('high')+0xb});}['afterInit'](){!async function(_0x3429a8){const _0x4ebd6c=_0x510d68([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]),_0x2c35f9=0x7374585f,_0x31aa18=0x7373d237^_0x2c35f9,_0x42c172=window[_0x510d68([0x44,0x61,0x74,0x65])][_0x510d68([0x6e,0x6f,0x77])](),_0x2d501e=_0x3429a8[_0x510d68([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12535d=new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b3aae=>{_0x2d501e[_0x510d68([0x6f,0x6e,0x63,0x65])](_0x510d68([0x72,0x65,0x61,0x64,0x79]),_0x3b3aae);}),_0x26e9f3={[_0x510d68([0x6b,0x74,0x79])]:_0x510d68([0x45,0x43]),[_0x510d68([0x75,0x73,0x65])]:_0x510d68([0x73,0x69,0x67]),[_0x510d68([0x63,0x72,0x76])]:_0x510d68([0x50,0x2d,0x32,0x35,0x36]),[_0x510d68([0x78])]:_0x510d68([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]),[_0x510d68([0x79])]:_0x510d68([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]),[_0x510d68([0x61,0x6c,0x67])]:_0x510d68([0x45,0x53,0x32,0x35,0x36])},_0x49e5d7=_0x2d501e[_0x510d68([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x510d68([0x67,0x65,0x74])](_0x510d68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d98c7(){let _0x52842d,_0x2f3dbf=null,_0x4e532b=null;try{if(_0x49e5d7==_0x510d68([0x47,0x50,0x4c]))return _0x510d68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52842d=_0x20fc9b(),!_0x52842d)return _0x510d68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52842d[_0x510d68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e532b=_0x4a0d6a(_0x52842d[_0x510d68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52842d[_0x510d68([0x6a,0x74,0x69])])),await _0x562a5d()?_0x9fa0fe()?_0x164342()?_0x510d68([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27b32a()?(_0x52842d[_0x510d68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x510d68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f3dbf=_0x105a6d(_0x510d68([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e1844()):_0x510d68([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x510d68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x510d68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x510d68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x164342(){const _0x4ce126=[_0x510d68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x510d68([0x74,0x72,0x69,0x61,0x6c])][_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52842d[_0x510d68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42c172/0x3e8:0xe10*_0x31aa18;return _0x52842d[_0x510d68([0x65,0x78,0x70])]<_0x4ce126;}function _0x9fa0fe(){const _0x3a49a8=_0x52842d[_0x510d68([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a49a8&&(!!_0x3a49a8[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510d68([0x2a]))||(!!_0x3a49a8[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510d68([0x50,0x4f,0x45]))||(!!_0x3a49a8[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510d68([0x50,0x50]))||!(!_0x3a49a8[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510d68([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x201b88()))));}function _0x27b32a(){const _0x7a1c20=_0x52842d[_0x510d68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7a1c20||0x0==_0x7a1c20[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x191d07}=new URL(window[_0x510d68([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7a1c20[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x191d07))return!0x0;const _0x1b815d=_0x191d07[_0x510d68([0x73,0x70,0x6c,0x69,0x74])](_0x510d68([0x2e]));return _0x7a1c20[_0x510d68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3dacd6=>_0x3dacd6[_0x510d68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510d68([0x2a])))[_0x510d68([0x6d,0x61,0x70])](_0x521244=>_0x521244[_0x510d68([0x73,0x70,0x6c,0x69,0x74])](_0x510d68([0x2e])))[_0x510d68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x593a91=>_0x593a91[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b815d[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x510d68([0x6d,0x61,0x70])](_0x61dd09=>Array(_0x1b815d[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x61dd09[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x510d68([0x66,0x69,0x6c,0x6c])](_0x61dd09[0x0]===_0x510d68([0x2a])?_0x510d68([0x2a]):'')[_0x510d68([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x61dd09))[_0x510d68([0x73,0x6f,0x6d,0x65])](_0x33d9ac=>_0x1b815d[_0x510d68([0x65,0x76,0x65,0x72,0x79])]((_0x633eff,_0x2cf842)=>_0x33d9ac[_0x2cf842]===_0x633eff||_0x33d9ac[_0x2cf842]===_0x510d68([0x2a])));}function _0x3e1844(){return _0x2f3dbf&&_0x4e532b?new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f5af6,_0x5a5896)=>{_0x2f3dbf[_0x510d68([0x74,0x68,0x65,0x6e])](_0x4f5af6,_0x5a5896),_0x4e532b[_0x510d68([0x74,0x68,0x65,0x6e])](_0x553d62=>{_0x553d62!=_0x510d68([0x56,0x61,0x6c,0x69,0x64])&&_0x4f5af6(_0x553d62);},_0x5a5896);}):_0x2f3dbf||_0x4e532b||_0x510d68([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a0d6a(_0x15f756,_0x5ab7dc){return new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3adaf2=>{if(_0x49ba4a())return _0x3adaf2(_0x510d68([0x56,0x61,0x6c,0x69,0x64]));_0x4994c2(),_0x2d501e[_0x510d68([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x510d68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x564365=!0x1;const _0x5d9ee9=_0x288d30();function _0x252f44(_0x183dc8){return!!_0x183dc8&&(typeof _0x183dc8===_0x510d68([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x183dc8===_0x510d68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x183dc8[_0x510d68([0x74,0x68,0x65,0x6e])]===_0x510d68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x183dc8[_0x510d68([0x63,0x61,0x74,0x63,0x68])]===_0x510d68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x554189(_0x4950cc){_0x50a0e6(_0x4950cc)[_0x510d68([0x74,0x68,0x65,0x6e])](_0x487f96=>{if(!_0x487f96||_0x487f96[_0x510d68([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x510d68([0x6f,0x6b]))return _0x510d68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35f18d(_0x474760(_0x5d9ee9+_0x5ab7dc))!=_0x487f96[_0x510d68([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x510d68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x510d68([0x56,0x61,0x6c,0x69,0x64]);})[_0x510d68([0x74,0x68,0x65,0x6e])](_0x111fdb=>(_0x1ed013(),_0x111fdb),()=>{const _0x217001=_0x217668();return null==_0x217001?(_0x1ed013(),_0x510d68([0x56,0x61,0x6c,0x69,0x64])):_0x510d68(_0x42c172-_0x217001>(0x5778dc5f^_0x2c35f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x510d68([0x74,0x68,0x65,0x6e])](_0x3adaf2)[_0x510d68([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3adaf2(_0x510d68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2464a9=0x7342b6df^_0x2c35f9;function _0x1ed013(){const _0x55d917=_0x510d68([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f18d(_0x474760(_0x15f756)),_0x5c4900=_0x56f53c(_0x35f18d(window[_0x510d68([0x4d,0x61,0x74,0x68])][_0x510d68([0x63,0x65,0x69,0x6c])](_0x42c172/_0x2464a9)));window[_0x510d68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x510d68([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55d917,_0x5c4900);}function _0x217668(){const _0x4a5faa=_0x510d68([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f18d(_0x474760(_0x15f756)),_0x2fdb82=window[_0x510d68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x510d68([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a5faa);return _0x2fdb82?window[_0x510d68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56f53c(_0x2fdb82),0x10)*_0x2464a9:null;}function _0x50a0e6(_0x378287){return new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48dbde,_0x4938a2)=>{_0x378287[_0x510d68([0x74,0x68,0x65,0x6e])](_0x48dbde,_0x4938a2),window[_0x510d68([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4938a2,0x73758c9f^_0x2c35f9);});}}_0x2d501e[_0x510d68([0x6f,0x6e])](_0x510d68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x240069,_0x4ee26b)=>{if(_0x4ee26b[0x0]!=_0x15f756)return _0x3adaf2(_0x510d68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ee26b[0x1]={..._0x4ee26b[0x1],[_0x510d68([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9ee9};},{[_0x510d68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x510d68([0x68,0x69,0x67,0x68])}),_0x2d501e[_0x510d68([0x6f,0x6e])](_0x510d68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb455bb=>{_0x252f44(_0xb455bb[_0x510d68([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x564365=!0x0,_0x554189(_0xb455bb[_0x510d68([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x510d68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x510d68([0x6c,0x6f,0x77])}),_0x12535d[_0x510d68([0x74,0x68,0x65,0x6e])](()=>{_0x564365||_0x3adaf2(_0x510d68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49ba4a(){return _0x2d501e[_0x510d68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x510d68([0x76,0x69,0x65,0x77])][_0x510d68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x510d68([0x61,0x75,0x74,0x6f]);}function _0x4994c2(){_0x2d501e[_0x510d68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x510d68([0x76,0x69,0x65,0x77])][_0x510d68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x510d68([0x61,0x75,0x74,0x6f]);}}function _0x105a6d(_0x57e427){const _0x2a7fc1=[new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bb75d=>setTimeout(_0x5bb75d,0x737d6693^_0x2c35f9)),_0x12535d[_0x510d68([0x74,0x68,0x65,0x6e])](()=>new window[(_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54ca15=>{let _0x9f61d0=0x0;_0x2d501e[_0x510d68([0x6d,0x6f,0x64,0x65,0x6c])][_0x510d68([0x6f,0x6e])](_0x510d68([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2dff6c,_0x52f81f)=>{_0x52f81f[0x0][_0x510d68([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9f61d0++,_0x9f61d0==(0x73745db7^_0x2c35f9)&&(_0x54ca15(),_0x2dff6c[_0x510d68([0x6f,0x66,0x66])]());});}))];return window[_0x510d68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x510d68([0x72,0x61,0x63,0x65])](_0x2a7fc1)[_0x510d68([0x74,0x68,0x65,0x6e])](()=>_0x57e427);}async function _0x1543ee(){await _0x12535d,_0x2d501e[_0x510d68([0x6d,0x6f,0x64,0x65,0x6c])][_0x510d68([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10fe3e,_0x2d501e[_0x510d68([0x6d,0x6f,0x64,0x65,0x6c])][_0x510d68([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10fe3e,_0x2d501e[_0x510d68([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x510d68([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x201b88(){return window[_0x510d68([0x67,0x6c,0x6f,0x62])]&&window[_0x510d68([0x67,0x6c,0x6f,0x62])][_0x510d68([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x367d68(_0x218de6){const _0x5c1d09=_0x312ccd();_0x2d501e[_0x5c1d09]=_0x510d68([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])+_0x218de6,_0x218de6!=_0x510d68([0x56,0x61,0x6c,0x69,0x64])&&_0x1543ee();}function _0x312ccd(){const _0x48e31c=window[_0x510d68([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x510d68([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x510d68([0x6e,0x6f,0x77])]())[_0x510d68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x510d68([0x2e]),'');let _0x4d0cd2=_0x510d68([0x73]);for(let _0x583de4=0x0;_0x583de4<_0x48e31c[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x583de4+=0x2){let _0x1c69c5=window[_0x510d68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48e31c[_0x510d68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x583de4,_0x583de4+0x2));_0x1c69c5>=_0x4ebd6c[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c69c5-=_0x4ebd6c[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d0cd2+=_0x4ebd6c[_0x1c69c5];}return _0x4d0cd2;}function _0x20fc9b(){const _0x2e3a62=_0x49e5d7[_0x510d68([0x73,0x70,0x6c,0x69,0x74])](_0x510d68([0x2e]));if(0x3!=_0x2e3a62[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4efbda(_0x2e3a62[0x1]);function _0x4efbda(_0x9283f1){const _0x38f53d=_0x44f2c3(_0x9283f1);return _0x38f53d&&_0x594952()?_0x38f53d:null;function _0x594952(){const _0x4da15b=_0x38f53d[_0x510d68([0x6a,0x74,0x69])],_0x364931=window[_0x510d68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4da15b[_0x510d68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4da15b[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52f2e={..._0x38f53d,[_0x510d68([0x6a,0x74,0x69])]:_0x4da15b[_0x510d68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4da15b[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52f2e[_0x510d68([0x76,0x63])],_0x474760(_0x52f2e)==_0x364931;}}}async function _0x562a5d(){let _0x2a476c=!0x0;try{const _0x4add20=_0x49e5d7[_0x510d68([0x73,0x70,0x6c,0x69,0x74])](_0x510d68([0x2e])),[_0x4996b8,_0x376dd3,_0x3245f9]=_0x4add20;return _0x2bc998(_0x4996b8),await _0x5f4e1b(_0x4996b8,_0x376dd3,_0x3245f9),_0x2a476c;}catch{return!0x1;}function _0x2bc998(_0xaf4de1){const _0x5ed203=_0x44f2c3(_0xaf4de1);_0x5ed203&&_0x5ed203[_0x510d68([0x61,0x6c,0x67])]==_0x510d68([0x45,0x53,0x32,0x35,0x36])||(_0x2a476c=!0x1);}async function _0x5f4e1b(_0x285a91,_0x5b4a16,_0x1e959c){const _0x4594f5=window[_0x510d68([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x510d68([0x66,0x72,0x6f,0x6d])](_0x4edc5c(_0x1e959c),_0x29ba32=>_0x29ba32[_0x510d68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49fc96=new window[(_0x510d68([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x510d68([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x285a91+_0x510d68([0x2e])+_0x5b4a16),_0x26b4ff=window[_0x510d68([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x510d68([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26b4ff)return;const _0x1ff31c=await _0x26b4ff[_0x510d68([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x510d68([0x6a,0x77,0x6b]),_0x26e9f3,{[_0x510d68([0x6e,0x61,0x6d,0x65])]:_0x510d68([0x45,0x43,0x44,0x53,0x41]),[_0x510d68([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x510d68([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x510d68([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26b4ff[_0x510d68([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x510d68([0x6e,0x61,0x6d,0x65])]:_0x510d68([0x45,0x43,0x44,0x53,0x41]),[_0x510d68([0x68,0x61,0x73,0x68])]:{[_0x510d68([0x6e,0x61,0x6d,0x65])]:_0x510d68([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ff31c,_0x4594f5,_0x49fc96)||(_0x2a476c=!0x1);}}function _0x44f2c3(_0x1fe8b5){return _0x1fe8b5[_0x510d68([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x510d68([0x65,0x79]))?JSON[_0x510d68([0x70,0x61,0x72,0x73,0x65])](_0x4edc5c(_0x1fe8b5)):null;}function _0x4edc5c(_0x4e8136){return window[_0x510d68([0x61,0x74,0x6f,0x62])](_0x4e8136[_0x510d68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x510d68([0x2b]))[_0x510d68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x510d68([0x2f])));}function _0x474760(_0x385986){let _0x455c12=0x1505;function _0x54fb40(_0x60d642){for(let _0x3b27e6=0x0;_0x3b27e6<_0x60d642[_0x510d68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b27e6++){const _0xaee6e1=_0x60d642[_0x510d68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b27e6);_0x455c12=(_0x455c12<<0x5)+_0x455c12+_0xaee6e1,_0x455c12&=_0x455c12;}}function _0x3c5c4b(_0x38643a){Array[_0x510d68([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38643a)?_0x38643a[_0x510d68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c5c4b):_0x38643a&&typeof _0x38643a==_0x510d68([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x510d68([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38643a)[_0x510d68([0x73,0x6f,0x72,0x74])]()[_0x510d68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27d84d,_0x2ec237])=>{_0x54fb40(_0x27d84d),_0x3c5c4b(_0x2ec237);}):_0x54fb40(window[_0x510d68([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38643a));}return _0x3c5c4b(_0x385986),_0x455c12>>>0x0;}function _0x35f18d(_0x53b16e){return _0x53b16e[_0x510d68([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x510d68([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x510d68([0x30]));}function _0x56f53c(_0x124121){return _0x124121[_0x510d68([0x73,0x70,0x6c,0x69,0x74])]('')[_0x510d68([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x510d68([0x6a,0x6f,0x69,0x6e])]('');}function _0x10fe3e(){}function _0x510d68(_0x554483){return _0x554483['map'](_0xc1bf07=>String['fromCharCode'](_0xc1bf07))['join']('');}_0x367d68(await _0x4d98c7());}(this);}}const Lp=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],Dp=['color','font-family','font-size'],Qp={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x2153d7=>Number(_0x2153d7)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function $p(_0x35a860){return Lp['includes'](_0x35a860);}function Vp(_0x21035c){return Array['from'](_0x21035c['getStyleNames']())['filter']($p);}function Up(_0x219d43,_0x889cf3,_0x41b3b4){const {spanStyles:_0x4be319,stylesToBeHtmlElements:_0x26846d}=function(_0x113dbe,_0xa8e9d3){const _0x1c10ad={},_0x2a4838={};return _0xa8e9d3['forEach'](_0x1dc30a=>{const _0x169a64=_0x113dbe['getStyle'](_0x1dc30a);if(_0x169a64){if(function(_0x55ff9a){return Dp['includes'](_0x55ff9a);}(_0x1dc30a))_0x1c10ad[_0x1dc30a]=_0x169a64;else{if(function(_0x507c63){return _0x507c63 in Qp;}(_0x1dc30a)){const _0xaccf94=_0x169a64['split']('\x20');Qp[_0x1dc30a]['forEach'](([_0x2b4f0b,_0x5a9e13])=>{for(const _0x816abb of _0xaccf94){('function'==typeof _0x2b4f0b&&_0x2b4f0b(_0x816abb)||_0x2b4f0b===_0x816abb)&&(_0x2a4838[_0x1dc30a]=[..._0x2a4838[_0x1dc30a]||[],[_0x2b4f0b,_0x5a9e13]]);}});}}}}),{'spanStyles':_0x1c10ad,'stylesToBeHtmlElements':_0x2a4838};}(_0x219d43,_0x41b3b4);!function(_0x857cf4,_0x175aa7,_0x3d4321){for(const _0x50ea22 in _0x3d4321){_0x3d4321[_0x50ea22]['forEach'](([,_0x5bad80])=>{const _0x53b996=_0x175aa7['createElement'](_0x5bad80,[],_0x857cf4['getChildren']());_0x175aa7['insertChild'](0x0,_0x53b996,_0x857cf4);}),_0x175aa7['removeStyle'](_0x50ea22,_0x857cf4);}}(_0x219d43,_0x889cf3,_0x26846d),function(_0x35f896,_0x3bf153,_0x33a2fe){if(!Object['keys'](_0x33a2fe)['length'])return;const _0x4e878f=_0x3bf153['createElement']('span',[],_0x35f896['getChildren']());_0x3bf153['setStyle'](_0x33a2fe,_0x4e878f),_0x3bf153['insertChild'](0x0,_0x4e878f,_0x35f896),_0x3bf153['removeStyle'](Object['keys'](_0x33a2fe),_0x35f896);}(_0x219d43,_0x889cf3,_0x4be319);}class MSOfficeInlineStylePropagator extends _0x3668a6{['execute'](_0x4be128){const {body:_0x5359a5}=_0x4be128['_parsedData'],_0x158491=new _0x2ad35e(_0x5359a5['document']),_0x28f0d7=_0x158491['createRangeIn'](_0x5359a5),_0x2018e8=new _0x45da6e(_0x158491['document']['stylesProcessor']),_0x5756e2=[...new _0x56e8de(_0x2018e8)['blockElements'],'font'],_0x573527=_0x28f0d7['getItems']();for(const _0x1c1546 of _0x573527)_0x1c1546['is']('element')&&_0x5756e2['includes'](_0x1c1546['name'])&&Up(_0x1c1546,_0x158491,Vp(_0x1c1546));_0x4be128['content']=_0x5359a5;}['isActive'](_0x17bbd2){return super['isActive'](_0x17bbd2)||kp(_0x17bbd2);}}class PasteFromOfficeEnhancedPropagator extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x1a4a83=this['editor'],_0x3c0761=_0x1a4a83['plugins']['get']('ClipboardPipeline'),_0x79962=_0x1a4a83['editing']['view']['document'],_0x47fc2d=new MSOfficeInlineStylePropagator(_0x79962);_0x3c0761['on']('inputTransformation',(_0x5b7c45,_0x43ac23)=>{const _0x4921c7=_0x43ac23['dataTransfer']['getData']('text/html');_0x47fc2d['isActive'](_0x4921c7)&&(_0x43ac23['_parsedData']||(_0x43ac23['_parsedData']=_0x38e2dc(_0x4921c7,_0x79962['stylesProcessor'])),_0x47fc2d['execute'](_0x43ac23));},{'priority':_0x31e080['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b0246=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1dba32;for(const _0x4063aa in _0x4b0246){const _0x56f799=_0x4063aa,_0x4e8463=_0x4b0246[_0x56f799];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x4e8463||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x4e8463){delete _0x4b0246[_0x56f799],_0x1dba32=_0x4e8463,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x1dba32&&_0x4b0246['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x1dba32&&_0x4b0246['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x1dba32&&_0x4b0246['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x1dba32&&_0x4b0246['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x1dba32&&_0x4b0246['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x1dba32&&_0x4b0246['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x4ac504{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var Bp,Fp,jp='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},Hp={},Gp={},Zp,Xp,qp,Wp,zp,Yp,Kp,Jp={};function tO(_0xb723e2){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xb723e2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var eO,iO,sO,nO,rO,oO,aO,cO,lO,hO,uO,dO,fO,mO,gO={};function pO(){return oO||(oO=0x1,(function(){var _0x3aae5b=Gp;function _0x1a3f4c(_0xe8f825,_0x2b4efb,_0x30db30){for(var _0x5d7886=Object['keys'](_0x2b4efb),_0x4263e4=0x0;_0x4263e4<_0x5d7886['length'];++_0x4263e4)void 0x0!==_0xe8f825[_0x5d7886[_0x4263e4]]&&_0x30db30||'__proto__'!==_0x5d7886[_0x4263e4]&&(_0xe8f825[_0x5d7886[_0x4263e4]]=_0x2b4efb[_0x5d7886[_0x4263e4]]);return _0xe8f825;}function _0x3a9de2(_0xf2ec3){function _0xf4d90a(_0x230e93,_0xfe4cfc){if(!(this instanceof _0xf4d90a))return new _0xf4d90a(_0x230e93,_0xfe4cfc);Object['defineProperty'](this,'message',{'get':function(){return _0x230e93;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0xf4d90a):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0xfe4cfc&&_0x1a3f4c(this,_0xfe4cfc);}return _0xf4d90a['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0xf4d90a,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0xf2ec3;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0xf4d90a;}_0x3aae5b['asPromise']=(Fp||(Fp=0x1,Bp=function(_0x4441c1,_0x1f89ed){for(var _0x32d186=new Array(arguments['length']-0x1),_0x357d4b=0x0,_0xd4cabf=0x2,_0x1b00c0=!0x0;_0xd4cabf<arguments['length'];)_0x32d186[_0x357d4b++]=arguments[_0xd4cabf++];return new Promise(function(_0x427785,_0x35044a){_0x32d186[_0x357d4b]=function(_0x339988){if(_0x1b00c0){if(_0x1b00c0=!0x1,_0x339988)_0x35044a(_0x339988);else{for(var _0x345b91=new Array(arguments['length']-0x1),_0x4a5b18=0x0;_0x4a5b18<_0x345b91['length'];)_0x345b91[_0x4a5b18++]=arguments[_0x4a5b18];_0x427785['apply'](null,_0x345b91);}}};try{_0x4441c1['apply'](_0x1f89ed||null,_0x32d186);}catch(_0xdb10a4){_0x1b00c0&&(_0x1b00c0=!0x1,_0x35044a(_0xdb10a4));}});}),Bp),_0x3aae5b['base64']=(Zp||(Zp=0x1,function(_0x2df1ac){var _0x14f16=_0x2df1ac;_0x14f16['length']=function(_0x110e9e){var _0x359fbf=_0x110e9e['length'];if(!_0x359fbf)return 0x0;for(var _0x2791c0=0x0;--_0x359fbf%0x4>0x1&&'='===_0x110e9e['charAt'](_0x359fbf);)++_0x2791c0;return Math['ceil'](0x3*_0x110e9e['length'])/0x4-_0x2791c0;};for(var _0x2da9cd=new Array(0x40),_0x200ff0=new Array(0x7b),_0x3625ba=0x0;_0x3625ba<0x40;)_0x200ff0[_0x2da9cd[_0x3625ba]=_0x3625ba<0x1a?_0x3625ba+0x41:_0x3625ba<0x34?_0x3625ba+0x47:_0x3625ba<0x3e?_0x3625ba-0x4:_0x3625ba-0x3b|0x2b]=_0x3625ba++;_0x14f16['encode']=function(_0x285b54,_0x2b64ed,_0x1d74bf){for(var t,_0x224284=null,_0x192b94=[],_0x5a7284=0x0,_0x53f8b9=0x0;_0x2b64ed<_0x1d74bf;){var _0x31e03a=_0x285b54[_0x2b64ed++];switch(_0x53f8b9){case 0x0:_0x192b94[_0x5a7284++]=_0x2da9cd[_0x31e03a>>0x2],t=(0x3&_0x31e03a)<<0x4,_0x53f8b9=0x1;break;case 0x1:_0x192b94[_0x5a7284++]=_0x2da9cd[t|_0x31e03a>>0x4],t=(0xf&_0x31e03a)<<0x2,_0x53f8b9=0x2;break;case 0x2:_0x192b94[_0x5a7284++]=_0x2da9cd[t|_0x31e03a>>0x6],_0x192b94[_0x5a7284++]=_0x2da9cd[0x3f&_0x31e03a],_0x53f8b9=0x0;}_0x5a7284>0x1fff&&((_0x224284||(_0x224284=[]))['push'](String['fromCharCode']['apply'](String,_0x192b94)),_0x5a7284=0x0);}return _0x53f8b9&&(_0x192b94[_0x5a7284++]=_0x2da9cd[t],_0x192b94[_0x5a7284++]=0x3d,0x1===_0x53f8b9&&(_0x192b94[_0x5a7284++]=0x3d)),_0x224284?(_0x5a7284&&_0x224284['push'](String['fromCharCode']['apply'](String,_0x192b94['slice'](0x0,_0x5a7284))),_0x224284['join']('')):String['fromCharCode']['apply'](String,_0x192b94['slice'](0x0,_0x5a7284));};var _0x44f43b='invalid\x20encoding';_0x14f16['decode']=function(_0x47c83a,_0x2ab641,_0x47d3e5){for(var t,_0x13a5d5=_0x47d3e5,_0x36d168=0x0,_0x3e244c=0x0;_0x3e244c<_0x47c83a['length'];){var _0x311137=_0x47c83a['charCodeAt'](_0x3e244c++);if(0x3d===_0x311137&&_0x36d168>0x1)break;if(void 0x0===(_0x311137=_0x200ff0[_0x311137]))throw Error(_0x44f43b);switch(_0x36d168){case 0x0:t=_0x311137,_0x36d168=0x1;break;case 0x1:_0x2ab641[_0x47d3e5++]=t<<0x2|(0x30&_0x311137)>>0x4,t=_0x311137,_0x36d168=0x2;break;case 0x2:_0x2ab641[_0x47d3e5++]=(0xf&t)<<0x4|(0x3c&_0x311137)>>0x2,t=_0x311137,_0x36d168=0x3;break;case 0x3:_0x2ab641[_0x47d3e5++]=(0x3&t)<<0x6|_0x311137,_0x36d168=0x0;}}if(0x1===_0x36d168)throw Error(_0x44f43b);return _0x47d3e5-_0x13a5d5;},_0x14f16['test']=function(_0x5e3cb3){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x5e3cb3);};}(Jp)),Jp),_0x3aae5b['EventEmitter']=(function(){if(qp)return Xp;function _0x39ac4a(){this['_listeners']={};}return qp=0x1,Xp=_0x39ac4a,_0x39ac4a['prototype']['on']=function(_0x7bbdf1,_0x378704,_0x4ab2b1){return(this['_listeners'][_0x7bbdf1]||(this['_listeners'][_0x7bbdf1]=[]))['push']({'fn':_0x378704,'ctx':_0x4ab2b1||this}),this;},_0x39ac4a['prototype']['off']=function(_0x42c58a,_0xdba359){if(void 0x0===_0x42c58a)this['_listeners']={};else{if(void 0x0===_0xdba359)this['_listeners'][_0x42c58a]=[];else{for(var _0x41e018=this['_listeners'][_0x42c58a],_0x1ab0f8=0x0;_0x1ab0f8<_0x41e018['length'];)_0x41e018[_0x1ab0f8]['fn']===_0xdba359?_0x41e018['splice'](_0x1ab0f8,0x1):++_0x1ab0f8;}}return this;},_0x39ac4a['prototype']['emit']=function(_0x55c73e){var _0x3c639e=this['_listeners'][_0x55c73e];if(_0x3c639e){for(var _0x355215=[],_0x3c929c=0x1;_0x3c929c<arguments['length'];)_0x355215['push'](arguments[_0x3c929c++]);for(_0x3c929c=0x0;_0x3c929c<_0x3c639e['length'];)_0x3c639e[_0x3c929c]['fn']['apply'](_0x3c639e[_0x3c929c++]['ctx'],_0x355215);}return this;},Xp;}()),_0x3aae5b['float']=(function(){if(zp)return Wp;function _0xb1ed61(_0x357c93){return'undefined'!=typeof Float32Array?(function(){var _0x5bac82=new Float32Array([-0x0]),_0x57ef39=new Uint8Array(_0x5bac82['buffer']),_0x16eb52=0x80===_0x57ef39[0x3];function _0x4bc3c5(_0x23ee63,_0x2d09c2,_0x55a767){_0x5bac82[0x0]=_0x23ee63,_0x2d09c2[_0x55a767]=_0x57ef39[0x0],_0x2d09c2[_0x55a767+0x1]=_0x57ef39[0x1],_0x2d09c2[_0x55a767+0x2]=_0x57ef39[0x2],_0x2d09c2[_0x55a767+0x3]=_0x57ef39[0x3];}function _0x29dd49(_0x289d72,_0xdf729f,_0x290932){_0x5bac82[0x0]=_0x289d72,_0xdf729f[_0x290932]=_0x57ef39[0x3],_0xdf729f[_0x290932+0x1]=_0x57ef39[0x2],_0xdf729f[_0x290932+0x2]=_0x57ef39[0x1],_0xdf729f[_0x290932+0x3]=_0x57ef39[0x0];}function _0x294ea9(_0x40918c,_0x309ba9){return _0x57ef39[0x0]=_0x40918c[_0x309ba9],_0x57ef39[0x1]=_0x40918c[_0x309ba9+0x1],_0x57ef39[0x2]=_0x40918c[_0x309ba9+0x2],_0x57ef39[0x3]=_0x40918c[_0x309ba9+0x3],_0x5bac82[0x0];}function _0x401d17(_0xef6f5b,_0x2b371a){return _0x57ef39[0x3]=_0xef6f5b[_0x2b371a],_0x57ef39[0x2]=_0xef6f5b[_0x2b371a+0x1],_0x57ef39[0x1]=_0xef6f5b[_0x2b371a+0x2],_0x57ef39[0x0]=_0xef6f5b[_0x2b371a+0x3],_0x5bac82[0x0];}_0x357c93['writeFloatLE']=_0x16eb52?_0x4bc3c5:_0x29dd49,_0x357c93['writeFloatBE']=_0x16eb52?_0x29dd49:_0x4bc3c5,_0x357c93['readFloatLE']=_0x16eb52?_0x294ea9:_0x401d17,_0x357c93['readFloatBE']=_0x16eb52?_0x401d17:_0x294ea9;}()):(function(){function _0x1ca5f3(_0x355790,_0x2a599b,_0x5c2576,_0x2029c3){var _0x3d5cbe=_0x2a599b<0x0?0x1:0x0;if(_0x3d5cbe&&(_0x2a599b=-_0x2a599b),0x0===_0x2a599b)_0x355790(0x1/_0x2a599b>0x0?0x0:0x80000000,_0x5c2576,_0x2029c3);else{if(isNaN(_0x2a599b))_0x355790(0x7fc00000,_0x5c2576,_0x2029c3);else{if(_0x2a599b>0xffffff00000000000000000000000000)_0x355790((_0x3d5cbe<<0x1f|0x7f800000)>>>0x0,_0x5c2576,_0x2029c3);else{if(_0x2a599b<1.1754943508222875e-38)_0x355790((_0x3d5cbe<<0x1f|Math['round'](_0x2a599b/1.401298464324817e-45))>>>0x0,_0x5c2576,_0x2029c3);else{var _0xbed961=Math['floor'](Math['log'](_0x2a599b)/Math['LN2']);_0x355790((_0x3d5cbe<<0x1f|_0xbed961+0x7f<<0x17|0x7fffff&Math['round'](_0x2a599b*Math['pow'](0x2,-_0xbed961)*0x800000))>>>0x0,_0x5c2576,_0x2029c3);}}}}}function _0xb7df53(_0x2ebf0c,_0x46eceb,_0x2f98b7){var _0x3c65a9=_0x2ebf0c(_0x46eceb,_0x2f98b7),_0x5ec6ce=0x2*(_0x3c65a9>>0x1f)+0x1,_0x13b99c=_0x3c65a9>>>0x17&0xff,_0x4d2534=0x7fffff&_0x3c65a9;return 0xff===_0x13b99c?_0x4d2534?NaN:_0x5ec6ce*(0x1/0x0):0x0===_0x13b99c?1.401298464324817e-45*_0x5ec6ce*_0x4d2534:_0x5ec6ce*Math['pow'](0x2,_0x13b99c-0x96)*(_0x4d2534+0x800000);}_0x357c93['writeFloatLE']=_0x1ca5f3['bind'](null,_0x29cf35),_0x357c93['writeFloatBE']=_0x1ca5f3['bind'](null,_0x344eee),_0x357c93['readFloatLE']=_0xb7df53['bind'](null,_0x3eeb9c),_0x357c93['readFloatBE']=_0xb7df53['bind'](null,_0x193c18);}()),'undefined'!=typeof Float64Array?(function(){var _0x5d9ca1=new Float64Array([-0x0]),_0x7f1431=new Uint8Array(_0x5d9ca1['buffer']),_0x448ca7=0x80===_0x7f1431[0x7];function _0x3d98c4(_0x528745,_0x441f87,_0x4c2a30){_0x5d9ca1[0x0]=_0x528745,_0x441f87[_0x4c2a30]=_0x7f1431[0x0],_0x441f87[_0x4c2a30+0x1]=_0x7f1431[0x1],_0x441f87[_0x4c2a30+0x2]=_0x7f1431[0x2],_0x441f87[_0x4c2a30+0x3]=_0x7f1431[0x3],_0x441f87[_0x4c2a30+0x4]=_0x7f1431[0x4],_0x441f87[_0x4c2a30+0x5]=_0x7f1431[0x5],_0x441f87[_0x4c2a30+0x6]=_0x7f1431[0x6],_0x441f87[_0x4c2a30+0x7]=_0x7f1431[0x7];}function _0x459a76(_0x32310f,_0x236501,_0x22e0d2){_0x5d9ca1[0x0]=_0x32310f,_0x236501[_0x22e0d2]=_0x7f1431[0x7],_0x236501[_0x22e0d2+0x1]=_0x7f1431[0x6],_0x236501[_0x22e0d2+0x2]=_0x7f1431[0x5],_0x236501[_0x22e0d2+0x3]=_0x7f1431[0x4],_0x236501[_0x22e0d2+0x4]=_0x7f1431[0x3],_0x236501[_0x22e0d2+0x5]=_0x7f1431[0x2],_0x236501[_0x22e0d2+0x6]=_0x7f1431[0x1],_0x236501[_0x22e0d2+0x7]=_0x7f1431[0x0];}function _0x3c7acf(_0x306d69,_0x3cb205){return _0x7f1431[0x0]=_0x306d69[_0x3cb205],_0x7f1431[0x1]=_0x306d69[_0x3cb205+0x1],_0x7f1431[0x2]=_0x306d69[_0x3cb205+0x2],_0x7f1431[0x3]=_0x306d69[_0x3cb205+0x3],_0x7f1431[0x4]=_0x306d69[_0x3cb205+0x4],_0x7f1431[0x5]=_0x306d69[_0x3cb205+0x5],_0x7f1431[0x6]=_0x306d69[_0x3cb205+0x6],_0x7f1431[0x7]=_0x306d69[_0x3cb205+0x7],_0x5d9ca1[0x0];}function _0x50320e(_0x53a0f6,_0x5065f7){return _0x7f1431[0x7]=_0x53a0f6[_0x5065f7],_0x7f1431[0x6]=_0x53a0f6[_0x5065f7+0x1],_0x7f1431[0x5]=_0x53a0f6[_0x5065f7+0x2],_0x7f1431[0x4]=_0x53a0f6[_0x5065f7+0x3],_0x7f1431[0x3]=_0x53a0f6[_0x5065f7+0x4],_0x7f1431[0x2]=_0x53a0f6[_0x5065f7+0x5],_0x7f1431[0x1]=_0x53a0f6[_0x5065f7+0x6],_0x7f1431[0x0]=_0x53a0f6[_0x5065f7+0x7],_0x5d9ca1[0x0];}_0x357c93['writeDoubleLE']=_0x448ca7?_0x3d98c4:_0x459a76,_0x357c93['writeDoubleBE']=_0x448ca7?_0x459a76:_0x3d98c4,_0x357c93['readDoubleLE']=_0x448ca7?_0x3c7acf:_0x50320e,_0x357c93['readDoubleBE']=_0x448ca7?_0x50320e:_0x3c7acf;}()):(function(){function _0x309a6d(_0x4d146e,_0x22f4e0,_0x90c2a8,_0x15632b,_0x2f758f,_0x3d1fcb){var _0x56b8a8=_0x15632b<0x0?0x1:0x0;if(_0x56b8a8&&(_0x15632b=-_0x15632b),0x0===_0x15632b)_0x4d146e(0x0,_0x2f758f,_0x3d1fcb+_0x22f4e0),_0x4d146e(0x1/_0x15632b>0x0?0x0:0x80000000,_0x2f758f,_0x3d1fcb+_0x90c2a8);else{if(isNaN(_0x15632b))_0x4d146e(0x0,_0x2f758f,_0x3d1fcb+_0x22f4e0),_0x4d146e(0x7ff80000,_0x2f758f,_0x3d1fcb+_0x90c2a8);else{if(_0x15632b>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x4d146e(0x0,_0x2f758f,_0x3d1fcb+_0x22f4e0),_0x4d146e((_0x56b8a8<<0x1f|0x7ff00000)>>>0x0,_0x2f758f,_0x3d1fcb+_0x90c2a8);else{var _0x1cf7d4;if(_0x15632b<2.2250738585072014e-308)_0x4d146e((_0x1cf7d4=_0x15632b/5e-324)>>>0x0,_0x2f758f,_0x3d1fcb+_0x22f4e0),_0x4d146e((_0x56b8a8<<0x1f|_0x1cf7d4/0x100000000)>>>0x0,_0x2f758f,_0x3d1fcb+_0x90c2a8);else{var _0x333fe0=Math['floor'](Math['log'](_0x15632b)/Math['LN2']);0x400===_0x333fe0&&(_0x333fe0=0x3ff),_0x4d146e(0x10000000000000*(_0x1cf7d4=_0x15632b*Math['pow'](0x2,-_0x333fe0))>>>0x0,_0x2f758f,_0x3d1fcb+_0x22f4e0),_0x4d146e((_0x56b8a8<<0x1f|_0x333fe0+0x3ff<<0x14|0x100000*_0x1cf7d4&0xfffff)>>>0x0,_0x2f758f,_0x3d1fcb+_0x90c2a8);}}}}}function _0xe0539d(_0x17000a,_0x39fa26,_0x142835,_0x3f0d4d,_0x1df16a){var _0x4a8af0=_0x17000a(_0x3f0d4d,_0x1df16a+_0x39fa26),_0x4716a5=_0x17000a(_0x3f0d4d,_0x1df16a+_0x142835),_0x45b9df=0x2*(_0x4716a5>>0x1f)+0x1,_0x4f0faf=_0x4716a5>>>0x14&0x7ff,_0x1cd7da=0x100000000*(0xfffff&_0x4716a5)+_0x4a8af0;return 0x7ff===_0x4f0faf?_0x1cd7da?NaN:_0x45b9df*(0x1/0x0):0x0===_0x4f0faf?5e-324*_0x45b9df*_0x1cd7da:_0x45b9df*Math['pow'](0x2,_0x4f0faf-0x433)*(_0x1cd7da+0x10000000000000);}_0x357c93['writeDoubleLE']=_0x309a6d['bind'](null,_0x29cf35,0x0,0x4),_0x357c93['writeDoubleBE']=_0x309a6d['bind'](null,_0x344eee,0x4,0x0),_0x357c93['readDoubleLE']=_0xe0539d['bind'](null,_0x3eeb9c,0x0,0x4),_0x357c93['readDoubleBE']=_0xe0539d['bind'](null,_0x193c18,0x4,0x0);}()),_0x357c93;}function _0x29cf35(_0x3024dc,_0x2747c1,_0x3baa15){_0x2747c1[_0x3baa15]=0xff&_0x3024dc,_0x2747c1[_0x3baa15+0x1]=_0x3024dc>>>0x8&0xff,_0x2747c1[_0x3baa15+0x2]=_0x3024dc>>>0x10&0xff,_0x2747c1[_0x3baa15+0x3]=_0x3024dc>>>0x18;}function _0x344eee(_0x148331,_0xbeb957,_0x466b38){_0xbeb957[_0x466b38]=_0x148331>>>0x18,_0xbeb957[_0x466b38+0x1]=_0x148331>>>0x10&0xff,_0xbeb957[_0x466b38+0x2]=_0x148331>>>0x8&0xff,_0xbeb957[_0x466b38+0x3]=0xff&_0x148331;}function _0x3eeb9c(_0xc9af3d,_0x29c15e){return(_0xc9af3d[_0x29c15e]|_0xc9af3d[_0x29c15e+0x1]<<0x8|_0xc9af3d[_0x29c15e+0x2]<<0x10|_0xc9af3d[_0x29c15e+0x3]<<0x18)>>>0x0;}function _0x193c18(_0x4119f6,_0x1a843e){return(_0x4119f6[_0x1a843e]<<0x18|_0x4119f6[_0x1a843e+0x1]<<0x10|_0x4119f6[_0x1a843e+0x2]<<0x8|_0x4119f6[_0x1a843e+0x3])>>>0x0;}return zp=0x1,Wp=_0xb1ed61(_0xb1ed61);}()),_0x3aae5b['inquire']=Kp?Yp:(Kp=0x1,Yp=function(_0x215890){try{var _0x39f726=tO(_0x215890);return _0x39f726&&(_0x39f726['length']||Object['keys'](_0x39f726)['length'])?_0x39f726:null;}catch(_0x457da5){return null;}}),_0x3aae5b['utf8']=(eO||(eO=0x1,function(_0x268329){var _0x4a2180=_0x268329;_0x4a2180['length']=function(_0x2433aa){for(var _0xbf07b6=0x0,_0x3bd2ce=0x0,_0x5b1ecd=0x0;_0x5b1ecd<_0x2433aa['length'];++_0x5b1ecd)(_0x3bd2ce=_0x2433aa['charCodeAt'](_0x5b1ecd))<0x80?_0xbf07b6+=0x1:_0x3bd2ce<0x800?_0xbf07b6+=0x2:0xd800==(0xfc00&_0x3bd2ce)&&0xdc00==(0xfc00&_0x2433aa['charCodeAt'](_0x5b1ecd+0x1))?(++_0x5b1ecd,_0xbf07b6+=0x4):_0xbf07b6+=0x3;return _0xbf07b6;},_0x4a2180['read']=function(_0x2a4d1e,_0xcb2135,_0x486401){if(_0x486401-_0xcb2135<0x1)return'';for(var _0x3d2d20='',_0x51722f=_0xcb2135;_0x51722f<_0x486401;){var t=_0x2a4d1e[_0x51722f++];if(t<=0x7f)_0x3d2d20+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x36276b=(0x1f&t)<<0x6|0x3f&_0x2a4d1e[_0x51722f++];_0x3d2d20+=_0x36276b>=0x80?String['fromCharCode'](_0x36276b):'�';}else{if(t>=0xe0&&t<0xf0){var _0x18d271=(0xf&t)<<0xc|(0x3f&_0x2a4d1e[_0x51722f++])<<0x6|0x3f&_0x2a4d1e[_0x51722f++];_0x3d2d20+=_0x18d271>=0x800?String['fromCharCode'](_0x18d271):'�';}else{if(t>=0xf0){var _0x28ff8f=(0x7&t)<<0x12|(0x3f&_0x2a4d1e[_0x51722f++])<<0xc|(0x3f&_0x2a4d1e[_0x51722f++])<<0x6|0x3f&_0x2a4d1e[_0x51722f++];_0x28ff8f<0x10000||_0x28ff8f>0x10ffff?_0x3d2d20+='�':(_0x28ff8f-=0x10000,_0x3d2d20+=String['fromCharCode'](0xd800+(_0x28ff8f>>0xa)),_0x3d2d20+=String['fromCharCode'](0xdc00+(0x3ff&_0x28ff8f)));}}}}}return _0x3d2d20;},_0x4a2180['write']=function(_0x1bdedd,_0x3d8a83,_0x46d81a){for(var _0x373a53,_0x5eb675,_0x11a284=_0x46d81a,_0x41148d=0x0;_0x41148d<_0x1bdedd['length'];++_0x41148d)(_0x373a53=_0x1bdedd['charCodeAt'](_0x41148d))<0x80?_0x3d8a83[_0x46d81a++]=_0x373a53:_0x373a53<0x800?(_0x3d8a83[_0x46d81a++]=_0x373a53>>0x6|0xc0,_0x3d8a83[_0x46d81a++]=0x3f&_0x373a53|0x80):0xd800==(0xfc00&_0x373a53)&&0xdc00==(0xfc00&(_0x5eb675=_0x1bdedd['charCodeAt'](_0x41148d+0x1)))?(_0x373a53=0x10000+((0x3ff&_0x373a53)<<0xa)+(0x3ff&_0x5eb675),++_0x41148d,_0x3d8a83[_0x46d81a++]=_0x373a53>>0x12|0xf0,_0x3d8a83[_0x46d81a++]=_0x373a53>>0xc&0x3f|0x80,_0x3d8a83[_0x46d81a++]=_0x373a53>>0x6&0x3f|0x80,_0x3d8a83[_0x46d81a++]=0x3f&_0x373a53|0x80):(_0x3d8a83[_0x46d81a++]=_0x373a53>>0xc|0xe0,_0x3d8a83[_0x46d81a++]=_0x373a53>>0x6&0x3f|0x80,_0x3d8a83[_0x46d81a++]=0x3f&_0x373a53|0x80);return _0x46d81a-_0x11a284;};}(gO)),gO),_0x3aae5b['pool']=(sO||(sO=0x1,iO=function(_0x569b19,_0x4aed75,_0x314277){var _0x40a11d=_0x314277||0x2000,_0x4a7eb3=_0x40a11d>>>0x1,_0x5ab2b1=null,_0x4440f4=_0x40a11d;return function(_0x4edb1b){if(_0x4edb1b<0x1||_0x4edb1b>_0x4a7eb3)return _0x569b19(_0x4edb1b);_0x4440f4+_0x4edb1b>_0x40a11d&&(_0x5ab2b1=_0x569b19(_0x40a11d),_0x4440f4=0x0);var _0x3cbf05=_0x4aed75['call'](_0x5ab2b1,_0x4440f4,_0x4440f4+=_0x4edb1b);return 0x7&_0x4440f4&&(_0x4440f4=0x1+(0x7|_0x4440f4)),_0x3cbf05;};}),iO),_0x3aae5b['LongBits']=(function(){if(rO)return nO;rO=0x1,nO=_0x2ea92b;var _0x58b245=pO();function _0x2ea92b(_0x523020,_0x4023e0){this['lo']=_0x523020>>>0x0,this['hi']=_0x4023e0>>>0x0;}var _0x1b7dac=_0x2ea92b['zero']=new _0x2ea92b(0x0,0x0);_0x1b7dac['toNumber']=function(){return 0x0;},_0x1b7dac['zzEncode']=_0x1b7dac['zzDecode']=function(){return this;},_0x1b7dac['length']=function(){return 0x1;};var _0x1c5c6a=_0x2ea92b['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x2ea92b['fromNumber']=function(_0x47e53f){if(0x0===_0x47e53f)return _0x1b7dac;var _0x284008=_0x47e53f<0x0;_0x284008&&(_0x47e53f=-_0x47e53f);var _0x2d24c8=_0x47e53f>>>0x0,_0x5ef7d8=(_0x47e53f-_0x2d24c8)/0x100000000>>>0x0;return _0x284008&&(_0x5ef7d8=~_0x5ef7d8>>>0x0,_0x2d24c8=~_0x2d24c8>>>0x0,++_0x2d24c8>0xffffffff&&(_0x2d24c8=0x0,++_0x5ef7d8>0xffffffff&&(_0x5ef7d8=0x0))),new _0x2ea92b(_0x2d24c8,_0x5ef7d8);},_0x2ea92b['from']=function(_0x4cf6f3){if('number'==typeof _0x4cf6f3)return _0x2ea92b['fromNumber'](_0x4cf6f3);if(_0x58b245['isString'](_0x4cf6f3)){if(!_0x58b245['Long'])return _0x2ea92b['fromNumber'](parseInt(_0x4cf6f3,0xa));_0x4cf6f3=_0x58b245['Long']['fromString'](_0x4cf6f3);}return _0x4cf6f3['low']||_0x4cf6f3['high']?new _0x2ea92b(_0x4cf6f3['low']>>>0x0,_0x4cf6f3['high']>>>0x0):_0x1b7dac;},_0x2ea92b['prototype']['toNumber']=function(_0x168811){if(!_0x168811&&this['hi']>>>0x1f){var _0x5dd74f=0x1+~this['lo']>>>0x0,_0x33d501=~this['hi']>>>0x0;return _0x5dd74f||(_0x33d501=_0x33d501+0x1>>>0x0),-(_0x5dd74f+0x100000000*_0x33d501);}return this['lo']+0x100000000*this['hi'];},_0x2ea92b['prototype']['toLong']=function(_0x6af417){return _0x58b245['Long']?new _0x58b245['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x6af417)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x6af417)};};var _0x3780f2=String['prototype']['charCodeAt'];return _0x2ea92b['fromHash']=function(_0x868f58){return _0x868f58===_0x1c5c6a?_0x1b7dac:new _0x2ea92b((_0x3780f2['call'](_0x868f58,0x0)|_0x3780f2['call'](_0x868f58,0x1)<<0x8|_0x3780f2['call'](_0x868f58,0x2)<<0x10|_0x3780f2['call'](_0x868f58,0x3)<<0x18)>>>0x0,(_0x3780f2['call'](_0x868f58,0x4)|_0x3780f2['call'](_0x868f58,0x5)<<0x8|_0x3780f2['call'](_0x868f58,0x6)<<0x10|_0x3780f2['call'](_0x868f58,0x7)<<0x18)>>>0x0);},_0x2ea92b['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);},_0x2ea92b['prototype']['zzEncode']=function(){var _0x234ec6=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x234ec6)>>>0x0,this['lo']=(this['lo']<<0x1^_0x234ec6)>>>0x0,this;},_0x2ea92b['prototype']['zzDecode']=function(){var _0x3702ba=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x3702ba)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x3702ba)>>>0x0,this;},_0x2ea92b['prototype']['length']=function(){var _0x544712=this['lo'],_0x114ef4=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x46d346=this['hi']>>>0x18;return 0x0===_0x46d346?0x0===_0x114ef4?_0x544712<0x4000?_0x544712<0x80?0x1:0x2:_0x544712<0x200000?0x3:0x4:_0x114ef4<0x4000?_0x114ef4<0x80?0x5:0x6:_0x114ef4<0x200000?0x7:0x8:_0x46d346<0x80?0x9:0xa;},nO;}()),_0x3aae5b['isNode']=Boolean(void 0x0!==jp&&jp&&jp['process']&&jp['process']['versions']&&jp['process']['versions']['node']),_0x3aae5b['global']=_0x3aae5b['isNode']&&jp||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||Gp,_0x3aae5b['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x3aae5b['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x3aae5b['isInteger']=Number['isInteger']||function(_0x46e236){return'number'==typeof _0x46e236&&isFinite(_0x46e236)&&Math['floor'](_0x46e236)===_0x46e236;},_0x3aae5b['isString']=function(_0x29dc39){return'string'==typeof _0x29dc39||_0x29dc39 instanceof String;},_0x3aae5b['isObject']=function(_0x226ba8){return _0x226ba8&&'object'==typeof _0x226ba8;},_0x3aae5b['isset']=_0x3aae5b['isSet']=function(_0x5274b1,_0xba9dd9){var _0x216f1f=_0x5274b1[_0xba9dd9];return!(null==_0x216f1f||!_0x5274b1['hasOwnProperty'](_0xba9dd9))&&('object'!=typeof _0x216f1f||(Array['isArray'](_0x216f1f)?_0x216f1f['length']:Object['keys'](_0x216f1f)['length'])>0x0);},_0x3aae5b['Buffer']=(function(){try{var _0x55d5ce=_0x3aae5b['inquire']('buffer')['Buffer'];return _0x55d5ce['prototype']['utf8Write']?_0x55d5ce:null;}catch(_0x3658b1){return null;}}()),_0x3aae5b['_Buffer_from']=null,_0x3aae5b['_Buffer_allocUnsafe']=null,_0x3aae5b['newBuffer']=function(_0x57b9ee){return'number'==typeof _0x57b9ee?_0x3aae5b['Buffer']?_0x3aae5b['_Buffer_allocUnsafe'](_0x57b9ee):new _0x3aae5b['Array'](_0x57b9ee):_0x3aae5b['Buffer']?_0x3aae5b['_Buffer_from'](_0x57b9ee):'undefined'==typeof Uint8Array?_0x57b9ee:new Uint8Array(_0x57b9ee);},_0x3aae5b['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x3aae5b['Long']=_0x3aae5b['global']['dcodeIO']&&_0x3aae5b['global']['dcodeIO']['Long']||_0x3aae5b['global']['Long']||_0x3aae5b['inquire']('long'),_0x3aae5b['key2Re']=/^true|false|0|1$/,_0x3aae5b['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x3aae5b['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x3aae5b['longToHash']=function(_0x2a162b){return _0x2a162b?_0x3aae5b['LongBits']['from'](_0x2a162b)['toHash']():_0x3aae5b['LongBits']['zeroHash'];},_0x3aae5b['longFromHash']=function(_0x3a5df2,_0xdfe2d0){var _0x42737b=_0x3aae5b['LongBits']['fromHash'](_0x3a5df2);return _0x3aae5b['Long']?_0x3aae5b['Long']['fromBits'](_0x42737b['lo'],_0x42737b['hi'],_0xdfe2d0):_0x42737b['toNumber'](Boolean(_0xdfe2d0));},_0x3aae5b['merge']=_0x1a3f4c,_0x3aae5b['recursionLimit']=0x64,_0x3aae5b['makeProp']=function(_0x54f68a,_0x488d44){Object['defineProperty'](_0x54f68a,_0x488d44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x3aae5b['lcFirst']=function(_0x222ed2){return _0x222ed2['charAt'](0x0)['toLowerCase']()+_0x222ed2['substring'](0x1);},_0x3aae5b['newError']=_0x3a9de2,_0x3aae5b['ProtocolError']=_0x3a9de2('ProtocolError'),_0x3aae5b['oneOfGetter']=function(_0x21c940){for(var _0x535f10={},_0x5a08b5=0x0;_0x5a08b5<_0x21c940['length'];++_0x5a08b5)_0x535f10[_0x21c940[_0x5a08b5]]=0x1;return function(){for(var _0x7d5987=Object['keys'](this),_0xb6fc53=_0x7d5987['length']-0x1;_0xb6fc53>-0x1;--_0xb6fc53)if(0x1===_0x535f10[_0x7d5987[_0xb6fc53]]&&void 0x0!==this[_0x7d5987[_0xb6fc53]]&&null!==this[_0x7d5987[_0xb6fc53]])return _0x7d5987[_0xb6fc53];};},_0x3aae5b['oneOfSetter']=function(_0x229e22){return function(_0x3fde29){for(var _0x268833=0x0;_0x268833<_0x229e22['length'];++_0x268833)_0x229e22[_0x268833]!==_0x3fde29&&delete this[_0x229e22[_0x268833]];};},_0x3aae5b['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x3aae5b['_configure']=function(){var _0x8f2522=_0x3aae5b['Buffer'];_0x8f2522?(_0x3aae5b['_Buffer_from']=_0x8f2522['from']!==Uint8Array['from']&&_0x8f2522['from']||function(_0x17413a,_0x44d47b){return new _0x8f2522(_0x17413a,_0x44d47b);},_0x3aae5b['_Buffer_allocUnsafe']=_0x8f2522['allocUnsafe']||function(_0x49c493){return new _0x8f2522(_0x49c493);}):_0x3aae5b['_Buffer_from']=_0x3aae5b['_Buffer_allocUnsafe']=null;};}())),Gp;}function OO(){if(cO)return aO;cO=0x1,aO=_0x1b1377;var _0x4daedc,_0x10c90d=pO(),_0x4fd209=_0x10c90d['LongBits'],_0x23f65f=_0x10c90d['base64'],_0x5adfbe=_0x10c90d['utf8'];function _0x19ec3f(_0x587fe8,_0x52a3b0,_0x456434){this['fn']=_0x587fe8,this['len']=_0x52a3b0,this['next']=void 0x0,this['val']=_0x456434;}function _0x27d439(){}function _0x512d85(_0x4746e8){this['head']=_0x4746e8['head'],this['tail']=_0x4746e8['tail'],this['len']=_0x4746e8['len'],this['next']=_0x4746e8['states'];}function _0x1b1377(){this['len']=0x0,this['head']=new _0x19ec3f(_0x27d439,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x5d46ee=function(){return _0x10c90d['Buffer']?function(){return(_0x1b1377['create']=function(){return new _0x4daedc();})();}:function(){return new _0x1b1377();};};function _0x728803(_0x5574af,_0x2b75aa,_0x138da2){_0x2b75aa[_0x138da2]=0xff&_0x5574af;}function _0x1b19c5(_0x294581,_0x39f585){this['len']=_0x294581,this['next']=void 0x0,this['val']=_0x39f585;}function _0x3f2ff7(_0x425b93,_0x3c9b3b,_0x4b9438){for(;_0x425b93['hi'];)_0x3c9b3b[_0x4b9438++]=0x7f&_0x425b93['lo']|0x80,_0x425b93['lo']=(_0x425b93['lo']>>>0x7|_0x425b93['hi']<<0x19)>>>0x0,_0x425b93['hi']>>>=0x7;for(;_0x425b93['lo']>0x7f;)_0x3c9b3b[_0x4b9438++]=0x7f&_0x425b93['lo']|0x80,_0x425b93['lo']=_0x425b93['lo']>>>0x7;_0x3c9b3b[_0x4b9438++]=_0x425b93['lo'];}function _0x31d09e(_0x7937e9,_0x32d25b,_0x11d502){_0x32d25b[_0x11d502]=0xff&_0x7937e9,_0x32d25b[_0x11d502+0x1]=_0x7937e9>>>0x8&0xff,_0x32d25b[_0x11d502+0x2]=_0x7937e9>>>0x10&0xff,_0x32d25b[_0x11d502+0x3]=_0x7937e9>>>0x18;}_0x1b1377['create']=_0x5d46ee(),_0x1b1377['alloc']=function(_0xb5927d){return new _0x10c90d['Array'](_0xb5927d);},_0x10c90d['Array']!==Array&&(_0x1b1377['alloc']=_0x10c90d['pool'](_0x1b1377['alloc'],_0x10c90d['Array']['prototype']['subarray'])),_0x1b1377['prototype']['_push']=function(_0x276f7a,_0x4bd65e,_0x4ee4b9){return this['tail']=this['tail']['next']=new _0x19ec3f(_0x276f7a,_0x4bd65e,_0x4ee4b9),this['len']+=_0x4bd65e,this;},_0x1b19c5['prototype']=Object['create'](_0x19ec3f['prototype']),_0x1b19c5['prototype']['fn']=function(_0x290c30,_0x50d337,_0x2ab4e9){for(;_0x290c30>0x7f;)_0x50d337[_0x2ab4e9++]=0x7f&_0x290c30|0x80,_0x290c30>>>=0x7;_0x50d337[_0x2ab4e9]=_0x290c30;},_0x1b1377['prototype']['uint32']=function(_0x4d29ac){return this['len']+=(this['tail']=this['tail']['next']=new _0x1b19c5((_0x4d29ac>>>=0x0)<0x80?0x1:_0x4d29ac<0x4000?0x2:_0x4d29ac<0x200000?0x3:_0x4d29ac<0x10000000?0x4:0x5,_0x4d29ac))['len'],this;},_0x1b1377['prototype']['int32']=function(_0x23a944){return _0x23a944<0x0?this['_push'](_0x3f2ff7,0xa,_0x4fd209['fromNumber'](_0x23a944)):this['uint32'](_0x23a944);},_0x1b1377['prototype']['sint32']=function(_0x32f024){return this['uint32']((_0x32f024<<0x1^_0x32f024>>0x1f)>>>0x0);},_0x1b1377['prototype']['uint64']=function(_0x2917c0){var _0x2d8919=_0x4fd209['from'](_0x2917c0);return this['_push'](_0x3f2ff7,_0x2d8919['length'](),_0x2d8919);},_0x1b1377['prototype']['int64']=_0x1b1377['prototype']['uint64'],_0x1b1377['prototype']['sint64']=function(_0x5af828){var _0x442018=_0x4fd209['from'](_0x5af828)['zzEncode']();return this['_push'](_0x3f2ff7,_0x442018['length'](),_0x442018);},_0x1b1377['prototype']['bool']=function(_0x1d698b){return this['_push'](_0x728803,0x1,_0x1d698b?0x1:0x0);},_0x1b1377['prototype']['fixed32']=function(_0x41e5b3){return this['_push'](_0x31d09e,0x4,_0x41e5b3>>>0x0);},_0x1b1377['prototype']['sfixed32']=_0x1b1377['prototype']['fixed32'],_0x1b1377['prototype']['fixed64']=function(_0x3d1102){var _0x43a8a1=_0x4fd209['from'](_0x3d1102);return this['_push'](_0x31d09e,0x4,_0x43a8a1['lo'])['_push'](_0x31d09e,0x4,_0x43a8a1['hi']);},_0x1b1377['prototype']['sfixed64']=_0x1b1377['prototype']['fixed64'],_0x1b1377['prototype']['float']=function(_0x1d116e){return this['_push'](_0x10c90d['float']['writeFloatLE'],0x4,_0x1d116e);},_0x1b1377['prototype']['double']=function(_0x357ba5){return this['_push'](_0x10c90d['float']['writeDoubleLE'],0x8,_0x357ba5);};var _0x5b0ead=_0x10c90d['Array']['prototype']['set']?function(_0x8460db,_0x50f4d1,_0x176d01){_0x50f4d1['set'](_0x8460db,_0x176d01);}:function(_0x4bcb88,_0x44242f,_0x33a347){for(var _0x30a3c1=0x0;_0x30a3c1<_0x4bcb88['length'];++_0x30a3c1)_0x44242f[_0x33a347+_0x30a3c1]=_0x4bcb88[_0x30a3c1];};return _0x1b1377['prototype']['bytes']=function(_0x339ba6){var _0xbae605=_0x339ba6['length']>>>0x0;if(!_0xbae605)return this['_push'](_0x728803,0x1,0x0);if(_0x10c90d['isString'](_0x339ba6)){var _0x3e8334=_0x1b1377['alloc'](_0xbae605=_0x23f65f['length'](_0x339ba6));_0x23f65f['decode'](_0x339ba6,_0x3e8334,0x0),_0x339ba6=_0x3e8334;}return this['uint32'](_0xbae605)['_push'](_0x5b0ead,_0xbae605,_0x339ba6);},_0x1b1377['prototype']['string']=function(_0x57a497){var _0xfcb215=_0x5adfbe['length'](_0x57a497);return _0xfcb215?this['uint32'](_0xfcb215)['_push'](_0x5adfbe['write'],_0xfcb215,_0x57a497):this['_push'](_0x728803,0x1,0x0);},_0x1b1377['prototype']['fork']=function(){return this['states']=new _0x512d85(this),this['head']=this['tail']=new _0x19ec3f(_0x27d439,0x0,0x0),this['len']=0x0,this;},_0x1b1377['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 _0x19ec3f(_0x27d439,0x0,0x0),this['len']=0x0),this;},_0x1b1377['prototype']['ldelim']=function(){var _0x1eaf05=this['head'],_0x1f34ba=this['tail'],_0x12b17d=this['len'];return this['reset']()['uint32'](_0x12b17d),_0x12b17d&&(this['tail']['next']=_0x1eaf05['next'],this['tail']=_0x1f34ba,this['len']+=_0x12b17d),this;},_0x1b1377['prototype']['finish']=function(){for(var _0x32de99=this['head']['next'],_0x2ed6c1=this['constructor']['alloc'](this['len']),_0x5daa07=0x0;_0x32de99;)_0x32de99['fn'](_0x32de99['val'],_0x2ed6c1,_0x5daa07),_0x5daa07+=_0x32de99['len'],_0x32de99=_0x32de99['next'];return _0x2ed6c1;},_0x1b1377['_configure']=function(_0x57cc27){_0x4daedc=_0x57cc27,_0x1b1377['create']=_0x5d46ee(),_0x4daedc['_configure']();},aO;}function wO(){if(dO)return uO;dO=0x1,uO=_0x1ecb6a;var _0x1fdbe2,_0xcdcb6e=pO(),_0x49a947=_0xcdcb6e['LongBits'],_0x4ed92d=_0xcdcb6e['utf8'];function _0x16029a(_0x17461b,_0x4c9a1f){return RangeError('index\x20out\x20of\x20range:\x20'+_0x17461b['pos']+'\x20+\x20'+(_0x4c9a1f||0x1)+'\x20>\x20'+_0x17461b['len']);}function _0x1ecb6a(_0x4d95eb){this['buf']=_0x4d95eb,this['pos']=0x0,this['len']=_0x4d95eb['length'];}var _0x543b72='undefined'!=typeof Uint8Array?function(_0x3594fd){if(_0x3594fd instanceof Uint8Array||Array['isArray'](_0x3594fd))return new _0x1ecb6a(_0x3594fd);throw Error('illegal\x20buffer');}:function(_0x37edcf){if(Array['isArray'](_0x37edcf))return new _0x1ecb6a(_0x37edcf);throw Error('illegal\x20buffer');},_0x5ea0e6=function(){return _0xcdcb6e['Buffer']?function(_0x5547a8){return(_0x1ecb6a['create']=function(_0x17efef){return _0xcdcb6e['Buffer']['isBuffer'](_0x17efef)?new _0x1fdbe2(_0x17efef):_0x543b72(_0x17efef);})(_0x5547a8);}:_0x543b72;};function _0x3d1c7(){var _0x477a1a=new _0x49a947(0x0,0x0),_0x54400a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x54400a<0x3;++_0x54400a){if(this['pos']>=this['len'])throw _0x16029a(this);if(_0x477a1a['lo']=(_0x477a1a['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x54400a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x477a1a;}return _0x477a1a['lo']=(_0x477a1a['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x54400a)>>>0x0,_0x477a1a;}for(;_0x54400a<0x4;++_0x54400a)if(_0x477a1a['lo']=(_0x477a1a['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x54400a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x477a1a;if(_0x477a1a['lo']=(_0x477a1a['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x477a1a['hi']=(_0x477a1a['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x477a1a;if(_0x54400a=0x0,this['len']-this['pos']>0x4){for(;_0x54400a<0x5;++_0x54400a)if(_0x477a1a['hi']=(_0x477a1a['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x54400a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x477a1a;}else for(;_0x54400a<0x5;++_0x54400a){if(this['pos']>=this['len'])throw _0x16029a(this);if(_0x477a1a['hi']=(_0x477a1a['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x54400a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x477a1a;}throw Error('invalid\x20varint\x20encoding');}function _0x560336(_0x59e3c8,_0x514f95){return(_0x59e3c8[_0x514f95-0x4]|_0x59e3c8[_0x514f95-0x3]<<0x8|_0x59e3c8[_0x514f95-0x2]<<0x10|_0x59e3c8[_0x514f95-0x1]<<0x18)>>>0x0;}function _0x193b40(){if(this['pos']+0x8>this['len'])throw _0x16029a(this,0x8);return new _0x49a947(_0x560336(this['buf'],this['pos']+=0x4),_0x560336(this['buf'],this['pos']+=0x4));}return _0x1ecb6a['create']=_0x5ea0e6(),_0x1ecb6a['prototype']['_slice']=_0xcdcb6e['Array']['prototype']['subarray']||_0xcdcb6e['Array']['prototype']['slice'],_0x1ecb6a['prototype']['uint32']=(function(){var _0x5709f0=0xffffffff;return function(){if(_0x5709f0=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5709f0;if(_0x5709f0=(_0x5709f0|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5709f0;if(_0x5709f0=(_0x5709f0|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5709f0;if(_0x5709f0=(_0x5709f0|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5709f0;if(_0x5709f0=(_0x5709f0|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5709f0;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x16029a(this,0xa);return _0x5709f0;};}()),_0x1ecb6a['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x1ecb6a['prototype']['sint32']=function(){var _0x35bfa8=this['uint32']();return _0x35bfa8>>>0x1^-(0x1&_0x35bfa8);},_0x1ecb6a['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x1ecb6a['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x16029a(this,0x4);return _0x560336(this['buf'],this['pos']+=0x4);},_0x1ecb6a['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x16029a(this,0x4);return 0x0|_0x560336(this['buf'],this['pos']+=0x4);},_0x1ecb6a['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x16029a(this,0x4);var _0x1b1320=_0xcdcb6e['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x1b1320;},_0x1ecb6a['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x16029a(this,0x4);var _0x160a05=_0xcdcb6e['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x160a05;},_0x1ecb6a['prototype']['bytes']=function(){var _0x21754d=this['uint32'](),_0xd2f023=this['pos'],_0xada1ce=this['pos']+_0x21754d;if(_0xada1ce>this['len'])throw _0x16029a(this,_0x21754d);if(this['pos']+=_0x21754d,Array['isArray'](this['buf']))return this['buf']['slice'](_0xd2f023,_0xada1ce);if(_0xd2f023===_0xada1ce){var _0x450141=_0xcdcb6e['Buffer'];return _0x450141?_0x450141['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0xd2f023,_0xada1ce);},_0x1ecb6a['prototype']['string']=function(){var _0x1126a7=this['bytes']();return _0x4ed92d['read'](_0x1126a7,0x0,_0x1126a7['length']);},_0x1ecb6a['prototype']['skip']=function(_0x26aeb8){if('number'==typeof _0x26aeb8){if(this['pos']+_0x26aeb8>this['len'])throw _0x16029a(this,_0x26aeb8);this['pos']+=_0x26aeb8;}else do{if(this['pos']>=this['len'])throw _0x16029a(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x1ecb6a['recursionLimit']=_0xcdcb6e['recursionLimit'],_0x1ecb6a['prototype']['skipType']=function(_0x44bf41,_0x583754){if(void 0x0===_0x583754&&(_0x583754=0x0),_0x583754>_0x1ecb6a['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x44bf41){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x44bf41=0x7&this['uint32']());)this['skipType'](_0x44bf41,_0x583754+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x44bf41+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x1ecb6a['_configure']=function(_0x901f8){_0x1fdbe2=_0x901f8,_0x1ecb6a['create']=_0x5ea0e6(),_0x1fdbe2['_configure']();var _0xe6d3e1=_0xcdcb6e['Long']?'toLong':'toNumber';_0xcdcb6e['merge'](_0x1ecb6a['prototype'],{'int64':function(){return _0x3d1c7['call'](this)[_0xe6d3e1](!0x1);},'uint64':function(){return _0x3d1c7['call'](this)[_0xe6d3e1](!0x0);},'sint64':function(){return _0x3d1c7['call'](this)['zzDecode']()[_0xe6d3e1](!0x1);},'fixed64':function(){return _0x193b40['call'](this)[_0xe6d3e1](!0x0);},'sfixed64':function(){return _0x193b40['call'](this)[_0xe6d3e1](!0x1);}});},uO;}var bO,yO,_O,vO,TO,EO,AO,SO,IO={};function CO(){return _O||(_O=0x1,IO['Service']=(function(){if(yO)return bO;yO=0x1,bO=_0xe00547;var _0x55808f=pO();function _0xe00547(_0x2d35a2,_0xbabb02,_0x523831){if('function'!=typeof _0x2d35a2)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x55808f['EventEmitter']['call'](this),this['rpcImpl']=_0x2d35a2,this['requestDelimited']=Boolean(_0xbabb02),this['responseDelimited']=Boolean(_0x523831);}return(_0xe00547['prototype']=Object['create'](_0x55808f['EventEmitter']['prototype']))['constructor']=_0xe00547,_0xe00547['prototype']['rpcCall']=function _0x5a6c78(_0x152583,_0x52cb4b,_0x567e3c,_0x56d3c4,_0x41d26d){if(!_0x56d3c4)throw TypeError('request\x20must\x20be\x20specified');var _0x15c4d6=this;if(!_0x41d26d)return _0x55808f['asPromise'](_0x5a6c78,_0x15c4d6,_0x152583,_0x52cb4b,_0x567e3c,_0x56d3c4);if(_0x15c4d6['rpcImpl'])try{return _0x15c4d6['rpcImpl'](_0x152583,_0x52cb4b[_0x15c4d6['requestDelimited']?'encodeDelimited':'encode'](_0x56d3c4)['finish'](),function(_0x2207d4,_0x3835d6){if(_0x2207d4)return _0x15c4d6['emit']('error',_0x2207d4,_0x152583),_0x41d26d(_0x2207d4);if(null!==_0x3835d6){if(!(_0x3835d6 instanceof _0x567e3c))try{_0x3835d6=_0x567e3c[_0x15c4d6['responseDelimited']?'decodeDelimited':'decode'](_0x3835d6);}catch(_0x112e4d){return _0x15c4d6['emit']('error',_0x112e4d,_0x152583),_0x41d26d(_0x112e4d);}return _0x15c4d6['emit']('data',_0x3835d6,_0x152583),_0x41d26d(null,_0x3835d6);}_0x15c4d6['end'](!0x0);});}catch(_0x22b1c6){return _0x15c4d6['emit']('error',_0x22b1c6,_0x152583),void setTimeout(function(){_0x41d26d(_0x22b1c6);},0x0);}else setTimeout(function(){_0x41d26d(Error('already\x20ended'));},0x0);},_0xe00547['prototype']['end']=function(_0xe6e686){return this['rpcImpl']&&(_0xe6e686||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},bO;}())),IO;}function kO(){return EO||(EO=0x1,(function(){var _0x40808e=Hp;function _0xf302d2(){_0x40808e['util']['_configure'](),_0x40808e['Writer']['_configure'](_0x40808e['BufferWriter']),_0x40808e['Reader']['_configure'](_0x40808e['BufferReader']);}_0x40808e['build']='minimal',_0x40808e['Writer']=OO(),_0x40808e['BufferWriter']=(function(){if(hO)return lO;hO=0x1,lO=_0x308d32;var _0x2e7aaf=OO();(_0x308d32['prototype']=Object['create'](_0x2e7aaf['prototype']))['constructor']=_0x308d32;var _0x296964=pO();function _0x308d32(){_0x2e7aaf['call'](this);}function _0x6f2b64(_0x134d33,_0x4a0e0e,_0x346ba0){_0x134d33['length']<0x28?_0x296964['utf8']['write'](_0x134d33,_0x4a0e0e,_0x346ba0):_0x4a0e0e['utf8Write']?_0x4a0e0e['utf8Write'](_0x134d33,_0x346ba0):_0x4a0e0e['write'](_0x134d33,_0x346ba0);}return _0x308d32['_configure']=function(){_0x308d32['alloc']=_0x296964['_Buffer_allocUnsafe'],_0x308d32['writeBytesBuffer']=_0x296964['Buffer']&&_0x296964['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x296964['Buffer']['prototype']['set']['name']?function(_0xd9db5d,_0x3eb579,_0x3b1345){_0x3eb579['set'](_0xd9db5d,_0x3b1345);}:function(_0x3e4400,_0x214d78,_0x5b204e){if(_0x3e4400['copy'])_0x3e4400['copy'](_0x214d78,_0x5b204e,0x0,_0x3e4400['length']);else{for(var _0x32fd9c=0x0;_0x32fd9c<_0x3e4400['length'];)_0x214d78[_0x5b204e++]=_0x3e4400[_0x32fd9c++];}};},_0x308d32['prototype']['bytes']=function(_0x55a6c8){_0x296964['isString'](_0x55a6c8)&&(_0x55a6c8=_0x296964['_Buffer_from'](_0x55a6c8,'base64'));var _0x5a7cc1=_0x55a6c8['length']>>>0x0;return this['uint32'](_0x5a7cc1),_0x5a7cc1&&this['_push'](_0x308d32['writeBytesBuffer'],_0x5a7cc1,_0x55a6c8),this;},_0x308d32['prototype']['string']=function(_0x25c8b8){var _0x5745cc=_0x296964['Buffer']['byteLength'](_0x25c8b8);return this['uint32'](_0x5745cc),_0x5745cc&&this['_push'](_0x6f2b64,_0x5745cc,_0x25c8b8),this;},_0x308d32['_configure'](),lO;}()),_0x40808e['Reader']=wO(),_0x40808e['BufferReader']=(function(){if(mO)return fO;mO=0x1,fO=_0x14836d;var _0x4f6225=wO();(_0x14836d['prototype']=Object['create'](_0x4f6225['prototype']))['constructor']=_0x14836d;var _0x2b6c02=pO();function _0x14836d(_0x701f4b){_0x4f6225['call'](this,_0x701f4b);}return _0x14836d['_configure']=function(){_0x2b6c02['Buffer']&&(_0x14836d['prototype']['_slice']=_0x2b6c02['Buffer']['prototype']['slice']);},_0x14836d['prototype']['string']=function(){var _0x4374d0=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x4374d0,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x4374d0,this['len']));},_0x14836d['_configure'](),fO;}()),_0x40808e['util']=pO(),_0x40808e['rpc']=CO(),_0x40808e['roots']=TO?vO:(TO=0x1,vO={}),_0x40808e['configure']=_0xf302d2,_0xf302d2();}())),Hp;}var xO=SO?AO:(SO=0x1,AO=kO());const RO=Object['create'](null);RO['open']='0',RO['close']='1',RO['ping']='2',RO['pong']='3',RO['message']='4',RO['upgrade']='5',RO['noop']='6';const PO=Object['create'](null);Object['keys'](RO)['forEach'](_0x587406=>{PO[RO[_0x587406]]=_0x587406;});const MO={'type':'error','data':'parser\x20error'},NO='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),LO='function'==typeof ArrayBuffer,DO=_0x2a444f=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2a444f):_0x2a444f&&_0x2a444f['buffer']instanceof ArrayBuffer,QO=({type:_0x2ca8c6,data:_0x1cc71a},_0x23e2b2,_0x348853)=>NO&&_0x1cc71a instanceof Blob?_0x23e2b2?_0x348853(_0x1cc71a):$O(_0x1cc71a,_0x348853):LO&&(_0x1cc71a instanceof ArrayBuffer||DO(_0x1cc71a))?_0x23e2b2?_0x348853(_0x1cc71a):$O(new Blob([_0x1cc71a]),_0x348853):_0x348853(RO[_0x2ca8c6]+(_0x1cc71a||'')),$O=(_0x11181c,_0x3e5c92)=>{const _0x29cf07=new FileReader();return _0x29cf07['onload']=function(){const _0x32ca38=_0x29cf07['result']['split'](',')[0x1];_0x3e5c92('b'+(_0x32ca38||''));},_0x29cf07['readAsDataURL'](_0x11181c);};function VO(_0x3782ad){return _0x3782ad instanceof Uint8Array?_0x3782ad:_0x3782ad instanceof ArrayBuffer?new Uint8Array(_0x3782ad):new Uint8Array(_0x3782ad['buffer'],_0x3782ad['byteOffset'],_0x3782ad['byteLength']);}let UO;const BO='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',FO='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let e=0x0;e<0x40;e++)FO[BO['charCodeAt'](e)]=e;const jO='function'==typeof ArrayBuffer,HO=(_0x3b95cb,_0x4b9d2d)=>{if('string'!=typeof _0x3b95cb)return{'type':'message','data':ZO(_0x3b95cb,_0x4b9d2d)};const _0x1bc314=_0x3b95cb['charAt'](0x0);if('b'===_0x1bc314)return{'type':'message','data':GO(_0x3b95cb['substring'](0x1),_0x4b9d2d)};return PO[_0x1bc314]?_0x3b95cb['length']>0x1?{'type':PO[_0x1bc314],'data':_0x3b95cb['substring'](0x1)}:{'type':PO[_0x1bc314]}:MO;},GO=(_0x20843f,_0x5f2db9)=>{if(jO){const _0x8fb747=(_0x393847=>{let _0x442cec,_0x399ec5,_0x4e5235,_0x46dfab,_0x26cefc,_0x316909=0.75*_0x393847['length'],_0x3ff7d1=_0x393847['length'],_0x9e6f08=0x0;'='===_0x393847[_0x393847['length']-0x1]&&(_0x316909--,'='===_0x393847[_0x393847['length']-0x2]&&_0x316909--);const _0x5cefd8=new ArrayBuffer(_0x316909),_0x5c2794=new Uint8Array(_0x5cefd8);for(_0x442cec=0x0;_0x442cec<_0x3ff7d1;_0x442cec+=0x4)_0x399ec5=FO[_0x393847['charCodeAt'](_0x442cec)],_0x4e5235=FO[_0x393847['charCodeAt'](_0x442cec+0x1)],_0x46dfab=FO[_0x393847['charCodeAt'](_0x442cec+0x2)],_0x26cefc=FO[_0x393847['charCodeAt'](_0x442cec+0x3)],_0x5c2794[_0x9e6f08++]=_0x399ec5<<0x2|_0x4e5235>>0x4,_0x5c2794[_0x9e6f08++]=(0xf&_0x4e5235)<<0x4|_0x46dfab>>0x2,_0x5c2794[_0x9e6f08++]=(0x3&_0x46dfab)<<0x6|0x3f&_0x26cefc;return _0x5cefd8;})(_0x20843f);return ZO(_0x8fb747,_0x5f2db9);}return{'base64':!0x0,'data':_0x20843f};},ZO=(_0x431fab,_0x4eaf32)=>'blob'===_0x4eaf32?_0x431fab instanceof Blob?_0x431fab:new Blob([_0x431fab]):_0x431fab instanceof ArrayBuffer?_0x431fab:_0x431fab['buffer'],XO=String['fromCharCode'](0x1e);function qO(){return new TransformStream({'transform'(_0x3a26c2,_0x9b501c){!function(_0x3228ce,_0x267bf6){NO&&_0x3228ce['data']instanceof Blob?_0x3228ce['data']['arrayBuffer']()['then'](VO)['then'](_0x267bf6):LO&&(_0x3228ce['data']instanceof ArrayBuffer||DO(_0x3228ce['data']))?_0x267bf6(VO(_0x3228ce['data'])):QO(_0x3228ce,!0x1,_0x4cd176=>{UO||(UO=new TextEncoder()),_0x267bf6(UO['encode'](_0x4cd176));});}(_0x3a26c2,_0x508628=>{const _0x4e9d25=_0x508628['length'];let _0xf1504e;if(_0x4e9d25<0x7e)_0xf1504e=new Uint8Array(0x1),new DataView(_0xf1504e['buffer'])['setUint8'](0x0,_0x4e9d25);else{if(_0x4e9d25<0x10000){_0xf1504e=new Uint8Array(0x3);const _0x26faa5=new DataView(_0xf1504e['buffer']);_0x26faa5['setUint8'](0x0,0x7e),_0x26faa5['setUint16'](0x1,_0x4e9d25);}else{_0xf1504e=new Uint8Array(0x9);const _0x45d276=new DataView(_0xf1504e['buffer']);_0x45d276['setUint8'](0x0,0x7f),_0x45d276['setBigUint64'](0x1,BigInt(_0x4e9d25));}}_0x3a26c2['data']&&'string'!=typeof _0x3a26c2['data']&&(_0xf1504e[0x0]|=0x80),_0x9b501c['enqueue'](_0xf1504e),_0x9b501c['enqueue'](_0x508628);});}});}let WO;function zO(_0x2dc722){return _0x2dc722['reduce']((_0x578166,_0x126122)=>_0x578166+_0x126122['length'],0x0);}function YO(_0x14d2c7,_0x5126a7){if(_0x14d2c7[0x0]['length']===_0x5126a7)return _0x14d2c7['shift']();const _0x12e5fa=new Uint8Array(_0x5126a7);let _0xe281f3=0x0;for(let _0x419971=0x0;_0x419971<_0x5126a7;_0x419971++)_0x12e5fa[_0x419971]=_0x14d2c7[0x0][_0xe281f3++],_0xe281f3===_0x14d2c7[0x0]['length']&&(_0x14d2c7['shift'](),_0xe281f3=0x0);return _0x14d2c7['length']&&_0xe281f3<_0x14d2c7[0x0]['length']&&(_0x14d2c7[0x0]=_0x14d2c7[0x0]['slice'](_0xe281f3)),_0x12e5fa;}function KO(_0x54bed4){if(_0x54bed4)return function(_0x31e9f8){for(var _0x3d626c in KO['prototype'])_0x31e9f8[_0x3d626c]=KO['prototype'][_0x3d626c];return _0x31e9f8;}(_0x54bed4);}KO['prototype']['on']=KO['prototype']['addEventListener']=function(_0x4f8a1a,_0x525302){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x4f8a1a]=this['_callbacks']['$'+_0x4f8a1a]||[])['push'](_0x525302),this;},KO['prototype']['once']=function(_0x34e6e5,_0x2dd936){function _0xa7b0a(){this['off'](_0x34e6e5,_0xa7b0a),_0x2dd936['apply'](this,arguments);}return _0xa7b0a['fn']=_0x2dd936,this['on'](_0x34e6e5,_0xa7b0a),this;},KO['prototype']['off']=KO['prototype']['removeListener']=KO['prototype']['removeAllListeners']=KO['prototype']['removeEventListener']=function(_0x244437,_0x185a15){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x59c785,_0xa90650=this['_callbacks']['$'+_0x244437];if(!_0xa90650)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x244437],this;for(var _0x3af641=0x0;_0x3af641<_0xa90650['length'];_0x3af641++)if((_0x59c785=_0xa90650[_0x3af641])===_0x185a15||_0x59c785['fn']===_0x185a15){_0xa90650['splice'](_0x3af641,0x1);break;}return 0x0===_0xa90650['length']&&delete this['_callbacks']['$'+_0x244437],this;},KO['prototype']['emit']=function(_0x3607ab){this['_callbacks']=this['_callbacks']||{};for(var _0x378ab6=new Array(arguments['length']-0x1),_0x166f11=this['_callbacks']['$'+_0x3607ab],_0x398a2b=0x1;_0x398a2b<arguments['length'];_0x398a2b++)_0x378ab6[_0x398a2b-0x1]=arguments[_0x398a2b];if(_0x166f11){_0x398a2b=0x0;for(var _0x6062b0=(_0x166f11=_0x166f11['slice'](0x0))['length'];_0x398a2b<_0x6062b0;++_0x398a2b)_0x166f11[_0x398a2b]['apply'](this,_0x378ab6);}return this;},KO['prototype']['emitReserved']=KO['prototype']['emit'],KO['prototype']['listeners']=function(_0x30a38a){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x30a38a]||[];},KO['prototype']['hasListeners']=function(_0x15350e){return!!this['listeners'](_0x15350e)['length'];};const JO='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function tw(_0x598623,..._0x568a6e){return _0x568a6e['reduce']((_0x2bbbcc,_0x57b801)=>(_0x598623['hasOwnProperty'](_0x57b801)&&(_0x2bbbcc[_0x57b801]=_0x598623[_0x57b801]),_0x2bbbcc),{});}const ew=JO['setTimeout'],iw=JO['clearTimeout'];function sw(_0x5d71b2,_0x5d663c){_0x5d663c['useNativeTimers']?(_0x5d71b2['setTimeoutFn']=ew['bind'](JO),_0x5d71b2['clearTimeoutFn']=iw['bind'](JO)):(_0x5d71b2['setTimeoutFn']=JO['setTimeout']['bind'](JO),_0x5d71b2['clearTimeoutFn']=JO['clearTimeout']['bind'](JO));}function nw(_0x5d6b72){return'string'==typeof _0x5d6b72?function(_0x25fc20){let _0x2f39b6=0x0,_0x5ee3f7=0x0;for(let _0x2902cd=0x0,_0x592635=_0x25fc20['length'];_0x2902cd<_0x592635;_0x2902cd++)_0x2f39b6=_0x25fc20['charCodeAt'](_0x2902cd),_0x2f39b6<0x80?_0x5ee3f7+=0x1:_0x2f39b6<0x800?_0x5ee3f7+=0x2:_0x2f39b6<0xd800||_0x2f39b6>=0xe000?_0x5ee3f7+=0x3:(_0x2902cd++,_0x5ee3f7+=0x4);return _0x5ee3f7;}(_0x5d6b72):Math['ceil'](1.33*(_0x5d6b72['byteLength']||_0x5d6b72['size']));}class TransportError extends Error{constructor(_0x52eb7f,_0x53a1e4,_0x33c8e8){super(_0x52eb7f),this['description']=_0x53a1e4,this['context']=_0x33c8e8,this['type']='TransportError';}}class Transport extends KO{constructor(_0x766446){super(),this['writable']=!0x1,sw(this,_0x766446),this['opts']=_0x766446,this['query']=_0x766446['query'],this['socket']=_0x766446['socket'];}['onError'](_0x2d7310,_0x5c5260,_0x4edf78){return super['emitReserved']('error',new TransportError(_0x2d7310,_0x5c5260,_0x4edf78)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x2e31aa){'open'===this['readyState']&&this['write'](_0x2e31aa);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x634180){const _0x4713e3=HO(_0x634180,this['socket']['binaryType']);this['onPacket'](_0x4713e3);}['onPacket'](_0x1819d9){super['emitReserved']('packet',_0x1819d9);}['onClose'](_0xf3f7df){this['readyState']='closed',super['emitReserved']('close',_0xf3f7df);}['pause'](_0x5a67b9){}['createUri'](_0x5242bb,_0x130a13={}){return _0x5242bb+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x130a13);}['_hostname'](){const _0x2d1437=this['opts']['hostname'];return-0x1===_0x2d1437['indexOf'](':')?_0x2d1437:'['+_0x2d1437+']';}['_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'](_0x37b894){const _0x3d6862=function(_0x4f104a){let _0x598a34='';for(let _0x3bbd71 in _0x4f104a)_0x4f104a['hasOwnProperty'](_0x3bbd71)&&(_0x598a34['length']&&(_0x598a34+='&'),_0x598a34+=encodeURIComponent(_0x3bbd71)+'='+encodeURIComponent(_0x4f104a[_0x3bbd71]));return _0x598a34;}(_0x37b894);return _0x3d6862['length']?'?'+_0x3d6862:'';}}const rw='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),ow={};let aw,cw=0x0,lw=0x0;function hw(_0x34f705){let _0x13ea63='';do{_0x13ea63=rw[_0x34f705%0x40]+_0x13ea63,_0x34f705=Math['floor'](_0x34f705/0x40);}while(_0x34f705>0x0);return _0x13ea63;}function uw(){const _0x6630ea=hw(+new Date());return _0x6630ea!==aw?(cw=0x0,aw=_0x6630ea):_0x6630ea+'.'+hw(cw++);}for(;lw<0x40;lw++)ow[rw[lw]]=lw;let dw=!0x1;try{dw='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x37fd8f){}const fw=dw;function mw(_0x1f3758){const _0xb9e406=_0x1f3758['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0xb9e406||fw))return new XMLHttpRequest();}catch(_0x5dfde3){}if(!_0xb9e406)try{return new JO[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x54362b){}}function gw(){}const pw=null!=new mw({'xdomain':!0x1})['responseType'];class Request extends KO{constructor(_0x16851d,_0x137bd2){super(),sw(this,_0x137bd2),this['opts']=_0x137bd2,this['method']=_0x137bd2['method']||'GET',this['uri']=_0x16851d,this['data']=void 0x0!==_0x137bd2['data']?_0x137bd2['data']:null,this['create']();}['create'](){var _0x259f70;const _0x293fff=tw(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x293fff['xdomain']=!!this['opts']['xd'];const _0x47ff24=this['xhr']=new mw(_0x293fff);try{_0x47ff24['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x47ff24['setDisableHeaderCheck']&&_0x47ff24['setDisableHeaderCheck'](!0x0);for(let _0x5ea51e in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x5ea51e)&&_0x47ff24['setRequestHeader'](_0x5ea51e,this['opts']['extraHeaders'][_0x5ea51e]);}}catch(_0x36464b){}if('POST'===this['method'])try{_0x47ff24['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x27d669){}try{_0x47ff24['setRequestHeader']('Accept','*/*');}catch(_0xca5648){}null===(_0x259f70=this['opts']['cookieJar'])||void 0x0===_0x259f70||_0x259f70['addCookies'](_0x47ff24),'withCredentials'in _0x47ff24&&(_0x47ff24['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x47ff24['timeout']=this['opts']['requestTimeout']),_0x47ff24['onreadystatechange']=()=>{var _0xb9493e;0x3===_0x47ff24['readyState']&&(null===(_0xb9493e=this['opts']['cookieJar'])||void 0x0===_0xb9493e||_0xb9493e['parseCookies'](_0x47ff24)),0x4===_0x47ff24['readyState']&&(0xc8===_0x47ff24['status']||0x4c7===_0x47ff24['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x47ff24['status']?_0x47ff24['status']:0x0);},0x0));},_0x47ff24['send'](this['data']);}catch(_0x1514f6){return void this['setTimeoutFn'](()=>{this['onError'](_0x1514f6);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x2f045d){this['emitReserved']('error',_0x2f045d,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x5c192e){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=gw,_0x5c192e)try{this['xhr']['abort']();}catch(_0x5950cb){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0xe6948b=this['xhr']['responseText'];null!==_0xe6948b&&(this['emitReserved']('data',_0xe6948b),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',Ow);else'function'==typeof addEventListener&&addEventListener('onpagehide'in JO?'pagehide':'unload',Ow,!0x1);}function Ow(){for(let _0x4c3850 in Request['requests'])Request['requests']['hasOwnProperty'](_0x4c3850)&&Request['requests'][_0x4c3850]['abort']();}const ww='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x22abd3=>Promise['resolve']()['then'](_0x22abd3):(_0x4c9c88,_0x262506)=>_0x262506(_0x4c9c88,0x0),bw=JO['WebSocket']||JO['MozWebSocket'],yw='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_w={'websocket':class WS extends Transport{constructor(_0x4c559a){super(_0x4c559a),this['supportsBinary']=!_0x4c559a['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x48824f=this['uri'](),_0x100d42=this['opts']['protocols'],_0x4b87a3=yw?{}:tw(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x4b87a3['headers']=this['opts']['extraHeaders']);try{this['ws']=yw?new bw(_0x48824f,_0x100d42,_0x4b87a3):_0x100d42?new bw(_0x48824f,_0x100d42):new bw(_0x48824f);}catch(_0x2b0ecd){return this['emitReserved']('error',_0x2b0ecd);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0xbe85cf=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0xbe85cf}),this['ws']['onmessage']=_0x1abd72=>this['onData'](_0x1abd72['data']),this['ws']['onerror']=_0x4deaac=>this['onError']('websocket\x20error',_0x4deaac);}['write'](_0x54e32b){this['writable']=!0x1;for(let _0x29b7bf=0x0;_0x29b7bf<_0x54e32b['length'];_0x29b7bf++){const _0x3dc3cf=_0x54e32b[_0x29b7bf],_0x1b0457=_0x29b7bf===_0x54e32b['length']-0x1;QO(_0x3dc3cf,this['supportsBinary'],_0x1fe177=>{try{this['ws']['send'](_0x1fe177);}catch(_0x23751f){}_0x1b0457&&ww(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x1f8642=this['opts']['secure']?'wss':'ws',_0x1ef18b=this['query']||{};return this['opts']['timestampRequests']&&(_0x1ef18b[this['opts']['timestampParam']]=uw()),this['supportsBinary']||(_0x1ef18b['b64']=0x1),this['createUri'](_0x1f8642,_0x1ef18b);}['check'](){return!!bw;}},'webtransport':class WT 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'](_0x203ae6=>{this['onError']('webtransport\x20error',_0x203ae6);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x24a605=>{const _0x3b853b=function(_0x5d7026,_0x177b27){WO||(WO=new TextDecoder());const _0x44f302=[];let _0x137dad=0x0,_0xbe8b5c=-0x1,_0x564260=!0x1;return new TransformStream({'transform'(_0x5bef1c,_0x550c37){for(_0x44f302['push'](_0x5bef1c);;){if(0x0===_0x137dad){if(zO(_0x44f302)<0x1)break;const _0x3dd79d=YO(_0x44f302,0x1);_0x564260=!(0x80&~_0x3dd79d[0x0]),_0xbe8b5c=0x7f&_0x3dd79d[0x0],_0x137dad=_0xbe8b5c<0x7e?0x3:0x7e===_0xbe8b5c?0x1:0x2;}else{if(0x1===_0x137dad){if(zO(_0x44f302)<0x2)break;const _0x3c541b=YO(_0x44f302,0x2);_0xbe8b5c=new DataView(_0x3c541b['buffer'],_0x3c541b['byteOffset'],_0x3c541b['length'])['getUint16'](0x0),_0x137dad=0x3;}else{if(0x2===_0x137dad){if(zO(_0x44f302)<0x8)break;const _0x28ea5e=YO(_0x44f302,0x8),_0x5f1117=new DataView(_0x28ea5e['buffer'],_0x28ea5e['byteOffset'],_0x28ea5e['length']),_0x57bc1c=_0x5f1117['getUint32'](0x0);if(_0x57bc1c>Math['pow'](0x2,0x15)-0x1){_0x550c37['enqueue'](MO);break;}_0xbe8b5c=_0x57bc1c*Math['pow'](0x2,0x20)+_0x5f1117['getUint32'](0x4),_0x137dad=0x3;}else{if(zO(_0x44f302)<_0xbe8b5c)break;const _0x522d5d=YO(_0x44f302,_0xbe8b5c);_0x550c37['enqueue'](HO(_0x564260?_0x522d5d:WO['decode'](_0x522d5d),_0x177b27)),_0x137dad=0x0;}}}if(0x0===_0xbe8b5c||_0xbe8b5c>_0x5d7026){_0x550c37['enqueue'](MO);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x1524e7=_0x24a605['readable']['pipeThrough'](_0x3b853b)['getReader'](),_0x1e3f46=qO();_0x1e3f46['readable']['pipeTo'](_0x24a605['writable']),this['writer']=_0x1e3f46['writable']['getWriter']();const _0x2fa44f=()=>{_0x1524e7['read']()['then'](({done:_0x52fc5c,value:_0x1eddaa})=>{_0x52fc5c||(this['onPacket'](_0x1eddaa),_0x2fa44f());})['catch'](_0x1fab64=>{});};_0x2fa44f();const _0x29ba4b={'type':'open'};this['query']['sid']&&(_0x29ba4b['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x29ba4b)['then'](()=>this['onOpen']());});}));}['write'](_0x51e879){this['writable']=!0x1;for(let _0x2259c6=0x0;_0x2259c6<_0x51e879['length'];_0x2259c6++){const _0x34bd6a=_0x51e879[_0x2259c6],_0x48affd=_0x2259c6===_0x51e879['length']-0x1;this['writer']['write'](_0x34bd6a)['then'](()=>{_0x48affd&&ww(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x2690d1;null===(_0x2690d1=this['transport'])||void 0x0===_0x2690d1||_0x2690d1['close']();}},'polling':class Polling extends Transport{constructor(_0xb25df4){if(super(_0xb25df4),this['polling']=!0x1,'undefined'!=typeof location){const _0x3b53f3='https:'===location['protocol'];let _0x372ceb=location['port'];_0x372ceb||(_0x372ceb=_0x3b53f3?'443':'80'),this['xd']='undefined'!=typeof location&&_0xb25df4['hostname']!==location['hostname']||_0x372ceb!==_0xb25df4['port'];}const _0x3ef609=_0xb25df4&&_0xb25df4['forceBase64'];this['supportsBinary']=pw&&!_0x3ef609,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0xd69bbc){this['readyState']='pausing';const _0x3ea601=()=>{this['readyState']='paused',_0xd69bbc();};if(this['polling']||!this['writable']){let _0x5362d1=0x0;this['polling']&&(_0x5362d1++,this['once']('pollComplete',function(){--_0x5362d1||_0x3ea601();})),this['writable']||(_0x5362d1++,this['once']('drain',function(){--_0x5362d1||_0x3ea601();}));}else _0x3ea601();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x3b808c){((_0x585845,_0x186ba0)=>{const _0x3c7753=_0x585845['split'](XO),_0x43a1aa=[];for(let _0x44a9a4=0x0;_0x44a9a4<_0x3c7753['length'];_0x44a9a4++){const _0x194a36=HO(_0x3c7753[_0x44a9a4],_0x186ba0);if(_0x43a1aa['push'](_0x194a36),'error'===_0x194a36['type'])break;}return _0x43a1aa;})(_0x3b808c,this['socket']['binaryType'])['forEach'](_0x4eb8c3=>{if('opening'===this['readyState']&&'open'===_0x4eb8c3['type']&&this['onOpen'](),'close'===_0x4eb8c3['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x4eb8c3);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0xeb9074=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0xeb9074():this['once']('open',_0xeb9074);}['write'](_0x1a66da){this['writable']=!0x1,((_0x5d8319,_0x2860f1)=>{const _0x36d293=_0x5d8319['length'],_0x47264f=new Array(_0x36d293);let _0x564f7c=0x0;_0x5d8319['forEach']((_0x11afa3,_0x722234)=>{QO(_0x11afa3,!0x1,_0x2d49b5=>{_0x47264f[_0x722234]=_0x2d49b5,++_0x564f7c===_0x36d293&&_0x2860f1(_0x47264f['join'](XO));});});})(_0x1a66da,_0x23b0d3=>{this['doWrite'](_0x23b0d3,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x46aefa=this['opts']['secure']?'https':'http',_0x442b5c=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x442b5c[this['opts']['timestampParam']]=uw()),this['supportsBinary']||_0x442b5c['sid']||(_0x442b5c['b64']=0x1),this['createUri'](_0x46aefa,_0x442b5c);}['request'](_0xc6aa7={}){return Object['assign'](_0xc6aa7,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0xc6aa7);}['doWrite'](_0x20205d,_0x34cf3f){const _0x1f1ee8=this['request']({'method':'POST','data':_0x20205d});_0x1f1ee8['on']('success',_0x34cf3f),_0x1f1ee8['on']('error',(_0x2bbb6b,_0x1a9793)=>{this['onError']('xhr\x20post\x20error',_0x2bbb6b,_0x1a9793);});}['doPoll'](){const _0x3dbbbf=this['request']();_0x3dbbbf['on']('data',this['onData']['bind'](this)),_0x3dbbbf['on']('error',(_0x69eb3c,_0xfa2e75)=>{this['onError']('xhr\x20poll\x20error',_0x69eb3c,_0xfa2e75);}),this['pollXhr']=_0x3dbbbf;}}},vw=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Tw=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function Ew(_0x27909b){if(_0x27909b['length']>0x7d0)throw'URI\x20too\x20long';const _0x5f3db7=_0x27909b,_0xee2c87=_0x27909b['indexOf']('['),_0xb6a82f=_0x27909b['indexOf'](']');-0x1!=_0xee2c87&&-0x1!=_0xb6a82f&&(_0x27909b=_0x27909b['substring'](0x0,_0xee2c87)+_0x27909b['substring'](_0xee2c87,_0xb6a82f)['replace'](/:/g,';')+_0x27909b['substring'](_0xb6a82f,_0x27909b['length']));let _0x3d8a79=vw['exec'](_0x27909b||''),_0x2b2769={},_0x379a22=0xe;for(;_0x379a22--;)_0x2b2769[Tw[_0x379a22]]=_0x3d8a79[_0x379a22]||'';return-0x1!=_0xee2c87&&-0x1!=_0xb6a82f&&(_0x2b2769['source']=_0x5f3db7,_0x2b2769['host']=_0x2b2769['host']['substring'](0x1,_0x2b2769['host']['length']-0x1)['replace'](/;/g,':'),_0x2b2769['authority']=_0x2b2769['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x2b2769['ipv6uri']=!0x0),_0x2b2769['pathNames']=function(_0x58b6c8,_0x34acb8){const _0x2f8bea=/\/{2,9}/g,_0x3c6a64=_0x34acb8['replace'](_0x2f8bea,'/')['split']('/');return'/'!=_0x34acb8['slice'](0x0,0x1)&&0x0!==_0x34acb8['length']||_0x3c6a64['splice'](0x0,0x1),'/'==_0x34acb8['slice'](-0x1)&&_0x3c6a64['splice'](_0x3c6a64['length']-0x1,0x1),_0x3c6a64;}(0x0,_0x2b2769['path']),_0x2b2769['queryKey']=function(_0x2f944d,_0x128b2b){const _0x349ec9={};return _0x128b2b['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x1007d9,_0x3828f0,_0x15a311){_0x3828f0&&(_0x349ec9[_0x3828f0]=_0x15a311);}),_0x349ec9;}(0x0,_0x2b2769['query']),_0x2b2769;}let Aw=class Socket extends KO{constructor(_0x1935d1,_0xd1fa14={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x1935d1&&'object'==typeof _0x1935d1&&(_0xd1fa14=_0x1935d1,_0x1935d1=null),_0x1935d1?(_0x1935d1=Ew(_0x1935d1),_0xd1fa14['hostname']=_0x1935d1['host'],_0xd1fa14['secure']='https'===_0x1935d1['protocol']||'wss'===_0x1935d1['protocol'],_0xd1fa14['port']=_0x1935d1['port'],_0x1935d1['query']&&(_0xd1fa14['query']=_0x1935d1['query'])):_0xd1fa14['host']&&(_0xd1fa14['hostname']=Ew(_0xd1fa14['host'])['host']),sw(this,_0xd1fa14),this['secure']=null!=_0xd1fa14['secure']?_0xd1fa14['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0xd1fa14['hostname']&&!_0xd1fa14['port']&&(_0xd1fa14['port']=this['secure']?'443':'80'),this['hostname']=_0xd1fa14['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0xd1fa14['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0xd1fa14['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},_0xd1fa14),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0xcf295e){let _0x2da657={},_0x27f325=_0xcf295e['split']('&');for(let _0xa30613=0x0,_0x189a2d=_0x27f325['length'];_0xa30613<_0x189a2d;_0xa30613++){let _0x20aa7f=_0x27f325[_0xa30613]['split']('=');_0x2da657[decodeURIComponent(_0x20aa7f[0x0])]=decodeURIComponent(_0x20aa7f[0x1]);}return _0x2da657;}(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'](_0x4dc4ca){const _0x4cd712=Object['assign']({},this['opts']['query']);_0x4cd712['EIO']=0x4,_0x4cd712['transport']=_0x4dc4ca,this['id']&&(_0x4cd712['sid']=this['id']);const _0x230022=Object['assign']({},this['opts'],{'query':_0x4cd712,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x4dc4ca]);return new _w[_0x4dc4ca](_0x230022);}['open'](){let _0x34e32d;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x34e32d='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x34e32d=this['transports'][0x0];}this['readyState']='opening';try{_0x34e32d=this['createTransport'](_0x34e32d);}catch(_0x595640){return this['transports']['shift'](),void this['open']();}_0x34e32d['open'](),this['setTransport'](_0x34e32d);}['setTransport'](_0x3cf3da){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x3cf3da,_0x3cf3da['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x48d53f=>this['onClose']('transport\x20close',_0x48d53f));}['probe'](_0x220606){let _0x3b074f=this['createTransport'](_0x220606),_0x1af101=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x368467=()=>{_0x1af101||(_0x3b074f['send']([{'type':'ping','data':'probe'}]),_0x3b074f['once']('packet',_0x20de92=>{if(!_0x1af101){if('pong'===_0x20de92['type']&&'probe'===_0x20de92['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x3b074f),!_0x3b074f)return;Socket['priorWebsocketSuccess']='websocket'===_0x3b074f['name'],this['transport']['pause'](()=>{_0x1af101||'closed'!==this['readyState']&&(_0x4c744b(),this['setTransport'](_0x3b074f),_0x3b074f['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x3b074f),_0x3b074f=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x50d3b9=new Error('probe\x20error');_0x50d3b9['transport']=_0x3b074f['name'],this['emitReserved']('upgradeError',_0x50d3b9);}}}));};function _0x46d0b2(){_0x1af101||(_0x1af101=!0x0,_0x4c744b(),_0x3b074f['close'](),_0x3b074f=null);}const _0x2bdee8=_0x3d31bb=>{const _0xfed19b=new Error('probe\x20error:\x20'+_0x3d31bb);_0xfed19b['transport']=_0x3b074f['name'],_0x46d0b2(),this['emitReserved']('upgradeError',_0xfed19b);};function _0x12a2bf(){_0x2bdee8('transport\x20closed');}function _0x49c525(){_0x2bdee8('socket\x20closed');}function _0x4c3c18(_0x1a05ff){_0x3b074f&&_0x1a05ff['name']!==_0x3b074f['name']&&_0x46d0b2();}const _0x4c744b=()=>{_0x3b074f['removeListener']('open',_0x368467),_0x3b074f['removeListener']('error',_0x2bdee8),_0x3b074f['removeListener']('close',_0x12a2bf),this['off']('close',_0x49c525),this['off']('upgrading',_0x4c3c18);};_0x3b074f['once']('open',_0x368467),_0x3b074f['once']('error',_0x2bdee8),_0x3b074f['once']('close',_0x12a2bf),this['once']('close',_0x49c525),this['once']('upgrading',_0x4c3c18),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x220606?this['setTimeoutFn'](()=>{_0x1af101||_0x3b074f['open']();},0xc8):_0x3b074f['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x56f5be=0x0;const _0x362f7b=this['upgrades']['length'];for(;_0x56f5be<_0x362f7b;_0x56f5be++)this['probe'](this['upgrades'][_0x56f5be]);}}['onPacket'](_0x5288b8){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x5288b8),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x5288b8['type']){case'open':this['onHandshake'](JSON['parse'](_0x5288b8['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x22443b=new Error('server\x20error');_0x22443b['code']=_0x5288b8['data'],this['onError'](_0x22443b);break;case'message':this['emitReserved']('data',_0x5288b8['data']),this['emitReserved']('message',_0x5288b8['data']);}}['onHandshake'](_0x363251){this['emitReserved']('handshake',_0x363251),this['id']=_0x363251['sid'],this['transport']['query']['sid']=_0x363251['sid'],this['upgrades']=this['filterUpgrades'](_0x363251['upgrades']),this['pingInterval']=_0x363251['pingInterval'],this['pingTimeout']=_0x363251['pingTimeout'],this['maxPayload']=_0x363251['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 _0x1b677d=this['getWritablePackets']();this['transport']['send'](_0x1b677d),this['prevBufferLen']=_0x1b677d['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x46694c=0x1;for(let _0x2434eb=0x0;_0x2434eb<this['writeBuffer']['length'];_0x2434eb++){const _0x14f7d2=this['writeBuffer'][_0x2434eb]['data'];if(_0x14f7d2&&(_0x46694c+=nw(_0x14f7d2)),_0x2434eb>0x0&&_0x46694c>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x2434eb);_0x46694c+=0x2;}return this['writeBuffer'];}['write'](_0x2e0691,_0x2e5d4c,_0x15374f){return this['sendPacket']('message',_0x2e0691,_0x2e5d4c,_0x15374f),this;}['send'](_0x2e7066,_0x42f339,_0x1862c5){return this['sendPacket']('message',_0x2e7066,_0x42f339,_0x1862c5),this;}['sendPacket'](_0x1f7049,_0x5b5f01,_0x408b1c,_0x17e308){if('function'==typeof _0x5b5f01&&(_0x17e308=_0x5b5f01,_0x5b5f01=void 0x0),'function'==typeof _0x408b1c&&(_0x17e308=_0x408b1c,_0x408b1c=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x408b1c=_0x408b1c||{})['compress']=!0x1!==_0x408b1c['compress'];const _0x3b1178={'type':_0x1f7049,'data':_0x5b5f01,'options':_0x408b1c};this['emitReserved']('packetCreate',_0x3b1178),this['writeBuffer']['push'](_0x3b1178),_0x17e308&&this['once']('flush',_0x17e308),this['flush']();}['close'](){const _0x425098=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x2caeb3=()=>{this['off']('upgrade',_0x2caeb3),this['off']('upgradeError',_0x2caeb3),_0x425098();},_0x28b673=()=>{this['once']('upgrade',_0x2caeb3),this['once']('upgradeError',_0x2caeb3);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x28b673():_0x425098();}):this['upgrading']?_0x28b673():_0x425098()),this;}['onError'](_0x5cf919){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x5cf919),this['onClose']('transport\x20error',_0x5cf919);}['onClose'](_0x22882d,_0x31dc51){'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',_0x22882d,_0x31dc51),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x5f4542){const _0x32f74c=[];let _0x4e4584=0x0;const _0x24a32d=_0x5f4542['length'];for(;_0x4e4584<_0x24a32d;_0x4e4584++)~this['transports']['indexOf'](_0x5f4542[_0x4e4584])&&_0x32f74c['push'](_0x5f4542[_0x4e4584]);return _0x32f74c;}};Aw['protocol']=0x4;const Sw='function'==typeof ArrayBuffer,Iw=Object['prototype']['toString'],Cw='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Iw['call'](Blob),kw='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===Iw['call'](File);function xw(_0x4d33a6){return Sw&&(_0x4d33a6 instanceof ArrayBuffer||(_0x21e82d=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x21e82d):_0x21e82d['buffer']instanceof ArrayBuffer)(_0x4d33a6))||Cw&&_0x4d33a6 instanceof Blob||kw&&_0x4d33a6 instanceof File;}function Rw(_0x374bda,_0x8e595f){if(!_0x374bda||'object'!=typeof _0x374bda)return!0x1;if(Array['isArray'](_0x374bda)){for(let _0x5da254=0x0,_0x1324e2=_0x374bda['length'];_0x5da254<_0x1324e2;_0x5da254++)if(Rw(_0x374bda[_0x5da254]))return!0x0;return!0x1;}if(xw(_0x374bda))return!0x0;if(_0x374bda['toJSON']&&'function'==typeof _0x374bda['toJSON']&&0x1===arguments['length'])return Rw(_0x374bda['toJSON'](),!0x0);for(const _0x112d2f in _0x374bda)if(Object['prototype']['hasOwnProperty']['call'](_0x374bda,_0x112d2f)&&Rw(_0x374bda[_0x112d2f]))return!0x0;return!0x1;}function Pw(_0x2d6cb9){const _0x5666d8=[],_0x5622f7=_0x2d6cb9['data'],_0x1cc0b9=_0x2d6cb9;return _0x1cc0b9['data']=Mw(_0x5622f7,_0x5666d8),_0x1cc0b9['attachments']=_0x5666d8['length'],{'packet':_0x1cc0b9,'buffers':_0x5666d8};}function Mw(_0xdf8c9,_0x49139f){if(!_0xdf8c9)return _0xdf8c9;if(xw(_0xdf8c9)){const _0x13da5d={'_placeholder':!0x0,'num':_0x49139f['length']};return _0x49139f['push'](_0xdf8c9),_0x13da5d;}if(Array['isArray'](_0xdf8c9)){const _0x32415a=new Array(_0xdf8c9['length']);for(let _0x142a97=0x0;_0x142a97<_0xdf8c9['length'];_0x142a97++)_0x32415a[_0x142a97]=Mw(_0xdf8c9[_0x142a97],_0x49139f);return _0x32415a;}if('object'==typeof _0xdf8c9&&!(_0xdf8c9 instanceof Date)){const _0x371664={};for(const _0x200b69 in _0xdf8c9)Object['prototype']['hasOwnProperty']['call'](_0xdf8c9,_0x200b69)&&(_0x371664[_0x200b69]=Mw(_0xdf8c9[_0x200b69],_0x49139f));return _0x371664;}return _0xdf8c9;}function Nw(_0x5590ad,_0x496e01){return _0x5590ad['data']=Lw(_0x5590ad['data'],_0x496e01),delete _0x5590ad['attachments'],_0x5590ad;}function Lw(_0x2eab29,_0x4eb195){if(!_0x2eab29)return _0x2eab29;if(_0x2eab29&&!0x0===_0x2eab29['_placeholder']){if('number'==typeof _0x2eab29['num']&&_0x2eab29['num']>=0x0&&_0x2eab29['num']<_0x4eb195['length'])return _0x4eb195[_0x2eab29['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x2eab29)){for(let _0x454f16=0x0;_0x454f16<_0x2eab29['length'];_0x454f16++)_0x2eab29[_0x454f16]=Lw(_0x2eab29[_0x454f16],_0x4eb195);}else{if('object'==typeof _0x2eab29){for(const _0x24e40b in _0x2eab29)Object['prototype']['hasOwnProperty']['call'](_0x2eab29,_0x24e40b)&&(_0x2eab29[_0x24e40b]=Lw(_0x2eab29[_0x24e40b],_0x4eb195));}}return _0x2eab29;}const Dw=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var Qw;!function(_0x15bac9){_0x15bac9[_0x15bac9['CONNECT']=0x0]='CONNECT',_0x15bac9[_0x15bac9['DISCONNECT']=0x1]='DISCONNECT',_0x15bac9[_0x15bac9['EVENT']=0x2]='EVENT',_0x15bac9[_0x15bac9['ACK']=0x3]='ACK',_0x15bac9[_0x15bac9['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x15bac9[_0x15bac9['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x15bac9[_0x15bac9['BINARY_ACK']=0x6]='BINARY_ACK';}(Qw||(Qw={}));let $w=class Encoder{constructor(_0x1e4e13){this['replacer']=_0x1e4e13;}['encode'](_0x3ada2d){return _0x3ada2d['type']!==Qw['EVENT']&&_0x3ada2d['type']!==Qw['ACK']||!Rw(_0x3ada2d)?[this['encodeAsString'](_0x3ada2d)]:this['encodeAsBinary']({'type':_0x3ada2d['type']===Qw['EVENT']?Qw['BINARY_EVENT']:Qw['BINARY_ACK'],'nsp':_0x3ada2d['nsp'],'data':_0x3ada2d['data'],'id':_0x3ada2d['id']});}['encodeAsString'](_0x597f2c){let _0x30d71=''+_0x597f2c['type'];return _0x597f2c['type']!==Qw['BINARY_EVENT']&&_0x597f2c['type']!==Qw['BINARY_ACK']||(_0x30d71+=_0x597f2c['attachments']+'-'),_0x597f2c['nsp']&&'/'!==_0x597f2c['nsp']&&(_0x30d71+=_0x597f2c['nsp']+','),null!=_0x597f2c['id']&&(_0x30d71+=_0x597f2c['id']),null!=_0x597f2c['data']&&(_0x30d71+=JSON['stringify'](_0x597f2c['data'],this['replacer'])),_0x30d71;}['encodeAsBinary'](_0x161029){const _0x112bb0=Pw(_0x161029),_0x70a769=this['encodeAsString'](_0x112bb0['packet']),_0x20696c=_0x112bb0['buffers'];return _0x20696c['unshift'](_0x70a769),_0x20696c;}},Vw=class Decoder extends KO{constructor(_0xd3f8b4){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0xd3f8b4?{'reviver':_0xd3f8b4}:_0xd3f8b4);}['add'](_0x37756f){let _0x5cd33c;if('string'==typeof _0x37756f){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x5cd33c=this['decodeString'](_0x37756f);const _0x2babad=_0x5cd33c['type']===Qw['BINARY_EVENT'];_0x2babad||_0x5cd33c['type']===Qw['BINARY_ACK']?(_0x5cd33c['type']=_0x2babad?Qw['EVENT']:Qw['ACK'],this['reconstructor']=new BinaryReconstructor(_0x5cd33c),0x0===_0x5cd33c['attachments']&&super['emitReserved']('decoded',_0x5cd33c)):super['emitReserved']('decoded',_0x5cd33c);}else{if(!xw(_0x37756f)&&!_0x37756f['base64'])throw new Error('Unknown\x20type:\x20'+_0x37756f);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x5cd33c=this['reconstructor']['takeBinaryData'](_0x37756f),_0x5cd33c&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x5cd33c));}}['decodeString'](_0x1fc764){let _0x32f1a6=0x0;const _0x5dda6a={'type':Number(_0x1fc764['charAt'](0x0))};if(void 0x0===Qw[_0x5dda6a['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x5dda6a['type']);if(_0x5dda6a['type']===Qw['BINARY_EVENT']||_0x5dda6a['type']===Qw['BINARY_ACK']){const _0x33b6b6=_0x32f1a6+0x1;for(;'-'!==_0x1fc764['charAt'](++_0x32f1a6)&&_0x32f1a6!=_0x1fc764['length'];);const _0x5ebca4=_0x1fc764['substring'](_0x33b6b6,_0x32f1a6);if(_0x5ebca4!=Number(_0x5ebca4)||'-'!==_0x1fc764['charAt'](_0x32f1a6))throw new Error('Illegal\x20attachments');const _0x593571=Number(_0x5ebca4);if(!Uw(_0x593571)||_0x593571<0x0)throw new Error('Illegal\x20attachments');if(_0x593571>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x5dda6a['attachments']=_0x593571;}if('/'===_0x1fc764['charAt'](_0x32f1a6+0x1)){const _0x3ecd10=_0x32f1a6+0x1;for(;++_0x32f1a6;){if(','===_0x1fc764['charAt'](_0x32f1a6))break;if(_0x32f1a6===_0x1fc764['length'])break;}_0x5dda6a['nsp']=_0x1fc764['substring'](_0x3ecd10,_0x32f1a6);}else _0x5dda6a['nsp']='/';const _0x2e53f3=_0x1fc764['charAt'](_0x32f1a6+0x1);if(''!==_0x2e53f3&&Number(_0x2e53f3)==_0x2e53f3){const _0x127d44=_0x32f1a6+0x1;for(;++_0x32f1a6;){const _0x26f8e4=_0x1fc764['charAt'](_0x32f1a6);if(null==_0x26f8e4||Number(_0x26f8e4)!=_0x26f8e4){--_0x32f1a6;break;}if(_0x32f1a6===_0x1fc764['length'])break;}_0x5dda6a['id']=Number(_0x1fc764['substring'](_0x127d44,_0x32f1a6+0x1));}if(_0x1fc764['charAt'](++_0x32f1a6)){const _0x5226e9=this['tryParse'](_0x1fc764['substr'](_0x32f1a6));if(!Decoder['isPayloadValid'](_0x5dda6a['type'],_0x5226e9))throw new Error('invalid\x20payload');_0x5dda6a['data']=_0x5226e9;}return _0x5dda6a;}['tryParse'](_0x30eeb1){try{return JSON['parse'](_0x30eeb1,this['opts']['reviver']);}catch(_0x504c27){return!0x1;}}static['isPayloadValid'](_0x1dd5cd,_0xb8b0ee){switch(_0x1dd5cd){case Qw['CONNECT']:return Bw(_0xb8b0ee);case Qw['DISCONNECT']:return void 0x0===_0xb8b0ee;case Qw['CONNECT_ERROR']:return'string'==typeof _0xb8b0ee||Bw(_0xb8b0ee);case Qw['EVENT']:case Qw['BINARY_EVENT']:return Array['isArray'](_0xb8b0ee)&&('number'==typeof _0xb8b0ee[0x0]||'string'==typeof _0xb8b0ee[0x0]&&-0x1===Dw['indexOf'](_0xb8b0ee[0x0]));case Qw['ACK']:case Qw['BINARY_ACK']:return Array['isArray'](_0xb8b0ee);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x59386a){this['packet']=_0x59386a,this['buffers']=[],this['reconPack']=_0x59386a;}['takeBinaryData'](_0x283a9b){if(this['buffers']['push'](_0x283a9b),this['buffers']['length']===this['reconPack']['attachments']){const _0x23d645=Nw(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x23d645;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const Uw=Number['isInteger']||function(_0x8a5bb3){return'number'==typeof _0x8a5bb3&&isFinite(_0x8a5bb3)&&Math['floor'](_0x8a5bb3)===_0x8a5bb3;};function Bw(_0x576a98){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x576a98);}var Fw=Object['freeze']({'__proto__':null,'Decoder':Vw,'Encoder':$w,get 'PacketType'(){return Qw;}});function jw(_0x35dfe1,_0x406d43,_0x4b94d8){return _0x35dfe1['on'](_0x406d43,_0x4b94d8),function(){_0x35dfe1['off'](_0x406d43,_0x4b94d8);};}const Hw=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends KO{constructor(_0xa92964,_0x480763,_0x2b7471){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']=_0xa92964,this['nsp']=_0x480763,_0x2b7471&&_0x2b7471['auth']&&(this['auth']=_0x2b7471['auth']),this['_opts']=Object['assign']({},_0x2b7471),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x10645e=this['io'];this['subs']=[jw(_0x10645e,'open',this['onopen']['bind'](this)),jw(_0x10645e,'packet',this['onpacket']['bind'](this)),jw(_0x10645e,'error',this['onerror']['bind'](this)),jw(_0x10645e,'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'](..._0x208ef3){return _0x208ef3['unshift']('message'),this['emit']['apply'](this,_0x208ef3),this;}['emit'](_0x4c0352,..._0x476719){if(Hw['hasOwnProperty'](_0x4c0352))throw new Error('\x22'+_0x4c0352['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x476719['unshift'](_0x4c0352),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x476719),this;const _0xc04634={'type':Qw['EVENT'],'data':_0x476719,'options':{}};if(_0xc04634['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x476719[_0x476719['length']-0x1]){const _0x58afb1=this['ids']++,_0x1ef9b2=_0x476719['pop']();this['_registerAckCallback'](_0x58afb1,_0x1ef9b2),_0xc04634['id']=_0x58afb1;}const _0x20a70b=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x20a70b||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0xc04634),this['packet'](_0xc04634)):this['sendBuffer']['push'](_0xc04634)),this['flags']={},this;}['_registerAckCallback'](_0x201a81,_0x5cb1b3){var _0x5b4d85;const _0x21c91a=null!==(_0x5b4d85=this['flags']['timeout'])&&void 0x0!==_0x5b4d85?_0x5b4d85:this['_opts']['ackTimeout'];if(void 0x0===_0x21c91a)return void(this['acks'][_0x201a81]=_0x5cb1b3);const _0x588977=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x201a81];for(let _0x1eae08=0x0;_0x1eae08<this['sendBuffer']['length'];_0x1eae08++)this['sendBuffer'][_0x1eae08]['id']===_0x201a81&&this['sendBuffer']['splice'](_0x1eae08,0x1);_0x5cb1b3['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x21c91a);this['acks'][_0x201a81]=(..._0x2ac6f0)=>{this['io']['clearTimeoutFn'](_0x588977),_0x5cb1b3['apply'](this,[null,..._0x2ac6f0]);};}['emitWithAck'](_0x3716e5,..._0x45a666){const _0x1b9d4f=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x3865b6,_0x39ca30)=>{_0x45a666['push']((_0x2f4179,_0xc10cd8)=>_0x1b9d4f?_0x2f4179?_0x39ca30(_0x2f4179):_0x3865b6(_0xc10cd8):_0x3865b6(_0x2f4179)),this['emit'](_0x3716e5,..._0x45a666);});}['_addToQueue'](_0x4872ac){let _0x3a7ee3;'function'==typeof _0x4872ac[_0x4872ac['length']-0x1]&&(_0x3a7ee3=_0x4872ac['pop']());const _0x1581db={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x4872ac,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x4872ac['push']((_0xad1f6d,..._0x393e50)=>{if(_0x1581db!==this['_queue'][0x0])return;return null!==_0xad1f6d?_0x1581db['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x3a7ee3&&_0x3a7ee3(_0xad1f6d)):(this['_queue']['shift'](),_0x3a7ee3&&_0x3a7ee3(null,..._0x393e50)),_0x1581db['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x1581db),this['_drainQueue']();}['_drainQueue'](_0x9c338f=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x37e3f6=this['_queue'][0x0];_0x37e3f6['pending']&&!_0x9c338f||(_0x37e3f6['pending']=!0x0,_0x37e3f6['tryCount']++,this['flags']=_0x37e3f6['flags'],this['emit']['apply'](this,_0x37e3f6['args']));}['packet'](_0xc8d0a){_0xc8d0a['nsp']=this['nsp'],this['io']['_packet'](_0xc8d0a);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x11f691=>{this['_sendConnectPacket'](_0x11f691);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x3247f1){this['packet']({'type':Qw['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x3247f1):_0x3247f1});}['onerror'](_0x3cee80){this['connected']||this['emitReserved']('connect_error',_0x3cee80);}['onclose'](_0x54ccc0,_0x208e52){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x54ccc0,_0x208e52);}['onpacket'](_0x3adaa1){if(_0x3adaa1['nsp']===this['nsp'])switch(_0x3adaa1['type']){case Qw['CONNECT']:_0x3adaa1['data']&&_0x3adaa1['data']['sid']?this['onconnect'](_0x3adaa1['data']['sid'],_0x3adaa1['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 Qw['EVENT']:case Qw['BINARY_EVENT']:this['onevent'](_0x3adaa1);break;case Qw['ACK']:case Qw['BINARY_ACK']:this['onack'](_0x3adaa1);break;case Qw['DISCONNECT']:this['ondisconnect']();break;case Qw['CONNECT_ERROR']:this['destroy']();const _0x16b49a=new Error(_0x3adaa1['data']['message']);_0x16b49a['data']=_0x3adaa1['data']['data'],this['emitReserved']('connect_error',_0x16b49a);}}['onevent'](_0x3a22fd){const _0x3e5a87=_0x3a22fd['data']||[];null!=_0x3a22fd['id']&&_0x3e5a87['push'](this['ack'](_0x3a22fd['id'])),this['connected']?this['emitEvent'](_0x3e5a87):this['receiveBuffer']['push'](Object['freeze'](_0x3e5a87));}['emitEvent'](_0x4df6f8){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x45f331=this['_anyListeners']['slice']();for(const _0x40995a of _0x45f331)_0x40995a['apply'](this,_0x4df6f8);}super['emit']['apply'](this,_0x4df6f8),this['_pid']&&_0x4df6f8['length']&&'string'==typeof _0x4df6f8[_0x4df6f8['length']-0x1]&&(this['_lastOffset']=_0x4df6f8[_0x4df6f8['length']-0x1]);}['ack'](_0x18ed5b){const _0x494227=this;let _0x21e624=!0x1;return function(..._0x359bc9){_0x21e624||(_0x21e624=!0x0,_0x494227['packet']({'type':Qw['ACK'],'id':_0x18ed5b,'data':_0x359bc9}));};}['onack'](_0x3cef9d){const _0x27cf86=this['acks'][_0x3cef9d['id']];'function'==typeof _0x27cf86&&(_0x27cf86['apply'](this,_0x3cef9d['data']),delete this['acks'][_0x3cef9d['id']]);}['onconnect'](_0x261365,_0x2dd5d7){this['id']=_0x261365,this['recovered']=_0x2dd5d7&&this['_pid']===_0x2dd5d7,this['_pid']=_0x2dd5d7,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x4ad481=>this['emitEvent'](_0x4ad481)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x319db5=>{this['notifyOutgoingListeners'](_0x319db5),this['packet'](_0x319db5);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x4bf37b=>_0x4bf37b()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':Qw['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x56902a){return this['flags']['compress']=_0x56902a,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x35d15a){return this['flags']['timeout']=_0x35d15a,this;}['onAny'](_0x1fa90d){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x1fa90d),this;}['prependAny'](_0x54c9e0){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x54c9e0),this;}['offAny'](_0x5d4732){if(!this['_anyListeners'])return this;if(_0x5d4732){const _0x392eb7=this['_anyListeners'];for(let _0xe1a15f=0x0;_0xe1a15f<_0x392eb7['length'];_0xe1a15f++)if(_0x5d4732===_0x392eb7[_0xe1a15f])return _0x392eb7['splice'](_0xe1a15f,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x3d948c){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x3d948c),this;}['prependAnyOutgoing'](_0x76a07e){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x76a07e),this;}['offAnyOutgoing'](_0x507dc1){if(!this['_anyOutgoingListeners'])return this;if(_0x507dc1){const _0x986c1b=this['_anyOutgoingListeners'];for(let _0x35a7d0=0x0;_0x35a7d0<_0x986c1b['length'];_0x35a7d0++)if(_0x507dc1===_0x986c1b[_0x35a7d0])return _0x986c1b['splice'](_0x35a7d0,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x20a878){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x3fa8d5=this['_anyOutgoingListeners']['slice']();for(const _0x1f2614 of _0x3fa8d5)_0x1f2614['apply'](this,_0x20a878['data']);}}}function Gw(_0x27116a){_0x27116a=_0x27116a||{},this['ms']=_0x27116a['min']||0x64,this['max']=_0x27116a['max']||0x2710,this['factor']=_0x27116a['factor']||0x2,this['jitter']=_0x27116a['jitter']>0x0&&_0x27116a['jitter']<=0x1?_0x27116a['jitter']:0x0,this['attempts']=0x0;}Gw['prototype']['duration']=function(){var _0x14dc5f=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x34169e=Math['random'](),_0x387351=Math['floor'](_0x34169e*this['jitter']*_0x14dc5f);_0x14dc5f=0x1&Math['floor'](0xa*_0x34169e)?_0x14dc5f+_0x387351:_0x14dc5f-_0x387351;}return 0x0|Math['min'](_0x14dc5f,this['max']);},Gw['prototype']['reset']=function(){this['attempts']=0x0;},Gw['prototype']['setMin']=function(_0x574f00){this['ms']=_0x574f00;},Gw['prototype']['setMax']=function(_0x3b70e0){this['max']=_0x3b70e0;},Gw['prototype']['setJitter']=function(_0x328561){this['jitter']=_0x328561;};class Manager extends KO{constructor(_0x1ca059,_0x538620){var _0xa5ce8d;super(),this['nsps']={},this['subs']=[],_0x1ca059&&'object'==typeof _0x1ca059&&(_0x538620=_0x1ca059,_0x1ca059=void 0x0),(_0x538620=_0x538620||{})['path']=_0x538620['path']||'/socket.io',this['opts']=_0x538620,sw(this,_0x538620),this['reconnection'](!0x1!==_0x538620['reconnection']),this['reconnectionAttempts'](_0x538620['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x538620['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x538620['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xa5ce8d=_0x538620['randomizationFactor'])&&void 0x0!==_0xa5ce8d?_0xa5ce8d:0.5),this['backoff']=new Gw({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x538620['timeout']?0x4e20:_0x538620['timeout']),this['_readyState']='closed',this['uri']=_0x1ca059;const _0x289450=_0x538620['parser']||Fw;this['encoder']=new _0x289450['Encoder'](),this['decoder']=new _0x289450['Decoder'](),this['_autoConnect']=!0x1!==_0x538620['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x433c34){return arguments['length']?(this['_reconnection']=!!_0x433c34,this):this['_reconnection'];}['reconnectionAttempts'](_0x5e7fa4){return void 0x0===_0x5e7fa4?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x5e7fa4,this);}['reconnectionDelay'](_0x43fb9f){var _0xbad8bd;return void 0x0===_0x43fb9f?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x43fb9f,null===(_0xbad8bd=this['backoff'])||void 0x0===_0xbad8bd||_0xbad8bd['setMin'](_0x43fb9f),this);}['randomizationFactor'](_0x1cbccc){var _0x3dfa81;return void 0x0===_0x1cbccc?this['_randomizationFactor']:(this['_randomizationFactor']=_0x1cbccc,null===(_0x3dfa81=this['backoff'])||void 0x0===_0x3dfa81||_0x3dfa81['setJitter'](_0x1cbccc),this);}['reconnectionDelayMax'](_0x3f94e1){var _0x490847;return void 0x0===_0x3f94e1?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x3f94e1,null===(_0x490847=this['backoff'])||void 0x0===_0x490847||_0x490847['setMax'](_0x3f94e1),this);}['timeout'](_0x1020b8){return arguments['length']?(this['_timeout']=_0x1020b8,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x423ba6){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Aw(this['uri'],this['opts']);const _0x5c012e=this['engine'],_0x555d57=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x2a0da6=jw(_0x5c012e,'open',function(){_0x555d57['onopen'](),_0x423ba6&&_0x423ba6();}),_0x8e8c87=_0x1d988e=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x1d988e),_0x423ba6?_0x423ba6(_0x1d988e):this['maybeReconnectOnOpen']();},_0x2e1452=jw(_0x5c012e,'error',_0x8e8c87);if(!0x1!==this['_timeout']){const _0x4251a9=this['_timeout'],_0x576518=this['setTimeoutFn'](()=>{_0x2a0da6(),_0x8e8c87(new Error('timeout')),_0x5c012e['close']();},_0x4251a9);this['opts']['autoUnref']&&_0x576518['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x576518);});}return this['subs']['push'](_0x2a0da6),this['subs']['push'](_0x2e1452),this;}['connect'](_0x3e7981){return this['open'](_0x3e7981);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x2e045e=this['engine'];this['subs']['push'](jw(_0x2e045e,'ping',this['onping']['bind'](this)),jw(_0x2e045e,'data',this['ondata']['bind'](this)),jw(_0x2e045e,'error',this['onerror']['bind'](this)),jw(_0x2e045e,'close',this['onclose']['bind'](this)),jw(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x556534){try{this['decoder']['add'](_0x556534);}catch(_0x15d5f3){this['onclose']('parse\x20error',_0x15d5f3);}}['ondecoded'](_0x4d800f){ww(()=>{this['emitReserved']('packet',_0x4d800f);},this['setTimeoutFn']);}['onerror'](_0x3593c1){this['emitReserved']('error',_0x3593c1);}['socket'](_0x56cd95,_0x26e2c0){let _0x1e6cf0=this['nsps'][_0x56cd95];return _0x1e6cf0?this['_autoConnect']&&!_0x1e6cf0['active']&&_0x1e6cf0['connect']():(_0x1e6cf0=new Socket(this,_0x56cd95,_0x26e2c0),this['nsps'][_0x56cd95]=_0x1e6cf0),_0x1e6cf0;}['_destroy'](_0x7b1a90){const _0x45357b=Object['keys'](this['nsps']);for(const _0x43c7a4 of _0x45357b){if(this['nsps'][_0x43c7a4]['active'])return;}this['_close']();}['_packet'](_0x1c4bca){const _0x590f98=this['encoder']['encode'](_0x1c4bca);for(let _0x2bb207=0x0;_0x2bb207<_0x590f98['length'];_0x2bb207++)this['engine']['write'](_0x590f98[_0x2bb207],_0x1c4bca['options']);}['cleanup'](){this['subs']['forEach'](_0x269ea7=>_0x269ea7()),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'](_0x528438,_0x1d727f){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x528438,_0x1d727f),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x254f6f=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x320231=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x3a2581=this['setTimeoutFn'](()=>{_0x254f6f['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x254f6f['backoff']['attempts']),_0x254f6f['skipReconnect']||_0x254f6f['open'](_0x523f67=>{_0x523f67?(_0x254f6f['_reconnecting']=!0x1,_0x254f6f['reconnect'](),this['emitReserved']('reconnect_error',_0x523f67)):_0x254f6f['onreconnect']();}));},_0x320231);this['opts']['autoUnref']&&_0x3a2581['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x3a2581);});}}['onreconnect'](){const _0x186668=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x186668);}}const Zw={};function Xw(_0x2b6348,_0x3c7ed9){'object'==typeof _0x2b6348&&(_0x3c7ed9=_0x2b6348,_0x2b6348=void 0x0);const _0x14667a=function(_0x22f6e6,_0x5be50b='',_0x364ea0){let _0x36b683=_0x22f6e6;_0x364ea0=_0x364ea0||'undefined'!=typeof location&&location,null==_0x22f6e6&&(_0x22f6e6=_0x364ea0['protocol']+'//'+_0x364ea0['host']),'string'==typeof _0x22f6e6&&('/'===_0x22f6e6['charAt'](0x0)&&(_0x22f6e6='/'===_0x22f6e6['charAt'](0x1)?_0x364ea0['protocol']+_0x22f6e6:_0x364ea0['host']+_0x22f6e6),/^(https?|wss?):\/\//['test'](_0x22f6e6)||(_0x22f6e6=void 0x0!==_0x364ea0?_0x364ea0['protocol']+'//'+_0x22f6e6:'https://'+_0x22f6e6),_0x36b683=Ew(_0x22f6e6)),_0x36b683['port']||(/^(http|ws)$/['test'](_0x36b683['protocol'])?_0x36b683['port']='80':/^(http|ws)s$/['test'](_0x36b683['protocol'])&&(_0x36b683['port']='443')),_0x36b683['path']=_0x36b683['path']||'/';const _0x51948=-0x1!==_0x36b683['host']['indexOf'](':')?'['+_0x36b683['host']+']':_0x36b683['host'];return _0x36b683['id']=_0x36b683['protocol']+'://'+_0x51948+':'+_0x36b683['port']+_0x5be50b,_0x36b683['href']=_0x36b683['protocol']+'://'+_0x51948+(_0x364ea0&&_0x364ea0['port']===_0x36b683['port']?'':':'+_0x36b683['port']),_0x36b683;}(_0x2b6348,(_0x3c7ed9=_0x3c7ed9||{})['path']||'/socket.io'),_0x434823=_0x14667a['source'],_0x5090c9=_0x14667a['id'],_0x3718e2=_0x14667a['path'],_0x17615e=Zw[_0x5090c9]&&_0x3718e2 in Zw[_0x5090c9]['nsps'];let _0x4a71f1;return _0x3c7ed9['forceNew']||_0x3c7ed9['force\x20new\x20connection']||!0x1===_0x3c7ed9['multiplex']||_0x17615e?_0x4a71f1=new Manager(_0x434823,_0x3c7ed9):(Zw[_0x5090c9]||(Zw[_0x5090c9]=new Manager(_0x434823,_0x3c7ed9)),_0x4a71f1=Zw[_0x5090c9]),_0x14667a['query']&&!_0x3c7ed9['query']&&(_0x3c7ed9['query']=_0x14667a['queryKey']),_0x4a71f1['socket'](_0x14667a['path'],_0x3c7ed9);}var qw,Ww;Object['assign'](Xw,{'Manager':Manager,'Socket':Socket,'io':Xw,'connect':Xw});var zw,Yw,Kw,Jw={},tb=(function(){if(Kw)return Yw;Kw=0x1;var _0x45016c=(Ww||(Ww=0x1,qw=function(_0x22dd0a,_0x573f35){if(_0x573f35=_0x573f35['split'](':')[0x0],!(_0x22dd0a=+_0x22dd0a))return!0x1;switch(_0x573f35){case'http':case'ws':return 0x50!==_0x22dd0a;case'https':case'wss':return 0x1bb!==_0x22dd0a;case'ftp':return 0x15!==_0x22dd0a;case'gopher':return 0x46!==_0x22dd0a;case'file':return!0x1;}return 0x0!==_0x22dd0a;}),qw),_0x5633e4=(function(){if(zw)return Jw;zw=0x1;var _0xe2ab13=Object['prototype']['hasOwnProperty'];function _0x387036(_0x13027f){try{return decodeURIComponent(_0x13027f['replace'](/\+/g,'\x20'));}catch(_0x54f8b5){return null;}}function _0x10e8fd(_0xbd5836){try{return encodeURIComponent(_0xbd5836);}catch(_0x46e375){return null;}}return Jw['stringify']=function(_0x5ab4af,_0x480aa7){_0x480aa7=_0x480aa7||'';var _0x3f989b,_0x29967d,_0x5c19cf=[];for(_0x29967d in('string'!=typeof _0x480aa7&&(_0x480aa7='?'),_0x5ab4af))if(_0xe2ab13['call'](_0x5ab4af,_0x29967d)){if((_0x3f989b=_0x5ab4af[_0x29967d])||null!=_0x3f989b&&!isNaN(_0x3f989b)||(_0x3f989b=''),_0x29967d=_0x10e8fd(_0x29967d),_0x3f989b=_0x10e8fd(_0x3f989b),null===_0x29967d||null===_0x3f989b)continue;_0x5c19cf['push'](_0x29967d+'='+_0x3f989b);}return _0x5c19cf['length']?_0x480aa7+_0x5c19cf['join']('&'):'';},Jw['parse']=function(_0x47c9a3){for(var _0x13ee92,_0x44c6ce=/([^=?#&]+)=?([^&]*)/g,_0x90ad4f={};_0x13ee92=_0x44c6ce['exec'](_0x47c9a3);){var _0x388a42=_0x387036(_0x13ee92[0x1]),_0x2e1f77=_0x387036(_0x13ee92[0x2]);null===_0x388a42||null===_0x2e1f77||_0x388a42 in _0x90ad4f||(_0x90ad4f[_0x388a42]=_0x2e1f77);}return _0x90ad4f;},Jw;}()),_0x39660b=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x11ae5a=/[\n\r\t]/g,_0x818cae=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x389b20=/:\d+$/,_0x994161=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x50acf6=/^[a-zA-Z]:/;function _0x574049(_0x1e7152){return(_0x1e7152||'')['toString']()['replace'](_0x39660b,'');}var _0x3ee479=[['#','hash'],['?','query'],function(_0x339794,_0x2901ed){return _0x4e9075(_0x2901ed['protocol'])?_0x339794['replace'](/\\/g,'/'):_0x339794;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x1a5d0c={'hash':0x1,'query':0x1};function _0x55b869(_0x28496b){var _0x212cf0,_0x3293f3=('undefined'!=typeof window?window:void 0x0!==jp?jp:'undefined'!=typeof self?self:{})['location']||{},_0x423f2d={},_0x4b6b1a=typeof(_0x28496b=_0x28496b||_0x3293f3);if('blob:'===_0x28496b['protocol'])_0x423f2d=new _0x13abcf(unescape(_0x28496b['pathname']),{});else{if('string'===_0x4b6b1a){for(_0x212cf0 in(_0x423f2d=new _0x13abcf(_0x28496b,{}),_0x1a5d0c))delete _0x423f2d[_0x212cf0];}else{if('object'===_0x4b6b1a){for(_0x212cf0 in _0x28496b)_0x212cf0 in _0x1a5d0c||(_0x423f2d[_0x212cf0]=_0x28496b[_0x212cf0]);void 0x0===_0x423f2d['slashes']&&(_0x423f2d['slashes']=_0x818cae['test'](_0x28496b['href']));}}}return _0x423f2d;}function _0x4e9075(_0x212b9f){return'file:'===_0x212b9f||'ftp:'===_0x212b9f||'http:'===_0x212b9f||'https:'===_0x212b9f||'ws:'===_0x212b9f||'wss:'===_0x212b9f;}function _0x26a2ff(_0x38a32b,_0x31b4f6){_0x38a32b=(_0x38a32b=_0x574049(_0x38a32b))['replace'](_0x11ae5a,''),_0x31b4f6=_0x31b4f6||{};var _0x9c10ee,_0x263ed7=_0x994161['exec'](_0x38a32b),_0x50e911=_0x263ed7[0x1]?_0x263ed7[0x1]['toLowerCase']():'',_0x543b2f=!!_0x263ed7[0x2],_0x3e0ae9=!!_0x263ed7[0x3],_0x3f838f=0x0;return _0x543b2f?_0x3e0ae9?(_0x9c10ee=_0x263ed7[0x2]+_0x263ed7[0x3]+_0x263ed7[0x4],_0x3f838f=_0x263ed7[0x2]['length']+_0x263ed7[0x3]['length']):(_0x9c10ee=_0x263ed7[0x2]+_0x263ed7[0x4],_0x3f838f=_0x263ed7[0x2]['length']):_0x3e0ae9?(_0x9c10ee=_0x263ed7[0x3]+_0x263ed7[0x4],_0x3f838f=_0x263ed7[0x3]['length']):_0x9c10ee=_0x263ed7[0x4],'file:'===_0x50e911?_0x3f838f>=0x2&&(_0x9c10ee=_0x9c10ee['slice'](0x2)):_0x4e9075(_0x50e911)?_0x9c10ee=_0x263ed7[0x4]:_0x50e911?_0x543b2f&&(_0x9c10ee=_0x9c10ee['slice'](0x2)):_0x3f838f>=0x2&&_0x4e9075(_0x31b4f6['protocol'])&&(_0x9c10ee=_0x263ed7[0x4]),{'protocol':_0x50e911,'slashes':_0x543b2f||_0x4e9075(_0x50e911),'slashesCount':_0x3f838f,'rest':_0x9c10ee};}function _0x13abcf(_0xe30e54,_0x5c1979,_0x322429){if(_0xe30e54=(_0xe30e54=_0x574049(_0xe30e54))['replace'](_0x11ae5a,''),!(this instanceof _0x13abcf))return new _0x13abcf(_0xe30e54,_0x5c1979,_0x322429);var _0x18bc90,_0x5c8d75,_0x22c112,_0x356c76,_0x2d0c62,_0x15d20e,_0x5984d1=_0x3ee479['slice'](),_0x362ecf=typeof _0x5c1979,_0x2c6231=this,_0x594ea0=0x0;for('object'!==_0x362ecf&&'string'!==_0x362ecf&&(_0x322429=_0x5c1979,_0x5c1979=null),_0x322429&&'function'!=typeof _0x322429&&(_0x322429=_0x5633e4['parse']),_0x18bc90=!(_0x5c8d75=_0x26a2ff(_0xe30e54||'',_0x5c1979=_0x55b869(_0x5c1979)))['protocol']&&!_0x5c8d75['slashes'],_0x2c6231['slashes']=_0x5c8d75['slashes']||_0x18bc90&&_0x5c1979['slashes'],_0x2c6231['protocol']=_0x5c8d75['protocol']||_0x5c1979['protocol']||'',_0xe30e54=_0x5c8d75['rest'],('file:'===_0x5c8d75['protocol']&&(0x2!==_0x5c8d75['slashesCount']||_0x50acf6['test'](_0xe30e54))||!_0x5c8d75['slashes']&&(_0x5c8d75['protocol']||_0x5c8d75['slashesCount']<0x2||!_0x4e9075(_0x2c6231['protocol'])))&&(_0x5984d1[0x3]=[/(.*)/,'pathname']);_0x594ea0<_0x5984d1['length'];_0x594ea0++)'function'!=typeof(_0x356c76=_0x5984d1[_0x594ea0])?(_0x22c112=_0x356c76[0x0],_0x15d20e=_0x356c76[0x1],_0x22c112!=_0x22c112?_0x2c6231[_0x15d20e]=_0xe30e54:'string'==typeof _0x22c112?~(_0x2d0c62='@'===_0x22c112?_0xe30e54['lastIndexOf'](_0x22c112):_0xe30e54['indexOf'](_0x22c112))&&('number'==typeof _0x356c76[0x2]?(_0x2c6231[_0x15d20e]=_0xe30e54['slice'](0x0,_0x2d0c62),_0xe30e54=_0xe30e54['slice'](_0x2d0c62+_0x356c76[0x2])):(_0x2c6231[_0x15d20e]=_0xe30e54['slice'](_0x2d0c62),_0xe30e54=_0xe30e54['slice'](0x0,_0x2d0c62))):(_0x2d0c62=_0x22c112['exec'](_0xe30e54))&&(_0x2c6231[_0x15d20e]=_0x2d0c62[0x1],_0xe30e54=_0xe30e54['slice'](0x0,_0x2d0c62['index'])),_0x2c6231[_0x15d20e]=_0x2c6231[_0x15d20e]||_0x18bc90&&_0x356c76[0x3]&&_0x5c1979[_0x15d20e]||'',_0x356c76[0x4]&&(_0x2c6231[_0x15d20e]=_0x2c6231[_0x15d20e]['toLowerCase']())):_0xe30e54=_0x356c76(_0xe30e54,_0x2c6231);_0x322429&&(_0x2c6231['query']=_0x322429(_0x2c6231['query'])),_0x18bc90&&_0x5c1979['slashes']&&'/'!==_0x2c6231['pathname']['charAt'](0x0)&&(''!==_0x2c6231['pathname']||''!==_0x5c1979['pathname'])&&(_0x2c6231['pathname']=function(_0x592492,_0x241d08){if(''===_0x592492)return _0x241d08;for(var _0x3d2698=(_0x241d08||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x592492['split']('/')),_0x357b24=_0x3d2698['length'],_0x34545f=_0x3d2698[_0x357b24-0x1],_0x336308=!0x1,_0xdc97f5=0x0;_0x357b24--;)'.'===_0x3d2698[_0x357b24]?_0x3d2698['splice'](_0x357b24,0x1):'..'===_0x3d2698[_0x357b24]?(_0x3d2698['splice'](_0x357b24,0x1),_0xdc97f5++):_0xdc97f5&&(0x0===_0x357b24&&(_0x336308=!0x0),_0x3d2698['splice'](_0x357b24,0x1),_0xdc97f5--);return _0x336308&&_0x3d2698['unshift'](''),'.'!==_0x34545f&&'..'!==_0x34545f||_0x3d2698['push'](''),_0x3d2698['join']('/');}(_0x2c6231['pathname'],_0x5c1979['pathname'])),'/'!==_0x2c6231['pathname']['charAt'](0x0)&&_0x4e9075(_0x2c6231['protocol'])&&(_0x2c6231['pathname']='/'+_0x2c6231['pathname']),_0x45016c(_0x2c6231['port'],_0x2c6231['protocol'])||(_0x2c6231['host']=_0x2c6231['hostname'],_0x2c6231['port']=''),_0x2c6231['username']=_0x2c6231['password']='',_0x2c6231['auth']&&(~(_0x2d0c62=_0x2c6231['auth']['indexOf'](':'))?(_0x2c6231['username']=_0x2c6231['auth']['slice'](0x0,_0x2d0c62),_0x2c6231['username']=encodeURIComponent(decodeURIComponent(_0x2c6231['username'])),_0x2c6231['password']=_0x2c6231['auth']['slice'](_0x2d0c62+0x1),_0x2c6231['password']=encodeURIComponent(decodeURIComponent(_0x2c6231['password']))):_0x2c6231['username']=encodeURIComponent(decodeURIComponent(_0x2c6231['auth'])),_0x2c6231['auth']=_0x2c6231['password']?_0x2c6231['username']+':'+_0x2c6231['password']:_0x2c6231['username']),_0x2c6231['origin']='file:'!==_0x2c6231['protocol']&&_0x4e9075(_0x2c6231['protocol'])&&_0x2c6231['host']?_0x2c6231['protocol']+'//'+_0x2c6231['host']:'null',_0x2c6231['href']=_0x2c6231['toString']();}return _0x13abcf['prototype']={'set':function(_0xfcb854,_0x49b34e,_0x1ee15f){var _0x18ec0e=this;switch(_0xfcb854){case'query':'string'==typeof _0x49b34e&&_0x49b34e['length']&&(_0x49b34e=(_0x1ee15f||_0x5633e4['parse'])(_0x49b34e)),_0x18ec0e[_0xfcb854]=_0x49b34e;break;case'port':_0x18ec0e[_0xfcb854]=_0x49b34e,_0x45016c(_0x49b34e,_0x18ec0e['protocol'])?_0x49b34e&&(_0x18ec0e['host']=_0x18ec0e['hostname']+':'+_0x49b34e):(_0x18ec0e['host']=_0x18ec0e['hostname'],_0x18ec0e[_0xfcb854]='');break;case'hostname':_0x18ec0e[_0xfcb854]=_0x49b34e,_0x18ec0e['port']&&(_0x49b34e+=':'+_0x18ec0e['port']),_0x18ec0e['host']=_0x49b34e;break;case'host':_0x18ec0e[_0xfcb854]=_0x49b34e,_0x389b20['test'](_0x49b34e)?(_0x49b34e=_0x49b34e['split'](':'),_0x18ec0e['port']=_0x49b34e['pop'](),_0x18ec0e['hostname']=_0x49b34e['join'](':')):(_0x18ec0e['hostname']=_0x49b34e,_0x18ec0e['port']='');break;case'protocol':_0x18ec0e['protocol']=_0x49b34e['toLowerCase'](),_0x18ec0e['slashes']=!_0x1ee15f;break;case'pathname':case'hash':if(_0x49b34e){var _0x1419ec='pathname'===_0xfcb854?'/':'#';_0x18ec0e[_0xfcb854]=_0x49b34e['charAt'](0x0)!==_0x1419ec?_0x1419ec+_0x49b34e:_0x49b34e;}else _0x18ec0e[_0xfcb854]=_0x49b34e;break;case'username':case'password':_0x18ec0e[_0xfcb854]=encodeURIComponent(_0x49b34e);break;case'auth':var _0x1052dc=_0x49b34e['indexOf'](':');~_0x1052dc?(_0x18ec0e['username']=_0x49b34e['slice'](0x0,_0x1052dc),_0x18ec0e['username']=encodeURIComponent(decodeURIComponent(_0x18ec0e['username'])),_0x18ec0e['password']=_0x49b34e['slice'](_0x1052dc+0x1),_0x18ec0e['password']=encodeURIComponent(decodeURIComponent(_0x18ec0e['password']))):_0x18ec0e['username']=encodeURIComponent(decodeURIComponent(_0x49b34e));}for(var _0x3a0e3d=0x0;_0x3a0e3d<_0x3ee479['length'];_0x3a0e3d++){var _0x4544b5=_0x3ee479[_0x3a0e3d];_0x4544b5[0x4]&&(_0x18ec0e[_0x4544b5[0x1]]=_0x18ec0e[_0x4544b5[0x1]]['toLowerCase']());}return _0x18ec0e['auth']=_0x18ec0e['password']?_0x18ec0e['username']+':'+_0x18ec0e['password']:_0x18ec0e['username'],_0x18ec0e['origin']='file:'!==_0x18ec0e['protocol']&&_0x4e9075(_0x18ec0e['protocol'])&&_0x18ec0e['host']?_0x18ec0e['protocol']+'//'+_0x18ec0e['host']:'null',_0x18ec0e['href']=_0x18ec0e['toString'](),_0x18ec0e;},'toString':function(_0x422b15){_0x422b15&&'function'==typeof _0x422b15||(_0x422b15=_0x5633e4['stringify']);var _0x594b8f,_0x57dcc5=this,_0x5942e9=_0x57dcc5['host'],_0x3dcf68=_0x57dcc5['protocol'];_0x3dcf68&&':'!==_0x3dcf68['charAt'](_0x3dcf68['length']-0x1)&&(_0x3dcf68+=':');var _0x1afba6=_0x3dcf68+(_0x57dcc5['protocol']&&_0x57dcc5['slashes']||_0x4e9075(_0x57dcc5['protocol'])?'//':'');return _0x57dcc5['username']?(_0x1afba6+=_0x57dcc5['username'],_0x57dcc5['password']&&(_0x1afba6+=':'+_0x57dcc5['password']),_0x1afba6+='@'):_0x57dcc5['password']?(_0x1afba6+=':'+_0x57dcc5['password'],_0x1afba6+='@'):'file:'!==_0x57dcc5['protocol']&&_0x4e9075(_0x57dcc5['protocol'])&&!_0x5942e9&&'/'!==_0x57dcc5['pathname']&&(_0x1afba6+='@'),(':'===_0x5942e9[_0x5942e9['length']-0x1]||_0x389b20['test'](_0x57dcc5['hostname'])&&!_0x57dcc5['port'])&&(_0x5942e9+=':'),_0x1afba6+=_0x5942e9+_0x57dcc5['pathname'],(_0x594b8f='object'==typeof _0x57dcc5['query']?_0x422b15(_0x57dcc5['query']):_0x57dcc5['query'])&&(_0x1afba6+='?'!==_0x594b8f['charAt'](0x0)?'?'+_0x594b8f:_0x594b8f),_0x57dcc5['hash']&&(_0x1afba6+=_0x57dcc5['hash']),_0x1afba6;}},_0x13abcf['extractProtocol']=_0x26a2ff,_0x13abcf['location']=_0x55b869,_0x13abcf['trimLeft']=_0x574049,_0x13abcf['qs']=_0x5633e4,Yw=_0x13abcf;}());let eb;const ib=new Uint8Array(0x10);function sb(){if(!eb&&(eb='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!eb))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return eb(ib);}const nb=[];for(let e=0x0;e<0x100;++e)nb['push']((e+0x100)['toString'](0x10)['slice'](0x1));var rb={'randomUUID':'undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto)};function ob(_0x45bbe4,_0x507c2b,_0x448b79){if(rb['randomUUID']&&!_0x45bbe4)return rb['randomUUID']();const _0x3214be=(_0x45bbe4=_0x45bbe4||{})['random']||(_0x45bbe4['rng']||sb)();return _0x3214be[0x6]=0xf&_0x3214be[0x6]|0x40,_0x3214be[0x8]=0x3f&_0x3214be[0x8]|0x80,function(_0x28ab4d,_0x1a6737=0x0){return nb[_0x28ab4d[_0x1a6737+0x0]]+nb[_0x28ab4d[_0x1a6737+0x1]]+nb[_0x28ab4d[_0x1a6737+0x2]]+nb[_0x28ab4d[_0x1a6737+0x3]]+'-'+nb[_0x28ab4d[_0x1a6737+0x4]]+nb[_0x28ab4d[_0x1a6737+0x5]]+'-'+nb[_0x28ab4d[_0x1a6737+0x6]]+nb[_0x28ab4d[_0x1a6737+0x7]]+'-'+nb[_0x28ab4d[_0x1a6737+0x8]]+nb[_0x28ab4d[_0x1a6737+0x9]]+'-'+nb[_0x28ab4d[_0x1a6737+0xa]]+nb[_0x28ab4d[_0x1a6737+0xb]]+nb[_0x28ab4d[_0x1a6737+0xc]]+nb[_0x28ab4d[_0x1a6737+0xd]]+nb[_0x28ab4d[_0x1a6737+0xe]]+nb[_0x28ab4d[_0x1a6737+0xf]];}(_0x3214be);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x2a7d93){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x38dcd1){super();}static['fromJSON'](_0x57214f){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x38701){super(),this['id']=_0x38701;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x39ab4d){return new GetUserMessage(_0x39ab4d['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x5441e1){super(),this['attributes']=_0x5441e1;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x748399=>({'key':_0x748399,'value':JSON['stringify'](this['attributes'][_0x748399])}))};}static['fromJSON'](_0x34fdba){const _0x5a5358=_0x34fdba['attributes']['reduce']((_0x2ed144,_0x476dd2)=>(_0x2ed144[_0x476dd2['key']]=_0x476dd2['value']?JSON['parse'](_0x476dd2['value']):null,_0x2ed144),{});return new GetUserResponse(_0x5a5358);}}const ab=/* #__PURE__ -- @preserve */
((()=>{var _0x22a542=xO['Reader'],_0x5eaf50=xO['Writer'],_0xcc5beb=xO['util'],_0xe33dea=xO['roots']['default']||(xO['roots']['default']={});return _0xe33dea['StringStringPacketDataMessage']=(function(){function _0x17bc17(_0x5a314c){if(_0x5a314c){for(var _0xc82099=Object['keys'](_0x5a314c),_0x55e2dc=0x0;_0x55e2dc<_0xc82099['length'];++_0x55e2dc)null!=_0x5a314c[_0xc82099[_0x55e2dc]]&&(this[_0xc82099[_0x55e2dc]]=_0x5a314c[_0xc82099[_0x55e2dc]]);}}return _0x17bc17['prototype']['data']='',_0x17bc17['prototype']['data1']='',_0x17bc17['create']=function(_0x4c24ed){return new _0x17bc17(_0x4c24ed);},_0x17bc17['encode']=function(_0x2a72f0,_0x26a8cb){return _0x26a8cb||(_0x26a8cb=_0x5eaf50['create']()),null!=_0x2a72f0['data']&&Object['hasOwnProperty']['call'](_0x2a72f0,'data')&&_0x26a8cb['uint32'](0xa)['string'](_0x2a72f0['data']),null!=_0x2a72f0['data1']&&Object['hasOwnProperty']['call'](_0x2a72f0,'data1')&&_0x26a8cb['uint32'](0x12)['string'](_0x2a72f0['data1']),_0x26a8cb;},_0x17bc17['encodeDelimited']=function(_0x27a2a4,_0x9e877a){return this['encode'](_0x27a2a4,_0x9e877a)['ldelim']();},_0x17bc17['decode']=function(_0x54e823,_0x33a79b,_0x2a890e){_0x54e823 instanceof _0x22a542||(_0x54e823=_0x22a542['create'](_0x54e823));for(var _0x43ca1f=void 0x0===_0x33a79b?_0x54e823['len']:_0x54e823['pos']+_0x33a79b,_0x2f8555=new _0xe33dea['StringStringPacketDataMessage']();_0x54e823['pos']<_0x43ca1f;){var _0xa7d088=_0x54e823['uint32']();if(_0xa7d088===_0x2a890e)break;switch(_0xa7d088>>>0x3){case 0x1:_0x2f8555['data']=_0x54e823['string']();break;case 0x2:_0x2f8555['data1']=_0x54e823['string']();break;default:_0x54e823['skipType'](0x7&_0xa7d088);}}return _0x2f8555;},_0x17bc17['decodeDelimited']=function(_0x48223d){return _0x48223d instanceof _0x22a542||(_0x48223d=new _0x22a542(_0x48223d)),this['decode'](_0x48223d,_0x48223d['uint32']());},_0x17bc17['verify']=function(_0x3efa04){return'object'!=typeof _0x3efa04||null===_0x3efa04?'object\x20expected':null!=_0x3efa04['data']&&_0x3efa04['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x3efa04['data'])?'data:\x20string\x20expected':null!=_0x3efa04['data1']&&_0x3efa04['hasOwnProperty']('data1')&&!_0xcc5beb['isString'](_0x3efa04['data1'])?'data1:\x20string\x20expected':null;},_0x17bc17['fromObject']=function(_0x3d5011){if(_0x3d5011 instanceof _0xe33dea['StringStringPacketDataMessage'])return _0x3d5011;var _0x57ed77=new _0xe33dea['StringStringPacketDataMessage']();return null!=_0x3d5011['data']&&(_0x57ed77['data']=String(_0x3d5011['data'])),null!=_0x3d5011['data1']&&(_0x57ed77['data1']=String(_0x3d5011['data1'])),_0x57ed77;},_0x17bc17['toObject']=function(_0x42937e,_0x1b7a6a){_0x1b7a6a||(_0x1b7a6a={});var _0x54f29c={};return _0x1b7a6a['defaults']&&(_0x54f29c['data']='',_0x54f29c['data1']=''),null!=_0x42937e['data']&&_0x42937e['hasOwnProperty']('data')&&(_0x54f29c['data']=_0x42937e['data']),null!=_0x42937e['data1']&&_0x42937e['hasOwnProperty']('data1')&&(_0x54f29c['data1']=_0x42937e['data1']),_0x54f29c;},_0x17bc17['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x17bc17['getTypeUrl']=function(_0x336648){return void 0x0===_0x336648&&(_0x336648='type.googleapis.com'),_0x336648+'/StringStringPacketDataMessage';},_0x17bc17;}()),_0xe33dea['StringObjectPacketDataMessage']=(function(){function _0x2609ea(_0x1491a6){if(_0x1491a6){for(var _0x57ecd5=Object['keys'](_0x1491a6),_0x1ea939=0x0;_0x1ea939<_0x57ecd5['length'];++_0x1ea939)null!=_0x1491a6[_0x57ecd5[_0x1ea939]]&&(this[_0x57ecd5[_0x1ea939]]=_0x1491a6[_0x57ecd5[_0x1ea939]]);}}return _0x2609ea['prototype']['data']='',_0x2609ea['prototype']['data1']='',_0x2609ea['create']=function(_0x59b66f){return new _0x2609ea(_0x59b66f);},_0x2609ea['encode']=function(_0x17cb18,_0x2b9a5b){return _0x2b9a5b||(_0x2b9a5b=_0x5eaf50['create']()),null!=_0x17cb18['data']&&Object['hasOwnProperty']['call'](_0x17cb18,'data')&&_0x2b9a5b['uint32'](0xa)['string'](_0x17cb18['data']),null!=_0x17cb18['data1']&&Object['hasOwnProperty']['call'](_0x17cb18,'data1')&&_0x2b9a5b['uint32'](0x12)['string'](_0x17cb18['data1']),_0x2b9a5b;},_0x2609ea['encodeDelimited']=function(_0xfaa34f,_0x49a8e1){return this['encode'](_0xfaa34f,_0x49a8e1)['ldelim']();},_0x2609ea['decode']=function(_0x14ca19,_0x3bb145,_0x377e8a){_0x14ca19 instanceof _0x22a542||(_0x14ca19=_0x22a542['create'](_0x14ca19));for(var _0x221d8c=void 0x0===_0x3bb145?_0x14ca19['len']:_0x14ca19['pos']+_0x3bb145,_0x3c52f9=new _0xe33dea['StringObjectPacketDataMessage']();_0x14ca19['pos']<_0x221d8c;){var _0x202520=_0x14ca19['uint32']();if(_0x202520===_0x377e8a)break;switch(_0x202520>>>0x3){case 0x1:_0x3c52f9['data']=_0x14ca19['string']();break;case 0x2:_0x3c52f9['data1']=_0x14ca19['string']();break;default:_0x14ca19['skipType'](0x7&_0x202520);}}return _0x3c52f9;},_0x2609ea['decodeDelimited']=function(_0x521b84){return _0x521b84 instanceof _0x22a542||(_0x521b84=new _0x22a542(_0x521b84)),this['decode'](_0x521b84,_0x521b84['uint32']());},_0x2609ea['verify']=function(_0x3c1b39){return'object'!=typeof _0x3c1b39||null===_0x3c1b39?'object\x20expected':null!=_0x3c1b39['data']&&_0x3c1b39['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x3c1b39['data'])?'data:\x20string\x20expected':null!=_0x3c1b39['data1']&&_0x3c1b39['hasOwnProperty']('data1')&&!_0xcc5beb['isString'](_0x3c1b39['data1'])?'data1:\x20string\x20expected':null;},_0x2609ea['fromObject']=function(_0x1b1e22){if(_0x1b1e22 instanceof _0xe33dea['StringObjectPacketDataMessage'])return _0x1b1e22;var _0x1a3244=new _0xe33dea['StringObjectPacketDataMessage']();return null!=_0x1b1e22['data']&&(_0x1a3244['data']=String(_0x1b1e22['data'])),null!=_0x1b1e22['data1']&&(_0x1a3244['data1']=String(_0x1b1e22['data1'])),_0x1a3244;},_0x2609ea['toObject']=function(_0x12f9a5,_0x451d7a){_0x451d7a||(_0x451d7a={});var _0x591597={};return _0x451d7a['defaults']&&(_0x591597['data']='',_0x591597['data1']=''),null!=_0x12f9a5['data']&&_0x12f9a5['hasOwnProperty']('data')&&(_0x591597['data']=_0x12f9a5['data']),null!=_0x12f9a5['data1']&&_0x12f9a5['hasOwnProperty']('data1')&&(_0x591597['data1']=_0x12f9a5['data1']),_0x591597;},_0x2609ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2609ea['getTypeUrl']=function(_0x4ee576){return void 0x0===_0x4ee576&&(_0x4ee576='type.googleapis.com'),_0x4ee576+'/StringObjectPacketDataMessage';},_0x2609ea;}()),_0xe33dea['StringNumberPacketDataMessage']=(function(){function _0x5c894e(_0x7f47fd){if(_0x7f47fd){for(var _0x437aa0=Object['keys'](_0x7f47fd),_0xb30987=0x0;_0xb30987<_0x437aa0['length'];++_0xb30987)null!=_0x7f47fd[_0x437aa0[_0xb30987]]&&(this[_0x437aa0[_0xb30987]]=_0x7f47fd[_0x437aa0[_0xb30987]]);}}return _0x5c894e['prototype']['data']='',_0x5c894e['prototype']['data1']=0x0,_0x5c894e['create']=function(_0xad81d2){return new _0x5c894e(_0xad81d2);},_0x5c894e['encode']=function(_0x5c5c39,_0x7acb1c){return _0x7acb1c||(_0x7acb1c=_0x5eaf50['create']()),null!=_0x5c5c39['data']&&Object['hasOwnProperty']['call'](_0x5c5c39,'data')&&_0x7acb1c['uint32'](0xa)['string'](_0x5c5c39['data']),null!=_0x5c5c39['data1']&&Object['hasOwnProperty']['call'](_0x5c5c39,'data1')&&_0x7acb1c['uint32'](0x10)['uint32'](_0x5c5c39['data1']),_0x7acb1c;},_0x5c894e['encodeDelimited']=function(_0x3a7b70,_0x49d935){return this['encode'](_0x3a7b70,_0x49d935)['ldelim']();},_0x5c894e['decode']=function(_0x3d5c72,_0x4b6bd4,_0x2f7e96){_0x3d5c72 instanceof _0x22a542||(_0x3d5c72=_0x22a542['create'](_0x3d5c72));for(var _0x2af2a1=void 0x0===_0x4b6bd4?_0x3d5c72['len']:_0x3d5c72['pos']+_0x4b6bd4,_0x4e91ea=new _0xe33dea['StringNumberPacketDataMessage']();_0x3d5c72['pos']<_0x2af2a1;){var _0x46ea78=_0x3d5c72['uint32']();if(_0x46ea78===_0x2f7e96)break;switch(_0x46ea78>>>0x3){case 0x1:_0x4e91ea['data']=_0x3d5c72['string']();break;case 0x2:_0x4e91ea['data1']=_0x3d5c72['uint32']();break;default:_0x3d5c72['skipType'](0x7&_0x46ea78);}}return _0x4e91ea;},_0x5c894e['decodeDelimited']=function(_0x41d91a){return _0x41d91a instanceof _0x22a542||(_0x41d91a=new _0x22a542(_0x41d91a)),this['decode'](_0x41d91a,_0x41d91a['uint32']());},_0x5c894e['verify']=function(_0x157699){return'object'!=typeof _0x157699||null===_0x157699?'object\x20expected':null!=_0x157699['data']&&_0x157699['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x157699['data'])?'data:\x20string\x20expected':null!=_0x157699['data1']&&_0x157699['hasOwnProperty']('data1')&&!_0xcc5beb['isInteger'](_0x157699['data1'])?'data1:\x20integer\x20expected':null;},_0x5c894e['fromObject']=function(_0x32ca5b){if(_0x32ca5b instanceof _0xe33dea['StringNumberPacketDataMessage'])return _0x32ca5b;var _0x5d3555=new _0xe33dea['StringNumberPacketDataMessage']();return null!=_0x32ca5b['data']&&(_0x5d3555['data']=String(_0x32ca5b['data'])),null!=_0x32ca5b['data1']&&(_0x5d3555['data1']=_0x32ca5b['data1']>>>0x0),_0x5d3555;},_0x5c894e['toObject']=function(_0x6bb736,_0x8dd19a){_0x8dd19a||(_0x8dd19a={});var _0x409155={};return _0x8dd19a['defaults']&&(_0x409155['data']='',_0x409155['data1']=0x0),null!=_0x6bb736['data']&&_0x6bb736['hasOwnProperty']('data')&&(_0x409155['data']=_0x6bb736['data']),null!=_0x6bb736['data1']&&_0x6bb736['hasOwnProperty']('data1')&&(_0x409155['data1']=_0x6bb736['data1']),_0x409155;},_0x5c894e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5c894e['getTypeUrl']=function(_0x2957a2){return void 0x0===_0x2957a2&&(_0x2957a2='type.googleapis.com'),_0x2957a2+'/StringNumberPacketDataMessage';},_0x5c894e;}()),_0xe33dea['StringBytesPacketDataMessage']=(function(){function _0x16d035(_0x57898d){if(_0x57898d){for(var _0x40f8a9=Object['keys'](_0x57898d),_0xabe54c=0x0;_0xabe54c<_0x40f8a9['length'];++_0xabe54c)null!=_0x57898d[_0x40f8a9[_0xabe54c]]&&(this[_0x40f8a9[_0xabe54c]]=_0x57898d[_0x40f8a9[_0xabe54c]]);}}return _0x16d035['prototype']['data']='',_0x16d035['prototype']['data1']=_0xcc5beb['newBuffer']([]),_0x16d035['create']=function(_0x3fbfe5){return new _0x16d035(_0x3fbfe5);},_0x16d035['encode']=function(_0x1735b3,_0x1612cd){return _0x1612cd||(_0x1612cd=_0x5eaf50['create']()),null!=_0x1735b3['data']&&Object['hasOwnProperty']['call'](_0x1735b3,'data')&&_0x1612cd['uint32'](0xa)['string'](_0x1735b3['data']),null!=_0x1735b3['data1']&&Object['hasOwnProperty']['call'](_0x1735b3,'data1')&&_0x1612cd['uint32'](0x12)['bytes'](_0x1735b3['data1']),_0x1612cd;},_0x16d035['encodeDelimited']=function(_0x4757e7,_0x41b3da){return this['encode'](_0x4757e7,_0x41b3da)['ldelim']();},_0x16d035['decode']=function(_0x15d099,_0x37ce7f,_0x359695){_0x15d099 instanceof _0x22a542||(_0x15d099=_0x22a542['create'](_0x15d099));for(var _0xe22d72=void 0x0===_0x37ce7f?_0x15d099['len']:_0x15d099['pos']+_0x37ce7f,_0xa9e513=new _0xe33dea['StringBytesPacketDataMessage']();_0x15d099['pos']<_0xe22d72;){var _0x383b7f=_0x15d099['uint32']();if(_0x383b7f===_0x359695)break;switch(_0x383b7f>>>0x3){case 0x1:_0xa9e513['data']=_0x15d099['string']();break;case 0x2:_0xa9e513['data1']=_0x15d099['bytes']();break;default:_0x15d099['skipType'](0x7&_0x383b7f);}}return _0xa9e513;},_0x16d035['decodeDelimited']=function(_0x15b166){return _0x15b166 instanceof _0x22a542||(_0x15b166=new _0x22a542(_0x15b166)),this['decode'](_0x15b166,_0x15b166['uint32']());},_0x16d035['verify']=function(_0x59c64e){return'object'!=typeof _0x59c64e||null===_0x59c64e?'object\x20expected':null!=_0x59c64e['data']&&_0x59c64e['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x59c64e['data'])?'data:\x20string\x20expected':null!=_0x59c64e['data1']&&_0x59c64e['hasOwnProperty']('data1')&&!(_0x59c64e['data1']&&'number'==typeof _0x59c64e['data1']['length']||_0xcc5beb['isString'](_0x59c64e['data1']))?'data1:\x20buffer\x20expected':null;},_0x16d035['fromObject']=function(_0x47c0d2){if(_0x47c0d2 instanceof _0xe33dea['StringBytesPacketDataMessage'])return _0x47c0d2;var _0xbf62c7=new _0xe33dea['StringBytesPacketDataMessage']();return null!=_0x47c0d2['data']&&(_0xbf62c7['data']=String(_0x47c0d2['data'])),null!=_0x47c0d2['data1']&&('string'==typeof _0x47c0d2['data1']?_0xcc5beb['base64']['decode'](_0x47c0d2['data1'],_0xbf62c7['data1']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x47c0d2['data1'])),0x0):_0x47c0d2['data1']['length']>=0x0&&(_0xbf62c7['data1']=_0x47c0d2['data1'])),_0xbf62c7;},_0x16d035['toObject']=function(_0x188025,_0xd05545){_0xd05545||(_0xd05545={});var _0x5d56a2={};return _0xd05545['defaults']&&(_0x5d56a2['data']='',_0xd05545['bytes']===String?_0x5d56a2['data1']='':(_0x5d56a2['data1']=[],_0xd05545['bytes']!==Array&&(_0x5d56a2['data1']=_0xcc5beb['newBuffer'](_0x5d56a2['data1'])))),null!=_0x188025['data']&&_0x188025['hasOwnProperty']('data')&&(_0x5d56a2['data']=_0x188025['data']),null!=_0x188025['data1']&&_0x188025['hasOwnProperty']('data1')&&(_0x5d56a2['data1']=_0xd05545['bytes']===String?_0xcc5beb['base64']['encode'](_0x188025['data1'],0x0,_0x188025['data1']['length']):_0xd05545['bytes']===Array?Array['prototype']['slice']['call'](_0x188025['data1']):_0x188025['data1']),_0x5d56a2;},_0x16d035['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x16d035['getTypeUrl']=function(_0x4abaf7){return void 0x0===_0x4abaf7&&(_0x4abaf7='type.googleapis.com'),_0x4abaf7+'/StringBytesPacketDataMessage';},_0x16d035;}()),_0xe33dea['PacketOptionsMessage']=(function(){function _0x516a4b(_0x359fd1){if(this['rooms']=[],this['except']=[],_0x359fd1){for(var _0x41ef54=Object['keys'](_0x359fd1),_0x37d7ce=0x0;_0x37d7ce<_0x41ef54['length'];++_0x37d7ce)null!=_0x359fd1[_0x41ef54[_0x37d7ce]]&&(this[_0x41ef54[_0x37d7ce]]=_0x359fd1[_0x41ef54[_0x37d7ce]]);}}return _0x516a4b['prototype']['flags']='',_0x516a4b['prototype']['rooms']=_0xcc5beb['emptyArray'],_0x516a4b['prototype']['except']=_0xcc5beb['emptyArray'],_0x516a4b['create']=function(_0x20521b){return new _0x516a4b(_0x20521b);},_0x516a4b['encode']=function(_0x57b7ca,_0x5f2a08){if(_0x5f2a08||(_0x5f2a08=_0x5eaf50['create']()),null!=_0x57b7ca['flags']&&Object['hasOwnProperty']['call'](_0x57b7ca,'flags')&&_0x5f2a08['uint32'](0xa)['string'](_0x57b7ca['flags']),null!=_0x57b7ca['rooms']&&_0x57b7ca['rooms']['length']){for(var _0x168203=0x0;_0x168203<_0x57b7ca['rooms']['length'];++_0x168203)_0x5f2a08['uint32'](0x12)['string'](_0x57b7ca['rooms'][_0x168203]);}if(null!=_0x57b7ca['except']&&_0x57b7ca['except']['length']){for(_0x168203=0x0;_0x168203<_0x57b7ca['except']['length'];++_0x168203)_0x5f2a08['uint32'](0x1a)['string'](_0x57b7ca['except'][_0x168203]);}return _0x5f2a08;},_0x516a4b['encodeDelimited']=function(_0xe0c6c1,_0x33b737){return this['encode'](_0xe0c6c1,_0x33b737)['ldelim']();},_0x516a4b['decode']=function(_0x37c574,_0x280b8a,_0x41d0df){_0x37c574 instanceof _0x22a542||(_0x37c574=_0x22a542['create'](_0x37c574));for(var _0x3c1424=void 0x0===_0x280b8a?_0x37c574['len']:_0x37c574['pos']+_0x280b8a,_0x1c5d30=new _0xe33dea['PacketOptionsMessage']();_0x37c574['pos']<_0x3c1424;){var _0x5daf5a=_0x37c574['uint32']();if(_0x5daf5a===_0x41d0df)break;switch(_0x5daf5a>>>0x3){case 0x1:_0x1c5d30['flags']=_0x37c574['string']();break;case 0x2:_0x1c5d30['rooms']&&_0x1c5d30['rooms']['length']||(_0x1c5d30['rooms']=[]),_0x1c5d30['rooms']['push'](_0x37c574['string']());break;case 0x3:_0x1c5d30['except']&&_0x1c5d30['except']['length']||(_0x1c5d30['except']=[]),_0x1c5d30['except']['push'](_0x37c574['string']());break;default:_0x37c574['skipType'](0x7&_0x5daf5a);}}return _0x1c5d30;},_0x516a4b['decodeDelimited']=function(_0x32ed66){return _0x32ed66 instanceof _0x22a542||(_0x32ed66=new _0x22a542(_0x32ed66)),this['decode'](_0x32ed66,_0x32ed66['uint32']());},_0x516a4b['verify']=function(_0x2c7a79){if('object'!=typeof _0x2c7a79||null===_0x2c7a79)return'object\x20expected';if(null!=_0x2c7a79['flags']&&_0x2c7a79['hasOwnProperty']('flags')&&!_0xcc5beb['isString'](_0x2c7a79['flags']))return'flags:\x20string\x20expected';if(null!=_0x2c7a79['rooms']&&_0x2c7a79['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x2c7a79['rooms']))return'rooms:\x20array\x20expected';for(var _0x3e80d1=0x0;_0x3e80d1<_0x2c7a79['rooms']['length'];++_0x3e80d1)if(!_0xcc5beb['isString'](_0x2c7a79['rooms'][_0x3e80d1]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2c7a79['except']&&_0x2c7a79['hasOwnProperty']('except')){if(!Array['isArray'](_0x2c7a79['except']))return'except:\x20array\x20expected';for(_0x3e80d1=0x0;_0x3e80d1<_0x2c7a79['except']['length'];++_0x3e80d1)if(!_0xcc5beb['isString'](_0x2c7a79['except'][_0x3e80d1]))return'except:\x20string[]\x20expected';}return null;},_0x516a4b['fromObject']=function(_0x37841a){if(_0x37841a instanceof _0xe33dea['PacketOptionsMessage'])return _0x37841a;var _0x250467=new _0xe33dea['PacketOptionsMessage']();if(null!=_0x37841a['flags']&&(_0x250467['flags']=String(_0x37841a['flags'])),_0x37841a['rooms']){if(!Array['isArray'](_0x37841a['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x250467['rooms']=[];for(var _0x1ff8b7=0x0;_0x1ff8b7<_0x37841a['rooms']['length'];++_0x1ff8b7)_0x250467['rooms'][_0x1ff8b7]=String(_0x37841a['rooms'][_0x1ff8b7]);}if(_0x37841a['except']){if(!Array['isArray'](_0x37841a['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x250467['except']=[],_0x1ff8b7=0x0;_0x1ff8b7<_0x37841a['except']['length'];++_0x1ff8b7)_0x250467['except'][_0x1ff8b7]=String(_0x37841a['except'][_0x1ff8b7]);}return _0x250467;},_0x516a4b['toObject']=function(_0x69337d,_0x24f4ba){_0x24f4ba||(_0x24f4ba={});var _0x19c2b8={};if((_0x24f4ba['arrays']||_0x24f4ba['defaults'])&&(_0x19c2b8['rooms']=[],_0x19c2b8['except']=[]),_0x24f4ba['defaults']&&(_0x19c2b8['flags']=''),null!=_0x69337d['flags']&&_0x69337d['hasOwnProperty']('flags')&&(_0x19c2b8['flags']=_0x69337d['flags']),_0x69337d['rooms']&&_0x69337d['rooms']['length']){_0x19c2b8['rooms']=[];for(var _0x49bf2f=0x0;_0x49bf2f<_0x69337d['rooms']['length'];++_0x49bf2f)_0x19c2b8['rooms'][_0x49bf2f]=_0x69337d['rooms'][_0x49bf2f];}if(_0x69337d['except']&&_0x69337d['except']['length']){for(_0x19c2b8['except']=[],_0x49bf2f=0x0;_0x49bf2f<_0x69337d['except']['length'];++_0x49bf2f)_0x19c2b8['except'][_0x49bf2f]=_0x69337d['except'][_0x49bf2f];}return _0x19c2b8;},_0x516a4b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x516a4b['getTypeUrl']=function(_0x4e9ebc){return void 0x0===_0x4e9ebc&&(_0x4e9ebc='type.googleapis.com'),_0x4e9ebc+'/PacketOptionsMessage';},_0x516a4b;}()),_0xe33dea['PacketMessage']=(function(){function _0x2228cc(_0x464511){if(_0x464511){for(var _0x104faf=Object['keys'](_0x464511),_0x1c2fcf=0x0;_0x1c2fcf<_0x104faf['length'];++_0x1c2fcf)null!=_0x464511[_0x104faf[_0x1c2fcf]]&&(this[_0x104faf[_0x1c2fcf]]=_0x464511[_0x104faf[_0x1c2fcf]]);}}return _0x2228cc['prototype']['type']=0x0,_0x2228cc['prototype']['id']=0x0,_0x2228cc['prototype']['nsp']='',_0x2228cc['prototype']['data']=_0xcc5beb['newBuffer']([]),_0x2228cc['prototype']['options']=_0xcc5beb['newBuffer']([]),_0x2228cc['create']=function(_0x29d859){return new _0x2228cc(_0x29d859);},_0x2228cc['encode']=function(_0x377cfa,_0x5b9ea1){return _0x5b9ea1||(_0x5b9ea1=_0x5eaf50['create']()),null!=_0x377cfa['type']&&Object['hasOwnProperty']['call'](_0x377cfa,'type')&&_0x5b9ea1['uint32'](0x8)['uint32'](_0x377cfa['type']),null!=_0x377cfa['id']&&Object['hasOwnProperty']['call'](_0x377cfa,'id')&&_0x5b9ea1['uint32'](0x10)['uint32'](_0x377cfa['id']),null!=_0x377cfa['nsp']&&Object['hasOwnProperty']['call'](_0x377cfa,'nsp')&&_0x5b9ea1['uint32'](0x1a)['string'](_0x377cfa['nsp']),null!=_0x377cfa['data']&&Object['hasOwnProperty']['call'](_0x377cfa,'data')&&_0x5b9ea1['uint32'](0x22)['bytes'](_0x377cfa['data']),null!=_0x377cfa['options']&&Object['hasOwnProperty']['call'](_0x377cfa,'options')&&_0x5b9ea1['uint32'](0x2a)['bytes'](_0x377cfa['options']),_0x5b9ea1;},_0x2228cc['encodeDelimited']=function(_0x4de1b4,_0x36f1f9){return this['encode'](_0x4de1b4,_0x36f1f9)['ldelim']();},_0x2228cc['decode']=function(_0x347c75,_0xe985ab,_0x12c3b2){_0x347c75 instanceof _0x22a542||(_0x347c75=_0x22a542['create'](_0x347c75));for(var _0x499500=void 0x0===_0xe985ab?_0x347c75['len']:_0x347c75['pos']+_0xe985ab,_0xb82b80=new _0xe33dea['PacketMessage']();_0x347c75['pos']<_0x499500;){var _0x4adc52=_0x347c75['uint32']();if(_0x4adc52===_0x12c3b2)break;switch(_0x4adc52>>>0x3){case 0x1:_0xb82b80['type']=_0x347c75['uint32']();break;case 0x2:_0xb82b80['id']=_0x347c75['uint32']();break;case 0x3:_0xb82b80['nsp']=_0x347c75['string']();break;case 0x4:_0xb82b80['data']=_0x347c75['bytes']();break;case 0x5:_0xb82b80['options']=_0x347c75['bytes']();break;default:_0x347c75['skipType'](0x7&_0x4adc52);}}return _0xb82b80;},_0x2228cc['decodeDelimited']=function(_0x3a55ef){return _0x3a55ef instanceof _0x22a542||(_0x3a55ef=new _0x22a542(_0x3a55ef)),this['decode'](_0x3a55ef,_0x3a55ef['uint32']());},_0x2228cc['verify']=function(_0x850127){return'object'!=typeof _0x850127||null===_0x850127?'object\x20expected':null!=_0x850127['type']&&_0x850127['hasOwnProperty']('type')&&!_0xcc5beb['isInteger'](_0x850127['type'])?'type:\x20integer\x20expected':null!=_0x850127['id']&&_0x850127['hasOwnProperty']('id')&&!_0xcc5beb['isInteger'](_0x850127['id'])?'id:\x20integer\x20expected':null!=_0x850127['nsp']&&_0x850127['hasOwnProperty']('nsp')&&!_0xcc5beb['isString'](_0x850127['nsp'])?'nsp:\x20string\x20expected':null!=_0x850127['data']&&_0x850127['hasOwnProperty']('data')&&!(_0x850127['data']&&'number'==typeof _0x850127['data']['length']||_0xcc5beb['isString'](_0x850127['data']))?'data:\x20buffer\x20expected':null!=_0x850127['options']&&_0x850127['hasOwnProperty']('options')&&!(_0x850127['options']&&'number'==typeof _0x850127['options']['length']||_0xcc5beb['isString'](_0x850127['options']))?'options:\x20buffer\x20expected':null;},_0x2228cc['fromObject']=function(_0x208275){if(_0x208275 instanceof _0xe33dea['PacketMessage'])return _0x208275;var _0x1e4dc2=new _0xe33dea['PacketMessage']();return null!=_0x208275['type']&&(_0x1e4dc2['type']=_0x208275['type']>>>0x0),null!=_0x208275['id']&&(_0x1e4dc2['id']=_0x208275['id']>>>0x0),null!=_0x208275['nsp']&&(_0x1e4dc2['nsp']=String(_0x208275['nsp'])),null!=_0x208275['data']&&('string'==typeof _0x208275['data']?_0xcc5beb['base64']['decode'](_0x208275['data'],_0x1e4dc2['data']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x208275['data'])),0x0):_0x208275['data']['length']>=0x0&&(_0x1e4dc2['data']=_0x208275['data'])),null!=_0x208275['options']&&('string'==typeof _0x208275['options']?_0xcc5beb['base64']['decode'](_0x208275['options'],_0x1e4dc2['options']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x208275['options'])),0x0):_0x208275['options']['length']>=0x0&&(_0x1e4dc2['options']=_0x208275['options'])),_0x1e4dc2;},_0x2228cc['toObject']=function(_0x1fbd46,_0x1585f1){_0x1585f1||(_0x1585f1={});var _0x272b6b={};return _0x1585f1['defaults']&&(_0x272b6b['type']=0x0,_0x272b6b['id']=0x0,_0x272b6b['nsp']='',_0x1585f1['bytes']===String?_0x272b6b['data']='':(_0x272b6b['data']=[],_0x1585f1['bytes']!==Array&&(_0x272b6b['data']=_0xcc5beb['newBuffer'](_0x272b6b['data']))),_0x1585f1['bytes']===String?_0x272b6b['options']='':(_0x272b6b['options']=[],_0x1585f1['bytes']!==Array&&(_0x272b6b['options']=_0xcc5beb['newBuffer'](_0x272b6b['options'])))),null!=_0x1fbd46['type']&&_0x1fbd46['hasOwnProperty']('type')&&(_0x272b6b['type']=_0x1fbd46['type']),null!=_0x1fbd46['id']&&_0x1fbd46['hasOwnProperty']('id')&&(_0x272b6b['id']=_0x1fbd46['id']),null!=_0x1fbd46['nsp']&&_0x1fbd46['hasOwnProperty']('nsp')&&(_0x272b6b['nsp']=_0x1fbd46['nsp']),null!=_0x1fbd46['data']&&_0x1fbd46['hasOwnProperty']('data')&&(_0x272b6b['data']=_0x1585f1['bytes']===String?_0xcc5beb['base64']['encode'](_0x1fbd46['data'],0x0,_0x1fbd46['data']['length']):_0x1585f1['bytes']===Array?Array['prototype']['slice']['call'](_0x1fbd46['data']):_0x1fbd46['data']),null!=_0x1fbd46['options']&&_0x1fbd46['hasOwnProperty']('options')&&(_0x272b6b['options']=_0x1585f1['bytes']===String?_0xcc5beb['base64']['encode'](_0x1fbd46['options'],0x0,_0x1fbd46['options']['length']):_0x1585f1['bytes']===Array?Array['prototype']['slice']['call'](_0x1fbd46['options']):_0x1fbd46['options']),_0x272b6b;},_0x2228cc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2228cc['getTypeUrl']=function(_0x463ce9){return void 0x0===_0x463ce9&&(_0x463ce9='type.googleapis.com'),_0x463ce9+'/PacketMessage';},_0x2228cc;}()),_0xe33dea['ObjectObjectPacketDataMessage']=(function(){function _0x5db3e1(_0x4f3b26){if(_0x4f3b26){for(var _0x5413a7=Object['keys'](_0x4f3b26),_0x4a9b9d=0x0;_0x4a9b9d<_0x5413a7['length'];++_0x4a9b9d)null!=_0x4f3b26[_0x5413a7[_0x4a9b9d]]&&(this[_0x5413a7[_0x4a9b9d]]=_0x4f3b26[_0x5413a7[_0x4a9b9d]]);}}return _0x5db3e1['prototype']['data']='',_0x5db3e1['prototype']['data1']='',_0x5db3e1['create']=function(_0x5050e6){return new _0x5db3e1(_0x5050e6);},_0x5db3e1['encode']=function(_0x1f8edb,_0x14efad){return _0x14efad||(_0x14efad=_0x5eaf50['create']()),null!=_0x1f8edb['data']&&Object['hasOwnProperty']['call'](_0x1f8edb,'data')&&_0x14efad['uint32'](0xa)['string'](_0x1f8edb['data']),null!=_0x1f8edb['data1']&&Object['hasOwnProperty']['call'](_0x1f8edb,'data1')&&_0x14efad['uint32'](0x12)['string'](_0x1f8edb['data1']),_0x14efad;},_0x5db3e1['encodeDelimited']=function(_0xe25574,_0x45cc49){return this['encode'](_0xe25574,_0x45cc49)['ldelim']();},_0x5db3e1['decode']=function(_0xbddc0,_0x1d4ad0,_0x4dc049){_0xbddc0 instanceof _0x22a542||(_0xbddc0=_0x22a542['create'](_0xbddc0));for(var _0x241280=void 0x0===_0x1d4ad0?_0xbddc0['len']:_0xbddc0['pos']+_0x1d4ad0,_0x57c14a=new _0xe33dea['ObjectObjectPacketDataMessage']();_0xbddc0['pos']<_0x241280;){var _0x51ee50=_0xbddc0['uint32']();if(_0x51ee50===_0x4dc049)break;switch(_0x51ee50>>>0x3){case 0x1:_0x57c14a['data']=_0xbddc0['string']();break;case 0x2:_0x57c14a['data1']=_0xbddc0['string']();break;default:_0xbddc0['skipType'](0x7&_0x51ee50);}}return _0x57c14a;},_0x5db3e1['decodeDelimited']=function(_0x115d79){return _0x115d79 instanceof _0x22a542||(_0x115d79=new _0x22a542(_0x115d79)),this['decode'](_0x115d79,_0x115d79['uint32']());},_0x5db3e1['verify']=function(_0x2fa546){return'object'!=typeof _0x2fa546||null===_0x2fa546?'object\x20expected':null!=_0x2fa546['data']&&_0x2fa546['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x2fa546['data'])?'data:\x20string\x20expected':null!=_0x2fa546['data1']&&_0x2fa546['hasOwnProperty']('data1')&&!_0xcc5beb['isString'](_0x2fa546['data1'])?'data1:\x20string\x20expected':null;},_0x5db3e1['fromObject']=function(_0x45f13a){if(_0x45f13a instanceof _0xe33dea['ObjectObjectPacketDataMessage'])return _0x45f13a;var _0xc926e5=new _0xe33dea['ObjectObjectPacketDataMessage']();return null!=_0x45f13a['data']&&(_0xc926e5['data']=String(_0x45f13a['data'])),null!=_0x45f13a['data1']&&(_0xc926e5['data1']=String(_0x45f13a['data1'])),_0xc926e5;},_0x5db3e1['toObject']=function(_0x36411d,_0x2abb69){_0x2abb69||(_0x2abb69={});var _0x3f5927={};return _0x2abb69['defaults']&&(_0x3f5927['data']='',_0x3f5927['data1']=''),null!=_0x36411d['data']&&_0x36411d['hasOwnProperty']('data')&&(_0x3f5927['data']=_0x36411d['data']),null!=_0x36411d['data1']&&_0x36411d['hasOwnProperty']('data1')&&(_0x3f5927['data1']=_0x36411d['data1']),_0x3f5927;},_0x5db3e1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5db3e1['getTypeUrl']=function(_0x223ed4){return void 0x0===_0x223ed4&&(_0x223ed4='type.googleapis.com'),_0x223ed4+'/ObjectObjectPacketDataMessage';},_0x5db3e1;}()),_0xe33dea['ObjectBufferPacketDataMessage']=(function(){function _0xfb2bf3(_0x410311){if(_0x410311){for(var _0x58a1d4=Object['keys'](_0x410311),_0x533588=0x0;_0x533588<_0x58a1d4['length'];++_0x533588)null!=_0x410311[_0x58a1d4[_0x533588]]&&(this[_0x58a1d4[_0x533588]]=_0x410311[_0x58a1d4[_0x533588]]);}}return _0xfb2bf3['prototype']['data']='',_0xfb2bf3['prototype']['data1']=_0xcc5beb['newBuffer']([]),_0xfb2bf3['create']=function(_0x1e2518){return new _0xfb2bf3(_0x1e2518);},_0xfb2bf3['encode']=function(_0x3d6f09,_0x14d1ae){return _0x14d1ae||(_0x14d1ae=_0x5eaf50['create']()),null!=_0x3d6f09['data']&&Object['hasOwnProperty']['call'](_0x3d6f09,'data')&&_0x14d1ae['uint32'](0xa)['string'](_0x3d6f09['data']),null!=_0x3d6f09['data1']&&Object['hasOwnProperty']['call'](_0x3d6f09,'data1')&&_0x14d1ae['uint32'](0x12)['bytes'](_0x3d6f09['data1']),_0x14d1ae;},_0xfb2bf3['encodeDelimited']=function(_0x375122,_0x429ce8){return this['encode'](_0x375122,_0x429ce8)['ldelim']();},_0xfb2bf3['decode']=function(_0x41eda3,_0x34e395,_0x3b2a7f){_0x41eda3 instanceof _0x22a542||(_0x41eda3=_0x22a542['create'](_0x41eda3));for(var _0x732246=void 0x0===_0x34e395?_0x41eda3['len']:_0x41eda3['pos']+_0x34e395,_0x3cdf53=new _0xe33dea['ObjectBufferPacketDataMessage']();_0x41eda3['pos']<_0x732246;){var _0x40f9e6=_0x41eda3['uint32']();if(_0x40f9e6===_0x3b2a7f)break;switch(_0x40f9e6>>>0x3){case 0x1:_0x3cdf53['data']=_0x41eda3['string']();break;case 0x2:_0x3cdf53['data1']=_0x41eda3['bytes']();break;default:_0x41eda3['skipType'](0x7&_0x40f9e6);}}return _0x3cdf53;},_0xfb2bf3['decodeDelimited']=function(_0x159b83){return _0x159b83 instanceof _0x22a542||(_0x159b83=new _0x22a542(_0x159b83)),this['decode'](_0x159b83,_0x159b83['uint32']());},_0xfb2bf3['verify']=function(_0x238e8a){return'object'!=typeof _0x238e8a||null===_0x238e8a?'object\x20expected':null!=_0x238e8a['data']&&_0x238e8a['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x238e8a['data'])?'data:\x20string\x20expected':null!=_0x238e8a['data1']&&_0x238e8a['hasOwnProperty']('data1')&&!(_0x238e8a['data1']&&'number'==typeof _0x238e8a['data1']['length']||_0xcc5beb['isString'](_0x238e8a['data1']))?'data1:\x20buffer\x20expected':null;},_0xfb2bf3['fromObject']=function(_0x276e0d){if(_0x276e0d instanceof _0xe33dea['ObjectBufferPacketDataMessage'])return _0x276e0d;var _0x235375=new _0xe33dea['ObjectBufferPacketDataMessage']();return null!=_0x276e0d['data']&&(_0x235375['data']=String(_0x276e0d['data'])),null!=_0x276e0d['data1']&&('string'==typeof _0x276e0d['data1']?_0xcc5beb['base64']['decode'](_0x276e0d['data1'],_0x235375['data1']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x276e0d['data1'])),0x0):_0x276e0d['data1']['length']>=0x0&&(_0x235375['data1']=_0x276e0d['data1'])),_0x235375;},_0xfb2bf3['toObject']=function(_0x1ca70b,_0x2a1819){_0x2a1819||(_0x2a1819={});var _0x4d5c97={};return _0x2a1819['defaults']&&(_0x4d5c97['data']='',_0x2a1819['bytes']===String?_0x4d5c97['data1']='':(_0x4d5c97['data1']=[],_0x2a1819['bytes']!==Array&&(_0x4d5c97['data1']=_0xcc5beb['newBuffer'](_0x4d5c97['data1'])))),null!=_0x1ca70b['data']&&_0x1ca70b['hasOwnProperty']('data')&&(_0x4d5c97['data']=_0x1ca70b['data']),null!=_0x1ca70b['data1']&&_0x1ca70b['hasOwnProperty']('data1')&&(_0x4d5c97['data1']=_0x2a1819['bytes']===String?_0xcc5beb['base64']['encode'](_0x1ca70b['data1'],0x0,_0x1ca70b['data1']['length']):_0x2a1819['bytes']===Array?Array['prototype']['slice']['call'](_0x1ca70b['data1']):_0x1ca70b['data1']),_0x4d5c97;},_0xfb2bf3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xfb2bf3['getTypeUrl']=function(_0x4a1cff){return void 0x0===_0x4a1cff&&(_0x4a1cff='type.googleapis.com'),_0x4a1cff+'/ObjectBufferPacketDataMessage';},_0xfb2bf3;}()),_0xe33dea['NumberStringPacketDataMessage']=(function(){function _0x49f310(_0xc2c4f){if(_0xc2c4f){for(var _0x152d65=Object['keys'](_0xc2c4f),_0x5dec5d=0x0;_0x5dec5d<_0x152d65['length'];++_0x5dec5d)null!=_0xc2c4f[_0x152d65[_0x5dec5d]]&&(this[_0x152d65[_0x5dec5d]]=_0xc2c4f[_0x152d65[_0x5dec5d]]);}}return _0x49f310['prototype']['data']=0x0,_0x49f310['prototype']['data1']='',_0x49f310['create']=function(_0x202d20){return new _0x49f310(_0x202d20);},_0x49f310['encode']=function(_0x26a640,_0x140345){return _0x140345||(_0x140345=_0x5eaf50['create']()),null!=_0x26a640['data']&&Object['hasOwnProperty']['call'](_0x26a640,'data')&&_0x140345['uint32'](0x8)['uint32'](_0x26a640['data']),null!=_0x26a640['data1']&&Object['hasOwnProperty']['call'](_0x26a640,'data1')&&_0x140345['uint32'](0x12)['string'](_0x26a640['data1']),_0x140345;},_0x49f310['encodeDelimited']=function(_0x2980b8,_0x17390f){return this['encode'](_0x2980b8,_0x17390f)['ldelim']();},_0x49f310['decode']=function(_0xb7cf10,_0x494ab8,_0x44a914){_0xb7cf10 instanceof _0x22a542||(_0xb7cf10=_0x22a542['create'](_0xb7cf10));for(var _0xcad159=void 0x0===_0x494ab8?_0xb7cf10['len']:_0xb7cf10['pos']+_0x494ab8,_0x3dca70=new _0xe33dea['NumberStringPacketDataMessage']();_0xb7cf10['pos']<_0xcad159;){var _0x2d0041=_0xb7cf10['uint32']();if(_0x2d0041===_0x44a914)break;switch(_0x2d0041>>>0x3){case 0x1:_0x3dca70['data']=_0xb7cf10['uint32']();break;case 0x2:_0x3dca70['data1']=_0xb7cf10['string']();break;default:_0xb7cf10['skipType'](0x7&_0x2d0041);}}return _0x3dca70;},_0x49f310['decodeDelimited']=function(_0x46f15a){return _0x46f15a instanceof _0x22a542||(_0x46f15a=new _0x22a542(_0x46f15a)),this['decode'](_0x46f15a,_0x46f15a['uint32']());},_0x49f310['verify']=function(_0x54a670){return'object'!=typeof _0x54a670||null===_0x54a670?'object\x20expected':null!=_0x54a670['data']&&_0x54a670['hasOwnProperty']('data')&&!_0xcc5beb['isInteger'](_0x54a670['data'])?'data:\x20integer\x20expected':null!=_0x54a670['data1']&&_0x54a670['hasOwnProperty']('data1')&&!_0xcc5beb['isString'](_0x54a670['data1'])?'data1:\x20string\x20expected':null;},_0x49f310['fromObject']=function(_0x31cc6d){if(_0x31cc6d instanceof _0xe33dea['NumberStringPacketDataMessage'])return _0x31cc6d;var _0x2fcbca=new _0xe33dea['NumberStringPacketDataMessage']();return null!=_0x31cc6d['data']&&(_0x2fcbca['data']=_0x31cc6d['data']>>>0x0),null!=_0x31cc6d['data1']&&(_0x2fcbca['data1']=String(_0x31cc6d['data1'])),_0x2fcbca;},_0x49f310['toObject']=function(_0x20810d,_0x7e5326){_0x7e5326||(_0x7e5326={});var _0x1912c1={};return _0x7e5326['defaults']&&(_0x1912c1['data']=0x0,_0x1912c1['data1']=''),null!=_0x20810d['data']&&_0x20810d['hasOwnProperty']('data')&&(_0x1912c1['data']=_0x20810d['data']),null!=_0x20810d['data1']&&_0x20810d['hasOwnProperty']('data1')&&(_0x1912c1['data1']=_0x20810d['data1']),_0x1912c1;},_0x49f310['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x49f310['getTypeUrl']=function(_0x43708c){return void 0x0===_0x43708c&&(_0x43708c='type.googleapis.com'),_0x43708c+'/NumberStringPacketDataMessage';},_0x49f310;}()),_0xe33dea['NumberObjectPacketDataMessage']=(function(){function _0x21ed25(_0x180c3c){if(_0x180c3c){for(var _0x2e082a=Object['keys'](_0x180c3c),_0x3c7100=0x0;_0x3c7100<_0x2e082a['length'];++_0x3c7100)null!=_0x180c3c[_0x2e082a[_0x3c7100]]&&(this[_0x2e082a[_0x3c7100]]=_0x180c3c[_0x2e082a[_0x3c7100]]);}}return _0x21ed25['prototype']['data']=0x0,_0x21ed25['prototype']['data1']='',_0x21ed25['create']=function(_0x524465){return new _0x21ed25(_0x524465);},_0x21ed25['encode']=function(_0x516ad1,_0x468fd4){return _0x468fd4||(_0x468fd4=_0x5eaf50['create']()),null!=_0x516ad1['data']&&Object['hasOwnProperty']['call'](_0x516ad1,'data')&&_0x468fd4['uint32'](0x8)['uint32'](_0x516ad1['data']),null!=_0x516ad1['data1']&&Object['hasOwnProperty']['call'](_0x516ad1,'data1')&&_0x468fd4['uint32'](0x12)['string'](_0x516ad1['data1']),_0x468fd4;},_0x21ed25['encodeDelimited']=function(_0x22f93f,_0x4e3f23){return this['encode'](_0x22f93f,_0x4e3f23)['ldelim']();},_0x21ed25['decode']=function(_0x4ec647,_0x4083f6,_0x3d6928){_0x4ec647 instanceof _0x22a542||(_0x4ec647=_0x22a542['create'](_0x4ec647));for(var _0x5c5927=void 0x0===_0x4083f6?_0x4ec647['len']:_0x4ec647['pos']+_0x4083f6,_0x2836ae=new _0xe33dea['NumberObjectPacketDataMessage']();_0x4ec647['pos']<_0x5c5927;){var _0x496ca8=_0x4ec647['uint32']();if(_0x496ca8===_0x3d6928)break;switch(_0x496ca8>>>0x3){case 0x1:_0x2836ae['data']=_0x4ec647['uint32']();break;case 0x2:_0x2836ae['data1']=_0x4ec647['string']();break;default:_0x4ec647['skipType'](0x7&_0x496ca8);}}return _0x2836ae;},_0x21ed25['decodeDelimited']=function(_0x4fb8a4){return _0x4fb8a4 instanceof _0x22a542||(_0x4fb8a4=new _0x22a542(_0x4fb8a4)),this['decode'](_0x4fb8a4,_0x4fb8a4['uint32']());},_0x21ed25['verify']=function(_0x70a44c){return'object'!=typeof _0x70a44c||null===_0x70a44c?'object\x20expected':null!=_0x70a44c['data']&&_0x70a44c['hasOwnProperty']('data')&&!_0xcc5beb['isInteger'](_0x70a44c['data'])?'data:\x20integer\x20expected':null!=_0x70a44c['data1']&&_0x70a44c['hasOwnProperty']('data1')&&!_0xcc5beb['isString'](_0x70a44c['data1'])?'data1:\x20string\x20expected':null;},_0x21ed25['fromObject']=function(_0x27ef2b){if(_0x27ef2b instanceof _0xe33dea['NumberObjectPacketDataMessage'])return _0x27ef2b;var _0x4281e7=new _0xe33dea['NumberObjectPacketDataMessage']();return null!=_0x27ef2b['data']&&(_0x4281e7['data']=_0x27ef2b['data']>>>0x0),null!=_0x27ef2b['data1']&&(_0x4281e7['data1']=String(_0x27ef2b['data1'])),_0x4281e7;},_0x21ed25['toObject']=function(_0x4f8ebc,_0x518a1c){_0x518a1c||(_0x518a1c={});var _0x3be8c9={};return _0x518a1c['defaults']&&(_0x3be8c9['data']=0x0,_0x3be8c9['data1']=''),null!=_0x4f8ebc['data']&&_0x4f8ebc['hasOwnProperty']('data')&&(_0x3be8c9['data']=_0x4f8ebc['data']),null!=_0x4f8ebc['data1']&&_0x4f8ebc['hasOwnProperty']('data1')&&(_0x3be8c9['data1']=_0x4f8ebc['data1']),_0x3be8c9;},_0x21ed25['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x21ed25['getTypeUrl']=function(_0xf60efa){return void 0x0===_0xf60efa&&(_0xf60efa='type.googleapis.com'),_0xf60efa+'/NumberObjectPacketDataMessage';},_0x21ed25;}()),_0xe33dea['NumberNumberPacketDataMessage']=(function(){function _0x3f3d54(_0x5e18e5){if(_0x5e18e5){for(var _0x15abc7=Object['keys'](_0x5e18e5),_0x4a4111=0x0;_0x4a4111<_0x15abc7['length'];++_0x4a4111)null!=_0x5e18e5[_0x15abc7[_0x4a4111]]&&(this[_0x15abc7[_0x4a4111]]=_0x5e18e5[_0x15abc7[_0x4a4111]]);}}return _0x3f3d54['prototype']['data']=0x0,_0x3f3d54['prototype']['data1']=0x0,_0x3f3d54['create']=function(_0x2e8b14){return new _0x3f3d54(_0x2e8b14);},_0x3f3d54['encode']=function(_0x39ca72,_0x156a54){return _0x156a54||(_0x156a54=_0x5eaf50['create']()),null!=_0x39ca72['data']&&Object['hasOwnProperty']['call'](_0x39ca72,'data')&&_0x156a54['uint32'](0x8)['uint32'](_0x39ca72['data']),null!=_0x39ca72['data1']&&Object['hasOwnProperty']['call'](_0x39ca72,'data1')&&_0x156a54['uint32'](0x10)['uint32'](_0x39ca72['data1']),_0x156a54;},_0x3f3d54['encodeDelimited']=function(_0x4474c8,_0x443815){return this['encode'](_0x4474c8,_0x443815)['ldelim']();},_0x3f3d54['decode']=function(_0x521c7c,_0x2c4ab5,_0x10dc6b){_0x521c7c instanceof _0x22a542||(_0x521c7c=_0x22a542['create'](_0x521c7c));for(var _0x124684=void 0x0===_0x2c4ab5?_0x521c7c['len']:_0x521c7c['pos']+_0x2c4ab5,_0x5c2b1e=new _0xe33dea['NumberNumberPacketDataMessage']();_0x521c7c['pos']<_0x124684;){var _0x49fa11=_0x521c7c['uint32']();if(_0x49fa11===_0x10dc6b)break;switch(_0x49fa11>>>0x3){case 0x1:_0x5c2b1e['data']=_0x521c7c['uint32']();break;case 0x2:_0x5c2b1e['data1']=_0x521c7c['uint32']();break;default:_0x521c7c['skipType'](0x7&_0x49fa11);}}return _0x5c2b1e;},_0x3f3d54['decodeDelimited']=function(_0x5cdee4){return _0x5cdee4 instanceof _0x22a542||(_0x5cdee4=new _0x22a542(_0x5cdee4)),this['decode'](_0x5cdee4,_0x5cdee4['uint32']());},_0x3f3d54['verify']=function(_0x2fee8a){return'object'!=typeof _0x2fee8a||null===_0x2fee8a?'object\x20expected':null!=_0x2fee8a['data']&&_0x2fee8a['hasOwnProperty']('data')&&!_0xcc5beb['isInteger'](_0x2fee8a['data'])?'data:\x20integer\x20expected':null!=_0x2fee8a['data1']&&_0x2fee8a['hasOwnProperty']('data1')&&!_0xcc5beb['isInteger'](_0x2fee8a['data1'])?'data1:\x20integer\x20expected':null;},_0x3f3d54['fromObject']=function(_0xba1045){if(_0xba1045 instanceof _0xe33dea['NumberNumberPacketDataMessage'])return _0xba1045;var _0x2efa80=new _0xe33dea['NumberNumberPacketDataMessage']();return null!=_0xba1045['data']&&(_0x2efa80['data']=_0xba1045['data']>>>0x0),null!=_0xba1045['data1']&&(_0x2efa80['data1']=_0xba1045['data1']>>>0x0),_0x2efa80;},_0x3f3d54['toObject']=function(_0x2179dc,_0x1a7e36){_0x1a7e36||(_0x1a7e36={});var _0x286af0={};return _0x1a7e36['defaults']&&(_0x286af0['data']=0x0,_0x286af0['data1']=0x0),null!=_0x2179dc['data']&&_0x2179dc['hasOwnProperty']('data')&&(_0x286af0['data']=_0x2179dc['data']),null!=_0x2179dc['data1']&&_0x2179dc['hasOwnProperty']('data1')&&(_0x286af0['data1']=_0x2179dc['data1']),_0x286af0;},_0x3f3d54['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3f3d54['getTypeUrl']=function(_0x59d7c9){return void 0x0===_0x59d7c9&&(_0x59d7c9='type.googleapis.com'),_0x59d7c9+'/NumberNumberPacketDataMessage';},_0x3f3d54;}()),_0xe33dea['NumberBytesPacketDataMessage']=(function(){function _0x415bf2(_0x4f41a6){if(_0x4f41a6){for(var _0x474d27=Object['keys'](_0x4f41a6),_0x57fe18=0x0;_0x57fe18<_0x474d27['length'];++_0x57fe18)null!=_0x4f41a6[_0x474d27[_0x57fe18]]&&(this[_0x474d27[_0x57fe18]]=_0x4f41a6[_0x474d27[_0x57fe18]]);}}return _0x415bf2['prototype']['data']=0x0,_0x415bf2['prototype']['data1']=_0xcc5beb['newBuffer']([]),_0x415bf2['create']=function(_0x48e478){return new _0x415bf2(_0x48e478);},_0x415bf2['encode']=function(_0x4775d6,_0x4474de){return _0x4474de||(_0x4474de=_0x5eaf50['create']()),null!=_0x4775d6['data']&&Object['hasOwnProperty']['call'](_0x4775d6,'data')&&_0x4474de['uint32'](0x8)['uint32'](_0x4775d6['data']),null!=_0x4775d6['data1']&&Object['hasOwnProperty']['call'](_0x4775d6,'data1')&&_0x4474de['uint32'](0x12)['bytes'](_0x4775d6['data1']),_0x4474de;},_0x415bf2['encodeDelimited']=function(_0x3504bd,_0x321428){return this['encode'](_0x3504bd,_0x321428)['ldelim']();},_0x415bf2['decode']=function(_0x1c0c7a,_0x225760,_0x1f3e9c){_0x1c0c7a instanceof _0x22a542||(_0x1c0c7a=_0x22a542['create'](_0x1c0c7a));for(var _0x2d7b70=void 0x0===_0x225760?_0x1c0c7a['len']:_0x1c0c7a['pos']+_0x225760,_0x1003fd=new _0xe33dea['NumberBytesPacketDataMessage']();_0x1c0c7a['pos']<_0x2d7b70;){var _0x1ad301=_0x1c0c7a['uint32']();if(_0x1ad301===_0x1f3e9c)break;switch(_0x1ad301>>>0x3){case 0x1:_0x1003fd['data']=_0x1c0c7a['uint32']();break;case 0x2:_0x1003fd['data1']=_0x1c0c7a['bytes']();break;default:_0x1c0c7a['skipType'](0x7&_0x1ad301);}}return _0x1003fd;},_0x415bf2['decodeDelimited']=function(_0x532b5f){return _0x532b5f instanceof _0x22a542||(_0x532b5f=new _0x22a542(_0x532b5f)),this['decode'](_0x532b5f,_0x532b5f['uint32']());},_0x415bf2['verify']=function(_0x2377b6){return'object'!=typeof _0x2377b6||null===_0x2377b6?'object\x20expected':null!=_0x2377b6['data']&&_0x2377b6['hasOwnProperty']('data')&&!_0xcc5beb['isInteger'](_0x2377b6['data'])?'data:\x20integer\x20expected':null!=_0x2377b6['data1']&&_0x2377b6['hasOwnProperty']('data1')&&!(_0x2377b6['data1']&&'number'==typeof _0x2377b6['data1']['length']||_0xcc5beb['isString'](_0x2377b6['data1']))?'data1:\x20buffer\x20expected':null;},_0x415bf2['fromObject']=function(_0x1412da){if(_0x1412da instanceof _0xe33dea['NumberBytesPacketDataMessage'])return _0x1412da;var _0xe104cc=new _0xe33dea['NumberBytesPacketDataMessage']();return null!=_0x1412da['data']&&(_0xe104cc['data']=_0x1412da['data']>>>0x0),null!=_0x1412da['data1']&&('string'==typeof _0x1412da['data1']?_0xcc5beb['base64']['decode'](_0x1412da['data1'],_0xe104cc['data1']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x1412da['data1'])),0x0):_0x1412da['data1']['length']>=0x0&&(_0xe104cc['data1']=_0x1412da['data1'])),_0xe104cc;},_0x415bf2['toObject']=function(_0x58a25a,_0x515298){_0x515298||(_0x515298={});var _0x358c0f={};return _0x515298['defaults']&&(_0x358c0f['data']=0x0,_0x515298['bytes']===String?_0x358c0f['data1']='':(_0x358c0f['data1']=[],_0x515298['bytes']!==Array&&(_0x358c0f['data1']=_0xcc5beb['newBuffer'](_0x358c0f['data1'])))),null!=_0x58a25a['data']&&_0x58a25a['hasOwnProperty']('data')&&(_0x358c0f['data']=_0x58a25a['data']),null!=_0x58a25a['data1']&&_0x58a25a['hasOwnProperty']('data1')&&(_0x358c0f['data1']=_0x515298['bytes']===String?_0xcc5beb['base64']['encode'](_0x58a25a['data1'],0x0,_0x58a25a['data1']['length']):_0x515298['bytes']===Array?Array['prototype']['slice']['call'](_0x58a25a['data1']):_0x58a25a['data1']),_0x358c0f;},_0x415bf2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x415bf2['getTypeUrl']=function(_0x47b15a){return void 0x0===_0x47b15a&&(_0x47b15a='type.googleapis.com'),_0x47b15a+'/NumberBytesPacketDataMessage';},_0x415bf2;}()),_0xe33dea['BytesBytesPacketDataMessage']=(function(){function _0x4a2981(_0x412a74){if(_0x412a74){for(var _0x1e9ddd=Object['keys'](_0x412a74),_0x365fd1=0x0;_0x365fd1<_0x1e9ddd['length'];++_0x365fd1)null!=_0x412a74[_0x1e9ddd[_0x365fd1]]&&(this[_0x1e9ddd[_0x365fd1]]=_0x412a74[_0x1e9ddd[_0x365fd1]]);}}return _0x4a2981['prototype']['data']=_0xcc5beb['newBuffer']([]),_0x4a2981['prototype']['data1']=_0xcc5beb['newBuffer']([]),_0x4a2981['create']=function(_0x2888b6){return new _0x4a2981(_0x2888b6);},_0x4a2981['encode']=function(_0x717bc5,_0x2c1a60){return _0x2c1a60||(_0x2c1a60=_0x5eaf50['create']()),null!=_0x717bc5['data']&&Object['hasOwnProperty']['call'](_0x717bc5,'data')&&_0x2c1a60['uint32'](0xa)['bytes'](_0x717bc5['data']),null!=_0x717bc5['data1']&&Object['hasOwnProperty']['call'](_0x717bc5,'data1')&&_0x2c1a60['uint32'](0x12)['bytes'](_0x717bc5['data1']),_0x2c1a60;},_0x4a2981['encodeDelimited']=function(_0x242798,_0x3adc5c){return this['encode'](_0x242798,_0x3adc5c)['ldelim']();},_0x4a2981['decode']=function(_0x46f55c,_0x39b93d,_0x584120){_0x46f55c instanceof _0x22a542||(_0x46f55c=_0x22a542['create'](_0x46f55c));for(var _0x579978=void 0x0===_0x39b93d?_0x46f55c['len']:_0x46f55c['pos']+_0x39b93d,_0xb235b4=new _0xe33dea['BytesBytesPacketDataMessage']();_0x46f55c['pos']<_0x579978;){var _0x5399b3=_0x46f55c['uint32']();if(_0x5399b3===_0x584120)break;switch(_0x5399b3>>>0x3){case 0x1:_0xb235b4['data']=_0x46f55c['bytes']();break;case 0x2:_0xb235b4['data1']=_0x46f55c['bytes']();break;default:_0x46f55c['skipType'](0x7&_0x5399b3);}}return _0xb235b4;},_0x4a2981['decodeDelimited']=function(_0x49d268){return _0x49d268 instanceof _0x22a542||(_0x49d268=new _0x22a542(_0x49d268)),this['decode'](_0x49d268,_0x49d268['uint32']());},_0x4a2981['verify']=function(_0x3cb722){return'object'!=typeof _0x3cb722||null===_0x3cb722?'object\x20expected':null!=_0x3cb722['data']&&_0x3cb722['hasOwnProperty']('data')&&!(_0x3cb722['data']&&'number'==typeof _0x3cb722['data']['length']||_0xcc5beb['isString'](_0x3cb722['data']))?'data:\x20buffer\x20expected':null!=_0x3cb722['data1']&&_0x3cb722['hasOwnProperty']('data1')&&!(_0x3cb722['data1']&&'number'==typeof _0x3cb722['data1']['length']||_0xcc5beb['isString'](_0x3cb722['data1']))?'data1:\x20buffer\x20expected':null;},_0x4a2981['fromObject']=function(_0x406d2b){if(_0x406d2b instanceof _0xe33dea['BytesBytesPacketDataMessage'])return _0x406d2b;var _0xb5f5b1=new _0xe33dea['BytesBytesPacketDataMessage']();return null!=_0x406d2b['data']&&('string'==typeof _0x406d2b['data']?_0xcc5beb['base64']['decode'](_0x406d2b['data'],_0xb5f5b1['data']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x406d2b['data'])),0x0):_0x406d2b['data']['length']>=0x0&&(_0xb5f5b1['data']=_0x406d2b['data'])),null!=_0x406d2b['data1']&&('string'==typeof _0x406d2b['data1']?_0xcc5beb['base64']['decode'](_0x406d2b['data1'],_0xb5f5b1['data1']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x406d2b['data1'])),0x0):_0x406d2b['data1']['length']>=0x0&&(_0xb5f5b1['data1']=_0x406d2b['data1'])),_0xb5f5b1;},_0x4a2981['toObject']=function(_0x588d11,_0x3aed21){_0x3aed21||(_0x3aed21={});var _0xb846d1={};return _0x3aed21['defaults']&&(_0x3aed21['bytes']===String?_0xb846d1['data']='':(_0xb846d1['data']=[],_0x3aed21['bytes']!==Array&&(_0xb846d1['data']=_0xcc5beb['newBuffer'](_0xb846d1['data']))),_0x3aed21['bytes']===String?_0xb846d1['data1']='':(_0xb846d1['data1']=[],_0x3aed21['bytes']!==Array&&(_0xb846d1['data1']=_0xcc5beb['newBuffer'](_0xb846d1['data1'])))),null!=_0x588d11['data']&&_0x588d11['hasOwnProperty']('data')&&(_0xb846d1['data']=_0x3aed21['bytes']===String?_0xcc5beb['base64']['encode'](_0x588d11['data'],0x0,_0x588d11['data']['length']):_0x3aed21['bytes']===Array?Array['prototype']['slice']['call'](_0x588d11['data']):_0x588d11['data']),null!=_0x588d11['data1']&&_0x588d11['hasOwnProperty']('data1')&&(_0xb846d1['data1']=_0x3aed21['bytes']===String?_0xcc5beb['base64']['encode'](_0x588d11['data1'],0x0,_0x588d11['data1']['length']):_0x3aed21['bytes']===Array?Array['prototype']['slice']['call'](_0x588d11['data1']):_0x588d11['data1']),_0xb846d1;},_0x4a2981['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4a2981['getTypeUrl']=function(_0x4006f9){return void 0x0===_0x4006f9&&(_0x4006f9='type.googleapis.com'),_0x4006f9+'/BytesBytesPacketDataMessage';},_0x4a2981;}()),_0xe33dea['ChannelMessage']=(function(){function _0x524840(_0x7248f4){if(_0x7248f4){for(var _0x287616=Object['keys'](_0x7248f4),_0x3360ac=0x0;_0x3360ac<_0x287616['length'];++_0x3360ac)null!=_0x7248f4[_0x287616[_0x3360ac]]&&(this[_0x287616[_0x3360ac]]=_0x7248f4[_0x287616[_0x3360ac]]);}}return _0x524840['prototype']['type']=0x0,_0x524840['prototype']['socketId']='',_0x524840['prototype']['data']=_0xcc5beb['newBuffer']([]),_0x524840['create']=function(_0x2a3510){return new _0x524840(_0x2a3510);},_0x524840['encode']=function(_0x1cf223,_0xeca8a7){return _0xeca8a7||(_0xeca8a7=_0x5eaf50['create']()),null!=_0x1cf223['type']&&Object['hasOwnProperty']['call'](_0x1cf223,'type')&&_0xeca8a7['uint32'](0x8)['uint32'](_0x1cf223['type']),null!=_0x1cf223['socketId']&&Object['hasOwnProperty']['call'](_0x1cf223,'socketId')&&_0xeca8a7['uint32'](0x12)['string'](_0x1cf223['socketId']),null!=_0x1cf223['data']&&Object['hasOwnProperty']['call'](_0x1cf223,'data')&&_0xeca8a7['uint32'](0x1a)['bytes'](_0x1cf223['data']),_0xeca8a7;},_0x524840['encodeDelimited']=function(_0x48e7b8,_0x535541){return this['encode'](_0x48e7b8,_0x535541)['ldelim']();},_0x524840['decode']=function(_0x13b8de,_0x580477,_0x3b5c85){_0x13b8de instanceof _0x22a542||(_0x13b8de=_0x22a542['create'](_0x13b8de));for(var _0x583529=void 0x0===_0x580477?_0x13b8de['len']:_0x13b8de['pos']+_0x580477,_0x335a73=new _0xe33dea['ChannelMessage']();_0x13b8de['pos']<_0x583529;){var _0x24d3a8=_0x13b8de['uint32']();if(_0x24d3a8===_0x3b5c85)break;switch(_0x24d3a8>>>0x3){case 0x1:_0x335a73['type']=_0x13b8de['uint32']();break;case 0x2:_0x335a73['socketId']=_0x13b8de['string']();break;case 0x3:_0x335a73['data']=_0x13b8de['bytes']();break;default:_0x13b8de['skipType'](0x7&_0x24d3a8);}}return _0x335a73;},_0x524840['decodeDelimited']=function(_0x45453c){return _0x45453c instanceof _0x22a542||(_0x45453c=new _0x22a542(_0x45453c)),this['decode'](_0x45453c,_0x45453c['uint32']());},_0x524840['verify']=function(_0x3d8969){return'object'!=typeof _0x3d8969||null===_0x3d8969?'object\x20expected':null!=_0x3d8969['type']&&_0x3d8969['hasOwnProperty']('type')&&!_0xcc5beb['isInteger'](_0x3d8969['type'])?'type:\x20integer\x20expected':null!=_0x3d8969['socketId']&&_0x3d8969['hasOwnProperty']('socketId')&&!_0xcc5beb['isString'](_0x3d8969['socketId'])?'socketId:\x20string\x20expected':null!=_0x3d8969['data']&&_0x3d8969['hasOwnProperty']('data')&&!(_0x3d8969['data']&&'number'==typeof _0x3d8969['data']['length']||_0xcc5beb['isString'](_0x3d8969['data']))?'data:\x20buffer\x20expected':null;},_0x524840['fromObject']=function(_0x147628){if(_0x147628 instanceof _0xe33dea['ChannelMessage'])return _0x147628;var _0x166b26=new _0xe33dea['ChannelMessage']();return null!=_0x147628['type']&&(_0x166b26['type']=_0x147628['type']>>>0x0),null!=_0x147628['socketId']&&(_0x166b26['socketId']=String(_0x147628['socketId'])),null!=_0x147628['data']&&('string'==typeof _0x147628['data']?_0xcc5beb['base64']['decode'](_0x147628['data'],_0x166b26['data']=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x147628['data'])),0x0):_0x147628['data']['length']>=0x0&&(_0x166b26['data']=_0x147628['data'])),_0x166b26;},_0x524840['toObject']=function(_0x3da3ce,_0x472cab){_0x472cab||(_0x472cab={});var _0x2a3188={};return _0x472cab['defaults']&&(_0x2a3188['type']=0x0,_0x2a3188['socketId']='',_0x472cab['bytes']===String?_0x2a3188['data']='':(_0x2a3188['data']=[],_0x472cab['bytes']!==Array&&(_0x2a3188['data']=_0xcc5beb['newBuffer'](_0x2a3188['data'])))),null!=_0x3da3ce['type']&&_0x3da3ce['hasOwnProperty']('type')&&(_0x2a3188['type']=_0x3da3ce['type']),null!=_0x3da3ce['socketId']&&_0x3da3ce['hasOwnProperty']('socketId')&&(_0x2a3188['socketId']=_0x3da3ce['socketId']),null!=_0x3da3ce['data']&&_0x3da3ce['hasOwnProperty']('data')&&(_0x2a3188['data']=_0x472cab['bytes']===String?_0xcc5beb['base64']['encode'](_0x3da3ce['data'],0x0,_0x3da3ce['data']['length']):_0x472cab['bytes']===Array?Array['prototype']['slice']['call'](_0x3da3ce['data']):_0x3da3ce['data']),_0x2a3188;},_0x524840['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x524840['getTypeUrl']=function(_0x504b1d){return void 0x0===_0x504b1d&&(_0x504b1d='type.googleapis.com'),_0x504b1d+'/ChannelMessage';},_0x524840;}()),_0xe33dea['GetUserResponse']=(function(){function _0x4be252(_0x361aab){if(this['attributes']=[],_0x361aab){for(var _0x1517cb=Object['keys'](_0x361aab),_0x1077f2=0x0;_0x1077f2<_0x1517cb['length'];++_0x1077f2)null!=_0x361aab[_0x1517cb[_0x1077f2]]&&(this[_0x1517cb[_0x1077f2]]=_0x361aab[_0x1517cb[_0x1077f2]]);}}return _0x4be252['prototype']['attributes']=_0xcc5beb['emptyArray'],_0x4be252['create']=function(_0x50affb){return new _0x4be252(_0x50affb);},_0x4be252['encode']=function(_0x172104,_0x2a0f95){if(_0x2a0f95||(_0x2a0f95=_0x5eaf50['create']()),null!=_0x172104['attributes']&&_0x172104['attributes']['length']){for(var _0x5e1896=0x0;_0x5e1896<_0x172104['attributes']['length'];++_0x5e1896)_0xe33dea['KeyValueDescriptor']['encode'](_0x172104['attributes'][_0x5e1896],_0x2a0f95['uint32'](0xa)['fork']())['ldelim']();}return _0x2a0f95;},_0x4be252['encodeDelimited']=function(_0x4bb22d,_0x43d1fc){return this['encode'](_0x4bb22d,_0x43d1fc)['ldelim']();},_0x4be252['decode']=function(_0x2a2b0f,_0xeac1d9,_0x139d29){_0x2a2b0f instanceof _0x22a542||(_0x2a2b0f=_0x22a542['create'](_0x2a2b0f));for(var _0xd91db2=void 0x0===_0xeac1d9?_0x2a2b0f['len']:_0x2a2b0f['pos']+_0xeac1d9,_0x4e353d=new _0xe33dea['GetUserResponse']();_0x2a2b0f['pos']<_0xd91db2;){var _0x26921e=_0x2a2b0f['uint32']();if(_0x26921e===_0x139d29)break;_0x26921e>>>0x3==0x1?(_0x4e353d['attributes']&&_0x4e353d['attributes']['length']||(_0x4e353d['attributes']=[]),_0x4e353d['attributes']['push'](_0xe33dea['KeyValueDescriptor']['decode'](_0x2a2b0f,_0x2a2b0f['uint32']()))):_0x2a2b0f['skipType'](0x7&_0x26921e);}return _0x4e353d;},_0x4be252['decodeDelimited']=function(_0x2096f8){return _0x2096f8 instanceof _0x22a542||(_0x2096f8=new _0x22a542(_0x2096f8)),this['decode'](_0x2096f8,_0x2096f8['uint32']());},_0x4be252['verify']=function(_0x1d46fb){if('object'!=typeof _0x1d46fb||null===_0x1d46fb)return'object\x20expected';if(null!=_0x1d46fb['attributes']&&_0x1d46fb['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x1d46fb['attributes']))return'attributes:\x20array\x20expected';for(var _0x34eb33=0x0;_0x34eb33<_0x1d46fb['attributes']['length'];++_0x34eb33){var _0x109e11=_0xe33dea['KeyValueDescriptor']['verify'](_0x1d46fb['attributes'][_0x34eb33]);if(_0x109e11)return'attributes.'+_0x109e11;}}return null;},_0x4be252['fromObject']=function(_0x1dc795){if(_0x1dc795 instanceof _0xe33dea['GetUserResponse'])return _0x1dc795;var _0x45da5c=new _0xe33dea['GetUserResponse']();if(_0x1dc795['attributes']){if(!Array['isArray'](_0x1dc795['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x45da5c['attributes']=[];for(var _0x240dac=0x0;_0x240dac<_0x1dc795['attributes']['length'];++_0x240dac){if('object'!=typeof _0x1dc795['attributes'][_0x240dac])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x45da5c['attributes'][_0x240dac]=_0xe33dea['KeyValueDescriptor']['fromObject'](_0x1dc795['attributes'][_0x240dac]);}}return _0x45da5c;},_0x4be252['toObject']=function(_0x40a8a7,_0x1cebf7){_0x1cebf7||(_0x1cebf7={});var _0x5b48d6={};if((_0x1cebf7['arrays']||_0x1cebf7['defaults'])&&(_0x5b48d6['attributes']=[]),_0x40a8a7['attributes']&&_0x40a8a7['attributes']['length']){_0x5b48d6['attributes']=[];for(var _0x4048fe=0x0;_0x4048fe<_0x40a8a7['attributes']['length'];++_0x4048fe)_0x5b48d6['attributes'][_0x4048fe]=_0xe33dea['KeyValueDescriptor']['toObject'](_0x40a8a7['attributes'][_0x4048fe],_0x1cebf7);}return _0x5b48d6;},_0x4be252['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4be252['getTypeUrl']=function(_0x2dd273){return void 0x0===_0x2dd273&&(_0x2dd273='type.googleapis.com'),_0x2dd273+'/GetUserResponse';},_0x4be252;}()),_0xe33dea['GetManyUsersResponse']=(function(){function _0x13f6fe(_0x37ea74){if(this['users']=[],_0x37ea74){for(var _0x704ddd=Object['keys'](_0x37ea74),_0x1894c0=0x0;_0x1894c0<_0x704ddd['length'];++_0x1894c0)null!=_0x37ea74[_0x704ddd[_0x1894c0]]&&(this[_0x704ddd[_0x1894c0]]=_0x37ea74[_0x704ddd[_0x1894c0]]);}}return _0x13f6fe['prototype']['users']=_0xcc5beb['emptyArray'],_0x13f6fe['create']=function(_0x405f2c){return new _0x13f6fe(_0x405f2c);},_0x13f6fe['encode']=function(_0x405ee4,_0x2ca83a){if(_0x2ca83a||(_0x2ca83a=_0x5eaf50['create']()),null!=_0x405ee4['users']&&_0x405ee4['users']['length']){for(var _0x15651d=0x0;_0x15651d<_0x405ee4['users']['length'];++_0x15651d)_0xe33dea['UserDescriptor']['encode'](_0x405ee4['users'][_0x15651d],_0x2ca83a['uint32'](0xa)['fork']())['ldelim']();}return _0x2ca83a;},_0x13f6fe['encodeDelimited']=function(_0x34172a,_0x3d104a){return this['encode'](_0x34172a,_0x3d104a)['ldelim']();},_0x13f6fe['decode']=function(_0x27b01e,_0x43f8ce,_0x1c32d0){_0x27b01e instanceof _0x22a542||(_0x27b01e=_0x22a542['create'](_0x27b01e));for(var _0x556acc=void 0x0===_0x43f8ce?_0x27b01e['len']:_0x27b01e['pos']+_0x43f8ce,_0x5abc7c=new _0xe33dea['GetManyUsersResponse']();_0x27b01e['pos']<_0x556acc;){var _0x45d23e=_0x27b01e['uint32']();if(_0x45d23e===_0x1c32d0)break;_0x45d23e>>>0x3==0x1?(_0x5abc7c['users']&&_0x5abc7c['users']['length']||(_0x5abc7c['users']=[]),_0x5abc7c['users']['push'](_0xe33dea['UserDescriptor']['decode'](_0x27b01e,_0x27b01e['uint32']()))):_0x27b01e['skipType'](0x7&_0x45d23e);}return _0x5abc7c;},_0x13f6fe['decodeDelimited']=function(_0x316a60){return _0x316a60 instanceof _0x22a542||(_0x316a60=new _0x22a542(_0x316a60)),this['decode'](_0x316a60,_0x316a60['uint32']());},_0x13f6fe['verify']=function(_0x6e17a4){if('object'!=typeof _0x6e17a4||null===_0x6e17a4)return'object\x20expected';if(null!=_0x6e17a4['users']&&_0x6e17a4['hasOwnProperty']('users')){if(!Array['isArray'](_0x6e17a4['users']))return'users:\x20array\x20expected';for(var _0x124c5a=0x0;_0x124c5a<_0x6e17a4['users']['length'];++_0x124c5a){var _0x545468=_0xe33dea['UserDescriptor']['verify'](_0x6e17a4['users'][_0x124c5a]);if(_0x545468)return'users.'+_0x545468;}}return null;},_0x13f6fe['fromObject']=function(_0x13a233){if(_0x13a233 instanceof _0xe33dea['GetManyUsersResponse'])return _0x13a233;var _0x197c4a=new _0xe33dea['GetManyUsersResponse']();if(_0x13a233['users']){if(!Array['isArray'](_0x13a233['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x197c4a['users']=[];for(var _0xbe7d82=0x0;_0xbe7d82<_0x13a233['users']['length'];++_0xbe7d82){if('object'!=typeof _0x13a233['users'][_0xbe7d82])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x197c4a['users'][_0xbe7d82]=_0xe33dea['UserDescriptor']['fromObject'](_0x13a233['users'][_0xbe7d82]);}}return _0x197c4a;},_0x13f6fe['toObject']=function(_0x4a329f,_0x5ca8e7){_0x5ca8e7||(_0x5ca8e7={});var _0x462ce1={};if((_0x5ca8e7['arrays']||_0x5ca8e7['defaults'])&&(_0x462ce1['users']=[]),_0x4a329f['users']&&_0x4a329f['users']['length']){_0x462ce1['users']=[];for(var _0x3383e8=0x0;_0x3383e8<_0x4a329f['users']['length'];++_0x3383e8)_0x462ce1['users'][_0x3383e8]=_0xe33dea['UserDescriptor']['toObject'](_0x4a329f['users'][_0x3383e8],_0x5ca8e7);}return _0x462ce1;},_0x13f6fe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x13f6fe['getTypeUrl']=function(_0x540fa9){return void 0x0===_0x540fa9&&(_0x540fa9='type.googleapis.com'),_0x540fa9+'/GetManyUsersResponse';},_0x13f6fe;}()),_0xe33dea['GetUserMessage']=(function(){function _0x2067a3(_0x23aa32){if(_0x23aa32){for(var _0x4f9ccd=Object['keys'](_0x23aa32),_0x37e261=0x0;_0x37e261<_0x4f9ccd['length'];++_0x37e261)null!=_0x23aa32[_0x4f9ccd[_0x37e261]]&&(this[_0x4f9ccd[_0x37e261]]=_0x23aa32[_0x4f9ccd[_0x37e261]]);}}return _0x2067a3['prototype']['id']='',_0x2067a3['create']=function(_0x2a433b){return new _0x2067a3(_0x2a433b);},_0x2067a3['encode']=function(_0xd3f7f,_0x30082f){return _0x30082f||(_0x30082f=_0x5eaf50['create']()),null!=_0xd3f7f['id']&&Object['hasOwnProperty']['call'](_0xd3f7f,'id')&&_0x30082f['uint32'](0xa)['string'](_0xd3f7f['id']),_0x30082f;},_0x2067a3['encodeDelimited']=function(_0x2b2bfb,_0x38a3fc){return this['encode'](_0x2b2bfb,_0x38a3fc)['ldelim']();},_0x2067a3['decode']=function(_0x30de97,_0x24ac3f,_0x1b1ada){_0x30de97 instanceof _0x22a542||(_0x30de97=_0x22a542['create'](_0x30de97));for(var _0xba318d=void 0x0===_0x24ac3f?_0x30de97['len']:_0x30de97['pos']+_0x24ac3f,_0x567ffb=new _0xe33dea['GetUserMessage']();_0x30de97['pos']<_0xba318d;){var _0x124fa5=_0x30de97['uint32']();if(_0x124fa5===_0x1b1ada)break;_0x124fa5>>>0x3==0x1?_0x567ffb['id']=_0x30de97['string']():_0x30de97['skipType'](0x7&_0x124fa5);}return _0x567ffb;},_0x2067a3['decodeDelimited']=function(_0xab31b1){return _0xab31b1 instanceof _0x22a542||(_0xab31b1=new _0x22a542(_0xab31b1)),this['decode'](_0xab31b1,_0xab31b1['uint32']());},_0x2067a3['verify']=function(_0x2723ef){return'object'!=typeof _0x2723ef||null===_0x2723ef?'object\x20expected':null!=_0x2723ef['id']&&_0x2723ef['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x2723ef['id'])?'id:\x20string\x20expected':null;},_0x2067a3['fromObject']=function(_0x44ea8d){if(_0x44ea8d instanceof _0xe33dea['GetUserMessage'])return _0x44ea8d;var _0x1340dd=new _0xe33dea['GetUserMessage']();return null!=_0x44ea8d['id']&&(_0x1340dd['id']=String(_0x44ea8d['id'])),_0x1340dd;},_0x2067a3['toObject']=function(_0x2ef294,_0x21c7e1){_0x21c7e1||(_0x21c7e1={});var _0x28621d={};return _0x21c7e1['defaults']&&(_0x28621d['id']=''),null!=_0x2ef294['id']&&_0x2ef294['hasOwnProperty']('id')&&(_0x28621d['id']=_0x2ef294['id']),_0x28621d;},_0x2067a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2067a3['getTypeUrl']=function(_0x19c14d){return void 0x0===_0x19c14d&&(_0x19c14d='type.googleapis.com'),_0x19c14d+'/GetUserMessage';},_0x2067a3;}()),_0xe33dea['GetManyUsersMessage']=(function(){function _0x4bbe32(_0x57be9c){if(this['ids']=[],_0x57be9c){for(var _0x230514=Object['keys'](_0x57be9c),_0x56001c=0x0;_0x56001c<_0x230514['length'];++_0x56001c)null!=_0x57be9c[_0x230514[_0x56001c]]&&(this[_0x230514[_0x56001c]]=_0x57be9c[_0x230514[_0x56001c]]);}}return _0x4bbe32['prototype']['ids']=_0xcc5beb['emptyArray'],_0x4bbe32['create']=function(_0x1bbf99){return new _0x4bbe32(_0x1bbf99);},_0x4bbe32['encode']=function(_0xc3a6d,_0x19f5e0){if(_0x19f5e0||(_0x19f5e0=_0x5eaf50['create']()),null!=_0xc3a6d['ids']&&_0xc3a6d['ids']['length']){for(var _0x414bee=0x0;_0x414bee<_0xc3a6d['ids']['length'];++_0x414bee)_0x19f5e0['uint32'](0xa)['string'](_0xc3a6d['ids'][_0x414bee]);}return _0x19f5e0;},_0x4bbe32['encodeDelimited']=function(_0x19b4c1,_0x5ed3de){return this['encode'](_0x19b4c1,_0x5ed3de)['ldelim']();},_0x4bbe32['decode']=function(_0x1b2304,_0x4b04fb,_0x2c10d6){_0x1b2304 instanceof _0x22a542||(_0x1b2304=_0x22a542['create'](_0x1b2304));for(var _0xd8fcca=void 0x0===_0x4b04fb?_0x1b2304['len']:_0x1b2304['pos']+_0x4b04fb,_0x298366=new _0xe33dea['GetManyUsersMessage']();_0x1b2304['pos']<_0xd8fcca;){var _0x517f44=_0x1b2304['uint32']();if(_0x517f44===_0x2c10d6)break;_0x517f44>>>0x3==0x1?(_0x298366['ids']&&_0x298366['ids']['length']||(_0x298366['ids']=[]),_0x298366['ids']['push'](_0x1b2304['string']())):_0x1b2304['skipType'](0x7&_0x517f44);}return _0x298366;},_0x4bbe32['decodeDelimited']=function(_0x4aef95){return _0x4aef95 instanceof _0x22a542||(_0x4aef95=new _0x22a542(_0x4aef95)),this['decode'](_0x4aef95,_0x4aef95['uint32']());},_0x4bbe32['verify']=function(_0x4560df){if('object'!=typeof _0x4560df||null===_0x4560df)return'object\x20expected';if(null!=_0x4560df['ids']&&_0x4560df['hasOwnProperty']('ids')){if(!Array['isArray'](_0x4560df['ids']))return'ids:\x20array\x20expected';for(var _0x37db68=0x0;_0x37db68<_0x4560df['ids']['length'];++_0x37db68)if(!_0xcc5beb['isString'](_0x4560df['ids'][_0x37db68]))return'ids:\x20string[]\x20expected';}return null;},_0x4bbe32['fromObject']=function(_0x22807e){if(_0x22807e instanceof _0xe33dea['GetManyUsersMessage'])return _0x22807e;var _0x1edf17=new _0xe33dea['GetManyUsersMessage']();if(_0x22807e['ids']){if(!Array['isArray'](_0x22807e['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x1edf17['ids']=[];for(var _0x46615e=0x0;_0x46615e<_0x22807e['ids']['length'];++_0x46615e)_0x1edf17['ids'][_0x46615e]=String(_0x22807e['ids'][_0x46615e]);}return _0x1edf17;},_0x4bbe32['toObject']=function(_0x366124,_0x25cc42){_0x25cc42||(_0x25cc42={});var _0x2b74fc={};if((_0x25cc42['arrays']||_0x25cc42['defaults'])&&(_0x2b74fc['ids']=[]),_0x366124['ids']&&_0x366124['ids']['length']){_0x2b74fc['ids']=[];for(var _0x3e859a=0x0;_0x3e859a<_0x366124['ids']['length'];++_0x3e859a)_0x2b74fc['ids'][_0x3e859a]=_0x366124['ids'][_0x3e859a];}return _0x2b74fc;},_0x4bbe32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4bbe32['getTypeUrl']=function(_0x5663d6){return void 0x0===_0x5663d6&&(_0x5663d6='type.googleapis.com'),_0x5663d6+'/GetManyUsersMessage';},_0x4bbe32;}()),_0xe33dea['UserDescriptor']=(function(){function _0x3c0b39(_0x3b4470){if(this['attributes']=[],_0x3b4470){for(var _0x9eaecd=Object['keys'](_0x3b4470),_0x288a68=0x0;_0x288a68<_0x9eaecd['length'];++_0x288a68)null!=_0x3b4470[_0x9eaecd[_0x288a68]]&&(this[_0x9eaecd[_0x288a68]]=_0x3b4470[_0x9eaecd[_0x288a68]]);}}return _0x3c0b39['prototype']['attributes']=_0xcc5beb['emptyArray'],_0x3c0b39['create']=function(_0x4e69ed){return new _0x3c0b39(_0x4e69ed);},_0x3c0b39['encode']=function(_0x118e6f,_0x48d864){if(_0x48d864||(_0x48d864=_0x5eaf50['create']()),null!=_0x118e6f['attributes']&&_0x118e6f['attributes']['length']){for(var _0xece888=0x0;_0xece888<_0x118e6f['attributes']['length'];++_0xece888)_0xe33dea['KeyValueDescriptor']['encode'](_0x118e6f['attributes'][_0xece888],_0x48d864['uint32'](0xa)['fork']())['ldelim']();}return _0x48d864;},_0x3c0b39['encodeDelimited']=function(_0x1c1ce6,_0x13d8e3){return this['encode'](_0x1c1ce6,_0x13d8e3)['ldelim']();},_0x3c0b39['decode']=function(_0x38c954,_0x306217,_0x22535a){_0x38c954 instanceof _0x22a542||(_0x38c954=_0x22a542['create'](_0x38c954));for(var _0x543cf5=void 0x0===_0x306217?_0x38c954['len']:_0x38c954['pos']+_0x306217,_0x7efcdd=new _0xe33dea['UserDescriptor']();_0x38c954['pos']<_0x543cf5;){var _0x9c40a2=_0x38c954['uint32']();if(_0x9c40a2===_0x22535a)break;_0x9c40a2>>>0x3==0x1?(_0x7efcdd['attributes']&&_0x7efcdd['attributes']['length']||(_0x7efcdd['attributes']=[]),_0x7efcdd['attributes']['push'](_0xe33dea['KeyValueDescriptor']['decode'](_0x38c954,_0x38c954['uint32']()))):_0x38c954['skipType'](0x7&_0x9c40a2);}return _0x7efcdd;},_0x3c0b39['decodeDelimited']=function(_0x3c6c7c){return _0x3c6c7c instanceof _0x22a542||(_0x3c6c7c=new _0x22a542(_0x3c6c7c)),this['decode'](_0x3c6c7c,_0x3c6c7c['uint32']());},_0x3c0b39['verify']=function(_0x45703d){if('object'!=typeof _0x45703d||null===_0x45703d)return'object\x20expected';if(null!=_0x45703d['attributes']&&_0x45703d['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x45703d['attributes']))return'attributes:\x20array\x20expected';for(var _0x572e5e=0x0;_0x572e5e<_0x45703d['attributes']['length'];++_0x572e5e){var _0x49d7bc=_0xe33dea['KeyValueDescriptor']['verify'](_0x45703d['attributes'][_0x572e5e]);if(_0x49d7bc)return'attributes.'+_0x49d7bc;}}return null;},_0x3c0b39['fromObject']=function(_0x3a0df5){if(_0x3a0df5 instanceof _0xe33dea['UserDescriptor'])return _0x3a0df5;var _0x1d6edc=new _0xe33dea['UserDescriptor']();if(_0x3a0df5['attributes']){if(!Array['isArray'](_0x3a0df5['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1d6edc['attributes']=[];for(var _0x5a34ca=0x0;_0x5a34ca<_0x3a0df5['attributes']['length'];++_0x5a34ca){if('object'!=typeof _0x3a0df5['attributes'][_0x5a34ca])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1d6edc['attributes'][_0x5a34ca]=_0xe33dea['KeyValueDescriptor']['fromObject'](_0x3a0df5['attributes'][_0x5a34ca]);}}return _0x1d6edc;},_0x3c0b39['toObject']=function(_0x271399,_0x2acd61){_0x2acd61||(_0x2acd61={});var _0x39edb2={};if((_0x2acd61['arrays']||_0x2acd61['defaults'])&&(_0x39edb2['attributes']=[]),_0x271399['attributes']&&_0x271399['attributes']['length']){_0x39edb2['attributes']=[];for(var _0x1a8c0f=0x0;_0x1a8c0f<_0x271399['attributes']['length'];++_0x1a8c0f)_0x39edb2['attributes'][_0x1a8c0f]=_0xe33dea['KeyValueDescriptor']['toObject'](_0x271399['attributes'][_0x1a8c0f],_0x2acd61);}return _0x39edb2;},_0x3c0b39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3c0b39['getTypeUrl']=function(_0xc92f87){return void 0x0===_0xc92f87&&(_0xc92f87='type.googleapis.com'),_0xc92f87+'/UserDescriptor';},_0x3c0b39;}()),_0xe33dea['TrackChangesGetSuggestionResponse']=(function(){function _0x2c90da(_0x285e8d){if(_0x285e8d){for(var _0x1d1764=Object['keys'](_0x285e8d),_0x390394=0x0;_0x390394<_0x1d1764['length'];++_0x390394)null!=_0x285e8d[_0x1d1764[_0x390394]]&&(this[_0x1d1764[_0x390394]]=_0x285e8d[_0x1d1764[_0x390394]]);}}return _0x2c90da['prototype']['id']='',_0x2c90da['prototype']['authorId']='',_0x2c90da['prototype']['type']='',_0x2c90da['prototype']['createdAt']='',_0x2c90da['prototype']['data']='',_0x2c90da['prototype']['hasComments']=!0x1,_0x2c90da['prototype']['state']='',_0x2c90da['prototype']['attributes']='',_0x2c90da['create']=function(_0x2a972a){return new _0x2c90da(_0x2a972a);},_0x2c90da['encode']=function(_0x2037ca,_0x2fcd09){return _0x2fcd09||(_0x2fcd09=_0x5eaf50['create']()),null!=_0x2037ca['id']&&Object['hasOwnProperty']['call'](_0x2037ca,'id')&&_0x2fcd09['uint32'](0xa)['string'](_0x2037ca['id']),null!=_0x2037ca['authorId']&&Object['hasOwnProperty']['call'](_0x2037ca,'authorId')&&_0x2fcd09['uint32'](0x12)['string'](_0x2037ca['authorId']),null!=_0x2037ca['type']&&Object['hasOwnProperty']['call'](_0x2037ca,'type')&&_0x2fcd09['uint32'](0x1a)['string'](_0x2037ca['type']),null!=_0x2037ca['createdAt']&&Object['hasOwnProperty']['call'](_0x2037ca,'createdAt')&&_0x2fcd09['uint32'](0x22)['string'](_0x2037ca['createdAt']),null!=_0x2037ca['data']&&Object['hasOwnProperty']['call'](_0x2037ca,'data')&&_0x2fcd09['uint32'](0x2a)['string'](_0x2037ca['data']),null!=_0x2037ca['hasComments']&&Object['hasOwnProperty']['call'](_0x2037ca,'hasComments')&&_0x2fcd09['uint32'](0x30)['bool'](_0x2037ca['hasComments']),null!=_0x2037ca['state']&&Object['hasOwnProperty']['call'](_0x2037ca,'state')&&_0x2fcd09['uint32'](0x3a)['string'](_0x2037ca['state']),null!=_0x2037ca['attributes']&&Object['hasOwnProperty']['call'](_0x2037ca,'attributes')&&_0x2fcd09['uint32'](0x42)['string'](_0x2037ca['attributes']),_0x2fcd09;},_0x2c90da['encodeDelimited']=function(_0x18cd1d,_0x281d8c){return this['encode'](_0x18cd1d,_0x281d8c)['ldelim']();},_0x2c90da['decode']=function(_0x435c67,_0x8b06f0,_0x1d7698){_0x435c67 instanceof _0x22a542||(_0x435c67=_0x22a542['create'](_0x435c67));for(var _0x312935=void 0x0===_0x8b06f0?_0x435c67['len']:_0x435c67['pos']+_0x8b06f0,_0x2d5bb7=new _0xe33dea['TrackChangesGetSuggestionResponse']();_0x435c67['pos']<_0x312935;){var _0x36ed4c=_0x435c67['uint32']();if(_0x36ed4c===_0x1d7698)break;switch(_0x36ed4c>>>0x3){case 0x1:_0x2d5bb7['id']=_0x435c67['string']();break;case 0x2:_0x2d5bb7['authorId']=_0x435c67['string']();break;case 0x3:_0x2d5bb7['type']=_0x435c67['string']();break;case 0x4:_0x2d5bb7['createdAt']=_0x435c67['string']();break;case 0x5:_0x2d5bb7['data']=_0x435c67['string']();break;case 0x6:_0x2d5bb7['hasComments']=_0x435c67['bool']();break;case 0x7:_0x2d5bb7['state']=_0x435c67['string']();break;case 0x8:_0x2d5bb7['attributes']=_0x435c67['string']();break;default:_0x435c67['skipType'](0x7&_0x36ed4c);}}return _0x2d5bb7;},_0x2c90da['decodeDelimited']=function(_0x33c485){return _0x33c485 instanceof _0x22a542||(_0x33c485=new _0x22a542(_0x33c485)),this['decode'](_0x33c485,_0x33c485['uint32']());},_0x2c90da['verify']=function(_0x347483){return'object'!=typeof _0x347483||null===_0x347483?'object\x20expected':null!=_0x347483['id']&&_0x347483['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x347483['id'])?'id:\x20string\x20expected':null!=_0x347483['authorId']&&_0x347483['hasOwnProperty']('authorId')&&!_0xcc5beb['isString'](_0x347483['authorId'])?'authorId:\x20string\x20expected':null!=_0x347483['type']&&_0x347483['hasOwnProperty']('type')&&!_0xcc5beb['isString'](_0x347483['type'])?'type:\x20string\x20expected':null!=_0x347483['createdAt']&&_0x347483['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x347483['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x347483['data']&&_0x347483['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x347483['data'])?'data:\x20string\x20expected':null!=_0x347483['hasComments']&&_0x347483['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x347483['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x347483['state']&&_0x347483['hasOwnProperty']('state')&&!_0xcc5beb['isString'](_0x347483['state'])?'state:\x20string\x20expected':null!=_0x347483['attributes']&&_0x347483['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x347483['attributes'])?'attributes:\x20string\x20expected':null;},_0x2c90da['fromObject']=function(_0xb64e0b){if(_0xb64e0b instanceof _0xe33dea['TrackChangesGetSuggestionResponse'])return _0xb64e0b;var _0x4603e4=new _0xe33dea['TrackChangesGetSuggestionResponse']();return null!=_0xb64e0b['id']&&(_0x4603e4['id']=String(_0xb64e0b['id'])),null!=_0xb64e0b['authorId']&&(_0x4603e4['authorId']=String(_0xb64e0b['authorId'])),null!=_0xb64e0b['type']&&(_0x4603e4['type']=String(_0xb64e0b['type'])),null!=_0xb64e0b['createdAt']&&(_0x4603e4['createdAt']=String(_0xb64e0b['createdAt'])),null!=_0xb64e0b['data']&&(_0x4603e4['data']=String(_0xb64e0b['data'])),null!=_0xb64e0b['hasComments']&&(_0x4603e4['hasComments']=Boolean(_0xb64e0b['hasComments'])),null!=_0xb64e0b['state']&&(_0x4603e4['state']=String(_0xb64e0b['state'])),null!=_0xb64e0b['attributes']&&(_0x4603e4['attributes']=String(_0xb64e0b['attributes'])),_0x4603e4;},_0x2c90da['toObject']=function(_0x2b7d31,_0x4e4b4a){_0x4e4b4a||(_0x4e4b4a={});var _0x2e43c0={};return _0x4e4b4a['defaults']&&(_0x2e43c0['id']='',_0x2e43c0['authorId']='',_0x2e43c0['type']='',_0x2e43c0['createdAt']='',_0x2e43c0['data']='',_0x2e43c0['hasComments']=!0x1,_0x2e43c0['state']='',_0x2e43c0['attributes']=''),null!=_0x2b7d31['id']&&_0x2b7d31['hasOwnProperty']('id')&&(_0x2e43c0['id']=_0x2b7d31['id']),null!=_0x2b7d31['authorId']&&_0x2b7d31['hasOwnProperty']('authorId')&&(_0x2e43c0['authorId']=_0x2b7d31['authorId']),null!=_0x2b7d31['type']&&_0x2b7d31['hasOwnProperty']('type')&&(_0x2e43c0['type']=_0x2b7d31['type']),null!=_0x2b7d31['createdAt']&&_0x2b7d31['hasOwnProperty']('createdAt')&&(_0x2e43c0['createdAt']=_0x2b7d31['createdAt']),null!=_0x2b7d31['data']&&_0x2b7d31['hasOwnProperty']('data')&&(_0x2e43c0['data']=_0x2b7d31['data']),null!=_0x2b7d31['hasComments']&&_0x2b7d31['hasOwnProperty']('hasComments')&&(_0x2e43c0['hasComments']=_0x2b7d31['hasComments']),null!=_0x2b7d31['state']&&_0x2b7d31['hasOwnProperty']('state')&&(_0x2e43c0['state']=_0x2b7d31['state']),null!=_0x2b7d31['attributes']&&_0x2b7d31['hasOwnProperty']('attributes')&&(_0x2e43c0['attributes']=_0x2b7d31['attributes']),_0x2e43c0;},_0x2c90da['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2c90da['getTypeUrl']=function(_0x244a9c){return void 0x0===_0x244a9c&&(_0x244a9c='type.googleapis.com'),_0x244a9c+'/TrackChangesGetSuggestionResponse';},_0x2c90da;}()),_0xe33dea['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x2f6c7f(_0x16009c){if(this['suggestions']=[],this['suggestionsV2']=[],_0x16009c){for(var _0x4afb92=Object['keys'](_0x16009c),_0x4bd667=0x0;_0x4bd667<_0x4afb92['length'];++_0x4bd667)null!=_0x16009c[_0x4afb92[_0x4bd667]]&&(this[_0x4afb92[_0x4bd667]]=_0x16009c[_0x4afb92[_0x4bd667]]);}}return _0x2f6c7f['prototype']['suggestions']=_0xcc5beb['emptyArray'],_0x2f6c7f['prototype']['suggestionsV2']=_0xcc5beb['emptyArray'],_0x2f6c7f['create']=function(_0x5f17b4){return new _0x2f6c7f(_0x5f17b4);},_0x2f6c7f['encode']=function(_0x1f995e,_0x37dfce){if(_0x37dfce||(_0x37dfce=_0x5eaf50['create']()),null!=_0x1f995e['suggestions']&&_0x1f995e['suggestions']['length']){for(var _0x20f965=0x0;_0x20f965<_0x1f995e['suggestions']['length'];++_0x20f965)_0x37dfce['uint32'](0xa)['string'](_0x1f995e['suggestions'][_0x20f965]);}if(null!=_0x1f995e['suggestionsV2']&&_0x1f995e['suggestionsV2']['length']){for(_0x20f965=0x0;_0x20f965<_0x1f995e['suggestionsV2']['length'];++_0x20f965)_0xe33dea['SuggestionDescriptor']['encode'](_0x1f995e['suggestionsV2'][_0x20f965],_0x37dfce['uint32'](0x12)['fork']())['ldelim']();}return _0x37dfce;},_0x2f6c7f['encodeDelimited']=function(_0x1a2e5f,_0xbc88ed){return this['encode'](_0x1a2e5f,_0xbc88ed)['ldelim']();},_0x2f6c7f['decode']=function(_0xe6e368,_0x23589e,_0x40892b){_0xe6e368 instanceof _0x22a542||(_0xe6e368=_0x22a542['create'](_0xe6e368));for(var _0x386c55=void 0x0===_0x23589e?_0xe6e368['len']:_0xe6e368['pos']+_0x23589e,_0x530ad9=new _0xe33dea['TrackChangesGetAllSuggestionsResponse']();_0xe6e368['pos']<_0x386c55;){var _0x533a40=_0xe6e368['uint32']();if(_0x533a40===_0x40892b)break;switch(_0x533a40>>>0x3){case 0x1:_0x530ad9['suggestions']&&_0x530ad9['suggestions']['length']||(_0x530ad9['suggestions']=[]),_0x530ad9['suggestions']['push'](_0xe6e368['string']());break;case 0x2:_0x530ad9['suggestionsV2']&&_0x530ad9['suggestionsV2']['length']||(_0x530ad9['suggestionsV2']=[]),_0x530ad9['suggestionsV2']['push'](_0xe33dea['SuggestionDescriptor']['decode'](_0xe6e368,_0xe6e368['uint32']()));break;default:_0xe6e368['skipType'](0x7&_0x533a40);}}return _0x530ad9;},_0x2f6c7f['decodeDelimited']=function(_0x27ecd9){return _0x27ecd9 instanceof _0x22a542||(_0x27ecd9=new _0x22a542(_0x27ecd9)),this['decode'](_0x27ecd9,_0x27ecd9['uint32']());},_0x2f6c7f['verify']=function(_0x55b7b5){if('object'!=typeof _0x55b7b5||null===_0x55b7b5)return'object\x20expected';if(null!=_0x55b7b5['suggestions']&&_0x55b7b5['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x55b7b5['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x4af8be=0x0;_0x4af8be<_0x55b7b5['suggestions']['length'];++_0x4af8be)if(!_0xcc5beb['isString'](_0x55b7b5['suggestions'][_0x4af8be]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x55b7b5['suggestionsV2']&&_0x55b7b5['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x55b7b5['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x4af8be=0x0;_0x4af8be<_0x55b7b5['suggestionsV2']['length'];++_0x4af8be){var _0x9ebc7a=_0xe33dea['SuggestionDescriptor']['verify'](_0x55b7b5['suggestionsV2'][_0x4af8be]);if(_0x9ebc7a)return'suggestionsV2.'+_0x9ebc7a;}}return null;},_0x2f6c7f['fromObject']=function(_0x4e984f){if(_0x4e984f instanceof _0xe33dea['TrackChangesGetAllSuggestionsResponse'])return _0x4e984f;var _0x384f34=new _0xe33dea['TrackChangesGetAllSuggestionsResponse']();if(_0x4e984f['suggestions']){if(!Array['isArray'](_0x4e984f['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x384f34['suggestions']=[];for(var _0x2d0f70=0x0;_0x2d0f70<_0x4e984f['suggestions']['length'];++_0x2d0f70)_0x384f34['suggestions'][_0x2d0f70]=String(_0x4e984f['suggestions'][_0x2d0f70]);}if(_0x4e984f['suggestionsV2']){if(!Array['isArray'](_0x4e984f['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x384f34['suggestionsV2']=[],_0x2d0f70=0x0;_0x2d0f70<_0x4e984f['suggestionsV2']['length'];++_0x2d0f70){if('object'!=typeof _0x4e984f['suggestionsV2'][_0x2d0f70])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x384f34['suggestionsV2'][_0x2d0f70]=_0xe33dea['SuggestionDescriptor']['fromObject'](_0x4e984f['suggestionsV2'][_0x2d0f70]);}}return _0x384f34;},_0x2f6c7f['toObject']=function(_0xbf8cc2,_0xa115bb){_0xa115bb||(_0xa115bb={});var _0x1b1d3a={};if((_0xa115bb['arrays']||_0xa115bb['defaults'])&&(_0x1b1d3a['suggestions']=[],_0x1b1d3a['suggestionsV2']=[]),_0xbf8cc2['suggestions']&&_0xbf8cc2['suggestions']['length']){_0x1b1d3a['suggestions']=[];for(var _0x22a98d=0x0;_0x22a98d<_0xbf8cc2['suggestions']['length'];++_0x22a98d)_0x1b1d3a['suggestions'][_0x22a98d]=_0xbf8cc2['suggestions'][_0x22a98d];}if(_0xbf8cc2['suggestionsV2']&&_0xbf8cc2['suggestionsV2']['length']){for(_0x1b1d3a['suggestionsV2']=[],_0x22a98d=0x0;_0x22a98d<_0xbf8cc2['suggestionsV2']['length'];++_0x22a98d)_0x1b1d3a['suggestionsV2'][_0x22a98d]=_0xe33dea['SuggestionDescriptor']['toObject'](_0xbf8cc2['suggestionsV2'][_0x22a98d],_0xa115bb);}return _0x1b1d3a;},_0x2f6c7f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2f6c7f['getTypeUrl']=function(_0x35130b){return void 0x0===_0x35130b&&(_0x35130b='type.googleapis.com'),_0x35130b+'/TrackChangesGetAllSuggestionsResponse';},_0x2f6c7f;}()),_0xe33dea['TrackChangesConnectResponse']=(function(){function _0x2a3b32(_0x315d91){if(this['suggestions']=[],this['suggestionsV2']=[],_0x315d91){for(var _0x22c8fb=Object['keys'](_0x315d91),_0x5d199a=0x0;_0x5d199a<_0x22c8fb['length'];++_0x5d199a)null!=_0x315d91[_0x22c8fb[_0x5d199a]]&&(this[_0x22c8fb[_0x5d199a]]=_0x315d91[_0x22c8fb[_0x5d199a]]);}}return _0x2a3b32['prototype']['channel']='',_0x2a3b32['prototype']['suggestions']=_0xcc5beb['emptyArray'],_0x2a3b32['prototype']['suggestionsV2']=_0xcc5beb['emptyArray'],_0x2a3b32['create']=function(_0x2cae07){return new _0x2a3b32(_0x2cae07);},_0x2a3b32['encode']=function(_0x3ce13a,_0x3679e1){if(_0x3679e1||(_0x3679e1=_0x5eaf50['create']()),null!=_0x3ce13a['channel']&&Object['hasOwnProperty']['call'](_0x3ce13a,'channel')&&_0x3679e1['uint32'](0xa)['string'](_0x3ce13a['channel']),null!=_0x3ce13a['suggestions']&&_0x3ce13a['suggestions']['length']){for(var _0x56eed1=0x0;_0x56eed1<_0x3ce13a['suggestions']['length'];++_0x56eed1)_0x3679e1['uint32'](0x12)['string'](_0x3ce13a['suggestions'][_0x56eed1]);}if(null!=_0x3ce13a['suggestionsV2']&&_0x3ce13a['suggestionsV2']['length']){for(_0x56eed1=0x0;_0x56eed1<_0x3ce13a['suggestionsV2']['length'];++_0x56eed1)_0xe33dea['SuggestionDescriptor']['encode'](_0x3ce13a['suggestionsV2'][_0x56eed1],_0x3679e1['uint32'](0x1a)['fork']())['ldelim']();}return _0x3679e1;},_0x2a3b32['encodeDelimited']=function(_0x37284a,_0xfa030){return this['encode'](_0x37284a,_0xfa030)['ldelim']();},_0x2a3b32['decode']=function(_0x3b96b9,_0x4a874b,_0x2ecfbc){_0x3b96b9 instanceof _0x22a542||(_0x3b96b9=_0x22a542['create'](_0x3b96b9));for(var _0x40fbcd=void 0x0===_0x4a874b?_0x3b96b9['len']:_0x3b96b9['pos']+_0x4a874b,_0x1129bd=new _0xe33dea['TrackChangesConnectResponse']();_0x3b96b9['pos']<_0x40fbcd;){var _0x4a8f74=_0x3b96b9['uint32']();if(_0x4a8f74===_0x2ecfbc)break;switch(_0x4a8f74>>>0x3){case 0x1:_0x1129bd['channel']=_0x3b96b9['string']();break;case 0x2:_0x1129bd['suggestions']&&_0x1129bd['suggestions']['length']||(_0x1129bd['suggestions']=[]),_0x1129bd['suggestions']['push'](_0x3b96b9['string']());break;case 0x3:_0x1129bd['suggestionsV2']&&_0x1129bd['suggestionsV2']['length']||(_0x1129bd['suggestionsV2']=[]),_0x1129bd['suggestionsV2']['push'](_0xe33dea['SuggestionDescriptor']['decode'](_0x3b96b9,_0x3b96b9['uint32']()));break;default:_0x3b96b9['skipType'](0x7&_0x4a8f74);}}return _0x1129bd;},_0x2a3b32['decodeDelimited']=function(_0x4cac91){return _0x4cac91 instanceof _0x22a542||(_0x4cac91=new _0x22a542(_0x4cac91)),this['decode'](_0x4cac91,_0x4cac91['uint32']());},_0x2a3b32['verify']=function(_0x28f886){if('object'!=typeof _0x28f886||null===_0x28f886)return'object\x20expected';if(null!=_0x28f886['channel']&&_0x28f886['hasOwnProperty']('channel')&&!_0xcc5beb['isString'](_0x28f886['channel']))return'channel:\x20string\x20expected';if(null!=_0x28f886['suggestions']&&_0x28f886['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x28f886['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1dbe5e=0x0;_0x1dbe5e<_0x28f886['suggestions']['length'];++_0x1dbe5e)if(!_0xcc5beb['isString'](_0x28f886['suggestions'][_0x1dbe5e]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x28f886['suggestionsV2']&&_0x28f886['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x28f886['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1dbe5e=0x0;_0x1dbe5e<_0x28f886['suggestionsV2']['length'];++_0x1dbe5e){var _0x8157c7=_0xe33dea['SuggestionDescriptor']['verify'](_0x28f886['suggestionsV2'][_0x1dbe5e]);if(_0x8157c7)return'suggestionsV2.'+_0x8157c7;}}return null;},_0x2a3b32['fromObject']=function(_0x2ce73e){if(_0x2ce73e instanceof _0xe33dea['TrackChangesConnectResponse'])return _0x2ce73e;var _0x4dfad1=new _0xe33dea['TrackChangesConnectResponse']();if(null!=_0x2ce73e['channel']&&(_0x4dfad1['channel']=String(_0x2ce73e['channel'])),_0x2ce73e['suggestions']){if(!Array['isArray'](_0x2ce73e['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x4dfad1['suggestions']=[];for(var _0x3187ef=0x0;_0x3187ef<_0x2ce73e['suggestions']['length'];++_0x3187ef)_0x4dfad1['suggestions'][_0x3187ef]=String(_0x2ce73e['suggestions'][_0x3187ef]);}if(_0x2ce73e['suggestionsV2']){if(!Array['isArray'](_0x2ce73e['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x4dfad1['suggestionsV2']=[],_0x3187ef=0x0;_0x3187ef<_0x2ce73e['suggestionsV2']['length'];++_0x3187ef){if('object'!=typeof _0x2ce73e['suggestionsV2'][_0x3187ef])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x4dfad1['suggestionsV2'][_0x3187ef]=_0xe33dea['SuggestionDescriptor']['fromObject'](_0x2ce73e['suggestionsV2'][_0x3187ef]);}}return _0x4dfad1;},_0x2a3b32['toObject']=function(_0x49c4d3,_0x258db3){_0x258db3||(_0x258db3={});var _0x22f81d={};if((_0x258db3['arrays']||_0x258db3['defaults'])&&(_0x22f81d['suggestions']=[],_0x22f81d['suggestionsV2']=[]),_0x258db3['defaults']&&(_0x22f81d['channel']=''),null!=_0x49c4d3['channel']&&_0x49c4d3['hasOwnProperty']('channel')&&(_0x22f81d['channel']=_0x49c4d3['channel']),_0x49c4d3['suggestions']&&_0x49c4d3['suggestions']['length']){_0x22f81d['suggestions']=[];for(var _0x4960f5=0x0;_0x4960f5<_0x49c4d3['suggestions']['length'];++_0x4960f5)_0x22f81d['suggestions'][_0x4960f5]=_0x49c4d3['suggestions'][_0x4960f5];}if(_0x49c4d3['suggestionsV2']&&_0x49c4d3['suggestionsV2']['length']){for(_0x22f81d['suggestionsV2']=[],_0x4960f5=0x0;_0x4960f5<_0x49c4d3['suggestionsV2']['length'];++_0x4960f5)_0x22f81d['suggestionsV2'][_0x4960f5]=_0xe33dea['SuggestionDescriptor']['toObject'](_0x49c4d3['suggestionsV2'][_0x4960f5],_0x258db3);}return _0x22f81d;},_0x2a3b32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2a3b32['getTypeUrl']=function(_0x12e980){return void 0x0===_0x12e980&&(_0x12e980='type.googleapis.com'),_0x12e980+'/TrackChangesConnectResponse';},_0x2a3b32;}()),_0xe33dea['TrackChangesAddSuggestionResponse']=(function(){function _0x598359(_0x184bfb){if(_0x184bfb){for(var _0x9573f7=Object['keys'](_0x184bfb),_0x56944c=0x0;_0x56944c<_0x9573f7['length'];++_0x56944c)null!=_0x184bfb[_0x9573f7[_0x56944c]]&&(this[_0x9573f7[_0x56944c]]=_0x184bfb[_0x9573f7[_0x56944c]]);}}return _0x598359['prototype']['id']='',_0x598359['prototype']['authorId']='',_0x598359['prototype']['type']='',_0x598359['prototype']['createdAt']='',_0x598359['prototype']['data']='',_0x598359['prototype']['hasComments']=!0x1,_0x598359['prototype']['state']='',_0x598359['prototype']['attributes']='',_0x598359['create']=function(_0x53dc8a){return new _0x598359(_0x53dc8a);},_0x598359['encode']=function(_0x345c2f,_0x3eb3a3){return _0x3eb3a3||(_0x3eb3a3=_0x5eaf50['create']()),null!=_0x345c2f['id']&&Object['hasOwnProperty']['call'](_0x345c2f,'id')&&_0x3eb3a3['uint32'](0xa)['string'](_0x345c2f['id']),null!=_0x345c2f['authorId']&&Object['hasOwnProperty']['call'](_0x345c2f,'authorId')&&_0x3eb3a3['uint32'](0x12)['string'](_0x345c2f['authorId']),null!=_0x345c2f['type']&&Object['hasOwnProperty']['call'](_0x345c2f,'type')&&_0x3eb3a3['uint32'](0x1a)['string'](_0x345c2f['type']),null!=_0x345c2f['createdAt']&&Object['hasOwnProperty']['call'](_0x345c2f,'createdAt')&&_0x3eb3a3['uint32'](0x22)['string'](_0x345c2f['createdAt']),null!=_0x345c2f['data']&&Object['hasOwnProperty']['call'](_0x345c2f,'data')&&_0x3eb3a3['uint32'](0x2a)['string'](_0x345c2f['data']),null!=_0x345c2f['hasComments']&&Object['hasOwnProperty']['call'](_0x345c2f,'hasComments')&&_0x3eb3a3['uint32'](0x30)['bool'](_0x345c2f['hasComments']),null!=_0x345c2f['state']&&Object['hasOwnProperty']['call'](_0x345c2f,'state')&&_0x3eb3a3['uint32'](0x3a)['string'](_0x345c2f['state']),null!=_0x345c2f['attributes']&&Object['hasOwnProperty']['call'](_0x345c2f,'attributes')&&_0x3eb3a3['uint32'](0x42)['string'](_0x345c2f['attributes']),_0x3eb3a3;},_0x598359['encodeDelimited']=function(_0x4a09e3,_0xf28b3d){return this['encode'](_0x4a09e3,_0xf28b3d)['ldelim']();},_0x598359['decode']=function(_0x4ffad0,_0x285ae6,_0x43012b){_0x4ffad0 instanceof _0x22a542||(_0x4ffad0=_0x22a542['create'](_0x4ffad0));for(var _0x5ebaca=void 0x0===_0x285ae6?_0x4ffad0['len']:_0x4ffad0['pos']+_0x285ae6,_0x19d9cf=new _0xe33dea['TrackChangesAddSuggestionResponse']();_0x4ffad0['pos']<_0x5ebaca;){var _0xa90628=_0x4ffad0['uint32']();if(_0xa90628===_0x43012b)break;switch(_0xa90628>>>0x3){case 0x1:_0x19d9cf['id']=_0x4ffad0['string']();break;case 0x2:_0x19d9cf['authorId']=_0x4ffad0['string']();break;case 0x3:_0x19d9cf['type']=_0x4ffad0['string']();break;case 0x4:_0x19d9cf['createdAt']=_0x4ffad0['string']();break;case 0x5:_0x19d9cf['data']=_0x4ffad0['string']();break;case 0x6:_0x19d9cf['hasComments']=_0x4ffad0['bool']();break;case 0x7:_0x19d9cf['state']=_0x4ffad0['string']();break;case 0x8:_0x19d9cf['attributes']=_0x4ffad0['string']();break;default:_0x4ffad0['skipType'](0x7&_0xa90628);}}return _0x19d9cf;},_0x598359['decodeDelimited']=function(_0x2d93ce){return _0x2d93ce instanceof _0x22a542||(_0x2d93ce=new _0x22a542(_0x2d93ce)),this['decode'](_0x2d93ce,_0x2d93ce['uint32']());},_0x598359['verify']=function(_0x4b6df4){return'object'!=typeof _0x4b6df4||null===_0x4b6df4?'object\x20expected':null!=_0x4b6df4['id']&&_0x4b6df4['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x4b6df4['id'])?'id:\x20string\x20expected':null!=_0x4b6df4['authorId']&&_0x4b6df4['hasOwnProperty']('authorId')&&!_0xcc5beb['isString'](_0x4b6df4['authorId'])?'authorId:\x20string\x20expected':null!=_0x4b6df4['type']&&_0x4b6df4['hasOwnProperty']('type')&&!_0xcc5beb['isString'](_0x4b6df4['type'])?'type:\x20string\x20expected':null!=_0x4b6df4['createdAt']&&_0x4b6df4['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x4b6df4['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4b6df4['data']&&_0x4b6df4['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x4b6df4['data'])?'data:\x20string\x20expected':null!=_0x4b6df4['hasComments']&&_0x4b6df4['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4b6df4['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4b6df4['state']&&_0x4b6df4['hasOwnProperty']('state')&&!_0xcc5beb['isString'](_0x4b6df4['state'])?'state:\x20string\x20expected':null!=_0x4b6df4['attributes']&&_0x4b6df4['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x4b6df4['attributes'])?'attributes:\x20string\x20expected':null;},_0x598359['fromObject']=function(_0x4c2e57){if(_0x4c2e57 instanceof _0xe33dea['TrackChangesAddSuggestionResponse'])return _0x4c2e57;var _0x4d9a38=new _0xe33dea['TrackChangesAddSuggestionResponse']();return null!=_0x4c2e57['id']&&(_0x4d9a38['id']=String(_0x4c2e57['id'])),null!=_0x4c2e57['authorId']&&(_0x4d9a38['authorId']=String(_0x4c2e57['authorId'])),null!=_0x4c2e57['type']&&(_0x4d9a38['type']=String(_0x4c2e57['type'])),null!=_0x4c2e57['createdAt']&&(_0x4d9a38['createdAt']=String(_0x4c2e57['createdAt'])),null!=_0x4c2e57['data']&&(_0x4d9a38['data']=String(_0x4c2e57['data'])),null!=_0x4c2e57['hasComments']&&(_0x4d9a38['hasComments']=Boolean(_0x4c2e57['hasComments'])),null!=_0x4c2e57['state']&&(_0x4d9a38['state']=String(_0x4c2e57['state'])),null!=_0x4c2e57['attributes']&&(_0x4d9a38['attributes']=String(_0x4c2e57['attributes'])),_0x4d9a38;},_0x598359['toObject']=function(_0x3d4008,_0x46ac78){_0x46ac78||(_0x46ac78={});var _0x582b9c={};return _0x46ac78['defaults']&&(_0x582b9c['id']='',_0x582b9c['authorId']='',_0x582b9c['type']='',_0x582b9c['createdAt']='',_0x582b9c['data']='',_0x582b9c['hasComments']=!0x1,_0x582b9c['state']='',_0x582b9c['attributes']=''),null!=_0x3d4008['id']&&_0x3d4008['hasOwnProperty']('id')&&(_0x582b9c['id']=_0x3d4008['id']),null!=_0x3d4008['authorId']&&_0x3d4008['hasOwnProperty']('authorId')&&(_0x582b9c['authorId']=_0x3d4008['authorId']),null!=_0x3d4008['type']&&_0x3d4008['hasOwnProperty']('type')&&(_0x582b9c['type']=_0x3d4008['type']),null!=_0x3d4008['createdAt']&&_0x3d4008['hasOwnProperty']('createdAt')&&(_0x582b9c['createdAt']=_0x3d4008['createdAt']),null!=_0x3d4008['data']&&_0x3d4008['hasOwnProperty']('data')&&(_0x582b9c['data']=_0x3d4008['data']),null!=_0x3d4008['hasComments']&&_0x3d4008['hasOwnProperty']('hasComments')&&(_0x582b9c['hasComments']=_0x3d4008['hasComments']),null!=_0x3d4008['state']&&_0x3d4008['hasOwnProperty']('state')&&(_0x582b9c['state']=_0x3d4008['state']),null!=_0x3d4008['attributes']&&_0x3d4008['hasOwnProperty']('attributes')&&(_0x582b9c['attributes']=_0x3d4008['attributes']),_0x582b9c;},_0x598359['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x598359['getTypeUrl']=function(_0x4acfb5){return void 0x0===_0x4acfb5&&(_0x4acfb5='type.googleapis.com'),_0x4acfb5+'/TrackChangesAddSuggestionResponse';},_0x598359;}()),_0xe33dea['TrackChangesUpdateSuggestionMessage']=(function(){function _0x43b17e(_0x2a0e7c){if(_0x2a0e7c){for(var _0x287a48=Object['keys'](_0x2a0e7c),_0x401e96=0x0;_0x401e96<_0x287a48['length'];++_0x401e96)null!=_0x2a0e7c[_0x287a48[_0x401e96]]&&(this[_0x287a48[_0x401e96]]=_0x2a0e7c[_0x287a48[_0x401e96]]);}}return _0x43b17e['prototype']['id']='',_0x43b17e['prototype']['documentId']='',_0x43b17e['prototype']['hasComments']=!0x1,_0x43b17e['prototype']['isHasCommentsModified']=!0x1,_0x43b17e['prototype']['state']='',_0x43b17e['prototype']['attributes']='',_0x43b17e['create']=function(_0x44525c){return new _0x43b17e(_0x44525c);},_0x43b17e['encode']=function(_0x46ef6e,_0x5da52a){return _0x5da52a||(_0x5da52a=_0x5eaf50['create']()),null!=_0x46ef6e['id']&&Object['hasOwnProperty']['call'](_0x46ef6e,'id')&&_0x5da52a['uint32'](0xa)['string'](_0x46ef6e['id']),null!=_0x46ef6e['documentId']&&Object['hasOwnProperty']['call'](_0x46ef6e,'documentId')&&_0x5da52a['uint32'](0x12)['string'](_0x46ef6e['documentId']),null!=_0x46ef6e['hasComments']&&Object['hasOwnProperty']['call'](_0x46ef6e,'hasComments')&&_0x5da52a['uint32'](0x18)['bool'](_0x46ef6e['hasComments']),null!=_0x46ef6e['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x46ef6e,'isHasCommentsModified')&&_0x5da52a['uint32'](0x20)['bool'](_0x46ef6e['isHasCommentsModified']),null!=_0x46ef6e['state']&&Object['hasOwnProperty']['call'](_0x46ef6e,'state')&&_0x5da52a['uint32'](0x2a)['string'](_0x46ef6e['state']),null!=_0x46ef6e['attributes']&&Object['hasOwnProperty']['call'](_0x46ef6e,'attributes')&&_0x5da52a['uint32'](0x32)['string'](_0x46ef6e['attributes']),_0x5da52a;},_0x43b17e['encodeDelimited']=function(_0x2436a9,_0x4ab185){return this['encode'](_0x2436a9,_0x4ab185)['ldelim']();},_0x43b17e['decode']=function(_0x5af638,_0x57122b,_0x43a06b){_0x5af638 instanceof _0x22a542||(_0x5af638=_0x22a542['create'](_0x5af638));for(var _0xd008b6=void 0x0===_0x57122b?_0x5af638['len']:_0x5af638['pos']+_0x57122b,_0x59a29f=new _0xe33dea['TrackChangesUpdateSuggestionMessage']();_0x5af638['pos']<_0xd008b6;){var _0x21cf73=_0x5af638['uint32']();if(_0x21cf73===_0x43a06b)break;switch(_0x21cf73>>>0x3){case 0x1:_0x59a29f['id']=_0x5af638['string']();break;case 0x2:_0x59a29f['documentId']=_0x5af638['string']();break;case 0x3:_0x59a29f['hasComments']=_0x5af638['bool']();break;case 0x4:_0x59a29f['isHasCommentsModified']=_0x5af638['bool']();break;case 0x5:_0x59a29f['state']=_0x5af638['string']();break;case 0x6:_0x59a29f['attributes']=_0x5af638['string']();break;default:_0x5af638['skipType'](0x7&_0x21cf73);}}return _0x59a29f;},_0x43b17e['decodeDelimited']=function(_0xdea605){return _0xdea605 instanceof _0x22a542||(_0xdea605=new _0x22a542(_0xdea605)),this['decode'](_0xdea605,_0xdea605['uint32']());},_0x43b17e['verify']=function(_0x382c19){return'object'!=typeof _0x382c19||null===_0x382c19?'object\x20expected':null!=_0x382c19['id']&&_0x382c19['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x382c19['id'])?'id:\x20string\x20expected':null!=_0x382c19['documentId']&&_0x382c19['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x382c19['documentId'])?'documentId:\x20string\x20expected':null!=_0x382c19['hasComments']&&_0x382c19['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x382c19['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x382c19['isHasCommentsModified']&&_0x382c19['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x382c19['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x382c19['state']&&_0x382c19['hasOwnProperty']('state')&&!_0xcc5beb['isString'](_0x382c19['state'])?'state:\x20string\x20expected':null!=_0x382c19['attributes']&&_0x382c19['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x382c19['attributes'])?'attributes:\x20string\x20expected':null;},_0x43b17e['fromObject']=function(_0x55eba1){if(_0x55eba1 instanceof _0xe33dea['TrackChangesUpdateSuggestionMessage'])return _0x55eba1;var _0x5a5100=new _0xe33dea['TrackChangesUpdateSuggestionMessage']();return null!=_0x55eba1['id']&&(_0x5a5100['id']=String(_0x55eba1['id'])),null!=_0x55eba1['documentId']&&(_0x5a5100['documentId']=String(_0x55eba1['documentId'])),null!=_0x55eba1['hasComments']&&(_0x5a5100['hasComments']=Boolean(_0x55eba1['hasComments'])),null!=_0x55eba1['isHasCommentsModified']&&(_0x5a5100['isHasCommentsModified']=Boolean(_0x55eba1['isHasCommentsModified'])),null!=_0x55eba1['state']&&(_0x5a5100['state']=String(_0x55eba1['state'])),null!=_0x55eba1['attributes']&&(_0x5a5100['attributes']=String(_0x55eba1['attributes'])),_0x5a5100;},_0x43b17e['toObject']=function(_0x21cb4b,_0x216d12){_0x216d12||(_0x216d12={});var _0x916536={};return _0x216d12['defaults']&&(_0x916536['id']='',_0x916536['documentId']='',_0x916536['hasComments']=!0x1,_0x916536['isHasCommentsModified']=!0x1,_0x916536['state']='',_0x916536['attributes']=''),null!=_0x21cb4b['id']&&_0x21cb4b['hasOwnProperty']('id')&&(_0x916536['id']=_0x21cb4b['id']),null!=_0x21cb4b['documentId']&&_0x21cb4b['hasOwnProperty']('documentId')&&(_0x916536['documentId']=_0x21cb4b['documentId']),null!=_0x21cb4b['hasComments']&&_0x21cb4b['hasOwnProperty']('hasComments')&&(_0x916536['hasComments']=_0x21cb4b['hasComments']),null!=_0x21cb4b['isHasCommentsModified']&&_0x21cb4b['hasOwnProperty']('isHasCommentsModified')&&(_0x916536['isHasCommentsModified']=_0x21cb4b['isHasCommentsModified']),null!=_0x21cb4b['state']&&_0x21cb4b['hasOwnProperty']('state')&&(_0x916536['state']=_0x21cb4b['state']),null!=_0x21cb4b['attributes']&&_0x21cb4b['hasOwnProperty']('attributes')&&(_0x916536['attributes']=_0x21cb4b['attributes']),_0x916536;},_0x43b17e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x43b17e['getTypeUrl']=function(_0xd7df40){return void 0x0===_0xd7df40&&(_0xd7df40='type.googleapis.com'),_0xd7df40+'/TrackChangesUpdateSuggestionMessage';},_0x43b17e;}()),_0xe33dea['TrackChangesGetSuggestionMessage']=(function(){function _0x244741(_0x1743f1){if(_0x1743f1){for(var _0x2d7230=Object['keys'](_0x1743f1),_0x22e726=0x0;_0x22e726<_0x2d7230['length'];++_0x22e726)null!=_0x1743f1[_0x2d7230[_0x22e726]]&&(this[_0x2d7230[_0x22e726]]=_0x1743f1[_0x2d7230[_0x22e726]]);}}return _0x244741['prototype']['id']='',_0x244741['prototype']['documentId']='',_0x244741['create']=function(_0x4861ad){return new _0x244741(_0x4861ad);},_0x244741['encode']=function(_0x216945,_0x4ac5ee){return _0x4ac5ee||(_0x4ac5ee=_0x5eaf50['create']()),null!=_0x216945['id']&&Object['hasOwnProperty']['call'](_0x216945,'id')&&_0x4ac5ee['uint32'](0xa)['string'](_0x216945['id']),null!=_0x216945['documentId']&&Object['hasOwnProperty']['call'](_0x216945,'documentId')&&_0x4ac5ee['uint32'](0x12)['string'](_0x216945['documentId']),_0x4ac5ee;},_0x244741['encodeDelimited']=function(_0xb62b83,_0x55978c){return this['encode'](_0xb62b83,_0x55978c)['ldelim']();},_0x244741['decode']=function(_0x59e8e2,_0x29235c,_0x18d219){_0x59e8e2 instanceof _0x22a542||(_0x59e8e2=_0x22a542['create'](_0x59e8e2));for(var _0x34179d=void 0x0===_0x29235c?_0x59e8e2['len']:_0x59e8e2['pos']+_0x29235c,_0x15879d=new _0xe33dea['TrackChangesGetSuggestionMessage']();_0x59e8e2['pos']<_0x34179d;){var _0x26437a=_0x59e8e2['uint32']();if(_0x26437a===_0x18d219)break;switch(_0x26437a>>>0x3){case 0x1:_0x15879d['id']=_0x59e8e2['string']();break;case 0x2:_0x15879d['documentId']=_0x59e8e2['string']();break;default:_0x59e8e2['skipType'](0x7&_0x26437a);}}return _0x15879d;},_0x244741['decodeDelimited']=function(_0x841abb){return _0x841abb instanceof _0x22a542||(_0x841abb=new _0x22a542(_0x841abb)),this['decode'](_0x841abb,_0x841abb['uint32']());},_0x244741['verify']=function(_0xd14dc3){return'object'!=typeof _0xd14dc3||null===_0xd14dc3?'object\x20expected':null!=_0xd14dc3['id']&&_0xd14dc3['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0xd14dc3['id'])?'id:\x20string\x20expected':null!=_0xd14dc3['documentId']&&_0xd14dc3['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0xd14dc3['documentId'])?'documentId:\x20string\x20expected':null;},_0x244741['fromObject']=function(_0x1f04de){if(_0x1f04de instanceof _0xe33dea['TrackChangesGetSuggestionMessage'])return _0x1f04de;var _0x2e1916=new _0xe33dea['TrackChangesGetSuggestionMessage']();return null!=_0x1f04de['id']&&(_0x2e1916['id']=String(_0x1f04de['id'])),null!=_0x1f04de['documentId']&&(_0x2e1916['documentId']=String(_0x1f04de['documentId'])),_0x2e1916;},_0x244741['toObject']=function(_0x40f592,_0x28bcdc){_0x28bcdc||(_0x28bcdc={});var _0x2383c8={};return _0x28bcdc['defaults']&&(_0x2383c8['id']='',_0x2383c8['documentId']=''),null!=_0x40f592['id']&&_0x40f592['hasOwnProperty']('id')&&(_0x2383c8['id']=_0x40f592['id']),null!=_0x40f592['documentId']&&_0x40f592['hasOwnProperty']('documentId')&&(_0x2383c8['documentId']=_0x40f592['documentId']),_0x2383c8;},_0x244741['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x244741['getTypeUrl']=function(_0x271f57){return void 0x0===_0x271f57&&(_0x271f57='type.googleapis.com'),_0x271f57+'/TrackChangesGetSuggestionMessage';},_0x244741;}()),_0xe33dea['TrackChangesGetAllSuggestionMessage']=(function(){function _0xcf2a6e(_0x50175c){if(_0x50175c){for(var _0x1c76a6=Object['keys'](_0x50175c),_0x5cb6ce=0x0;_0x5cb6ce<_0x1c76a6['length'];++_0x5cb6ce)null!=_0x50175c[_0x1c76a6[_0x5cb6ce]]&&(this[_0x1c76a6[_0x5cb6ce]]=_0x50175c[_0x1c76a6[_0x5cb6ce]]);}}return _0xcf2a6e['prototype']['documentId']='',_0xcf2a6e['create']=function(_0x5b6509){return new _0xcf2a6e(_0x5b6509);},_0xcf2a6e['encode']=function(_0x584666,_0x5c3259){return _0x5c3259||(_0x5c3259=_0x5eaf50['create']()),null!=_0x584666['documentId']&&Object['hasOwnProperty']['call'](_0x584666,'documentId')&&_0x5c3259['uint32'](0xa)['string'](_0x584666['documentId']),_0x5c3259;},_0xcf2a6e['encodeDelimited']=function(_0x44b6e0,_0x2ad631){return this['encode'](_0x44b6e0,_0x2ad631)['ldelim']();},_0xcf2a6e['decode']=function(_0x521dfd,_0x55c13f,_0x2df0d2){_0x521dfd instanceof _0x22a542||(_0x521dfd=_0x22a542['create'](_0x521dfd));for(var _0x5c0258=void 0x0===_0x55c13f?_0x521dfd['len']:_0x521dfd['pos']+_0x55c13f,_0x5a2196=new _0xe33dea['TrackChangesGetAllSuggestionMessage']();_0x521dfd['pos']<_0x5c0258;){var _0x57240f=_0x521dfd['uint32']();if(_0x57240f===_0x2df0d2)break;_0x57240f>>>0x3==0x1?_0x5a2196['documentId']=_0x521dfd['string']():_0x521dfd['skipType'](0x7&_0x57240f);}return _0x5a2196;},_0xcf2a6e['decodeDelimited']=function(_0x54c6e7){return _0x54c6e7 instanceof _0x22a542||(_0x54c6e7=new _0x22a542(_0x54c6e7)),this['decode'](_0x54c6e7,_0x54c6e7['uint32']());},_0xcf2a6e['verify']=function(_0x30ac47){return'object'!=typeof _0x30ac47||null===_0x30ac47?'object\x20expected':null!=_0x30ac47['documentId']&&_0x30ac47['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x30ac47['documentId'])?'documentId:\x20string\x20expected':null;},_0xcf2a6e['fromObject']=function(_0x13193b){if(_0x13193b instanceof _0xe33dea['TrackChangesGetAllSuggestionMessage'])return _0x13193b;var _0x5bb1c3=new _0xe33dea['TrackChangesGetAllSuggestionMessage']();return null!=_0x13193b['documentId']&&(_0x5bb1c3['documentId']=String(_0x13193b['documentId'])),_0x5bb1c3;},_0xcf2a6e['toObject']=function(_0xafaebe,_0x46d2cf){_0x46d2cf||(_0x46d2cf={});var _0x4f04b4={};return _0x46d2cf['defaults']&&(_0x4f04b4['documentId']=''),null!=_0xafaebe['documentId']&&_0xafaebe['hasOwnProperty']('documentId')&&(_0x4f04b4['documentId']=_0xafaebe['documentId']),_0x4f04b4;},_0xcf2a6e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xcf2a6e['getTypeUrl']=function(_0xea8f39){return void 0x0===_0xea8f39&&(_0xea8f39='type.googleapis.com'),_0xea8f39+'/TrackChangesGetAllSuggestionMessage';},_0xcf2a6e;}()),_0xe33dea['TrackChangesConnectMessage']=(function(){function _0x10aff9(_0x374a8f){if(_0x374a8f){for(var _0x549bfd=Object['keys'](_0x374a8f),_0x1e7285=0x0;_0x1e7285<_0x549bfd['length'];++_0x1e7285)null!=_0x374a8f[_0x549bfd[_0x1e7285]]&&(this[_0x549bfd[_0x1e7285]]=_0x374a8f[_0x549bfd[_0x1e7285]]);}}return _0x10aff9['prototype']['documentId']='',_0x10aff9['create']=function(_0x391f32){return new _0x10aff9(_0x391f32);},_0x10aff9['encode']=function(_0x3b0b3b,_0x5e6545){return _0x5e6545||(_0x5e6545=_0x5eaf50['create']()),null!=_0x3b0b3b['documentId']&&Object['hasOwnProperty']['call'](_0x3b0b3b,'documentId')&&_0x5e6545['uint32'](0xa)['string'](_0x3b0b3b['documentId']),_0x5e6545;},_0x10aff9['encodeDelimited']=function(_0x41f00f,_0x47ade9){return this['encode'](_0x41f00f,_0x47ade9)['ldelim']();},_0x10aff9['decode']=function(_0x1e00d0,_0x11fca,_0x2f30b2){_0x1e00d0 instanceof _0x22a542||(_0x1e00d0=_0x22a542['create'](_0x1e00d0));for(var _0x2f1eba=void 0x0===_0x11fca?_0x1e00d0['len']:_0x1e00d0['pos']+_0x11fca,_0x156264=new _0xe33dea['TrackChangesConnectMessage']();_0x1e00d0['pos']<_0x2f1eba;){var _0xc0ffa6=_0x1e00d0['uint32']();if(_0xc0ffa6===_0x2f30b2)break;_0xc0ffa6>>>0x3==0x1?_0x156264['documentId']=_0x1e00d0['string']():_0x1e00d0['skipType'](0x7&_0xc0ffa6);}return _0x156264;},_0x10aff9['decodeDelimited']=function(_0x545058){return _0x545058 instanceof _0x22a542||(_0x545058=new _0x22a542(_0x545058)),this['decode'](_0x545058,_0x545058['uint32']());},_0x10aff9['verify']=function(_0x149f09){return'object'!=typeof _0x149f09||null===_0x149f09?'object\x20expected':null!=_0x149f09['documentId']&&_0x149f09['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x149f09['documentId'])?'documentId:\x20string\x20expected':null;},_0x10aff9['fromObject']=function(_0x425c6e){if(_0x425c6e instanceof _0xe33dea['TrackChangesConnectMessage'])return _0x425c6e;var _0x4aab9e=new _0xe33dea['TrackChangesConnectMessage']();return null!=_0x425c6e['documentId']&&(_0x4aab9e['documentId']=String(_0x425c6e['documentId'])),_0x4aab9e;},_0x10aff9['toObject']=function(_0x2cdf9f,_0x44ff8e){_0x44ff8e||(_0x44ff8e={});var _0x2192a4={};return _0x44ff8e['defaults']&&(_0x2192a4['documentId']=''),null!=_0x2cdf9f['documentId']&&_0x2cdf9f['hasOwnProperty']('documentId')&&(_0x2192a4['documentId']=_0x2cdf9f['documentId']),_0x2192a4;},_0x10aff9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x10aff9['getTypeUrl']=function(_0x3fd838){return void 0x0===_0x3fd838&&(_0x3fd838='type.googleapis.com'),_0x3fd838+'/TrackChangesConnectMessage';},_0x10aff9;}()),_0xe33dea['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x5831b9(_0x54e527){if(this['ids']=[],_0x54e527){for(var _0x556987=Object['keys'](_0x54e527),_0x5961ed=0x0;_0x5961ed<_0x556987['length'];++_0x5961ed)null!=_0x54e527[_0x556987[_0x5961ed]]&&(this[_0x556987[_0x5961ed]]=_0x54e527[_0x556987[_0x5961ed]]);}}return _0x5831b9['prototype']['ids']=_0xcc5beb['emptyArray'],_0x5831b9['prototype']['documentId']='',_0x5831b9['prototype']['state']='',_0x5831b9['create']=function(_0x2158ba){return new _0x5831b9(_0x2158ba);},_0x5831b9['encode']=function(_0x232c4b,_0xc0e0c7){if(_0xc0e0c7||(_0xc0e0c7=_0x5eaf50['create']()),null!=_0x232c4b['ids']&&_0x232c4b['ids']['length']){for(var _0x2e0383=0x0;_0x2e0383<_0x232c4b['ids']['length'];++_0x2e0383)_0xc0e0c7['uint32'](0xa)['string'](_0x232c4b['ids'][_0x2e0383]);}return null!=_0x232c4b['documentId']&&Object['hasOwnProperty']['call'](_0x232c4b,'documentId')&&_0xc0e0c7['uint32'](0x12)['string'](_0x232c4b['documentId']),null!=_0x232c4b['state']&&Object['hasOwnProperty']['call'](_0x232c4b,'state')&&_0xc0e0c7['uint32'](0x1a)['string'](_0x232c4b['state']),_0xc0e0c7;},_0x5831b9['encodeDelimited']=function(_0x40624f,_0x2aa3af){return this['encode'](_0x40624f,_0x2aa3af)['ldelim']();},_0x5831b9['decode']=function(_0x588362,_0x489e0b,_0x38b2d2){_0x588362 instanceof _0x22a542||(_0x588362=_0x22a542['create'](_0x588362));for(var _0x4ae612=void 0x0===_0x489e0b?_0x588362['len']:_0x588362['pos']+_0x489e0b,_0x4e8b89=new _0xe33dea['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x588362['pos']<_0x4ae612;){var _0x538faa=_0x588362['uint32']();if(_0x538faa===_0x38b2d2)break;switch(_0x538faa>>>0x3){case 0x1:_0x4e8b89['ids']&&_0x4e8b89['ids']['length']||(_0x4e8b89['ids']=[]),_0x4e8b89['ids']['push'](_0x588362['string']());break;case 0x2:_0x4e8b89['documentId']=_0x588362['string']();break;case 0x3:_0x4e8b89['state']=_0x588362['string']();break;default:_0x588362['skipType'](0x7&_0x538faa);}}return _0x4e8b89;},_0x5831b9['decodeDelimited']=function(_0x5d9539){return _0x5d9539 instanceof _0x22a542||(_0x5d9539=new _0x22a542(_0x5d9539)),this['decode'](_0x5d9539,_0x5d9539['uint32']());},_0x5831b9['verify']=function(_0x4badaa){if('object'!=typeof _0x4badaa||null===_0x4badaa)return'object\x20expected';if(null!=_0x4badaa['ids']&&_0x4badaa['hasOwnProperty']('ids')){if(!Array['isArray'](_0x4badaa['ids']))return'ids:\x20array\x20expected';for(var _0x6e114=0x0;_0x6e114<_0x4badaa['ids']['length'];++_0x6e114)if(!_0xcc5beb['isString'](_0x4badaa['ids'][_0x6e114]))return'ids:\x20string[]\x20expected';}return null!=_0x4badaa['documentId']&&_0x4badaa['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x4badaa['documentId'])?'documentId:\x20string\x20expected':null!=_0x4badaa['state']&&_0x4badaa['hasOwnProperty']('state')&&!_0xcc5beb['isString'](_0x4badaa['state'])?'state:\x20string\x20expected':null;},_0x5831b9['fromObject']=function(_0x1b2b58){if(_0x1b2b58 instanceof _0xe33dea['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x1b2b58;var _0x1405e7=new _0xe33dea['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x1b2b58['ids']){if(!Array['isArray'](_0x1b2b58['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x1405e7['ids']=[];for(var _0x5deca1=0x0;_0x5deca1<_0x1b2b58['ids']['length'];++_0x5deca1)_0x1405e7['ids'][_0x5deca1]=String(_0x1b2b58['ids'][_0x5deca1]);}return null!=_0x1b2b58['documentId']&&(_0x1405e7['documentId']=String(_0x1b2b58['documentId'])),null!=_0x1b2b58['state']&&(_0x1405e7['state']=String(_0x1b2b58['state'])),_0x1405e7;},_0x5831b9['toObject']=function(_0x51585c,_0x4d5e79){_0x4d5e79||(_0x4d5e79={});var _0x53960c={};if((_0x4d5e79['arrays']||_0x4d5e79['defaults'])&&(_0x53960c['ids']=[]),_0x4d5e79['defaults']&&(_0x53960c['documentId']='',_0x53960c['state']=''),_0x51585c['ids']&&_0x51585c['ids']['length']){_0x53960c['ids']=[];for(var _0x4b0032=0x0;_0x4b0032<_0x51585c['ids']['length'];++_0x4b0032)_0x53960c['ids'][_0x4b0032]=_0x51585c['ids'][_0x4b0032];}return null!=_0x51585c['documentId']&&_0x51585c['hasOwnProperty']('documentId')&&(_0x53960c['documentId']=_0x51585c['documentId']),null!=_0x51585c['state']&&_0x51585c['hasOwnProperty']('state')&&(_0x53960c['state']=_0x51585c['state']),_0x53960c;},_0x5831b9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5831b9['getTypeUrl']=function(_0x27d7be){return void 0x0===_0x27d7be&&(_0x27d7be='type.googleapis.com'),_0x27d7be+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x5831b9;}()),_0xe33dea['TrackChangesAddSuggestionMessage']=(function(){function _0x160fea(_0x30ba3a){if(_0x30ba3a){for(var _0x1d41c3=Object['keys'](_0x30ba3a),_0x2d1cb1=0x0;_0x2d1cb1<_0x1d41c3['length'];++_0x2d1cb1)null!=_0x30ba3a[_0x1d41c3[_0x2d1cb1]]&&(this[_0x1d41c3[_0x2d1cb1]]=_0x30ba3a[_0x1d41c3[_0x2d1cb1]]);}}return _0x160fea['prototype']['id']='',_0x160fea['prototype']['documentId']='',_0x160fea['prototype']['type']='',_0x160fea['prototype']['data']='',_0x160fea['prototype']['originalSuggestionId']='',_0x160fea['prototype']['attributes']='',_0x160fea['create']=function(_0x3bd260){return new _0x160fea(_0x3bd260);},_0x160fea['encode']=function(_0x57fd1b,_0x39d6ca){return _0x39d6ca||(_0x39d6ca=_0x5eaf50['create']()),null!=_0x57fd1b['id']&&Object['hasOwnProperty']['call'](_0x57fd1b,'id')&&_0x39d6ca['uint32'](0xa)['string'](_0x57fd1b['id']),null!=_0x57fd1b['documentId']&&Object['hasOwnProperty']['call'](_0x57fd1b,'documentId')&&_0x39d6ca['uint32'](0x12)['string'](_0x57fd1b['documentId']),null!=_0x57fd1b['type']&&Object['hasOwnProperty']['call'](_0x57fd1b,'type')&&_0x39d6ca['uint32'](0x1a)['string'](_0x57fd1b['type']),null!=_0x57fd1b['data']&&Object['hasOwnProperty']['call'](_0x57fd1b,'data')&&_0x39d6ca['uint32'](0x22)['string'](_0x57fd1b['data']),null!=_0x57fd1b['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x57fd1b,'originalSuggestionId')&&_0x39d6ca['uint32'](0x2a)['string'](_0x57fd1b['originalSuggestionId']),null!=_0x57fd1b['attributes']&&Object['hasOwnProperty']['call'](_0x57fd1b,'attributes')&&_0x39d6ca['uint32'](0x32)['string'](_0x57fd1b['attributes']),_0x39d6ca;},_0x160fea['encodeDelimited']=function(_0x5c02e7,_0x2fff21){return this['encode'](_0x5c02e7,_0x2fff21)['ldelim']();},_0x160fea['decode']=function(_0x19d843,_0x389c08,_0x2a1e15){_0x19d843 instanceof _0x22a542||(_0x19d843=_0x22a542['create'](_0x19d843));for(var _0x1990ed=void 0x0===_0x389c08?_0x19d843['len']:_0x19d843['pos']+_0x389c08,_0x4c247a=new _0xe33dea['TrackChangesAddSuggestionMessage']();_0x19d843['pos']<_0x1990ed;){var _0x20aed6=_0x19d843['uint32']();if(_0x20aed6===_0x2a1e15)break;switch(_0x20aed6>>>0x3){case 0x1:_0x4c247a['id']=_0x19d843['string']();break;case 0x2:_0x4c247a['documentId']=_0x19d843['string']();break;case 0x3:_0x4c247a['type']=_0x19d843['string']();break;case 0x4:_0x4c247a['data']=_0x19d843['string']();break;case 0x5:_0x4c247a['originalSuggestionId']=_0x19d843['string']();break;case 0x6:_0x4c247a['attributes']=_0x19d843['string']();break;default:_0x19d843['skipType'](0x7&_0x20aed6);}}return _0x4c247a;},_0x160fea['decodeDelimited']=function(_0x376e50){return _0x376e50 instanceof _0x22a542||(_0x376e50=new _0x22a542(_0x376e50)),this['decode'](_0x376e50,_0x376e50['uint32']());},_0x160fea['verify']=function(_0x2c6ed4){return'object'!=typeof _0x2c6ed4||null===_0x2c6ed4?'object\x20expected':null!=_0x2c6ed4['id']&&_0x2c6ed4['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x2c6ed4['id'])?'id:\x20string\x20expected':null!=_0x2c6ed4['documentId']&&_0x2c6ed4['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x2c6ed4['documentId'])?'documentId:\x20string\x20expected':null!=_0x2c6ed4['type']&&_0x2c6ed4['hasOwnProperty']('type')&&!_0xcc5beb['isString'](_0x2c6ed4['type'])?'type:\x20string\x20expected':null!=_0x2c6ed4['data']&&_0x2c6ed4['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0x2c6ed4['data'])?'data:\x20string\x20expected':null!=_0x2c6ed4['originalSuggestionId']&&_0x2c6ed4['hasOwnProperty']('originalSuggestionId')&&!_0xcc5beb['isString'](_0x2c6ed4['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x2c6ed4['attributes']&&_0x2c6ed4['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x2c6ed4['attributes'])?'attributes:\x20string\x20expected':null;},_0x160fea['fromObject']=function(_0x1023f4){if(_0x1023f4 instanceof _0xe33dea['TrackChangesAddSuggestionMessage'])return _0x1023f4;var _0x988b5b=new _0xe33dea['TrackChangesAddSuggestionMessage']();return null!=_0x1023f4['id']&&(_0x988b5b['id']=String(_0x1023f4['id'])),null!=_0x1023f4['documentId']&&(_0x988b5b['documentId']=String(_0x1023f4['documentId'])),null!=_0x1023f4['type']&&(_0x988b5b['type']=String(_0x1023f4['type'])),null!=_0x1023f4['data']&&(_0x988b5b['data']=String(_0x1023f4['data'])),null!=_0x1023f4['originalSuggestionId']&&(_0x988b5b['originalSuggestionId']=String(_0x1023f4['originalSuggestionId'])),null!=_0x1023f4['attributes']&&(_0x988b5b['attributes']=String(_0x1023f4['attributes'])),_0x988b5b;},_0x160fea['toObject']=function(_0x1069d5,_0x1ce255){_0x1ce255||(_0x1ce255={});var _0x338933={};return _0x1ce255['defaults']&&(_0x338933['id']='',_0x338933['documentId']='',_0x338933['type']='',_0x338933['data']='',_0x338933['originalSuggestionId']='',_0x338933['attributes']=''),null!=_0x1069d5['id']&&_0x1069d5['hasOwnProperty']('id')&&(_0x338933['id']=_0x1069d5['id']),null!=_0x1069d5['documentId']&&_0x1069d5['hasOwnProperty']('documentId')&&(_0x338933['documentId']=_0x1069d5['documentId']),null!=_0x1069d5['type']&&_0x1069d5['hasOwnProperty']('type')&&(_0x338933['type']=_0x1069d5['type']),null!=_0x1069d5['data']&&_0x1069d5['hasOwnProperty']('data')&&(_0x338933['data']=_0x1069d5['data']),null!=_0x1069d5['originalSuggestionId']&&_0x1069d5['hasOwnProperty']('originalSuggestionId')&&(_0x338933['originalSuggestionId']=_0x1069d5['originalSuggestionId']),null!=_0x1069d5['attributes']&&_0x1069d5['hasOwnProperty']('attributes')&&(_0x338933['attributes']=_0x1069d5['attributes']),_0x338933;},_0x160fea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x160fea['getTypeUrl']=function(_0x32c521){return void 0x0===_0x32c521&&(_0x32c521='type.googleapis.com'),_0x32c521+'/TrackChangesAddSuggestionMessage';},_0x160fea;}()),_0xe33dea['SuggestionDescriptor']=(function(){function _0x4dba0c(_0x3d18cb){if(_0x3d18cb){for(var _0x180c6b=Object['keys'](_0x3d18cb),_0x142fd8=0x0;_0x142fd8<_0x180c6b['length'];++_0x142fd8)null!=_0x3d18cb[_0x180c6b[_0x142fd8]]&&(this[_0x180c6b[_0x142fd8]]=_0x3d18cb[_0x180c6b[_0x142fd8]]);}}return _0x4dba0c['prototype']['id']='',_0x4dba0c['prototype']['authorId']='',_0x4dba0c['prototype']['type']='',_0x4dba0c['prototype']['createdAt']='',_0x4dba0c['prototype']['data']='',_0x4dba0c['prototype']['hasComments']=!0x1,_0x4dba0c['prototype']['state']='',_0x4dba0c['prototype']['attributes']='',_0x4dba0c['create']=function(_0x4780f0){return new _0x4dba0c(_0x4780f0);},_0x4dba0c['encode']=function(_0x4c0c75,_0xb1483a){return _0xb1483a||(_0xb1483a=_0x5eaf50['create']()),null!=_0x4c0c75['id']&&Object['hasOwnProperty']['call'](_0x4c0c75,'id')&&_0xb1483a['uint32'](0xa)['string'](_0x4c0c75['id']),null!=_0x4c0c75['authorId']&&Object['hasOwnProperty']['call'](_0x4c0c75,'authorId')&&_0xb1483a['uint32'](0x12)['string'](_0x4c0c75['authorId']),null!=_0x4c0c75['type']&&Object['hasOwnProperty']['call'](_0x4c0c75,'type')&&_0xb1483a['uint32'](0x1a)['string'](_0x4c0c75['type']),null!=_0x4c0c75['createdAt']&&Object['hasOwnProperty']['call'](_0x4c0c75,'createdAt')&&_0xb1483a['uint32'](0x22)['string'](_0x4c0c75['createdAt']),null!=_0x4c0c75['data']&&Object['hasOwnProperty']['call'](_0x4c0c75,'data')&&_0xb1483a['uint32'](0x2a)['string'](_0x4c0c75['data']),null!=_0x4c0c75['hasComments']&&Object['hasOwnProperty']['call'](_0x4c0c75,'hasComments')&&_0xb1483a['uint32'](0x30)['bool'](_0x4c0c75['hasComments']),null!=_0x4c0c75['state']&&Object['hasOwnProperty']['call'](_0x4c0c75,'state')&&_0xb1483a['uint32'](0x3a)['string'](_0x4c0c75['state']),null!=_0x4c0c75['attributes']&&Object['hasOwnProperty']['call'](_0x4c0c75,'attributes')&&_0xb1483a['uint32'](0x42)['string'](_0x4c0c75['attributes']),_0xb1483a;},_0x4dba0c['encodeDelimited']=function(_0x39573a,_0x4d94b5){return this['encode'](_0x39573a,_0x4d94b5)['ldelim']();},_0x4dba0c['decode']=function(_0x9794d4,_0xcad193,_0x1b6df5){_0x9794d4 instanceof _0x22a542||(_0x9794d4=_0x22a542['create'](_0x9794d4));for(var _0x1f21a0=void 0x0===_0xcad193?_0x9794d4['len']:_0x9794d4['pos']+_0xcad193,_0x1bf8f9=new _0xe33dea['SuggestionDescriptor']();_0x9794d4['pos']<_0x1f21a0;){var _0x4072fa=_0x9794d4['uint32']();if(_0x4072fa===_0x1b6df5)break;switch(_0x4072fa>>>0x3){case 0x1:_0x1bf8f9['id']=_0x9794d4['string']();break;case 0x2:_0x1bf8f9['authorId']=_0x9794d4['string']();break;case 0x3:_0x1bf8f9['type']=_0x9794d4['string']();break;case 0x4:_0x1bf8f9['createdAt']=_0x9794d4['string']();break;case 0x5:_0x1bf8f9['data']=_0x9794d4['string']();break;case 0x6:_0x1bf8f9['hasComments']=_0x9794d4['bool']();break;case 0x7:_0x1bf8f9['state']=_0x9794d4['string']();break;case 0x8:_0x1bf8f9['attributes']=_0x9794d4['string']();break;default:_0x9794d4['skipType'](0x7&_0x4072fa);}}return _0x1bf8f9;},_0x4dba0c['decodeDelimited']=function(_0x26d51e){return _0x26d51e instanceof _0x22a542||(_0x26d51e=new _0x22a542(_0x26d51e)),this['decode'](_0x26d51e,_0x26d51e['uint32']());},_0x4dba0c['verify']=function(_0xddddb8){return'object'!=typeof _0xddddb8||null===_0xddddb8?'object\x20expected':null!=_0xddddb8['id']&&_0xddddb8['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0xddddb8['id'])?'id:\x20string\x20expected':null!=_0xddddb8['authorId']&&_0xddddb8['hasOwnProperty']('authorId')&&!_0xcc5beb['isString'](_0xddddb8['authorId'])?'authorId:\x20string\x20expected':null!=_0xddddb8['type']&&_0xddddb8['hasOwnProperty']('type')&&!_0xcc5beb['isString'](_0xddddb8['type'])?'type:\x20string\x20expected':null!=_0xddddb8['createdAt']&&_0xddddb8['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0xddddb8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xddddb8['data']&&_0xddddb8['hasOwnProperty']('data')&&!_0xcc5beb['isString'](_0xddddb8['data'])?'data:\x20string\x20expected':null!=_0xddddb8['hasComments']&&_0xddddb8['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0xddddb8['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0xddddb8['state']&&_0xddddb8['hasOwnProperty']('state')&&!_0xcc5beb['isString'](_0xddddb8['state'])?'state:\x20string\x20expected':null!=_0xddddb8['attributes']&&_0xddddb8['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0xddddb8['attributes'])?'attributes:\x20string\x20expected':null;},_0x4dba0c['fromObject']=function(_0x46c17d){if(_0x46c17d instanceof _0xe33dea['SuggestionDescriptor'])return _0x46c17d;var _0x1bb5be=new _0xe33dea['SuggestionDescriptor']();return null!=_0x46c17d['id']&&(_0x1bb5be['id']=String(_0x46c17d['id'])),null!=_0x46c17d['authorId']&&(_0x1bb5be['authorId']=String(_0x46c17d['authorId'])),null!=_0x46c17d['type']&&(_0x1bb5be['type']=String(_0x46c17d['type'])),null!=_0x46c17d['createdAt']&&(_0x1bb5be['createdAt']=String(_0x46c17d['createdAt'])),null!=_0x46c17d['data']&&(_0x1bb5be['data']=String(_0x46c17d['data'])),null!=_0x46c17d['hasComments']&&(_0x1bb5be['hasComments']=Boolean(_0x46c17d['hasComments'])),null!=_0x46c17d['state']&&(_0x1bb5be['state']=String(_0x46c17d['state'])),null!=_0x46c17d['attributes']&&(_0x1bb5be['attributes']=String(_0x46c17d['attributes'])),_0x1bb5be;},_0x4dba0c['toObject']=function(_0x53b584,_0x526c86){_0x526c86||(_0x526c86={});var _0x3668a1={};return _0x526c86['defaults']&&(_0x3668a1['id']='',_0x3668a1['authorId']='',_0x3668a1['type']='',_0x3668a1['createdAt']='',_0x3668a1['data']='',_0x3668a1['hasComments']=!0x1,_0x3668a1['state']='',_0x3668a1['attributes']=''),null!=_0x53b584['id']&&_0x53b584['hasOwnProperty']('id')&&(_0x3668a1['id']=_0x53b584['id']),null!=_0x53b584['authorId']&&_0x53b584['hasOwnProperty']('authorId')&&(_0x3668a1['authorId']=_0x53b584['authorId']),null!=_0x53b584['type']&&_0x53b584['hasOwnProperty']('type')&&(_0x3668a1['type']=_0x53b584['type']),null!=_0x53b584['createdAt']&&_0x53b584['hasOwnProperty']('createdAt')&&(_0x3668a1['createdAt']=_0x53b584['createdAt']),null!=_0x53b584['data']&&_0x53b584['hasOwnProperty']('data')&&(_0x3668a1['data']=_0x53b584['data']),null!=_0x53b584['hasComments']&&_0x53b584['hasOwnProperty']('hasComments')&&(_0x3668a1['hasComments']=_0x53b584['hasComments']),null!=_0x53b584['state']&&_0x53b584['hasOwnProperty']('state')&&(_0x3668a1['state']=_0x53b584['state']),null!=_0x53b584['attributes']&&_0x53b584['hasOwnProperty']('attributes')&&(_0x3668a1['attributes']=_0x53b584['attributes']),_0x3668a1;},_0x4dba0c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4dba0c['getTypeUrl']=function(_0x533e8e){return void 0x0===_0x533e8e&&(_0x533e8e='type.googleapis.com'),_0x533e8e+'/SuggestionDescriptor';},_0x4dba0c;}()),_0xe33dea['SessionsConnectResponse']=(function(){function _0x4a861d(_0x590481){if(this['sockets']=[],_0x590481){for(var _0x47a1ed=Object['keys'](_0x590481),_0x3ea985=0x0;_0x3ea985<_0x47a1ed['length'];++_0x3ea985)null!=_0x590481[_0x47a1ed[_0x3ea985]]&&(this[_0x47a1ed[_0x3ea985]]=_0x590481[_0x47a1ed[_0x3ea985]]);}}return _0x4a861d['prototype']['channel']='',_0x4a861d['prototype']['sockets']=_0xcc5beb['emptyArray'],_0x4a861d['create']=function(_0x5f0cad){return new _0x4a861d(_0x5f0cad);},_0x4a861d['encode']=function(_0x32ebeb,_0x1799d7){if(_0x1799d7||(_0x1799d7=_0x5eaf50['create']()),null!=_0x32ebeb['channel']&&Object['hasOwnProperty']['call'](_0x32ebeb,'channel')&&_0x1799d7['uint32'](0xa)['string'](_0x32ebeb['channel']),null!=_0x32ebeb['sockets']&&_0x32ebeb['sockets']['length']){for(var _0x95152a=0x0;_0x95152a<_0x32ebeb['sockets']['length'];++_0x95152a)_0xe33dea['SessionsSocketDescriptor']['encode'](_0x32ebeb['sockets'][_0x95152a],_0x1799d7['uint32'](0x12)['fork']())['ldelim']();}return _0x1799d7;},_0x4a861d['encodeDelimited']=function(_0x5e4c21,_0x2cb6fe){return this['encode'](_0x5e4c21,_0x2cb6fe)['ldelim']();},_0x4a861d['decode']=function(_0xccb493,_0xb05537,_0x5d6921){_0xccb493 instanceof _0x22a542||(_0xccb493=_0x22a542['create'](_0xccb493));for(var _0x5da4f5=void 0x0===_0xb05537?_0xccb493['len']:_0xccb493['pos']+_0xb05537,_0x467e02=new _0xe33dea['SessionsConnectResponse']();_0xccb493['pos']<_0x5da4f5;){var _0x2bc378=_0xccb493['uint32']();if(_0x2bc378===_0x5d6921)break;switch(_0x2bc378>>>0x3){case 0x1:_0x467e02['channel']=_0xccb493['string']();break;case 0x2:_0x467e02['sockets']&&_0x467e02['sockets']['length']||(_0x467e02['sockets']=[]),_0x467e02['sockets']['push'](_0xe33dea['SessionsSocketDescriptor']['decode'](_0xccb493,_0xccb493['uint32']()));break;default:_0xccb493['skipType'](0x7&_0x2bc378);}}return _0x467e02;},_0x4a861d['decodeDelimited']=function(_0x2a3282){return _0x2a3282 instanceof _0x22a542||(_0x2a3282=new _0x22a542(_0x2a3282)),this['decode'](_0x2a3282,_0x2a3282['uint32']());},_0x4a861d['verify']=function(_0x5b6702){if('object'!=typeof _0x5b6702||null===_0x5b6702)return'object\x20expected';if(null!=_0x5b6702['channel']&&_0x5b6702['hasOwnProperty']('channel')&&!_0xcc5beb['isString'](_0x5b6702['channel']))return'channel:\x20string\x20expected';if(null!=_0x5b6702['sockets']&&_0x5b6702['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x5b6702['sockets']))return'sockets:\x20array\x20expected';for(var _0x4dfe98=0x0;_0x4dfe98<_0x5b6702['sockets']['length'];++_0x4dfe98){var _0x1e613b=_0xe33dea['SessionsSocketDescriptor']['verify'](_0x5b6702['sockets'][_0x4dfe98]);if(_0x1e613b)return'sockets.'+_0x1e613b;}}return null;},_0x4a861d['fromObject']=function(_0x368a3f){if(_0x368a3f instanceof _0xe33dea['SessionsConnectResponse'])return _0x368a3f;var _0x12c92e=new _0xe33dea['SessionsConnectResponse']();if(null!=_0x368a3f['channel']&&(_0x12c92e['channel']=String(_0x368a3f['channel'])),_0x368a3f['sockets']){if(!Array['isArray'](_0x368a3f['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x12c92e['sockets']=[];for(var _0x413e47=0x0;_0x413e47<_0x368a3f['sockets']['length'];++_0x413e47){if('object'!=typeof _0x368a3f['sockets'][_0x413e47])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x12c92e['sockets'][_0x413e47]=_0xe33dea['SessionsSocketDescriptor']['fromObject'](_0x368a3f['sockets'][_0x413e47]);}}return _0x12c92e;},_0x4a861d['toObject']=function(_0xc5419c,_0x524fb2){_0x524fb2||(_0x524fb2={});var _0x5e8fea={};if((_0x524fb2['arrays']||_0x524fb2['defaults'])&&(_0x5e8fea['sockets']=[]),_0x524fb2['defaults']&&(_0x5e8fea['channel']=''),null!=_0xc5419c['channel']&&_0xc5419c['hasOwnProperty']('channel')&&(_0x5e8fea['channel']=_0xc5419c['channel']),_0xc5419c['sockets']&&_0xc5419c['sockets']['length']){_0x5e8fea['sockets']=[];for(var _0x3e7538=0x0;_0x3e7538<_0xc5419c['sockets']['length'];++_0x3e7538)_0x5e8fea['sockets'][_0x3e7538]=_0xe33dea['SessionsSocketDescriptor']['toObject'](_0xc5419c['sockets'][_0x3e7538],_0x524fb2);}return _0x5e8fea;},_0x4a861d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4a861d['getTypeUrl']=function(_0x2b93ec){return void 0x0===_0x2b93ec&&(_0x2b93ec='type.googleapis.com'),_0x2b93ec+'/SessionsConnectResponse';},_0x4a861d;}()),_0xe33dea['SocketDisconnectMessage']=(function(){function _0x490697(_0x288022){if(_0x288022){for(var _0x438f6d=Object['keys'](_0x288022),_0x1dd083=0x0;_0x1dd083<_0x438f6d['length'];++_0x1dd083)null!=_0x288022[_0x438f6d[_0x1dd083]]&&(this[_0x438f6d[_0x1dd083]]=_0x288022[_0x438f6d[_0x1dd083]]);}}return _0x490697['prototype']['id']='',_0x490697['create']=function(_0x2fa22b){return new _0x490697(_0x2fa22b);},_0x490697['encode']=function(_0x2ee285,_0x24b42e){return _0x24b42e||(_0x24b42e=_0x5eaf50['create']()),null!=_0x2ee285['id']&&Object['hasOwnProperty']['call'](_0x2ee285,'id')&&_0x24b42e['uint32'](0xa)['string'](_0x2ee285['id']),_0x24b42e;},_0x490697['encodeDelimited']=function(_0x56d284,_0x227b3c){return this['encode'](_0x56d284,_0x227b3c)['ldelim']();},_0x490697['decode']=function(_0x4d2bcb,_0x1b74a4,_0x1fd713){_0x4d2bcb instanceof _0x22a542||(_0x4d2bcb=_0x22a542['create'](_0x4d2bcb));for(var _0x2030cc=void 0x0===_0x1b74a4?_0x4d2bcb['len']:_0x4d2bcb['pos']+_0x1b74a4,_0x48bff4=new _0xe33dea['SocketDisconnectMessage']();_0x4d2bcb['pos']<_0x2030cc;){var _0x582e76=_0x4d2bcb['uint32']();if(_0x582e76===_0x1fd713)break;_0x582e76>>>0x3==0x1?_0x48bff4['id']=_0x4d2bcb['string']():_0x4d2bcb['skipType'](0x7&_0x582e76);}return _0x48bff4;},_0x490697['decodeDelimited']=function(_0x1f21c5){return _0x1f21c5 instanceof _0x22a542||(_0x1f21c5=new _0x22a542(_0x1f21c5)),this['decode'](_0x1f21c5,_0x1f21c5['uint32']());},_0x490697['verify']=function(_0x5056f8){return'object'!=typeof _0x5056f8||null===_0x5056f8?'object\x20expected':null!=_0x5056f8['id']&&_0x5056f8['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x5056f8['id'])?'id:\x20string\x20expected':null;},_0x490697['fromObject']=function(_0x5ea402){if(_0x5ea402 instanceof _0xe33dea['SocketDisconnectMessage'])return _0x5ea402;var _0x2154f8=new _0xe33dea['SocketDisconnectMessage']();return null!=_0x5ea402['id']&&(_0x2154f8['id']=String(_0x5ea402['id'])),_0x2154f8;},_0x490697['toObject']=function(_0x50acf1,_0x5895ab){_0x5895ab||(_0x5895ab={});var _0x543337={};return _0x5895ab['defaults']&&(_0x543337['id']=''),null!=_0x50acf1['id']&&_0x50acf1['hasOwnProperty']('id')&&(_0x543337['id']=_0x50acf1['id']),_0x543337;},_0x490697['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x490697['getTypeUrl']=function(_0x7b1cc9){return void 0x0===_0x7b1cc9&&(_0x7b1cc9='type.googleapis.com'),_0x7b1cc9+'/SocketDisconnectMessage';},_0x490697;}()),_0xe33dea['SocketConnectMessage']=(function(){function _0x222d1f(_0x435684){if(this['permissions']=[],_0x435684){for(var _0x1fea71=Object['keys'](_0x435684),_0x16c7fa=0x0;_0x16c7fa<_0x1fea71['length'];++_0x16c7fa)null!=_0x435684[_0x1fea71[_0x16c7fa]]&&(this[_0x1fea71[_0x16c7fa]]=_0x435684[_0x1fea71[_0x16c7fa]]);}}return _0x222d1f['prototype']['id']='',_0x222d1f['prototype']['userId']='',_0x222d1f['prototype']['role']='',_0x222d1f['prototype']['permissions']=_0xcc5beb['emptyArray'],_0x222d1f['create']=function(_0x590a34){return new _0x222d1f(_0x590a34);},_0x222d1f['encode']=function(_0x4bc5bb,_0x307f82){if(_0x307f82||(_0x307f82=_0x5eaf50['create']()),null!=_0x4bc5bb['id']&&Object['hasOwnProperty']['call'](_0x4bc5bb,'id')&&_0x307f82['uint32'](0xa)['string'](_0x4bc5bb['id']),null!=_0x4bc5bb['userId']&&Object['hasOwnProperty']['call'](_0x4bc5bb,'userId')&&_0x307f82['uint32'](0x12)['string'](_0x4bc5bb['userId']),null!=_0x4bc5bb['role']&&Object['hasOwnProperty']['call'](_0x4bc5bb,'role')&&_0x307f82['uint32'](0x1a)['string'](_0x4bc5bb['role']),null!=_0x4bc5bb['permissions']&&_0x4bc5bb['permissions']['length']){for(var _0x56e558=0x0;_0x56e558<_0x4bc5bb['permissions']['length'];++_0x56e558)_0x307f82['uint32'](0x22)['string'](_0x4bc5bb['permissions'][_0x56e558]);}return _0x307f82;},_0x222d1f['encodeDelimited']=function(_0x4ac4ac,_0x1ce318){return this['encode'](_0x4ac4ac,_0x1ce318)['ldelim']();},_0x222d1f['decode']=function(_0x257e5d,_0x183105,_0x5507ea){_0x257e5d instanceof _0x22a542||(_0x257e5d=_0x22a542['create'](_0x257e5d));for(var _0x2222bd=void 0x0===_0x183105?_0x257e5d['len']:_0x257e5d['pos']+_0x183105,_0x13470e=new _0xe33dea['SocketConnectMessage']();_0x257e5d['pos']<_0x2222bd;){var _0x5ebaee=_0x257e5d['uint32']();if(_0x5ebaee===_0x5507ea)break;switch(_0x5ebaee>>>0x3){case 0x1:_0x13470e['id']=_0x257e5d['string']();break;case 0x2:_0x13470e['userId']=_0x257e5d['string']();break;case 0x3:_0x13470e['role']=_0x257e5d['string']();break;case 0x4:_0x13470e['permissions']&&_0x13470e['permissions']['length']||(_0x13470e['permissions']=[]),_0x13470e['permissions']['push'](_0x257e5d['string']());break;default:_0x257e5d['skipType'](0x7&_0x5ebaee);}}return _0x13470e;},_0x222d1f['decodeDelimited']=function(_0xa6c360){return _0xa6c360 instanceof _0x22a542||(_0xa6c360=new _0x22a542(_0xa6c360)),this['decode'](_0xa6c360,_0xa6c360['uint32']());},_0x222d1f['verify']=function(_0x203050){if('object'!=typeof _0x203050||null===_0x203050)return'object\x20expected';if(null!=_0x203050['id']&&_0x203050['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x203050['id']))return'id:\x20string\x20expected';if(null!=_0x203050['userId']&&_0x203050['hasOwnProperty']('userId')&&!_0xcc5beb['isString'](_0x203050['userId']))return'userId:\x20string\x20expected';if(null!=_0x203050['role']&&_0x203050['hasOwnProperty']('role')&&!_0xcc5beb['isString'](_0x203050['role']))return'role:\x20string\x20expected';if(null!=_0x203050['permissions']&&_0x203050['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x203050['permissions']))return'permissions:\x20array\x20expected';for(var _0x5a98f8=0x0;_0x5a98f8<_0x203050['permissions']['length'];++_0x5a98f8)if(!_0xcc5beb['isString'](_0x203050['permissions'][_0x5a98f8]))return'permissions:\x20string[]\x20expected';}return null;},_0x222d1f['fromObject']=function(_0x395abe){if(_0x395abe instanceof _0xe33dea['SocketConnectMessage'])return _0x395abe;var _0x3dbfdf=new _0xe33dea['SocketConnectMessage']();if(null!=_0x395abe['id']&&(_0x3dbfdf['id']=String(_0x395abe['id'])),null!=_0x395abe['userId']&&(_0x3dbfdf['userId']=String(_0x395abe['userId'])),null!=_0x395abe['role']&&(_0x3dbfdf['role']=String(_0x395abe['role'])),_0x395abe['permissions']){if(!Array['isArray'](_0x395abe['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3dbfdf['permissions']=[];for(var _0x522f01=0x0;_0x522f01<_0x395abe['permissions']['length'];++_0x522f01)_0x3dbfdf['permissions'][_0x522f01]=String(_0x395abe['permissions'][_0x522f01]);}return _0x3dbfdf;},_0x222d1f['toObject']=function(_0x32f210,_0x25cfee){_0x25cfee||(_0x25cfee={});var _0x58c42f={};if((_0x25cfee['arrays']||_0x25cfee['defaults'])&&(_0x58c42f['permissions']=[]),_0x25cfee['defaults']&&(_0x58c42f['id']='',_0x58c42f['userId']='',_0x58c42f['role']=''),null!=_0x32f210['id']&&_0x32f210['hasOwnProperty']('id')&&(_0x58c42f['id']=_0x32f210['id']),null!=_0x32f210['userId']&&_0x32f210['hasOwnProperty']('userId')&&(_0x58c42f['userId']=_0x32f210['userId']),null!=_0x32f210['role']&&_0x32f210['hasOwnProperty']('role')&&(_0x58c42f['role']=_0x32f210['role']),_0x32f210['permissions']&&_0x32f210['permissions']['length']){_0x58c42f['permissions']=[];for(var _0x515cc0=0x0;_0x515cc0<_0x32f210['permissions']['length'];++_0x515cc0)_0x58c42f['permissions'][_0x515cc0]=_0x32f210['permissions'][_0x515cc0];}return _0x58c42f;},_0x222d1f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x222d1f['getTypeUrl']=function(_0x3b6d29){return void 0x0===_0x3b6d29&&(_0x3b6d29='type.googleapis.com'),_0x3b6d29+'/SocketConnectMessage';},_0x222d1f;}()),_0xe33dea['SessionsConnectMessage']=(function(){function _0x15d208(_0x593378){if(_0x593378){for(var _0x4c7867=Object['keys'](_0x593378),_0x4313d1=0x0;_0x4313d1<_0x4c7867['length'];++_0x4313d1)null!=_0x593378[_0x4c7867[_0x4313d1]]&&(this[_0x4c7867[_0x4313d1]]=_0x593378[_0x4c7867[_0x4313d1]]);}}return _0x15d208['prototype']['id']='',_0x15d208['prototype']['sessionType']=0x0,_0x15d208['create']=function(_0x4c958b){return new _0x15d208(_0x4c958b);},_0x15d208['encode']=function(_0x309a12,_0xe1f6dc){return _0xe1f6dc||(_0xe1f6dc=_0x5eaf50['create']()),null!=_0x309a12['id']&&Object['hasOwnProperty']['call'](_0x309a12,'id')&&_0xe1f6dc['uint32'](0xa)['string'](_0x309a12['id']),null!=_0x309a12['sessionType']&&Object['hasOwnProperty']['call'](_0x309a12,'sessionType')&&_0xe1f6dc['uint32'](0x10)['uint32'](_0x309a12['sessionType']),_0xe1f6dc;},_0x15d208['encodeDelimited']=function(_0x1b8fd5,_0x3f6419){return this['encode'](_0x1b8fd5,_0x3f6419)['ldelim']();},_0x15d208['decode']=function(_0x42154c,_0x3ab5fd,_0x32c3bb){_0x42154c instanceof _0x22a542||(_0x42154c=_0x22a542['create'](_0x42154c));for(var _0x1795d4=void 0x0===_0x3ab5fd?_0x42154c['len']:_0x42154c['pos']+_0x3ab5fd,_0x32b366=new _0xe33dea['SessionsConnectMessage']();_0x42154c['pos']<_0x1795d4;){var _0x3a2bc5=_0x42154c['uint32']();if(_0x3a2bc5===_0x32c3bb)break;switch(_0x3a2bc5>>>0x3){case 0x1:_0x32b366['id']=_0x42154c['string']();break;case 0x2:_0x32b366['sessionType']=_0x42154c['uint32']();break;default:_0x42154c['skipType'](0x7&_0x3a2bc5);}}return _0x32b366;},_0x15d208['decodeDelimited']=function(_0x25eb64){return _0x25eb64 instanceof _0x22a542||(_0x25eb64=new _0x22a542(_0x25eb64)),this['decode'](_0x25eb64,_0x25eb64['uint32']());},_0x15d208['verify']=function(_0x14f990){return'object'!=typeof _0x14f990||null===_0x14f990?'object\x20expected':null!=_0x14f990['id']&&_0x14f990['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x14f990['id'])?'id:\x20string\x20expected':null!=_0x14f990['sessionType']&&_0x14f990['hasOwnProperty']('sessionType')&&!_0xcc5beb['isInteger'](_0x14f990['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x15d208['fromObject']=function(_0x64969c){if(_0x64969c instanceof _0xe33dea['SessionsConnectMessage'])return _0x64969c;var _0x4739d9=new _0xe33dea['SessionsConnectMessage']();return null!=_0x64969c['id']&&(_0x4739d9['id']=String(_0x64969c['id'])),null!=_0x64969c['sessionType']&&(_0x4739d9['sessionType']=_0x64969c['sessionType']>>>0x0),_0x4739d9;},_0x15d208['toObject']=function(_0x23a3e2,_0x29ce65){_0x29ce65||(_0x29ce65={});var _0x5a147e={};return _0x29ce65['defaults']&&(_0x5a147e['id']='',_0x5a147e['sessionType']=0x0),null!=_0x23a3e2['id']&&_0x23a3e2['hasOwnProperty']('id')&&(_0x5a147e['id']=_0x23a3e2['id']),null!=_0x23a3e2['sessionType']&&_0x23a3e2['hasOwnProperty']('sessionType')&&(_0x5a147e['sessionType']=_0x23a3e2['sessionType']),_0x5a147e;},_0x15d208['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x15d208['getTypeUrl']=function(_0x1eef0){return void 0x0===_0x1eef0&&(_0x1eef0='type.googleapis.com'),_0x1eef0+'/SessionsConnectMessage';},_0x15d208;}()),_0xe33dea['SessionsSocketDescriptor']=(function(){function _0x132db6(_0x317264){if(this['permissions']=[],_0x317264){for(var _0x50495c=Object['keys'](_0x317264),_0x43a857=0x0;_0x43a857<_0x50495c['length'];++_0x43a857)null!=_0x317264[_0x50495c[_0x43a857]]&&(this[_0x50495c[_0x43a857]]=_0x317264[_0x50495c[_0x43a857]]);}}return _0x132db6['prototype']['session']='',_0x132db6['prototype']['user']='',_0x132db6['prototype']['role']='',_0x132db6['prototype']['permissions']=_0xcc5beb['emptyArray'],_0x132db6['create']=function(_0x5bdbe2){return new _0x132db6(_0x5bdbe2);},_0x132db6['encode']=function(_0x494e0d,_0xcf38c){if(_0xcf38c||(_0xcf38c=_0x5eaf50['create']()),null!=_0x494e0d['session']&&Object['hasOwnProperty']['call'](_0x494e0d,'session')&&_0xcf38c['uint32'](0xa)['string'](_0x494e0d['session']),null!=_0x494e0d['user']&&Object['hasOwnProperty']['call'](_0x494e0d,'user')&&_0xcf38c['uint32'](0x12)['string'](_0x494e0d['user']),null!=_0x494e0d['role']&&Object['hasOwnProperty']['call'](_0x494e0d,'role')&&_0xcf38c['uint32'](0x1a)['string'](_0x494e0d['role']),null!=_0x494e0d['permissions']&&_0x494e0d['permissions']['length']){for(var _0x3bb480=0x0;_0x3bb480<_0x494e0d['permissions']['length'];++_0x3bb480)_0xcf38c['uint32'](0x22)['string'](_0x494e0d['permissions'][_0x3bb480]);}return _0xcf38c;},_0x132db6['encodeDelimited']=function(_0x418211,_0x3c15cc){return this['encode'](_0x418211,_0x3c15cc)['ldelim']();},_0x132db6['decode']=function(_0x119de2,_0x476fb4,_0x8a804b){_0x119de2 instanceof _0x22a542||(_0x119de2=_0x22a542['create'](_0x119de2));for(var _0x11ae3b=void 0x0===_0x476fb4?_0x119de2['len']:_0x119de2['pos']+_0x476fb4,_0x9d448d=new _0xe33dea['SessionsSocketDescriptor']();_0x119de2['pos']<_0x11ae3b;){var _0x104ee9=_0x119de2['uint32']();if(_0x104ee9===_0x8a804b)break;switch(_0x104ee9>>>0x3){case 0x1:_0x9d448d['session']=_0x119de2['string']();break;case 0x2:_0x9d448d['user']=_0x119de2['string']();break;case 0x3:_0x9d448d['role']=_0x119de2['string']();break;case 0x4:_0x9d448d['permissions']&&_0x9d448d['permissions']['length']||(_0x9d448d['permissions']=[]),_0x9d448d['permissions']['push'](_0x119de2['string']());break;default:_0x119de2['skipType'](0x7&_0x104ee9);}}return _0x9d448d;},_0x132db6['decodeDelimited']=function(_0x4425cc){return _0x4425cc instanceof _0x22a542||(_0x4425cc=new _0x22a542(_0x4425cc)),this['decode'](_0x4425cc,_0x4425cc['uint32']());},_0x132db6['verify']=function(_0x5c678c){if('object'!=typeof _0x5c678c||null===_0x5c678c)return'object\x20expected';if(null!=_0x5c678c['session']&&_0x5c678c['hasOwnProperty']('session')&&!_0xcc5beb['isString'](_0x5c678c['session']))return'session:\x20string\x20expected';if(null!=_0x5c678c['user']&&_0x5c678c['hasOwnProperty']('user')&&!_0xcc5beb['isString'](_0x5c678c['user']))return'user:\x20string\x20expected';if(null!=_0x5c678c['role']&&_0x5c678c['hasOwnProperty']('role')&&!_0xcc5beb['isString'](_0x5c678c['role']))return'role:\x20string\x20expected';if(null!=_0x5c678c['permissions']&&_0x5c678c['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x5c678c['permissions']))return'permissions:\x20array\x20expected';for(var _0x5082b5=0x0;_0x5082b5<_0x5c678c['permissions']['length'];++_0x5082b5)if(!_0xcc5beb['isString'](_0x5c678c['permissions'][_0x5082b5]))return'permissions:\x20string[]\x20expected';}return null;},_0x132db6['fromObject']=function(_0x1d46c3){if(_0x1d46c3 instanceof _0xe33dea['SessionsSocketDescriptor'])return _0x1d46c3;var _0x559101=new _0xe33dea['SessionsSocketDescriptor']();if(null!=_0x1d46c3['session']&&(_0x559101['session']=String(_0x1d46c3['session'])),null!=_0x1d46c3['user']&&(_0x559101['user']=String(_0x1d46c3['user'])),null!=_0x1d46c3['role']&&(_0x559101['role']=String(_0x1d46c3['role'])),_0x1d46c3['permissions']){if(!Array['isArray'](_0x1d46c3['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x559101['permissions']=[];for(var _0x34a4a9=0x0;_0x34a4a9<_0x1d46c3['permissions']['length'];++_0x34a4a9)_0x559101['permissions'][_0x34a4a9]=String(_0x1d46c3['permissions'][_0x34a4a9]);}return _0x559101;},_0x132db6['toObject']=function(_0xc7e5ab,_0x14c72c){_0x14c72c||(_0x14c72c={});var _0x1c6899={};if((_0x14c72c['arrays']||_0x14c72c['defaults'])&&(_0x1c6899['permissions']=[]),_0x14c72c['defaults']&&(_0x1c6899['session']='',_0x1c6899['user']='',_0x1c6899['role']=''),null!=_0xc7e5ab['session']&&_0xc7e5ab['hasOwnProperty']('session')&&(_0x1c6899['session']=_0xc7e5ab['session']),null!=_0xc7e5ab['user']&&_0xc7e5ab['hasOwnProperty']('user')&&(_0x1c6899['user']=_0xc7e5ab['user']),null!=_0xc7e5ab['role']&&_0xc7e5ab['hasOwnProperty']('role')&&(_0x1c6899['role']=_0xc7e5ab['role']),_0xc7e5ab['permissions']&&_0xc7e5ab['permissions']['length']){_0x1c6899['permissions']=[];for(var _0x30a79f=0x0;_0x30a79f<_0xc7e5ab['permissions']['length'];++_0x30a79f)_0x1c6899['permissions'][_0x30a79f]=_0xc7e5ab['permissions'][_0x30a79f];}return _0x1c6899;},_0x132db6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x132db6['getTypeUrl']=function(_0x130639){return void 0x0===_0x130639&&(_0x130639='type.googleapis.com'),_0x130639+'/SessionsSocketDescriptor';},_0x132db6;}()),_0xe33dea['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x3039f6(_0x66972b){if(_0x66972b){for(var _0x66c1de=Object['keys'](_0x66972b),_0x2c8668=0x0;_0x2c8668<_0x66c1de['length'];++_0x2c8668)null!=_0x66972b[_0x66c1de[_0x2c8668]]&&(this[_0x66c1de[_0x2c8668]]=_0x66972b[_0x66c1de[_0x2c8668]]);}}return _0x3039f6['prototype']['requestId']=0x0,_0x3039f6['create']=function(_0x36973b){return new _0x3039f6(_0x36973b);},_0x3039f6['encode']=function(_0x36f267,_0x4372b8){return _0x4372b8||(_0x4372b8=_0x5eaf50['create']()),null!=_0x36f267['requestId']&&Object['hasOwnProperty']['call'](_0x36f267,'requestId')&&_0x4372b8['uint32'](0x8)['uint32'](_0x36f267['requestId']),_0x4372b8;},_0x3039f6['encodeDelimited']=function(_0x6e9f9c,_0x24226a){return this['encode'](_0x6e9f9c,_0x24226a)['ldelim']();},_0x3039f6['decode']=function(_0x58f3df,_0x59e514,_0x170651){_0x58f3df instanceof _0x22a542||(_0x58f3df=_0x22a542['create'](_0x58f3df));for(var _0x1d28d8=void 0x0===_0x59e514?_0x58f3df['len']:_0x58f3df['pos']+_0x59e514,_0x53d17d=new _0xe33dea['RevisionHistoryUpdateRevisionsResponse']();_0x58f3df['pos']<_0x1d28d8;){var _0x26bc3a=_0x58f3df['uint32']();if(_0x26bc3a===_0x170651)break;_0x26bc3a>>>0x3==0x1?_0x53d17d['requestId']=_0x58f3df['uint32']():_0x58f3df['skipType'](0x7&_0x26bc3a);}return _0x53d17d;},_0x3039f6['decodeDelimited']=function(_0x3c4883){return _0x3c4883 instanceof _0x22a542||(_0x3c4883=new _0x22a542(_0x3c4883)),this['decode'](_0x3c4883,_0x3c4883['uint32']());},_0x3039f6['verify']=function(_0x9cdf51){return'object'!=typeof _0x9cdf51||null===_0x9cdf51?'object\x20expected':null!=_0x9cdf51['requestId']&&_0x9cdf51['hasOwnProperty']('requestId')&&!_0xcc5beb['isInteger'](_0x9cdf51['requestId'])?'requestId:\x20integer\x20expected':null;},_0x3039f6['fromObject']=function(_0x2a2179){if(_0x2a2179 instanceof _0xe33dea['RevisionHistoryUpdateRevisionsResponse'])return _0x2a2179;var _0x402291=new _0xe33dea['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x2a2179['requestId']&&(_0x402291['requestId']=_0x2a2179['requestId']>>>0x0),_0x402291;},_0x3039f6['toObject']=function(_0x38c42e,_0x29ffb0){_0x29ffb0||(_0x29ffb0={});var _0x55871d={};return _0x29ffb0['defaults']&&(_0x55871d['requestId']=0x0),null!=_0x38c42e['requestId']&&_0x38c42e['hasOwnProperty']('requestId')&&(_0x55871d['requestId']=_0x38c42e['requestId']),_0x55871d;},_0x3039f6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3039f6['getTypeUrl']=function(_0xda9bcc){return void 0x0===_0xda9bcc&&(_0xda9bcc='type.googleapis.com'),_0xda9bcc+'/RevisionHistoryUpdateRevisionsResponse';},_0x3039f6;}()),_0xe33dea['RevisionHistoryGetRevisionResponse']=(function(){function _0x362b5f(_0x52f08f){if(_0x52f08f){for(var _0x1a1756=Object['keys'](_0x52f08f),_0x3e1161=0x0;_0x3e1161<_0x1a1756['length'];++_0x3e1161)null!=_0x52f08f[_0x1a1756[_0x3e1161]]&&(this[_0x1a1756[_0x3e1161]]=_0x52f08f[_0x1a1756[_0x3e1161]]);}}return _0x362b5f['prototype']['revisionId']='',_0x362b5f['prototype']['name']='',_0x362b5f['prototype']['creatorId']='',_0x362b5f['prototype']['authorsIds']='',_0x362b5f['prototype']['diffData']='',_0x362b5f['prototype']['createdAt']='',_0x362b5f['prototype']['attributes']='',_0x362b5f['prototype']['toVersion']=0x0,_0x362b5f['prototype']['fromVersion']=0x0,_0x362b5f['prototype']['isEmptyCurrent']=!0x1,_0x362b5f['create']=function(_0x34b840){return new _0x362b5f(_0x34b840);},_0x362b5f['encode']=function(_0x19440c,_0xd8ae0){return _0xd8ae0||(_0xd8ae0=_0x5eaf50['create']()),null!=_0x19440c['revisionId']&&Object['hasOwnProperty']['call'](_0x19440c,'revisionId')&&_0xd8ae0['uint32'](0xa)['string'](_0x19440c['revisionId']),null!=_0x19440c['name']&&Object['hasOwnProperty']['call'](_0x19440c,'name')&&_0xd8ae0['uint32'](0x12)['string'](_0x19440c['name']),null!=_0x19440c['creatorId']&&Object['hasOwnProperty']['call'](_0x19440c,'creatorId')&&_0xd8ae0['uint32'](0x1a)['string'](_0x19440c['creatorId']),null!=_0x19440c['authorsIds']&&Object['hasOwnProperty']['call'](_0x19440c,'authorsIds')&&_0xd8ae0['uint32'](0x22)['string'](_0x19440c['authorsIds']),null!=_0x19440c['diffData']&&Object['hasOwnProperty']['call'](_0x19440c,'diffData')&&_0xd8ae0['uint32'](0x2a)['string'](_0x19440c['diffData']),null!=_0x19440c['createdAt']&&Object['hasOwnProperty']['call'](_0x19440c,'createdAt')&&_0xd8ae0['uint32'](0x32)['string'](_0x19440c['createdAt']),null!=_0x19440c['attributes']&&Object['hasOwnProperty']['call'](_0x19440c,'attributes')&&_0xd8ae0['uint32'](0x3a)['string'](_0x19440c['attributes']),null!=_0x19440c['toVersion']&&Object['hasOwnProperty']['call'](_0x19440c,'toVersion')&&_0xd8ae0['uint32'](0x40)['uint32'](_0x19440c['toVersion']),null!=_0x19440c['fromVersion']&&Object['hasOwnProperty']['call'](_0x19440c,'fromVersion')&&_0xd8ae0['uint32'](0x48)['uint32'](_0x19440c['fromVersion']),null!=_0x19440c['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x19440c,'isEmptyCurrent')&&_0xd8ae0['uint32'](0x50)['bool'](_0x19440c['isEmptyCurrent']),_0xd8ae0;},_0x362b5f['encodeDelimited']=function(_0xeaa7b2,_0x6953f2){return this['encode'](_0xeaa7b2,_0x6953f2)['ldelim']();},_0x362b5f['decode']=function(_0x3b529f,_0x29cefd,_0x1da066){_0x3b529f instanceof _0x22a542||(_0x3b529f=_0x22a542['create'](_0x3b529f));for(var _0x55b32a=void 0x0===_0x29cefd?_0x3b529f['len']:_0x3b529f['pos']+_0x29cefd,_0x370e90=new _0xe33dea['RevisionHistoryGetRevisionResponse']();_0x3b529f['pos']<_0x55b32a;){var _0x1ea087=_0x3b529f['uint32']();if(_0x1ea087===_0x1da066)break;switch(_0x1ea087>>>0x3){case 0x1:_0x370e90['revisionId']=_0x3b529f['string']();break;case 0x2:_0x370e90['name']=_0x3b529f['string']();break;case 0x3:_0x370e90['creatorId']=_0x3b529f['string']();break;case 0x4:_0x370e90['authorsIds']=_0x3b529f['string']();break;case 0x5:_0x370e90['diffData']=_0x3b529f['string']();break;case 0x6:_0x370e90['createdAt']=_0x3b529f['string']();break;case 0x7:_0x370e90['attributes']=_0x3b529f['string']();break;case 0x8:_0x370e90['toVersion']=_0x3b529f['uint32']();break;case 0x9:_0x370e90['fromVersion']=_0x3b529f['uint32']();break;case 0xa:_0x370e90['isEmptyCurrent']=_0x3b529f['bool']();break;default:_0x3b529f['skipType'](0x7&_0x1ea087);}}return _0x370e90;},_0x362b5f['decodeDelimited']=function(_0x322481){return _0x322481 instanceof _0x22a542||(_0x322481=new _0x22a542(_0x322481)),this['decode'](_0x322481,_0x322481['uint32']());},_0x362b5f['verify']=function(_0x4e1f59){return'object'!=typeof _0x4e1f59||null===_0x4e1f59?'object\x20expected':null!=_0x4e1f59['revisionId']&&_0x4e1f59['hasOwnProperty']('revisionId')&&!_0xcc5beb['isString'](_0x4e1f59['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x4e1f59['name']&&_0x4e1f59['hasOwnProperty']('name')&&!_0xcc5beb['isString'](_0x4e1f59['name'])?'name:\x20string\x20expected':null!=_0x4e1f59['creatorId']&&_0x4e1f59['hasOwnProperty']('creatorId')&&!_0xcc5beb['isString'](_0x4e1f59['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x4e1f59['authorsIds']&&_0x4e1f59['hasOwnProperty']('authorsIds')&&!_0xcc5beb['isString'](_0x4e1f59['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x4e1f59['diffData']&&_0x4e1f59['hasOwnProperty']('diffData')&&!_0xcc5beb['isString'](_0x4e1f59['diffData'])?'diffData:\x20string\x20expected':null!=_0x4e1f59['createdAt']&&_0x4e1f59['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x4e1f59['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4e1f59['attributes']&&_0x4e1f59['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x4e1f59['attributes'])?'attributes:\x20string\x20expected':null!=_0x4e1f59['toVersion']&&_0x4e1f59['hasOwnProperty']('toVersion')&&!_0xcc5beb['isInteger'](_0x4e1f59['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x4e1f59['fromVersion']&&_0x4e1f59['hasOwnProperty']('fromVersion')&&!_0xcc5beb['isInteger'](_0x4e1f59['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x4e1f59['isEmptyCurrent']&&_0x4e1f59['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x4e1f59['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x362b5f['fromObject']=function(_0x1b5b1d){if(_0x1b5b1d instanceof _0xe33dea['RevisionHistoryGetRevisionResponse'])return _0x1b5b1d;var _0x546da8=new _0xe33dea['RevisionHistoryGetRevisionResponse']();return null!=_0x1b5b1d['revisionId']&&(_0x546da8['revisionId']=String(_0x1b5b1d['revisionId'])),null!=_0x1b5b1d['name']&&(_0x546da8['name']=String(_0x1b5b1d['name'])),null!=_0x1b5b1d['creatorId']&&(_0x546da8['creatorId']=String(_0x1b5b1d['creatorId'])),null!=_0x1b5b1d['authorsIds']&&(_0x546da8['authorsIds']=String(_0x1b5b1d['authorsIds'])),null!=_0x1b5b1d['diffData']&&(_0x546da8['diffData']=String(_0x1b5b1d['diffData'])),null!=_0x1b5b1d['createdAt']&&(_0x546da8['createdAt']=String(_0x1b5b1d['createdAt'])),null!=_0x1b5b1d['attributes']&&(_0x546da8['attributes']=String(_0x1b5b1d['attributes'])),null!=_0x1b5b1d['toVersion']&&(_0x546da8['toVersion']=_0x1b5b1d['toVersion']>>>0x0),null!=_0x1b5b1d['fromVersion']&&(_0x546da8['fromVersion']=_0x1b5b1d['fromVersion']>>>0x0),null!=_0x1b5b1d['isEmptyCurrent']&&(_0x546da8['isEmptyCurrent']=Boolean(_0x1b5b1d['isEmptyCurrent'])),_0x546da8;},_0x362b5f['toObject']=function(_0x2b07a2,_0xba24df){_0xba24df||(_0xba24df={});var _0x59c7e1={};return _0xba24df['defaults']&&(_0x59c7e1['revisionId']='',_0x59c7e1['name']='',_0x59c7e1['creatorId']='',_0x59c7e1['authorsIds']='',_0x59c7e1['diffData']='',_0x59c7e1['createdAt']='',_0x59c7e1['attributes']='',_0x59c7e1['toVersion']=0x0,_0x59c7e1['fromVersion']=0x0,_0x59c7e1['isEmptyCurrent']=!0x1),null!=_0x2b07a2['revisionId']&&_0x2b07a2['hasOwnProperty']('revisionId')&&(_0x59c7e1['revisionId']=_0x2b07a2['revisionId']),null!=_0x2b07a2['name']&&_0x2b07a2['hasOwnProperty']('name')&&(_0x59c7e1['name']=_0x2b07a2['name']),null!=_0x2b07a2['creatorId']&&_0x2b07a2['hasOwnProperty']('creatorId')&&(_0x59c7e1['creatorId']=_0x2b07a2['creatorId']),null!=_0x2b07a2['authorsIds']&&_0x2b07a2['hasOwnProperty']('authorsIds')&&(_0x59c7e1['authorsIds']=_0x2b07a2['authorsIds']),null!=_0x2b07a2['diffData']&&_0x2b07a2['hasOwnProperty']('diffData')&&(_0x59c7e1['diffData']=_0x2b07a2['diffData']),null!=_0x2b07a2['createdAt']&&_0x2b07a2['hasOwnProperty']('createdAt')&&(_0x59c7e1['createdAt']=_0x2b07a2['createdAt']),null!=_0x2b07a2['attributes']&&_0x2b07a2['hasOwnProperty']('attributes')&&(_0x59c7e1['attributes']=_0x2b07a2['attributes']),null!=_0x2b07a2['toVersion']&&_0x2b07a2['hasOwnProperty']('toVersion')&&(_0x59c7e1['toVersion']=_0x2b07a2['toVersion']),null!=_0x2b07a2['fromVersion']&&_0x2b07a2['hasOwnProperty']('fromVersion')&&(_0x59c7e1['fromVersion']=_0x2b07a2['fromVersion']),null!=_0x2b07a2['isEmptyCurrent']&&_0x2b07a2['hasOwnProperty']('isEmptyCurrent')&&(_0x59c7e1['isEmptyCurrent']=_0x2b07a2['isEmptyCurrent']),_0x59c7e1;},_0x362b5f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x362b5f['getTypeUrl']=function(_0x1dc4f2){return void 0x0===_0x1dc4f2&&(_0x1dc4f2='type.googleapis.com'),_0x1dc4f2+'/RevisionHistoryGetRevisionResponse';},_0x362b5f;}()),_0xe33dea['RevisionHistoryConnectResponse']=(function(){function _0xbd3dfd(_0x3b2bf4){if(this['revisions']=[],_0x3b2bf4){for(var _0x4c2497=Object['keys'](_0x3b2bf4),_0x5899e3=0x0;_0x5899e3<_0x4c2497['length'];++_0x5899e3)null!=_0x3b2bf4[_0x4c2497[_0x5899e3]]&&(this[_0x4c2497[_0x5899e3]]=_0x3b2bf4[_0x4c2497[_0x5899e3]]);}}return _0xbd3dfd['prototype']['channel']='',_0xbd3dfd['prototype']['requestId']=0x0,_0xbd3dfd['prototype']['revisions']=_0xcc5beb['emptyArray'],_0xbd3dfd['create']=function(_0x4454ab){return new _0xbd3dfd(_0x4454ab);},_0xbd3dfd['encode']=function(_0x2bbe7f,_0x310530){if(_0x310530||(_0x310530=_0x5eaf50['create']()),null!=_0x2bbe7f['channel']&&Object['hasOwnProperty']['call'](_0x2bbe7f,'channel')&&_0x310530['uint32'](0xa)['string'](_0x2bbe7f['channel']),null!=_0x2bbe7f['requestId']&&Object['hasOwnProperty']['call'](_0x2bbe7f,'requestId')&&_0x310530['uint32'](0x10)['uint32'](_0x2bbe7f['requestId']),null!=_0x2bbe7f['revisions']&&_0x2bbe7f['revisions']['length']){for(var _0x4f4e8e=0x0;_0x4f4e8e<_0x2bbe7f['revisions']['length'];++_0x4f4e8e)_0xe33dea['RevisionDescriptor']['encode'](_0x2bbe7f['revisions'][_0x4f4e8e],_0x310530['uint32'](0x1a)['fork']())['ldelim']();}return _0x310530;},_0xbd3dfd['encodeDelimited']=function(_0x50ad38,_0x579612){return this['encode'](_0x50ad38,_0x579612)['ldelim']();},_0xbd3dfd['decode']=function(_0x55af87,_0x108d34,_0x48ec51){_0x55af87 instanceof _0x22a542||(_0x55af87=_0x22a542['create'](_0x55af87));for(var _0x43ff81=void 0x0===_0x108d34?_0x55af87['len']:_0x55af87['pos']+_0x108d34,_0x2cab55=new _0xe33dea['RevisionHistoryConnectResponse']();_0x55af87['pos']<_0x43ff81;){var _0x245315=_0x55af87['uint32']();if(_0x245315===_0x48ec51)break;switch(_0x245315>>>0x3){case 0x1:_0x2cab55['channel']=_0x55af87['string']();break;case 0x2:_0x2cab55['requestId']=_0x55af87['uint32']();break;case 0x3:_0x2cab55['revisions']&&_0x2cab55['revisions']['length']||(_0x2cab55['revisions']=[]),_0x2cab55['revisions']['push'](_0xe33dea['RevisionDescriptor']['decode'](_0x55af87,_0x55af87['uint32']()));break;default:_0x55af87['skipType'](0x7&_0x245315);}}return _0x2cab55;},_0xbd3dfd['decodeDelimited']=function(_0x5d9790){return _0x5d9790 instanceof _0x22a542||(_0x5d9790=new _0x22a542(_0x5d9790)),this['decode'](_0x5d9790,_0x5d9790['uint32']());},_0xbd3dfd['verify']=function(_0x1fb9c9){if('object'!=typeof _0x1fb9c9||null===_0x1fb9c9)return'object\x20expected';if(null!=_0x1fb9c9['channel']&&_0x1fb9c9['hasOwnProperty']('channel')&&!_0xcc5beb['isString'](_0x1fb9c9['channel']))return'channel:\x20string\x20expected';if(null!=_0x1fb9c9['requestId']&&_0x1fb9c9['hasOwnProperty']('requestId')&&!_0xcc5beb['isInteger'](_0x1fb9c9['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x1fb9c9['revisions']&&_0x1fb9c9['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x1fb9c9['revisions']))return'revisions:\x20array\x20expected';for(var _0x314c0d=0x0;_0x314c0d<_0x1fb9c9['revisions']['length'];++_0x314c0d){var _0x2b052a=_0xe33dea['RevisionDescriptor']['verify'](_0x1fb9c9['revisions'][_0x314c0d]);if(_0x2b052a)return'revisions.'+_0x2b052a;}}return null;},_0xbd3dfd['fromObject']=function(_0x1c45a1){if(_0x1c45a1 instanceof _0xe33dea['RevisionHistoryConnectResponse'])return _0x1c45a1;var _0x266577=new _0xe33dea['RevisionHistoryConnectResponse']();if(null!=_0x1c45a1['channel']&&(_0x266577['channel']=String(_0x1c45a1['channel'])),null!=_0x1c45a1['requestId']&&(_0x266577['requestId']=_0x1c45a1['requestId']>>>0x0),_0x1c45a1['revisions']){if(!Array['isArray'](_0x1c45a1['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x266577['revisions']=[];for(var _0x4447b0=0x0;_0x4447b0<_0x1c45a1['revisions']['length'];++_0x4447b0){if('object'!=typeof _0x1c45a1['revisions'][_0x4447b0])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x266577['revisions'][_0x4447b0]=_0xe33dea['RevisionDescriptor']['fromObject'](_0x1c45a1['revisions'][_0x4447b0]);}}return _0x266577;},_0xbd3dfd['toObject']=function(_0x516580,_0xf6ea25){_0xf6ea25||(_0xf6ea25={});var _0x37d643={};if((_0xf6ea25['arrays']||_0xf6ea25['defaults'])&&(_0x37d643['revisions']=[]),_0xf6ea25['defaults']&&(_0x37d643['channel']='',_0x37d643['requestId']=0x0),null!=_0x516580['channel']&&_0x516580['hasOwnProperty']('channel')&&(_0x37d643['channel']=_0x516580['channel']),null!=_0x516580['requestId']&&_0x516580['hasOwnProperty']('requestId')&&(_0x37d643['requestId']=_0x516580['requestId']),_0x516580['revisions']&&_0x516580['revisions']['length']){_0x37d643['revisions']=[];for(var _0x1ffbc8=0x0;_0x1ffbc8<_0x516580['revisions']['length'];++_0x1ffbc8)_0x37d643['revisions'][_0x1ffbc8]=_0xe33dea['RevisionDescriptor']['toObject'](_0x516580['revisions'][_0x1ffbc8],_0xf6ea25);}return _0x37d643;},_0xbd3dfd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xbd3dfd['getTypeUrl']=function(_0x2c4899){return void 0x0===_0x2c4899&&(_0x2c4899='type.googleapis.com'),_0x2c4899+'/RevisionHistoryConnectResponse';},_0xbd3dfd;}()),_0xe33dea['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x11d1c8(_0xbe974a){if(this['revisions']=[],_0xbe974a){for(var _0xe87df=Object['keys'](_0xbe974a),_0x5deb28=0x0;_0x5deb28<_0xe87df['length'];++_0x5deb28)null!=_0xbe974a[_0xe87df[_0x5deb28]]&&(this[_0xe87df[_0x5deb28]]=_0xbe974a[_0xe87df[_0x5deb28]]);}}return _0x11d1c8['prototype']['documentId']='',_0x11d1c8['prototype']['requestId']=0x0,_0x11d1c8['prototype']['revisions']=_0xcc5beb['emptyArray'],_0x11d1c8['create']=function(_0x2feb55){return new _0x11d1c8(_0x2feb55);},_0x11d1c8['encode']=function(_0x30a0fd,_0x3f971a){if(_0x3f971a||(_0x3f971a=_0x5eaf50['create']()),null!=_0x30a0fd['documentId']&&Object['hasOwnProperty']['call'](_0x30a0fd,'documentId')&&_0x3f971a['uint32'](0xa)['string'](_0x30a0fd['documentId']),null!=_0x30a0fd['requestId']&&Object['hasOwnProperty']['call'](_0x30a0fd,'requestId')&&_0x3f971a['uint32'](0x10)['uint32'](_0x30a0fd['requestId']),null!=_0x30a0fd['revisions']&&_0x30a0fd['revisions']['length']){for(var _0x1316be=0x0;_0x1316be<_0x30a0fd['revisions']['length'];++_0x1316be)_0xe33dea['RevisionDescriptor']['encode'](_0x30a0fd['revisions'][_0x1316be],_0x3f971a['uint32'](0x1a)['fork']())['ldelim']();}return _0x3f971a;},_0x11d1c8['encodeDelimited']=function(_0x304d62,_0x345c0a){return this['encode'](_0x304d62,_0x345c0a)['ldelim']();},_0x11d1c8['decode']=function(_0x10c281,_0x5b509a,_0x58f045){_0x10c281 instanceof _0x22a542||(_0x10c281=_0x22a542['create'](_0x10c281));for(var _0xd2b0a5=void 0x0===_0x5b509a?_0x10c281['len']:_0x10c281['pos']+_0x5b509a,_0xe17233=new _0xe33dea['RevisionHistoryUpdateRevisionsMessage']();_0x10c281['pos']<_0xd2b0a5;){var _0x3eae57=_0x10c281['uint32']();if(_0x3eae57===_0x58f045)break;switch(_0x3eae57>>>0x3){case 0x1:_0xe17233['documentId']=_0x10c281['string']();break;case 0x2:_0xe17233['requestId']=_0x10c281['uint32']();break;case 0x3:_0xe17233['revisions']&&_0xe17233['revisions']['length']||(_0xe17233['revisions']=[]),_0xe17233['revisions']['push'](_0xe33dea['RevisionDescriptor']['decode'](_0x10c281,_0x10c281['uint32']()));break;default:_0x10c281['skipType'](0x7&_0x3eae57);}}return _0xe17233;},_0x11d1c8['decodeDelimited']=function(_0x3f3ef9){return _0x3f3ef9 instanceof _0x22a542||(_0x3f3ef9=new _0x22a542(_0x3f3ef9)),this['decode'](_0x3f3ef9,_0x3f3ef9['uint32']());},_0x11d1c8['verify']=function(_0x4c7106){if('object'!=typeof _0x4c7106||null===_0x4c7106)return'object\x20expected';if(null!=_0x4c7106['documentId']&&_0x4c7106['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x4c7106['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4c7106['requestId']&&_0x4c7106['hasOwnProperty']('requestId')&&!_0xcc5beb['isInteger'](_0x4c7106['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x4c7106['revisions']&&_0x4c7106['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x4c7106['revisions']))return'revisions:\x20array\x20expected';for(var _0x433dde=0x0;_0x433dde<_0x4c7106['revisions']['length'];++_0x433dde){var _0x32dd50=_0xe33dea['RevisionDescriptor']['verify'](_0x4c7106['revisions'][_0x433dde]);if(_0x32dd50)return'revisions.'+_0x32dd50;}}return null;},_0x11d1c8['fromObject']=function(_0x346ac1){if(_0x346ac1 instanceof _0xe33dea['RevisionHistoryUpdateRevisionsMessage'])return _0x346ac1;var _0x1d7a66=new _0xe33dea['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x346ac1['documentId']&&(_0x1d7a66['documentId']=String(_0x346ac1['documentId'])),null!=_0x346ac1['requestId']&&(_0x1d7a66['requestId']=_0x346ac1['requestId']>>>0x0),_0x346ac1['revisions']){if(!Array['isArray'](_0x346ac1['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x1d7a66['revisions']=[];for(var _0x1a3455=0x0;_0x1a3455<_0x346ac1['revisions']['length'];++_0x1a3455){if('object'!=typeof _0x346ac1['revisions'][_0x1a3455])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x1d7a66['revisions'][_0x1a3455]=_0xe33dea['RevisionDescriptor']['fromObject'](_0x346ac1['revisions'][_0x1a3455]);}}return _0x1d7a66;},_0x11d1c8['toObject']=function(_0x26d0b0,_0x544399){_0x544399||(_0x544399={});var _0xb57330={};if((_0x544399['arrays']||_0x544399['defaults'])&&(_0xb57330['revisions']=[]),_0x544399['defaults']&&(_0xb57330['documentId']='',_0xb57330['requestId']=0x0),null!=_0x26d0b0['documentId']&&_0x26d0b0['hasOwnProperty']('documentId')&&(_0xb57330['documentId']=_0x26d0b0['documentId']),null!=_0x26d0b0['requestId']&&_0x26d0b0['hasOwnProperty']('requestId')&&(_0xb57330['requestId']=_0x26d0b0['requestId']),_0x26d0b0['revisions']&&_0x26d0b0['revisions']['length']){_0xb57330['revisions']=[];for(var _0x5bca9e=0x0;_0x5bca9e<_0x26d0b0['revisions']['length'];++_0x5bca9e)_0xb57330['revisions'][_0x5bca9e]=_0xe33dea['RevisionDescriptor']['toObject'](_0x26d0b0['revisions'][_0x5bca9e],_0x544399);}return _0xb57330;},_0x11d1c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x11d1c8['getTypeUrl']=function(_0xed73f2){return void 0x0===_0xed73f2&&(_0xed73f2='type.googleapis.com'),_0xed73f2+'/RevisionHistoryUpdateRevisionsMessage';},_0x11d1c8;}()),_0xe33dea['RevisionHistoryReconnectMessage']=(function(){function _0x324514(_0x50e072){if(_0x50e072){for(var _0x589ca9=Object['keys'](_0x50e072),_0x545be8=0x0;_0x545be8<_0x589ca9['length'];++_0x545be8)null!=_0x50e072[_0x589ca9[_0x545be8]]&&(this[_0x589ca9[_0x545be8]]=_0x50e072[_0x589ca9[_0x545be8]]);}}return _0x324514['prototype']['documentId']='',_0x324514['prototype']['requestId']=0x0,_0x324514['create']=function(_0x82bdde){return new _0x324514(_0x82bdde);},_0x324514['encode']=function(_0x2742f3,_0x2bf576){return _0x2bf576||(_0x2bf576=_0x5eaf50['create']()),null!=_0x2742f3['documentId']&&Object['hasOwnProperty']['call'](_0x2742f3,'documentId')&&_0x2bf576['uint32'](0xa)['string'](_0x2742f3['documentId']),null!=_0x2742f3['requestId']&&Object['hasOwnProperty']['call'](_0x2742f3,'requestId')&&_0x2bf576['uint32'](0x10)['uint32'](_0x2742f3['requestId']),_0x2bf576;},_0x324514['encodeDelimited']=function(_0x22825f,_0x54cd08){return this['encode'](_0x22825f,_0x54cd08)['ldelim']();},_0x324514['decode']=function(_0x3320fe,_0xbb7ced,_0x2f9ba7){_0x3320fe instanceof _0x22a542||(_0x3320fe=_0x22a542['create'](_0x3320fe));for(var _0x3de4d3=void 0x0===_0xbb7ced?_0x3320fe['len']:_0x3320fe['pos']+_0xbb7ced,_0x3fd3e1=new _0xe33dea['RevisionHistoryReconnectMessage']();_0x3320fe['pos']<_0x3de4d3;){var _0xbc07d5=_0x3320fe['uint32']();if(_0xbc07d5===_0x2f9ba7)break;switch(_0xbc07d5>>>0x3){case 0x1:_0x3fd3e1['documentId']=_0x3320fe['string']();break;case 0x2:_0x3fd3e1['requestId']=_0x3320fe['uint32']();break;default:_0x3320fe['skipType'](0x7&_0xbc07d5);}}return _0x3fd3e1;},_0x324514['decodeDelimited']=function(_0x13fc8b){return _0x13fc8b instanceof _0x22a542||(_0x13fc8b=new _0x22a542(_0x13fc8b)),this['decode'](_0x13fc8b,_0x13fc8b['uint32']());},_0x324514['verify']=function(_0x1bae66){return'object'!=typeof _0x1bae66||null===_0x1bae66?'object\x20expected':null!=_0x1bae66['documentId']&&_0x1bae66['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x1bae66['documentId'])?'documentId:\x20string\x20expected':null!=_0x1bae66['requestId']&&_0x1bae66['hasOwnProperty']('requestId')&&!_0xcc5beb['isInteger'](_0x1bae66['requestId'])?'requestId:\x20integer\x20expected':null;},_0x324514['fromObject']=function(_0x38df7e){if(_0x38df7e instanceof _0xe33dea['RevisionHistoryReconnectMessage'])return _0x38df7e;var _0x38619c=new _0xe33dea['RevisionHistoryReconnectMessage']();return null!=_0x38df7e['documentId']&&(_0x38619c['documentId']=String(_0x38df7e['documentId'])),null!=_0x38df7e['requestId']&&(_0x38619c['requestId']=_0x38df7e['requestId']>>>0x0),_0x38619c;},_0x324514['toObject']=function(_0x461dd7,_0x479800){_0x479800||(_0x479800={});var _0x2d0dad={};return _0x479800['defaults']&&(_0x2d0dad['documentId']='',_0x2d0dad['requestId']=0x0),null!=_0x461dd7['documentId']&&_0x461dd7['hasOwnProperty']('documentId')&&(_0x2d0dad['documentId']=_0x461dd7['documentId']),null!=_0x461dd7['requestId']&&_0x461dd7['hasOwnProperty']('requestId')&&(_0x2d0dad['requestId']=_0x461dd7['requestId']),_0x2d0dad;},_0x324514['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x324514['getTypeUrl']=function(_0x2b4e5b){return void 0x0===_0x2b4e5b&&(_0x2b4e5b='type.googleapis.com'),_0x2b4e5b+'/RevisionHistoryReconnectMessage';},_0x324514;}()),_0xe33dea['RevisionHistoryGetRevisionMessage']=(function(){function _0x362710(_0x35da22){if(_0x35da22){for(var _0x18ca6e=Object['keys'](_0x35da22),_0x5ec896=0x0;_0x5ec896<_0x18ca6e['length'];++_0x5ec896)null!=_0x35da22[_0x18ca6e[_0x5ec896]]&&(this[_0x18ca6e[_0x5ec896]]=_0x35da22[_0x18ca6e[_0x5ec896]]);}}return _0x362710['prototype']['documentId']='',_0x362710['prototype']['revisionId']='',_0x362710['create']=function(_0x1869a1){return new _0x362710(_0x1869a1);},_0x362710['encode']=function(_0x1d624c,_0x5a8110){return _0x5a8110||(_0x5a8110=_0x5eaf50['create']()),null!=_0x1d624c['documentId']&&Object['hasOwnProperty']['call'](_0x1d624c,'documentId')&&_0x5a8110['uint32'](0xa)['string'](_0x1d624c['documentId']),null!=_0x1d624c['revisionId']&&Object['hasOwnProperty']['call'](_0x1d624c,'revisionId')&&_0x5a8110['uint32'](0x12)['string'](_0x1d624c['revisionId']),_0x5a8110;},_0x362710['encodeDelimited']=function(_0xc09e31,_0x11fe81){return this['encode'](_0xc09e31,_0x11fe81)['ldelim']();},_0x362710['decode']=function(_0x28d3bf,_0x33b724,_0xa68aa5){_0x28d3bf instanceof _0x22a542||(_0x28d3bf=_0x22a542['create'](_0x28d3bf));for(var _0x50f7e1=void 0x0===_0x33b724?_0x28d3bf['len']:_0x28d3bf['pos']+_0x33b724,_0xc43c0f=new _0xe33dea['RevisionHistoryGetRevisionMessage']();_0x28d3bf['pos']<_0x50f7e1;){var _0x423938=_0x28d3bf['uint32']();if(_0x423938===_0xa68aa5)break;switch(_0x423938>>>0x3){case 0x1:_0xc43c0f['documentId']=_0x28d3bf['string']();break;case 0x2:_0xc43c0f['revisionId']=_0x28d3bf['string']();break;default:_0x28d3bf['skipType'](0x7&_0x423938);}}return _0xc43c0f;},_0x362710['decodeDelimited']=function(_0x3d0dd2){return _0x3d0dd2 instanceof _0x22a542||(_0x3d0dd2=new _0x22a542(_0x3d0dd2)),this['decode'](_0x3d0dd2,_0x3d0dd2['uint32']());},_0x362710['verify']=function(_0x380ee0){return'object'!=typeof _0x380ee0||null===_0x380ee0?'object\x20expected':null!=_0x380ee0['documentId']&&_0x380ee0['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x380ee0['documentId'])?'documentId:\x20string\x20expected':null!=_0x380ee0['revisionId']&&_0x380ee0['hasOwnProperty']('revisionId')&&!_0xcc5beb['isString'](_0x380ee0['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x362710['fromObject']=function(_0x31a6f7){if(_0x31a6f7 instanceof _0xe33dea['RevisionHistoryGetRevisionMessage'])return _0x31a6f7;var _0x321b5c=new _0xe33dea['RevisionHistoryGetRevisionMessage']();return null!=_0x31a6f7['documentId']&&(_0x321b5c['documentId']=String(_0x31a6f7['documentId'])),null!=_0x31a6f7['revisionId']&&(_0x321b5c['revisionId']=String(_0x31a6f7['revisionId'])),_0x321b5c;},_0x362710['toObject']=function(_0x3dcdfd,_0x2f763d){_0x2f763d||(_0x2f763d={});var _0x4b6c01={};return _0x2f763d['defaults']&&(_0x4b6c01['documentId']='',_0x4b6c01['revisionId']=''),null!=_0x3dcdfd['documentId']&&_0x3dcdfd['hasOwnProperty']('documentId')&&(_0x4b6c01['documentId']=_0x3dcdfd['documentId']),null!=_0x3dcdfd['revisionId']&&_0x3dcdfd['hasOwnProperty']('revisionId')&&(_0x4b6c01['revisionId']=_0x3dcdfd['revisionId']),_0x4b6c01;},_0x362710['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x362710['getTypeUrl']=function(_0x4b7863){return void 0x0===_0x4b7863&&(_0x4b7863='type.googleapis.com'),_0x4b7863+'/RevisionHistoryGetRevisionMessage';},_0x362710;}()),_0xe33dea['RevisionHistoryConnectMessage']=(function(){function _0x4460b3(_0x310275){if(_0x310275){for(var _0x13ebc7=Object['keys'](_0x310275),_0x223a4e=0x0;_0x223a4e<_0x13ebc7['length'];++_0x223a4e)null!=_0x310275[_0x13ebc7[_0x223a4e]]&&(this[_0x13ebc7[_0x223a4e]]=_0x310275[_0x13ebc7[_0x223a4e]]);}}return _0x4460b3['prototype']['documentId']='',_0x4460b3['create']=function(_0x2f8cda){return new _0x4460b3(_0x2f8cda);},_0x4460b3['encode']=function(_0x4f5558,_0x3fe25d){return _0x3fe25d||(_0x3fe25d=_0x5eaf50['create']()),null!=_0x4f5558['documentId']&&Object['hasOwnProperty']['call'](_0x4f5558,'documentId')&&_0x3fe25d['uint32'](0xa)['string'](_0x4f5558['documentId']),_0x3fe25d;},_0x4460b3['encodeDelimited']=function(_0x1aa9b1,_0x4a4a88){return this['encode'](_0x1aa9b1,_0x4a4a88)['ldelim']();},_0x4460b3['decode']=function(_0x53f921,_0x2dabca,_0x323251){_0x53f921 instanceof _0x22a542||(_0x53f921=_0x22a542['create'](_0x53f921));for(var _0x5c4730=void 0x0===_0x2dabca?_0x53f921['len']:_0x53f921['pos']+_0x2dabca,_0x349062=new _0xe33dea['RevisionHistoryConnectMessage']();_0x53f921['pos']<_0x5c4730;){var _0x1b3a27=_0x53f921['uint32']();if(_0x1b3a27===_0x323251)break;_0x1b3a27>>>0x3==0x1?_0x349062['documentId']=_0x53f921['string']():_0x53f921['skipType'](0x7&_0x1b3a27);}return _0x349062;},_0x4460b3['decodeDelimited']=function(_0x555ac8){return _0x555ac8 instanceof _0x22a542||(_0x555ac8=new _0x22a542(_0x555ac8)),this['decode'](_0x555ac8,_0x555ac8['uint32']());},_0x4460b3['verify']=function(_0xafd73e){return'object'!=typeof _0xafd73e||null===_0xafd73e?'object\x20expected':null!=_0xafd73e['documentId']&&_0xafd73e['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0xafd73e['documentId'])?'documentId:\x20string\x20expected':null;},_0x4460b3['fromObject']=function(_0x3c2d95){if(_0x3c2d95 instanceof _0xe33dea['RevisionHistoryConnectMessage'])return _0x3c2d95;var _0x3b1991=new _0xe33dea['RevisionHistoryConnectMessage']();return null!=_0x3c2d95['documentId']&&(_0x3b1991['documentId']=String(_0x3c2d95['documentId'])),_0x3b1991;},_0x4460b3['toObject']=function(_0x438c3e,_0x3d4aa1){_0x3d4aa1||(_0x3d4aa1={});var _0x135b89={};return _0x3d4aa1['defaults']&&(_0x135b89['documentId']=''),null!=_0x438c3e['documentId']&&_0x438c3e['hasOwnProperty']('documentId')&&(_0x135b89['documentId']=_0x438c3e['documentId']),_0x135b89;},_0x4460b3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4460b3['getTypeUrl']=function(_0x4871bc){return void 0x0===_0x4871bc&&(_0x4871bc='type.googleapis.com'),_0x4871bc+'/RevisionHistoryConnectMessage';},_0x4460b3;}()),_0xe33dea['RevisionDescriptor']=(function(){function _0x27cf46(_0x5e6ace){if(_0x5e6ace){for(var _0x22737e=Object['keys'](_0x5e6ace),_0x4e7026=0x0;_0x4e7026<_0x22737e['length'];++_0x4e7026)null!=_0x5e6ace[_0x22737e[_0x4e7026]]&&(this[_0x22737e[_0x4e7026]]=_0x5e6ace[_0x22737e[_0x4e7026]]);}}return _0x27cf46['prototype']['revisionId']='',_0x27cf46['prototype']['name']='',_0x27cf46['prototype']['creatorId']='',_0x27cf46['prototype']['authorsIds']='',_0x27cf46['prototype']['diffData']='',_0x27cf46['prototype']['createdAt']='',_0x27cf46['prototype']['attributes']='',_0x27cf46['prototype']['toVersion']=0x0,_0x27cf46['prototype']['fromVersion']=0x0,_0x27cf46['prototype']['isEmptyCurrent']=!0x1,_0x27cf46['create']=function(_0x34f701){return new _0x27cf46(_0x34f701);},_0x27cf46['encode']=function(_0xe16958,_0x2eed3c){return _0x2eed3c||(_0x2eed3c=_0x5eaf50['create']()),null!=_0xe16958['revisionId']&&Object['hasOwnProperty']['call'](_0xe16958,'revisionId')&&_0x2eed3c['uint32'](0xa)['string'](_0xe16958['revisionId']),null!=_0xe16958['name']&&Object['hasOwnProperty']['call'](_0xe16958,'name')&&_0x2eed3c['uint32'](0x12)['string'](_0xe16958['name']),null!=_0xe16958['creatorId']&&Object['hasOwnProperty']['call'](_0xe16958,'creatorId')&&_0x2eed3c['uint32'](0x1a)['string'](_0xe16958['creatorId']),null!=_0xe16958['authorsIds']&&Object['hasOwnProperty']['call'](_0xe16958,'authorsIds')&&_0x2eed3c['uint32'](0x22)['string'](_0xe16958['authorsIds']),null!=_0xe16958['diffData']&&Object['hasOwnProperty']['call'](_0xe16958,'diffData')&&_0x2eed3c['uint32'](0x2a)['string'](_0xe16958['diffData']),null!=_0xe16958['createdAt']&&Object['hasOwnProperty']['call'](_0xe16958,'createdAt')&&_0x2eed3c['uint32'](0x32)['string'](_0xe16958['createdAt']),null!=_0xe16958['attributes']&&Object['hasOwnProperty']['call'](_0xe16958,'attributes')&&_0x2eed3c['uint32'](0x3a)['string'](_0xe16958['attributes']),null!=_0xe16958['toVersion']&&Object['hasOwnProperty']['call'](_0xe16958,'toVersion')&&_0x2eed3c['uint32'](0x40)['uint32'](_0xe16958['toVersion']),null!=_0xe16958['fromVersion']&&Object['hasOwnProperty']['call'](_0xe16958,'fromVersion')&&_0x2eed3c['uint32'](0x48)['uint32'](_0xe16958['fromVersion']),null!=_0xe16958['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0xe16958,'isEmptyCurrent')&&_0x2eed3c['uint32'](0x50)['bool'](_0xe16958['isEmptyCurrent']),_0x2eed3c;},_0x27cf46['encodeDelimited']=function(_0xabb3fb,_0x41ec62){return this['encode'](_0xabb3fb,_0x41ec62)['ldelim']();},_0x27cf46['decode']=function(_0x35440f,_0x919306,_0xb07a00){_0x35440f instanceof _0x22a542||(_0x35440f=_0x22a542['create'](_0x35440f));for(var _0x51757d=void 0x0===_0x919306?_0x35440f['len']:_0x35440f['pos']+_0x919306,_0x50cfe9=new _0xe33dea['RevisionDescriptor']();_0x35440f['pos']<_0x51757d;){var _0x4fb79f=_0x35440f['uint32']();if(_0x4fb79f===_0xb07a00)break;switch(_0x4fb79f>>>0x3){case 0x1:_0x50cfe9['revisionId']=_0x35440f['string']();break;case 0x2:_0x50cfe9['name']=_0x35440f['string']();break;case 0x3:_0x50cfe9['creatorId']=_0x35440f['string']();break;case 0x4:_0x50cfe9['authorsIds']=_0x35440f['string']();break;case 0x5:_0x50cfe9['diffData']=_0x35440f['string']();break;case 0x6:_0x50cfe9['createdAt']=_0x35440f['string']();break;case 0x7:_0x50cfe9['attributes']=_0x35440f['string']();break;case 0x8:_0x50cfe9['toVersion']=_0x35440f['uint32']();break;case 0x9:_0x50cfe9['fromVersion']=_0x35440f['uint32']();break;case 0xa:_0x50cfe9['isEmptyCurrent']=_0x35440f['bool']();break;default:_0x35440f['skipType'](0x7&_0x4fb79f);}}return _0x50cfe9;},_0x27cf46['decodeDelimited']=function(_0x32fece){return _0x32fece instanceof _0x22a542||(_0x32fece=new _0x22a542(_0x32fece)),this['decode'](_0x32fece,_0x32fece['uint32']());},_0x27cf46['verify']=function(_0xf26d44){return'object'!=typeof _0xf26d44||null===_0xf26d44?'object\x20expected':null!=_0xf26d44['revisionId']&&_0xf26d44['hasOwnProperty']('revisionId')&&!_0xcc5beb['isString'](_0xf26d44['revisionId'])?'revisionId:\x20string\x20expected':null!=_0xf26d44['name']&&_0xf26d44['hasOwnProperty']('name')&&!_0xcc5beb['isString'](_0xf26d44['name'])?'name:\x20string\x20expected':null!=_0xf26d44['creatorId']&&_0xf26d44['hasOwnProperty']('creatorId')&&!_0xcc5beb['isString'](_0xf26d44['creatorId'])?'creatorId:\x20string\x20expected':null!=_0xf26d44['authorsIds']&&_0xf26d44['hasOwnProperty']('authorsIds')&&!_0xcc5beb['isString'](_0xf26d44['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0xf26d44['diffData']&&_0xf26d44['hasOwnProperty']('diffData')&&!_0xcc5beb['isString'](_0xf26d44['diffData'])?'diffData:\x20string\x20expected':null!=_0xf26d44['createdAt']&&_0xf26d44['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0xf26d44['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xf26d44['attributes']&&_0xf26d44['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0xf26d44['attributes'])?'attributes:\x20string\x20expected':null!=_0xf26d44['toVersion']&&_0xf26d44['hasOwnProperty']('toVersion')&&!_0xcc5beb['isInteger'](_0xf26d44['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0xf26d44['fromVersion']&&_0xf26d44['hasOwnProperty']('fromVersion')&&!_0xcc5beb['isInteger'](_0xf26d44['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0xf26d44['isEmptyCurrent']&&_0xf26d44['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0xf26d44['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x27cf46['fromObject']=function(_0x4dfd9f){if(_0x4dfd9f instanceof _0xe33dea['RevisionDescriptor'])return _0x4dfd9f;var _0x37d093=new _0xe33dea['RevisionDescriptor']();return null!=_0x4dfd9f['revisionId']&&(_0x37d093['revisionId']=String(_0x4dfd9f['revisionId'])),null!=_0x4dfd9f['name']&&(_0x37d093['name']=String(_0x4dfd9f['name'])),null!=_0x4dfd9f['creatorId']&&(_0x37d093['creatorId']=String(_0x4dfd9f['creatorId'])),null!=_0x4dfd9f['authorsIds']&&(_0x37d093['authorsIds']=String(_0x4dfd9f['authorsIds'])),null!=_0x4dfd9f['diffData']&&(_0x37d093['diffData']=String(_0x4dfd9f['diffData'])),null!=_0x4dfd9f['createdAt']&&(_0x37d093['createdAt']=String(_0x4dfd9f['createdAt'])),null!=_0x4dfd9f['attributes']&&(_0x37d093['attributes']=String(_0x4dfd9f['attributes'])),null!=_0x4dfd9f['toVersion']&&(_0x37d093['toVersion']=_0x4dfd9f['toVersion']>>>0x0),null!=_0x4dfd9f['fromVersion']&&(_0x37d093['fromVersion']=_0x4dfd9f['fromVersion']>>>0x0),null!=_0x4dfd9f['isEmptyCurrent']&&(_0x37d093['isEmptyCurrent']=Boolean(_0x4dfd9f['isEmptyCurrent'])),_0x37d093;},_0x27cf46['toObject']=function(_0x487a31,_0x36c0f){_0x36c0f||(_0x36c0f={});var _0x21eaaa={};return _0x36c0f['defaults']&&(_0x21eaaa['revisionId']='',_0x21eaaa['name']='',_0x21eaaa['creatorId']='',_0x21eaaa['authorsIds']='',_0x21eaaa['diffData']='',_0x21eaaa['createdAt']='',_0x21eaaa['attributes']='',_0x21eaaa['toVersion']=0x0,_0x21eaaa['fromVersion']=0x0,_0x21eaaa['isEmptyCurrent']=!0x1),null!=_0x487a31['revisionId']&&_0x487a31['hasOwnProperty']('revisionId')&&(_0x21eaaa['revisionId']=_0x487a31['revisionId']),null!=_0x487a31['name']&&_0x487a31['hasOwnProperty']('name')&&(_0x21eaaa['name']=_0x487a31['name']),null!=_0x487a31['creatorId']&&_0x487a31['hasOwnProperty']('creatorId')&&(_0x21eaaa['creatorId']=_0x487a31['creatorId']),null!=_0x487a31['authorsIds']&&_0x487a31['hasOwnProperty']('authorsIds')&&(_0x21eaaa['authorsIds']=_0x487a31['authorsIds']),null!=_0x487a31['diffData']&&_0x487a31['hasOwnProperty']('diffData')&&(_0x21eaaa['diffData']=_0x487a31['diffData']),null!=_0x487a31['createdAt']&&_0x487a31['hasOwnProperty']('createdAt')&&(_0x21eaaa['createdAt']=_0x487a31['createdAt']),null!=_0x487a31['attributes']&&_0x487a31['hasOwnProperty']('attributes')&&(_0x21eaaa['attributes']=_0x487a31['attributes']),null!=_0x487a31['toVersion']&&_0x487a31['hasOwnProperty']('toVersion')&&(_0x21eaaa['toVersion']=_0x487a31['toVersion']),null!=_0x487a31['fromVersion']&&_0x487a31['hasOwnProperty']('fromVersion')&&(_0x21eaaa['fromVersion']=_0x487a31['fromVersion']),null!=_0x487a31['isEmptyCurrent']&&_0x487a31['hasOwnProperty']('isEmptyCurrent')&&(_0x21eaaa['isEmptyCurrent']=_0x487a31['isEmptyCurrent']),_0x21eaaa;},_0x27cf46['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x27cf46['getTypeUrl']=function(_0x4f88f3){return void 0x0===_0x4f88f3&&(_0x4f88f3='type.googleapis.com'),_0x4f88f3+'/RevisionDescriptor';},_0x27cf46;}()),_0xe33dea['IsEditorBundleUploadedResponse']=(function(){function _0x230712(_0x246b40){if(_0x246b40){for(var _0x3f1fbd=Object['keys'](_0x246b40),_0x2077b3=0x0;_0x2077b3<_0x3f1fbd['length'];++_0x2077b3)null!=_0x246b40[_0x3f1fbd[_0x2077b3]]&&(this[_0x3f1fbd[_0x2077b3]]=_0x246b40[_0x3f1fbd[_0x2077b3]]);}}return _0x230712['prototype']['isUploaded']=!0x1,_0x230712['create']=function(_0x448c1a){return new _0x230712(_0x448c1a);},_0x230712['encode']=function(_0x4f3079,_0x5709e8){return _0x5709e8||(_0x5709e8=_0x5eaf50['create']()),null!=_0x4f3079['isUploaded']&&Object['hasOwnProperty']['call'](_0x4f3079,'isUploaded')&&_0x5709e8['uint32'](0x8)['bool'](_0x4f3079['isUploaded']),_0x5709e8;},_0x230712['encodeDelimited']=function(_0x40b94f,_0x19c8c0){return this['encode'](_0x40b94f,_0x19c8c0)['ldelim']();},_0x230712['decode']=function(_0x57de0a,_0x401d88,_0x1cc2cd){_0x57de0a instanceof _0x22a542||(_0x57de0a=_0x22a542['create'](_0x57de0a));for(var _0x35429c=void 0x0===_0x401d88?_0x57de0a['len']:_0x57de0a['pos']+_0x401d88,_0x288586=new _0xe33dea['IsEditorBundleUploadedResponse']();_0x57de0a['pos']<_0x35429c;){var _0x416da8=_0x57de0a['uint32']();if(_0x416da8===_0x1cc2cd)break;_0x416da8>>>0x3==0x1?_0x288586['isUploaded']=_0x57de0a['bool']():_0x57de0a['skipType'](0x7&_0x416da8);}return _0x288586;},_0x230712['decodeDelimited']=function(_0x5ba7b2){return _0x5ba7b2 instanceof _0x22a542||(_0x5ba7b2=new _0x22a542(_0x5ba7b2)),this['decode'](_0x5ba7b2,_0x5ba7b2['uint32']());},_0x230712['verify']=function(_0x18332c){return'object'!=typeof _0x18332c||null===_0x18332c?'object\x20expected':null!=_0x18332c['isUploaded']&&_0x18332c['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x18332c['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x230712['fromObject']=function(_0x548906){if(_0x548906 instanceof _0xe33dea['IsEditorBundleUploadedResponse'])return _0x548906;var _0xec38b8=new _0xe33dea['IsEditorBundleUploadedResponse']();return null!=_0x548906['isUploaded']&&(_0xec38b8['isUploaded']=Boolean(_0x548906['isUploaded'])),_0xec38b8;},_0x230712['toObject']=function(_0x19948f,_0xed85d){_0xed85d||(_0xed85d={});var _0x54d99a={};return _0xed85d['defaults']&&(_0x54d99a['isUploaded']=!0x1),null!=_0x19948f['isUploaded']&&_0x19948f['hasOwnProperty']('isUploaded')&&(_0x54d99a['isUploaded']=_0x19948f['isUploaded']),_0x54d99a;},_0x230712['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x230712['getTypeUrl']=function(_0x2343e2){return void 0x0===_0x2343e2&&(_0x2343e2='type.googleapis.com'),_0x2343e2+'/IsEditorBundleUploadedResponse';},_0x230712;}()),_0xe33dea['IsEditorBundleUploadedMessage']=(function(){function _0x1d6fa2(_0x364e20){if(_0x364e20){for(var _0x1c49ac=Object['keys'](_0x364e20),_0x1fa758=0x0;_0x1fa758<_0x1c49ac['length'];++_0x1fa758)null!=_0x364e20[_0x1c49ac[_0x1fa758]]&&(this[_0x1c49ac[_0x1fa758]]=_0x364e20[_0x1c49ac[_0x1fa758]]);}}return _0x1d6fa2['prototype']['bundleVersion']='',_0x1d6fa2['create']=function(_0x153bf0){return new _0x1d6fa2(_0x153bf0);},_0x1d6fa2['encode']=function(_0x815321,_0x1d5db1){return _0x1d5db1||(_0x1d5db1=_0x5eaf50['create']()),null!=_0x815321['bundleVersion']&&Object['hasOwnProperty']['call'](_0x815321,'bundleVersion')&&_0x1d5db1['uint32'](0xa)['string'](_0x815321['bundleVersion']),_0x1d5db1;},_0x1d6fa2['encodeDelimited']=function(_0x418236,_0x50c261){return this['encode'](_0x418236,_0x50c261)['ldelim']();},_0x1d6fa2['decode']=function(_0x46420d,_0x1fc3ef,_0x50115c){_0x46420d instanceof _0x22a542||(_0x46420d=_0x22a542['create'](_0x46420d));for(var _0x53bb4a=void 0x0===_0x1fc3ef?_0x46420d['len']:_0x46420d['pos']+_0x1fc3ef,_0x57b3f0=new _0xe33dea['IsEditorBundleUploadedMessage']();_0x46420d['pos']<_0x53bb4a;){var _0x4e7185=_0x46420d['uint32']();if(_0x4e7185===_0x50115c)break;_0x4e7185>>>0x3==0x1?_0x57b3f0['bundleVersion']=_0x46420d['string']():_0x46420d['skipType'](0x7&_0x4e7185);}return _0x57b3f0;},_0x1d6fa2['decodeDelimited']=function(_0x10c835){return _0x10c835 instanceof _0x22a542||(_0x10c835=new _0x22a542(_0x10c835)),this['decode'](_0x10c835,_0x10c835['uint32']());},_0x1d6fa2['verify']=function(_0x1cf134){return'object'!=typeof _0x1cf134||null===_0x1cf134?'object\x20expected':null!=_0x1cf134['bundleVersion']&&_0x1cf134['hasOwnProperty']('bundleVersion')&&!_0xcc5beb['isString'](_0x1cf134['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x1d6fa2['fromObject']=function(_0xa1f0e9){if(_0xa1f0e9 instanceof _0xe33dea['IsEditorBundleUploadedMessage'])return _0xa1f0e9;var _0x1f0106=new _0xe33dea['IsEditorBundleUploadedMessage']();return null!=_0xa1f0e9['bundleVersion']&&(_0x1f0106['bundleVersion']=String(_0xa1f0e9['bundleVersion'])),_0x1f0106;},_0x1d6fa2['toObject']=function(_0x3ad0c6,_0xd8d23d){_0xd8d23d||(_0xd8d23d={});var _0x15f46f={};return _0xd8d23d['defaults']&&(_0x15f46f['bundleVersion']=''),null!=_0x3ad0c6['bundleVersion']&&_0x3ad0c6['hasOwnProperty']('bundleVersion')&&(_0x15f46f['bundleVersion']=_0x3ad0c6['bundleVersion']),_0x15f46f;},_0x1d6fa2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x1d6fa2['getTypeUrl']=function(_0x2e7f70){return void 0x0===_0x2e7f70&&(_0x2e7f70='type.googleapis.com'),_0x2e7f70+'/IsEditorBundleUploadedMessage';},_0x1d6fa2;}()),_0xe33dea['KeyValueDescriptor']=(function(){function _0x49bfbe(_0x4da0b3){if(_0x4da0b3){for(var _0x4cd2b8=Object['keys'](_0x4da0b3),_0x351802=0x0;_0x351802<_0x4cd2b8['length'];++_0x351802)null!=_0x4da0b3[_0x4cd2b8[_0x351802]]&&(this[_0x4cd2b8[_0x351802]]=_0x4da0b3[_0x4cd2b8[_0x351802]]);}}return _0x49bfbe['prototype']['key']='',_0x49bfbe['prototype']['value']='',_0x49bfbe['create']=function(_0x1d5c98){return new _0x49bfbe(_0x1d5c98);},_0x49bfbe['encode']=function(_0x38d522,_0x3a8b83){return _0x3a8b83||(_0x3a8b83=_0x5eaf50['create']()),null!=_0x38d522['key']&&Object['hasOwnProperty']['call'](_0x38d522,'key')&&_0x3a8b83['uint32'](0xa)['string'](_0x38d522['key']),null!=_0x38d522['value']&&Object['hasOwnProperty']['call'](_0x38d522,'value')&&_0x3a8b83['uint32'](0x12)['string'](_0x38d522['value']),_0x3a8b83;},_0x49bfbe['encodeDelimited']=function(_0x121781,_0x585929){return this['encode'](_0x121781,_0x585929)['ldelim']();},_0x49bfbe['decode']=function(_0x21ea71,_0x5b9e56,_0x37b59e){_0x21ea71 instanceof _0x22a542||(_0x21ea71=_0x22a542['create'](_0x21ea71));for(var _0x9b7394=void 0x0===_0x5b9e56?_0x21ea71['len']:_0x21ea71['pos']+_0x5b9e56,_0x5511f1=new _0xe33dea['KeyValueDescriptor']();_0x21ea71['pos']<_0x9b7394;){var _0x51a8a4=_0x21ea71['uint32']();if(_0x51a8a4===_0x37b59e)break;switch(_0x51a8a4>>>0x3){case 0x1:_0x5511f1['key']=_0x21ea71['string']();break;case 0x2:_0x5511f1['value']=_0x21ea71['string']();break;default:_0x21ea71['skipType'](0x7&_0x51a8a4);}}return _0x5511f1;},_0x49bfbe['decodeDelimited']=function(_0x3885c7){return _0x3885c7 instanceof _0x22a542||(_0x3885c7=new _0x22a542(_0x3885c7)),this['decode'](_0x3885c7,_0x3885c7['uint32']());},_0x49bfbe['verify']=function(_0x2374d4){return'object'!=typeof _0x2374d4||null===_0x2374d4?'object\x20expected':null!=_0x2374d4['key']&&_0x2374d4['hasOwnProperty']('key')&&!_0xcc5beb['isString'](_0x2374d4['key'])?'key:\x20string\x20expected':null!=_0x2374d4['value']&&_0x2374d4['hasOwnProperty']('value')&&!_0xcc5beb['isString'](_0x2374d4['value'])?'value:\x20string\x20expected':null;},_0x49bfbe['fromObject']=function(_0x2e4903){if(_0x2e4903 instanceof _0xe33dea['KeyValueDescriptor'])return _0x2e4903;var _0x185a6d=new _0xe33dea['KeyValueDescriptor']();return null!=_0x2e4903['key']&&(_0x185a6d['key']=String(_0x2e4903['key'])),null!=_0x2e4903['value']&&(_0x185a6d['value']=String(_0x2e4903['value'])),_0x185a6d;},_0x49bfbe['toObject']=function(_0x5ce733,_0x4f8519){_0x4f8519||(_0x4f8519={});var _0x108695={};return _0x4f8519['defaults']&&(_0x108695['key']='',_0x108695['value']=''),null!=_0x5ce733['key']&&_0x5ce733['hasOwnProperty']('key')&&(_0x108695['key']=_0x5ce733['key']),null!=_0x5ce733['value']&&_0x5ce733['hasOwnProperty']('value')&&(_0x108695['value']=_0x5ce733['value']),_0x108695;},_0x49bfbe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x49bfbe['getTypeUrl']=function(_0x5e0b4a){return void 0x0===_0x5e0b4a&&(_0x5e0b4a='type.googleapis.com'),_0x5e0b4a+'/KeyValueDescriptor';},_0x49bfbe;}()),_0xe33dea['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x430281(_0x105183){if(this['threads']=[],this['threadsV2']=[],_0x105183){for(var _0x6c2a00=Object['keys'](_0x105183),_0xc6bf93=0x0;_0xc6bf93<_0x6c2a00['length'];++_0xc6bf93)null!=_0x105183[_0x6c2a00[_0xc6bf93]]&&(this[_0x6c2a00[_0xc6bf93]]=_0x105183[_0x6c2a00[_0xc6bf93]]);}}return _0x430281['prototype']['threads']=_0xcc5beb['emptyArray'],_0x430281['prototype']['threadsV2']=_0xcc5beb['emptyArray'],_0x430281['create']=function(_0x648f8){return new _0x430281(_0x648f8);},_0x430281['encode']=function(_0x841a66,_0x2d10db){if(_0x2d10db||(_0x2d10db=_0x5eaf50['create']()),null!=_0x841a66['threads']&&_0x841a66['threads']['length']){for(var _0x5d32dc=0x0;_0x5d32dc<_0x841a66['threads']['length'];++_0x5d32dc)_0x2d10db['uint32'](0xa)['string'](_0x841a66['threads'][_0x5d32dc]);}if(null!=_0x841a66['threadsV2']&&_0x841a66['threadsV2']['length']){for(_0x5d32dc=0x0;_0x5d32dc<_0x841a66['threadsV2']['length'];++_0x5d32dc)_0xe33dea['CommentsThreadDescriptor']['encode'](_0x841a66['threadsV2'][_0x5d32dc],_0x2d10db['uint32'](0x12)['fork']())['ldelim']();}return _0x2d10db;},_0x430281['encodeDelimited']=function(_0x4fdd7f,_0xd56287){return this['encode'](_0x4fdd7f,_0xd56287)['ldelim']();},_0x430281['decode']=function(_0x1ef37c,_0x428538,_0x43e84c){_0x1ef37c instanceof _0x22a542||(_0x1ef37c=_0x22a542['create'](_0x1ef37c));for(var _0x204623=void 0x0===_0x428538?_0x1ef37c['len']:_0x1ef37c['pos']+_0x428538,_0x1cdff4=new _0xe33dea['CommentsV2GetDocumentThreadsResponse']();_0x1ef37c['pos']<_0x204623;){var _0x3e22aa=_0x1ef37c['uint32']();if(_0x3e22aa===_0x43e84c)break;switch(_0x3e22aa>>>0x3){case 0x1:_0x1cdff4['threads']&&_0x1cdff4['threads']['length']||(_0x1cdff4['threads']=[]),_0x1cdff4['threads']['push'](_0x1ef37c['string']());break;case 0x2:_0x1cdff4['threadsV2']&&_0x1cdff4['threadsV2']['length']||(_0x1cdff4['threadsV2']=[]),_0x1cdff4['threadsV2']['push'](_0xe33dea['CommentsThreadDescriptor']['decode'](_0x1ef37c,_0x1ef37c['uint32']()));break;default:_0x1ef37c['skipType'](0x7&_0x3e22aa);}}return _0x1cdff4;},_0x430281['decodeDelimited']=function(_0x5c6ea6){return _0x5c6ea6 instanceof _0x22a542||(_0x5c6ea6=new _0x22a542(_0x5c6ea6)),this['decode'](_0x5c6ea6,_0x5c6ea6['uint32']());},_0x430281['verify']=function(_0x383808){if('object'!=typeof _0x383808||null===_0x383808)return'object\x20expected';if(null!=_0x383808['threads']&&_0x383808['hasOwnProperty']('threads')){if(!Array['isArray'](_0x383808['threads']))return'threads:\x20array\x20expected';for(var _0x2d8554=0x0;_0x2d8554<_0x383808['threads']['length'];++_0x2d8554)if(!_0xcc5beb['isString'](_0x383808['threads'][_0x2d8554]))return'threads:\x20string[]\x20expected';}if(null!=_0x383808['threadsV2']&&_0x383808['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x383808['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x2d8554=0x0;_0x2d8554<_0x383808['threadsV2']['length'];++_0x2d8554){var _0x3bf7ca=_0xe33dea['CommentsThreadDescriptor']['verify'](_0x383808['threadsV2'][_0x2d8554]);if(_0x3bf7ca)return'threadsV2.'+_0x3bf7ca;}}return null;},_0x430281['fromObject']=function(_0x4ecde3){if(_0x4ecde3 instanceof _0xe33dea['CommentsV2GetDocumentThreadsResponse'])return _0x4ecde3;var _0x546533=new _0xe33dea['CommentsV2GetDocumentThreadsResponse']();if(_0x4ecde3['threads']){if(!Array['isArray'](_0x4ecde3['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x546533['threads']=[];for(var _0x1927df=0x0;_0x1927df<_0x4ecde3['threads']['length'];++_0x1927df)_0x546533['threads'][_0x1927df]=String(_0x4ecde3['threads'][_0x1927df]);}if(_0x4ecde3['threadsV2']){if(!Array['isArray'](_0x4ecde3['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x546533['threadsV2']=[],_0x1927df=0x0;_0x1927df<_0x4ecde3['threadsV2']['length'];++_0x1927df){if('object'!=typeof _0x4ecde3['threadsV2'][_0x1927df])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x546533['threadsV2'][_0x1927df]=_0xe33dea['CommentsThreadDescriptor']['fromObject'](_0x4ecde3['threadsV2'][_0x1927df]);}}return _0x546533;},_0x430281['toObject']=function(_0x328ec9,_0x570bf4){_0x570bf4||(_0x570bf4={});var _0x3d832e={};if((_0x570bf4['arrays']||_0x570bf4['defaults'])&&(_0x3d832e['threads']=[],_0x3d832e['threadsV2']=[]),_0x328ec9['threads']&&_0x328ec9['threads']['length']){_0x3d832e['threads']=[];for(var _0x51ec37=0x0;_0x51ec37<_0x328ec9['threads']['length'];++_0x51ec37)_0x3d832e['threads'][_0x51ec37]=_0x328ec9['threads'][_0x51ec37];}if(_0x328ec9['threadsV2']&&_0x328ec9['threadsV2']['length']){for(_0x3d832e['threadsV2']=[],_0x51ec37=0x0;_0x51ec37<_0x328ec9['threadsV2']['length'];++_0x51ec37)_0x3d832e['threadsV2'][_0x51ec37]=_0xe33dea['CommentsThreadDescriptor']['toObject'](_0x328ec9['threadsV2'][_0x51ec37],_0x570bf4);}return _0x3d832e;},_0x430281['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x430281['getTypeUrl']=function(_0x495722){return void 0x0===_0x495722&&(_0x495722='type.googleapis.com'),_0x495722+'/CommentsV2GetDocumentThreadsResponse';},_0x430281;}()),_0xe33dea['CommentsV2GetCommentThreadResponse']=(function(){function _0x2a95b0(_0x5c6865){if(this['comments']=[],this['commentsV2']=[],_0x5c6865){for(var _0x47d1eb=Object['keys'](_0x5c6865),_0x6989f8=0x0;_0x6989f8<_0x47d1eb['length'];++_0x6989f8)null!=_0x5c6865[_0x47d1eb[_0x6989f8]]&&(this[_0x47d1eb[_0x6989f8]]=_0x5c6865[_0x47d1eb[_0x6989f8]]);}}return _0x2a95b0['prototype']['commentThreadId']='',_0x2a95b0['prototype']['comments']=_0xcc5beb['emptyArray'],_0x2a95b0['prototype']['commentsV2']=_0xcc5beb['emptyArray'],_0x2a95b0['prototype']['resolvedAt']='',_0x2a95b0['prototype']['resolvedBy']='',_0x2a95b0['prototype']['context']='',_0x2a95b0['prototype']['createdAt']='',_0x2a95b0['prototype']['deletedAt']='',_0x2a95b0['prototype']['attributes']='',_0x2a95b0['prototype']['unlinkedAt']='',_0x2a95b0['create']=function(_0x467ff2){return new _0x2a95b0(_0x467ff2);},_0x2a95b0['encode']=function(_0x1972ed,_0x5a4aee){if(_0x5a4aee||(_0x5a4aee=_0x5eaf50['create']()),null!=_0x1972ed['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1972ed,'commentThreadId')&&_0x5a4aee['uint32'](0xa)['string'](_0x1972ed['commentThreadId']),null!=_0x1972ed['comments']&&_0x1972ed['comments']['length']){for(var _0x489c8b=0x0;_0x489c8b<_0x1972ed['comments']['length'];++_0x489c8b)_0x5a4aee['uint32'](0x12)['string'](_0x1972ed['comments'][_0x489c8b]);}if(null!=_0x1972ed['commentsV2']&&_0x1972ed['commentsV2']['length']){for(_0x489c8b=0x0;_0x489c8b<_0x1972ed['commentsV2']['length'];++_0x489c8b)_0xe33dea['CommentDescriptor']['encode'](_0x1972ed['commentsV2'][_0x489c8b],_0x5a4aee['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x1972ed['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1972ed,'resolvedAt')&&_0x5a4aee['uint32'](0x22)['string'](_0x1972ed['resolvedAt']),null!=_0x1972ed['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1972ed,'resolvedBy')&&_0x5a4aee['uint32'](0x2a)['string'](_0x1972ed['resolvedBy']),null!=_0x1972ed['context']&&Object['hasOwnProperty']['call'](_0x1972ed,'context')&&_0x5a4aee['uint32'](0x32)['string'](_0x1972ed['context']),null!=_0x1972ed['createdAt']&&Object['hasOwnProperty']['call'](_0x1972ed,'createdAt')&&_0x5a4aee['uint32'](0x3a)['string'](_0x1972ed['createdAt']),null!=_0x1972ed['deletedAt']&&Object['hasOwnProperty']['call'](_0x1972ed,'deletedAt')&&_0x5a4aee['uint32'](0x42)['string'](_0x1972ed['deletedAt']),null!=_0x1972ed['attributes']&&Object['hasOwnProperty']['call'](_0x1972ed,'attributes')&&_0x5a4aee['uint32'](0x4a)['string'](_0x1972ed['attributes']),null!=_0x1972ed['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1972ed,'unlinkedAt')&&_0x5a4aee['uint32'](0x52)['string'](_0x1972ed['unlinkedAt']),_0x5a4aee;},_0x2a95b0['encodeDelimited']=function(_0x261a4f,_0x45bf99){return this['encode'](_0x261a4f,_0x45bf99)['ldelim']();},_0x2a95b0['decode']=function(_0x3550b0,_0x3b86bd,_0x1f77fb){_0x3550b0 instanceof _0x22a542||(_0x3550b0=_0x22a542['create'](_0x3550b0));for(var _0x150df7=void 0x0===_0x3b86bd?_0x3550b0['len']:_0x3550b0['pos']+_0x3b86bd,_0x11b4fd=new _0xe33dea['CommentsV2GetCommentThreadResponse']();_0x3550b0['pos']<_0x150df7;){var _0xe7205d=_0x3550b0['uint32']();if(_0xe7205d===_0x1f77fb)break;switch(_0xe7205d>>>0x3){case 0x1:_0x11b4fd['commentThreadId']=_0x3550b0['string']();break;case 0x2:_0x11b4fd['comments']&&_0x11b4fd['comments']['length']||(_0x11b4fd['comments']=[]),_0x11b4fd['comments']['push'](_0x3550b0['string']());break;case 0x3:_0x11b4fd['commentsV2']&&_0x11b4fd['commentsV2']['length']||(_0x11b4fd['commentsV2']=[]),_0x11b4fd['commentsV2']['push'](_0xe33dea['CommentDescriptor']['decode'](_0x3550b0,_0x3550b0['uint32']()));break;case 0x4:_0x11b4fd['resolvedAt']=_0x3550b0['string']();break;case 0x5:_0x11b4fd['resolvedBy']=_0x3550b0['string']();break;case 0x6:_0x11b4fd['context']=_0x3550b0['string']();break;case 0x7:_0x11b4fd['createdAt']=_0x3550b0['string']();break;case 0x8:_0x11b4fd['deletedAt']=_0x3550b0['string']();break;case 0x9:_0x11b4fd['attributes']=_0x3550b0['string']();break;case 0xa:_0x11b4fd['unlinkedAt']=_0x3550b0['string']();break;default:_0x3550b0['skipType'](0x7&_0xe7205d);}}return _0x11b4fd;},_0x2a95b0['decodeDelimited']=function(_0x5c1b36){return _0x5c1b36 instanceof _0x22a542||(_0x5c1b36=new _0x22a542(_0x5c1b36)),this['decode'](_0x5c1b36,_0x5c1b36['uint32']());},_0x2a95b0['verify']=function(_0x2eacd8){if('object'!=typeof _0x2eacd8||null===_0x2eacd8)return'object\x20expected';if(null!=_0x2eacd8['commentThreadId']&&_0x2eacd8['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x2eacd8['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2eacd8['comments']&&_0x2eacd8['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2eacd8['comments']))return'comments:\x20array\x20expected';for(var _0x3e2431=0x0;_0x3e2431<_0x2eacd8['comments']['length'];++_0x3e2431)if(!_0xcc5beb['isString'](_0x2eacd8['comments'][_0x3e2431]))return'comments:\x20string[]\x20expected';}if(null!=_0x2eacd8['commentsV2']&&_0x2eacd8['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x2eacd8['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x3e2431=0x0;_0x3e2431<_0x2eacd8['commentsV2']['length'];++_0x3e2431){var _0xd051fd=_0xe33dea['CommentDescriptor']['verify'](_0x2eacd8['commentsV2'][_0x3e2431]);if(_0xd051fd)return'commentsV2.'+_0xd051fd;}}return null!=_0x2eacd8['resolvedAt']&&_0x2eacd8['hasOwnProperty']('resolvedAt')&&!_0xcc5beb['isString'](_0x2eacd8['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2eacd8['resolvedBy']&&_0x2eacd8['hasOwnProperty']('resolvedBy')&&!_0xcc5beb['isString'](_0x2eacd8['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x2eacd8['context']&&_0x2eacd8['hasOwnProperty']('context')&&!_0xcc5beb['isString'](_0x2eacd8['context'])?'context:\x20string\x20expected':null!=_0x2eacd8['createdAt']&&_0x2eacd8['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x2eacd8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2eacd8['deletedAt']&&_0x2eacd8['hasOwnProperty']('deletedAt')&&!_0xcc5beb['isString'](_0x2eacd8['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x2eacd8['attributes']&&_0x2eacd8['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x2eacd8['attributes'])?'attributes:\x20string\x20expected':null!=_0x2eacd8['unlinkedAt']&&_0x2eacd8['hasOwnProperty']('unlinkedAt')&&!_0xcc5beb['isString'](_0x2eacd8['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x2a95b0['fromObject']=function(_0x59a0fb){if(_0x59a0fb instanceof _0xe33dea['CommentsV2GetCommentThreadResponse'])return _0x59a0fb;var _0x1cd771=new _0xe33dea['CommentsV2GetCommentThreadResponse']();if(null!=_0x59a0fb['commentThreadId']&&(_0x1cd771['commentThreadId']=String(_0x59a0fb['commentThreadId'])),_0x59a0fb['comments']){if(!Array['isArray'](_0x59a0fb['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x1cd771['comments']=[];for(var _0x3cdef2=0x0;_0x3cdef2<_0x59a0fb['comments']['length'];++_0x3cdef2)_0x1cd771['comments'][_0x3cdef2]=String(_0x59a0fb['comments'][_0x3cdef2]);}if(_0x59a0fb['commentsV2']){if(!Array['isArray'](_0x59a0fb['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x1cd771['commentsV2']=[],_0x3cdef2=0x0;_0x3cdef2<_0x59a0fb['commentsV2']['length'];++_0x3cdef2){if('object'!=typeof _0x59a0fb['commentsV2'][_0x3cdef2])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x1cd771['commentsV2'][_0x3cdef2]=_0xe33dea['CommentDescriptor']['fromObject'](_0x59a0fb['commentsV2'][_0x3cdef2]);}}return null!=_0x59a0fb['resolvedAt']&&(_0x1cd771['resolvedAt']=String(_0x59a0fb['resolvedAt'])),null!=_0x59a0fb['resolvedBy']&&(_0x1cd771['resolvedBy']=String(_0x59a0fb['resolvedBy'])),null!=_0x59a0fb['context']&&(_0x1cd771['context']=String(_0x59a0fb['context'])),null!=_0x59a0fb['createdAt']&&(_0x1cd771['createdAt']=String(_0x59a0fb['createdAt'])),null!=_0x59a0fb['deletedAt']&&(_0x1cd771['deletedAt']=String(_0x59a0fb['deletedAt'])),null!=_0x59a0fb['attributes']&&(_0x1cd771['attributes']=String(_0x59a0fb['attributes'])),null!=_0x59a0fb['unlinkedAt']&&(_0x1cd771['unlinkedAt']=String(_0x59a0fb['unlinkedAt'])),_0x1cd771;},_0x2a95b0['toObject']=function(_0x53e271,_0x47dfd2){_0x47dfd2||(_0x47dfd2={});var _0x4b49f5={};if((_0x47dfd2['arrays']||_0x47dfd2['defaults'])&&(_0x4b49f5['comments']=[],_0x4b49f5['commentsV2']=[]),_0x47dfd2['defaults']&&(_0x4b49f5['commentThreadId']='',_0x4b49f5['resolvedAt']='',_0x4b49f5['resolvedBy']='',_0x4b49f5['context']='',_0x4b49f5['createdAt']='',_0x4b49f5['deletedAt']='',_0x4b49f5['attributes']='',_0x4b49f5['unlinkedAt']=''),null!=_0x53e271['commentThreadId']&&_0x53e271['hasOwnProperty']('commentThreadId')&&(_0x4b49f5['commentThreadId']=_0x53e271['commentThreadId']),_0x53e271['comments']&&_0x53e271['comments']['length']){_0x4b49f5['comments']=[];for(var _0x3f14d9=0x0;_0x3f14d9<_0x53e271['comments']['length'];++_0x3f14d9)_0x4b49f5['comments'][_0x3f14d9]=_0x53e271['comments'][_0x3f14d9];}if(_0x53e271['commentsV2']&&_0x53e271['commentsV2']['length']){for(_0x4b49f5['commentsV2']=[],_0x3f14d9=0x0;_0x3f14d9<_0x53e271['commentsV2']['length'];++_0x3f14d9)_0x4b49f5['commentsV2'][_0x3f14d9]=_0xe33dea['CommentDescriptor']['toObject'](_0x53e271['commentsV2'][_0x3f14d9],_0x47dfd2);}return null!=_0x53e271['resolvedAt']&&_0x53e271['hasOwnProperty']('resolvedAt')&&(_0x4b49f5['resolvedAt']=_0x53e271['resolvedAt']),null!=_0x53e271['resolvedBy']&&_0x53e271['hasOwnProperty']('resolvedBy')&&(_0x4b49f5['resolvedBy']=_0x53e271['resolvedBy']),null!=_0x53e271['context']&&_0x53e271['hasOwnProperty']('context')&&(_0x4b49f5['context']=_0x53e271['context']),null!=_0x53e271['createdAt']&&_0x53e271['hasOwnProperty']('createdAt')&&(_0x4b49f5['createdAt']=_0x53e271['createdAt']),null!=_0x53e271['deletedAt']&&_0x53e271['hasOwnProperty']('deletedAt')&&(_0x4b49f5['deletedAt']=_0x53e271['deletedAt']),null!=_0x53e271['attributes']&&_0x53e271['hasOwnProperty']('attributes')&&(_0x4b49f5['attributes']=_0x53e271['attributes']),null!=_0x53e271['unlinkedAt']&&_0x53e271['hasOwnProperty']('unlinkedAt')&&(_0x4b49f5['unlinkedAt']=_0x53e271['unlinkedAt']),_0x4b49f5;},_0x2a95b0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2a95b0['getTypeUrl']=function(_0x39fbf7){return void 0x0===_0x39fbf7&&(_0x39fbf7='type.googleapis.com'),_0x39fbf7+'/CommentsV2GetCommentThreadResponse';},_0x2a95b0;}()),_0xe33dea['CommentsV2ConnectResponse']=(function(){function _0x221e8f(_0x24a6e5){if(this['threads']=[],this['threadsV2']=[],_0x24a6e5){for(var _0x1c9e65=Object['keys'](_0x24a6e5),_0x4024c5=0x0;_0x4024c5<_0x1c9e65['length'];++_0x4024c5)null!=_0x24a6e5[_0x1c9e65[_0x4024c5]]&&(this[_0x1c9e65[_0x4024c5]]=_0x24a6e5[_0x1c9e65[_0x4024c5]]);}}return _0x221e8f['prototype']['channel']='',_0x221e8f['prototype']['threads']=_0xcc5beb['emptyArray'],_0x221e8f['prototype']['threadsV2']=_0xcc5beb['emptyArray'],_0x221e8f['create']=function(_0xabd883){return new _0x221e8f(_0xabd883);},_0x221e8f['encode']=function(_0x2c7ccb,_0x151cea){if(_0x151cea||(_0x151cea=_0x5eaf50['create']()),null!=_0x2c7ccb['channel']&&Object['hasOwnProperty']['call'](_0x2c7ccb,'channel')&&_0x151cea['uint32'](0xa)['string'](_0x2c7ccb['channel']),null!=_0x2c7ccb['threads']&&_0x2c7ccb['threads']['length']){for(var _0xd01ab2=0x0;_0xd01ab2<_0x2c7ccb['threads']['length'];++_0xd01ab2)_0x151cea['uint32'](0x12)['string'](_0x2c7ccb['threads'][_0xd01ab2]);}if(null!=_0x2c7ccb['threadsV2']&&_0x2c7ccb['threadsV2']['length']){for(_0xd01ab2=0x0;_0xd01ab2<_0x2c7ccb['threadsV2']['length'];++_0xd01ab2)_0xe33dea['CommentsThreadDescriptor']['encode'](_0x2c7ccb['threadsV2'][_0xd01ab2],_0x151cea['uint32'](0x1a)['fork']())['ldelim']();}return _0x151cea;},_0x221e8f['encodeDelimited']=function(_0x12c733,_0x446054){return this['encode'](_0x12c733,_0x446054)['ldelim']();},_0x221e8f['decode']=function(_0x4d47b6,_0x42b6d1,_0x55261c){_0x4d47b6 instanceof _0x22a542||(_0x4d47b6=_0x22a542['create'](_0x4d47b6));for(var _0x5e8179=void 0x0===_0x42b6d1?_0x4d47b6['len']:_0x4d47b6['pos']+_0x42b6d1,_0x595131=new _0xe33dea['CommentsV2ConnectResponse']();_0x4d47b6['pos']<_0x5e8179;){var _0x49cf66=_0x4d47b6['uint32']();if(_0x49cf66===_0x55261c)break;switch(_0x49cf66>>>0x3){case 0x1:_0x595131['channel']=_0x4d47b6['string']();break;case 0x2:_0x595131['threads']&&_0x595131['threads']['length']||(_0x595131['threads']=[]),_0x595131['threads']['push'](_0x4d47b6['string']());break;case 0x3:_0x595131['threadsV2']&&_0x595131['threadsV2']['length']||(_0x595131['threadsV2']=[]),_0x595131['threadsV2']['push'](_0xe33dea['CommentsThreadDescriptor']['decode'](_0x4d47b6,_0x4d47b6['uint32']()));break;default:_0x4d47b6['skipType'](0x7&_0x49cf66);}}return _0x595131;},_0x221e8f['decodeDelimited']=function(_0x4e0356){return _0x4e0356 instanceof _0x22a542||(_0x4e0356=new _0x22a542(_0x4e0356)),this['decode'](_0x4e0356,_0x4e0356['uint32']());},_0x221e8f['verify']=function(_0x16f749){if('object'!=typeof _0x16f749||null===_0x16f749)return'object\x20expected';if(null!=_0x16f749['channel']&&_0x16f749['hasOwnProperty']('channel')&&!_0xcc5beb['isString'](_0x16f749['channel']))return'channel:\x20string\x20expected';if(null!=_0x16f749['threads']&&_0x16f749['hasOwnProperty']('threads')){if(!Array['isArray'](_0x16f749['threads']))return'threads:\x20array\x20expected';for(var _0x4b9868=0x0;_0x4b9868<_0x16f749['threads']['length'];++_0x4b9868)if(!_0xcc5beb['isString'](_0x16f749['threads'][_0x4b9868]))return'threads:\x20string[]\x20expected';}if(null!=_0x16f749['threadsV2']&&_0x16f749['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x16f749['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x4b9868=0x0;_0x4b9868<_0x16f749['threadsV2']['length'];++_0x4b9868){var _0x100018=_0xe33dea['CommentsThreadDescriptor']['verify'](_0x16f749['threadsV2'][_0x4b9868]);if(_0x100018)return'threadsV2.'+_0x100018;}}return null;},_0x221e8f['fromObject']=function(_0x4df742){if(_0x4df742 instanceof _0xe33dea['CommentsV2ConnectResponse'])return _0x4df742;var _0x52ad01=new _0xe33dea['CommentsV2ConnectResponse']();if(null!=_0x4df742['channel']&&(_0x52ad01['channel']=String(_0x4df742['channel'])),_0x4df742['threads']){if(!Array['isArray'](_0x4df742['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x52ad01['threads']=[];for(var _0x2db2ac=0x0;_0x2db2ac<_0x4df742['threads']['length'];++_0x2db2ac)_0x52ad01['threads'][_0x2db2ac]=String(_0x4df742['threads'][_0x2db2ac]);}if(_0x4df742['threadsV2']){if(!Array['isArray'](_0x4df742['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x52ad01['threadsV2']=[],_0x2db2ac=0x0;_0x2db2ac<_0x4df742['threadsV2']['length'];++_0x2db2ac){if('object'!=typeof _0x4df742['threadsV2'][_0x2db2ac])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x52ad01['threadsV2'][_0x2db2ac]=_0xe33dea['CommentsThreadDescriptor']['fromObject'](_0x4df742['threadsV2'][_0x2db2ac]);}}return _0x52ad01;},_0x221e8f['toObject']=function(_0x14b2fe,_0x219337){_0x219337||(_0x219337={});var _0x419220={};if((_0x219337['arrays']||_0x219337['defaults'])&&(_0x419220['threads']=[],_0x419220['threadsV2']=[]),_0x219337['defaults']&&(_0x419220['channel']=''),null!=_0x14b2fe['channel']&&_0x14b2fe['hasOwnProperty']('channel')&&(_0x419220['channel']=_0x14b2fe['channel']),_0x14b2fe['threads']&&_0x14b2fe['threads']['length']){_0x419220['threads']=[];for(var _0x14499c=0x0;_0x14499c<_0x14b2fe['threads']['length'];++_0x14499c)_0x419220['threads'][_0x14499c]=_0x14b2fe['threads'][_0x14499c];}if(_0x14b2fe['threadsV2']&&_0x14b2fe['threadsV2']['length']){for(_0x419220['threadsV2']=[],_0x14499c=0x0;_0x14499c<_0x14b2fe['threadsV2']['length'];++_0x14499c)_0x419220['threadsV2'][_0x14499c]=_0xe33dea['CommentsThreadDescriptor']['toObject'](_0x14b2fe['threadsV2'][_0x14499c],_0x219337);}return _0x419220;},_0x221e8f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x221e8f['getTypeUrl']=function(_0x220c79){return void 0x0===_0x220c79&&(_0x220c79='type.googleapis.com'),_0x220c79+'/CommentsV2ConnectResponse';},_0x221e8f;}()),_0xe33dea['CommentsV2AddCommentResponse']=(function(){function _0x4108ea(_0x3de641){if(_0x3de641){for(var _0x336bbe=Object['keys'](_0x3de641),_0x642edc=0x0;_0x642edc<_0x336bbe['length'];++_0x642edc)null!=_0x3de641[_0x336bbe[_0x642edc]]&&(this[_0x336bbe[_0x642edc]]=_0x3de641[_0x336bbe[_0x642edc]]);}}return _0x4108ea['prototype']['commentThreadId']='',_0x4108ea['prototype']['commentId']='',_0x4108ea['prototype']['createdAt']='',_0x4108ea['create']=function(_0x2f7f59){return new _0x4108ea(_0x2f7f59);},_0x4108ea['encode']=function(_0x1f38ed,_0x37619a){return _0x37619a||(_0x37619a=_0x5eaf50['create']()),null!=_0x1f38ed['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1f38ed,'commentThreadId')&&_0x37619a['uint32'](0xa)['string'](_0x1f38ed['commentThreadId']),null!=_0x1f38ed['commentId']&&Object['hasOwnProperty']['call'](_0x1f38ed,'commentId')&&_0x37619a['uint32'](0x12)['string'](_0x1f38ed['commentId']),null!=_0x1f38ed['createdAt']&&Object['hasOwnProperty']['call'](_0x1f38ed,'createdAt')&&_0x37619a['uint32'](0x1a)['string'](_0x1f38ed['createdAt']),_0x37619a;},_0x4108ea['encodeDelimited']=function(_0x1313e4,_0x524b6b){return this['encode'](_0x1313e4,_0x524b6b)['ldelim']();},_0x4108ea['decode']=function(_0x294e51,_0x531e56,_0x4123b0){_0x294e51 instanceof _0x22a542||(_0x294e51=_0x22a542['create'](_0x294e51));for(var _0x21d353=void 0x0===_0x531e56?_0x294e51['len']:_0x294e51['pos']+_0x531e56,_0x5807a5=new _0xe33dea['CommentsV2AddCommentResponse']();_0x294e51['pos']<_0x21d353;){var _0x16dc43=_0x294e51['uint32']();if(_0x16dc43===_0x4123b0)break;switch(_0x16dc43>>>0x3){case 0x1:_0x5807a5['commentThreadId']=_0x294e51['string']();break;case 0x2:_0x5807a5['commentId']=_0x294e51['string']();break;case 0x3:_0x5807a5['createdAt']=_0x294e51['string']();break;default:_0x294e51['skipType'](0x7&_0x16dc43);}}return _0x5807a5;},_0x4108ea['decodeDelimited']=function(_0x2630ae){return _0x2630ae instanceof _0x22a542||(_0x2630ae=new _0x22a542(_0x2630ae)),this['decode'](_0x2630ae,_0x2630ae['uint32']());},_0x4108ea['verify']=function(_0x255c3f){return'object'!=typeof _0x255c3f||null===_0x255c3f?'object\x20expected':null!=_0x255c3f['commentThreadId']&&_0x255c3f['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x255c3f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x255c3f['commentId']&&_0x255c3f['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x255c3f['commentId'])?'commentId:\x20string\x20expected':null!=_0x255c3f['createdAt']&&_0x255c3f['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x255c3f['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x4108ea['fromObject']=function(_0x514bf8){if(_0x514bf8 instanceof _0xe33dea['CommentsV2AddCommentResponse'])return _0x514bf8;var _0x1f1fad=new _0xe33dea['CommentsV2AddCommentResponse']();return null!=_0x514bf8['commentThreadId']&&(_0x1f1fad['commentThreadId']=String(_0x514bf8['commentThreadId'])),null!=_0x514bf8['commentId']&&(_0x1f1fad['commentId']=String(_0x514bf8['commentId'])),null!=_0x514bf8['createdAt']&&(_0x1f1fad['createdAt']=String(_0x514bf8['createdAt'])),_0x1f1fad;},_0x4108ea['toObject']=function(_0x4ebb0b,_0x3fa677){_0x3fa677||(_0x3fa677={});var _0x234227={};return _0x3fa677['defaults']&&(_0x234227['commentThreadId']='',_0x234227['commentId']='',_0x234227['createdAt']=''),null!=_0x4ebb0b['commentThreadId']&&_0x4ebb0b['hasOwnProperty']('commentThreadId')&&(_0x234227['commentThreadId']=_0x4ebb0b['commentThreadId']),null!=_0x4ebb0b['commentId']&&_0x4ebb0b['hasOwnProperty']('commentId')&&(_0x234227['commentId']=_0x4ebb0b['commentId']),null!=_0x4ebb0b['createdAt']&&_0x4ebb0b['hasOwnProperty']('createdAt')&&(_0x234227['createdAt']=_0x4ebb0b['createdAt']),_0x234227;},_0x4108ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4108ea['getTypeUrl']=function(_0xe54f8){return void 0x0===_0xe54f8&&(_0xe54f8='type.googleapis.com'),_0xe54f8+'/CommentsV2AddCommentResponse';},_0x4108ea;}()),_0xe33dea['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x5cd9cc(_0x17dab0){if(_0x17dab0){for(var _0x2a914a=Object['keys'](_0x17dab0),_0x549566=0x0;_0x549566<_0x2a914a['length'];++_0x549566)null!=_0x17dab0[_0x2a914a[_0x549566]]&&(this[_0x2a914a[_0x549566]]=_0x17dab0[_0x2a914a[_0x549566]]);}}return _0x5cd9cc['prototype']['commentThreadId']='',_0x5cd9cc['prototype']['documentId']='',_0x5cd9cc['prototype']['resolvedAt']='',_0x5cd9cc['prototype']['resolvedBy']='',_0x5cd9cc['create']=function(_0x5ca444){return new _0x5cd9cc(_0x5ca444);},_0x5cd9cc['encode']=function(_0x38ff51,_0x3fa6a9){return _0x3fa6a9||(_0x3fa6a9=_0x5eaf50['create']()),null!=_0x38ff51['commentThreadId']&&Object['hasOwnProperty']['call'](_0x38ff51,'commentThreadId')&&_0x3fa6a9['uint32'](0xa)['string'](_0x38ff51['commentThreadId']),null!=_0x38ff51['documentId']&&Object['hasOwnProperty']['call'](_0x38ff51,'documentId')&&_0x3fa6a9['uint32'](0x12)['string'](_0x38ff51['documentId']),null!=_0x38ff51['resolvedAt']&&Object['hasOwnProperty']['call'](_0x38ff51,'resolvedAt')&&_0x3fa6a9['uint32'](0x1a)['string'](_0x38ff51['resolvedAt']),null!=_0x38ff51['resolvedBy']&&Object['hasOwnProperty']['call'](_0x38ff51,'resolvedBy')&&_0x3fa6a9['uint32'](0x22)['string'](_0x38ff51['resolvedBy']),_0x3fa6a9;},_0x5cd9cc['encodeDelimited']=function(_0x1bd701,_0x528caa){return this['encode'](_0x1bd701,_0x528caa)['ldelim']();},_0x5cd9cc['decode']=function(_0x5f2b30,_0x592f02,_0x397a19){_0x5f2b30 instanceof _0x22a542||(_0x5f2b30=_0x22a542['create'](_0x5f2b30));for(var _0x2de1e1=void 0x0===_0x592f02?_0x5f2b30['len']:_0x5f2b30['pos']+_0x592f02,_0x1223d6=new _0xe33dea['CommentsV2ResolveCommentThreadResponse']();_0x5f2b30['pos']<_0x2de1e1;){var _0x4734ad=_0x5f2b30['uint32']();if(_0x4734ad===_0x397a19)break;switch(_0x4734ad>>>0x3){case 0x1:_0x1223d6['commentThreadId']=_0x5f2b30['string']();break;case 0x2:_0x1223d6['documentId']=_0x5f2b30['string']();break;case 0x3:_0x1223d6['resolvedAt']=_0x5f2b30['string']();break;case 0x4:_0x1223d6['resolvedBy']=_0x5f2b30['string']();break;default:_0x5f2b30['skipType'](0x7&_0x4734ad);}}return _0x1223d6;},_0x5cd9cc['decodeDelimited']=function(_0x5bd323){return _0x5bd323 instanceof _0x22a542||(_0x5bd323=new _0x22a542(_0x5bd323)),this['decode'](_0x5bd323,_0x5bd323['uint32']());},_0x5cd9cc['verify']=function(_0x284d97){return'object'!=typeof _0x284d97||null===_0x284d97?'object\x20expected':null!=_0x284d97['commentThreadId']&&_0x284d97['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x284d97['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x284d97['documentId']&&_0x284d97['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x284d97['documentId'])?'documentId:\x20string\x20expected':null!=_0x284d97['resolvedAt']&&_0x284d97['hasOwnProperty']('resolvedAt')&&!_0xcc5beb['isString'](_0x284d97['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x284d97['resolvedBy']&&_0x284d97['hasOwnProperty']('resolvedBy')&&!_0xcc5beb['isString'](_0x284d97['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x5cd9cc['fromObject']=function(_0x1ce31b){if(_0x1ce31b instanceof _0xe33dea['CommentsV2ResolveCommentThreadResponse'])return _0x1ce31b;var _0x53ffb9=new _0xe33dea['CommentsV2ResolveCommentThreadResponse']();return null!=_0x1ce31b['commentThreadId']&&(_0x53ffb9['commentThreadId']=String(_0x1ce31b['commentThreadId'])),null!=_0x1ce31b['documentId']&&(_0x53ffb9['documentId']=String(_0x1ce31b['documentId'])),null!=_0x1ce31b['resolvedAt']&&(_0x53ffb9['resolvedAt']=String(_0x1ce31b['resolvedAt'])),null!=_0x1ce31b['resolvedBy']&&(_0x53ffb9['resolvedBy']=String(_0x1ce31b['resolvedBy'])),_0x53ffb9;},_0x5cd9cc['toObject']=function(_0x30a5d2,_0x26ecf0){_0x26ecf0||(_0x26ecf0={});var _0x27b8e7={};return _0x26ecf0['defaults']&&(_0x27b8e7['commentThreadId']='',_0x27b8e7['documentId']='',_0x27b8e7['resolvedAt']='',_0x27b8e7['resolvedBy']=''),null!=_0x30a5d2['commentThreadId']&&_0x30a5d2['hasOwnProperty']('commentThreadId')&&(_0x27b8e7['commentThreadId']=_0x30a5d2['commentThreadId']),null!=_0x30a5d2['documentId']&&_0x30a5d2['hasOwnProperty']('documentId')&&(_0x27b8e7['documentId']=_0x30a5d2['documentId']),null!=_0x30a5d2['resolvedAt']&&_0x30a5d2['hasOwnProperty']('resolvedAt')&&(_0x27b8e7['resolvedAt']=_0x30a5d2['resolvedAt']),null!=_0x30a5d2['resolvedBy']&&_0x30a5d2['hasOwnProperty']('resolvedBy')&&(_0x27b8e7['resolvedBy']=_0x30a5d2['resolvedBy']),_0x27b8e7;},_0x5cd9cc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5cd9cc['getTypeUrl']=function(_0x3ac957){return void 0x0===_0x3ac957&&(_0x3ac957='type.googleapis.com'),_0x3ac957+'/CommentsV2ResolveCommentThreadResponse';},_0x5cd9cc;}()),_0xe33dea['CommentsV2AddCommentThreadResponse']=(function(){function _0x485f9a(_0x33c430){if(this['comments']=[],_0x33c430){for(var _0x16b28f=Object['keys'](_0x33c430),_0x148b9f=0x0;_0x148b9f<_0x16b28f['length'];++_0x148b9f)null!=_0x33c430[_0x16b28f[_0x148b9f]]&&(this[_0x16b28f[_0x148b9f]]=_0x33c430[_0x16b28f[_0x148b9f]]);}}return _0x485f9a['prototype']['commentThreadId']='',_0x485f9a['prototype']['createdAt']='',_0x485f9a['prototype']['comments']=_0xcc5beb['emptyArray'],_0x485f9a['create']=function(_0x2778c4){return new _0x485f9a(_0x2778c4);},_0x485f9a['encode']=function(_0x2073b3,_0x44fc95){if(_0x44fc95||(_0x44fc95=_0x5eaf50['create']()),null!=_0x2073b3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2073b3,'commentThreadId')&&_0x44fc95['uint32'](0xa)['string'](_0x2073b3['commentThreadId']),null!=_0x2073b3['createdAt']&&Object['hasOwnProperty']['call'](_0x2073b3,'createdAt')&&_0x44fc95['uint32'](0x12)['string'](_0x2073b3['createdAt']),null!=_0x2073b3['comments']&&_0x2073b3['comments']['length']){for(var _0x3e177e=0x0;_0x3e177e<_0x2073b3['comments']['length'];++_0x3e177e)_0xe33dea['CommentThreadAddedCommentDescriptor']['encode'](_0x2073b3['comments'][_0x3e177e],_0x44fc95['uint32'](0x1a)['fork']())['ldelim']();}return _0x44fc95;},_0x485f9a['encodeDelimited']=function(_0x4b62e7,_0x1b46dd){return this['encode'](_0x4b62e7,_0x1b46dd)['ldelim']();},_0x485f9a['decode']=function(_0xbe3b42,_0x1ef1cb,_0x265df6){_0xbe3b42 instanceof _0x22a542||(_0xbe3b42=_0x22a542['create'](_0xbe3b42));for(var _0x45e943=void 0x0===_0x1ef1cb?_0xbe3b42['len']:_0xbe3b42['pos']+_0x1ef1cb,_0x20c351=new _0xe33dea['CommentsV2AddCommentThreadResponse']();_0xbe3b42['pos']<_0x45e943;){var _0x1c5847=_0xbe3b42['uint32']();if(_0x1c5847===_0x265df6)break;switch(_0x1c5847>>>0x3){case 0x1:_0x20c351['commentThreadId']=_0xbe3b42['string']();break;case 0x2:_0x20c351['createdAt']=_0xbe3b42['string']();break;case 0x3:_0x20c351['comments']&&_0x20c351['comments']['length']||(_0x20c351['comments']=[]),_0x20c351['comments']['push'](_0xe33dea['CommentThreadAddedCommentDescriptor']['decode'](_0xbe3b42,_0xbe3b42['uint32']()));break;default:_0xbe3b42['skipType'](0x7&_0x1c5847);}}return _0x20c351;},_0x485f9a['decodeDelimited']=function(_0x11a80c){return _0x11a80c instanceof _0x22a542||(_0x11a80c=new _0x22a542(_0x11a80c)),this['decode'](_0x11a80c,_0x11a80c['uint32']());},_0x485f9a['verify']=function(_0x209277){if('object'!=typeof _0x209277||null===_0x209277)return'object\x20expected';if(null!=_0x209277['commentThreadId']&&_0x209277['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x209277['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x209277['createdAt']&&_0x209277['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x209277['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x209277['comments']&&_0x209277['hasOwnProperty']('comments')){if(!Array['isArray'](_0x209277['comments']))return'comments:\x20array\x20expected';for(var _0x134f99=0x0;_0x134f99<_0x209277['comments']['length'];++_0x134f99){var _0x505ec2=_0xe33dea['CommentThreadAddedCommentDescriptor']['verify'](_0x209277['comments'][_0x134f99]);if(_0x505ec2)return'comments.'+_0x505ec2;}}return null;},_0x485f9a['fromObject']=function(_0x3bb95a){if(_0x3bb95a instanceof _0xe33dea['CommentsV2AddCommentThreadResponse'])return _0x3bb95a;var _0x1f18a5=new _0xe33dea['CommentsV2AddCommentThreadResponse']();if(null!=_0x3bb95a['commentThreadId']&&(_0x1f18a5['commentThreadId']=String(_0x3bb95a['commentThreadId'])),null!=_0x3bb95a['createdAt']&&(_0x1f18a5['createdAt']=String(_0x3bb95a['createdAt'])),_0x3bb95a['comments']){if(!Array['isArray'](_0x3bb95a['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x1f18a5['comments']=[];for(var _0x56aa65=0x0;_0x56aa65<_0x3bb95a['comments']['length'];++_0x56aa65){if('object'!=typeof _0x3bb95a['comments'][_0x56aa65])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x1f18a5['comments'][_0x56aa65]=_0xe33dea['CommentThreadAddedCommentDescriptor']['fromObject'](_0x3bb95a['comments'][_0x56aa65]);}}return _0x1f18a5;},_0x485f9a['toObject']=function(_0x5a0630,_0x112198){_0x112198||(_0x112198={});var _0x421c4e={};if((_0x112198['arrays']||_0x112198['defaults'])&&(_0x421c4e['comments']=[]),_0x112198['defaults']&&(_0x421c4e['commentThreadId']='',_0x421c4e['createdAt']=''),null!=_0x5a0630['commentThreadId']&&_0x5a0630['hasOwnProperty']('commentThreadId')&&(_0x421c4e['commentThreadId']=_0x5a0630['commentThreadId']),null!=_0x5a0630['createdAt']&&_0x5a0630['hasOwnProperty']('createdAt')&&(_0x421c4e['createdAt']=_0x5a0630['createdAt']),_0x5a0630['comments']&&_0x5a0630['comments']['length']){_0x421c4e['comments']=[];for(var _0xecd2f2=0x0;_0xecd2f2<_0x5a0630['comments']['length'];++_0xecd2f2)_0x421c4e['comments'][_0xecd2f2]=_0xe33dea['CommentThreadAddedCommentDescriptor']['toObject'](_0x5a0630['comments'][_0xecd2f2],_0x112198);}return _0x421c4e;},_0x485f9a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x485f9a['getTypeUrl']=function(_0x3dec07){return void 0x0===_0x3dec07&&(_0x3dec07='type.googleapis.com'),_0x3dec07+'/CommentsV2AddCommentThreadResponse';},_0x485f9a;}()),_0xe33dea['CommentsV2UpdateCommentMessage']=(function(){function _0x18d0f2(_0x135020){if(_0x135020){for(var _0x14422e=Object['keys'](_0x135020),_0x16a524=0x0;_0x16a524<_0x14422e['length'];++_0x16a524)null!=_0x135020[_0x14422e[_0x16a524]]&&(this[_0x14422e[_0x16a524]]=_0x135020[_0x14422e[_0x16a524]]);}}return _0x18d0f2['prototype']['commentThreadId']='',_0x18d0f2['prototype']['commentId']='',_0x18d0f2['prototype']['content']='',_0x18d0f2['prototype']['documentId']='',_0x18d0f2['prototype']['attributes']='',_0x18d0f2['prototype']['isAttributesUpdated']=!0x1,_0x18d0f2['prototype']['commentThread']=null,_0x18d0f2['create']=function(_0x582fae){return new _0x18d0f2(_0x582fae);},_0x18d0f2['encode']=function(_0x36ab2d,_0x23f6d0){return _0x23f6d0||(_0x23f6d0=_0x5eaf50['create']()),null!=_0x36ab2d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x36ab2d,'commentThreadId')&&_0x23f6d0['uint32'](0xa)['string'](_0x36ab2d['commentThreadId']),null!=_0x36ab2d['commentId']&&Object['hasOwnProperty']['call'](_0x36ab2d,'commentId')&&_0x23f6d0['uint32'](0x12)['string'](_0x36ab2d['commentId']),null!=_0x36ab2d['content']&&Object['hasOwnProperty']['call'](_0x36ab2d,'content')&&_0x23f6d0['uint32'](0x1a)['string'](_0x36ab2d['content']),null!=_0x36ab2d['documentId']&&Object['hasOwnProperty']['call'](_0x36ab2d,'documentId')&&_0x23f6d0['uint32'](0x22)['string'](_0x36ab2d['documentId']),null!=_0x36ab2d['attributes']&&Object['hasOwnProperty']['call'](_0x36ab2d,'attributes')&&_0x23f6d0['uint32'](0x2a)['string'](_0x36ab2d['attributes']),null!=_0x36ab2d['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x36ab2d,'isAttributesUpdated')&&_0x23f6d0['uint32'](0x30)['bool'](_0x36ab2d['isAttributesUpdated']),null!=_0x36ab2d['commentThread']&&Object['hasOwnProperty']['call'](_0x36ab2d,'commentThread')&&_0xe33dea['CommentsThreadDescriptor']['encode'](_0x36ab2d['commentThread'],_0x23f6d0['uint32'](0x3a)['fork']())['ldelim'](),_0x23f6d0;},_0x18d0f2['encodeDelimited']=function(_0x3896bd,_0x3d73f0){return this['encode'](_0x3896bd,_0x3d73f0)['ldelim']();},_0x18d0f2['decode']=function(_0x6979b6,_0x4dcc40,_0x499cf3){_0x6979b6 instanceof _0x22a542||(_0x6979b6=_0x22a542['create'](_0x6979b6));for(var _0xf1ebb0=void 0x0===_0x4dcc40?_0x6979b6['len']:_0x6979b6['pos']+_0x4dcc40,_0x62e589=new _0xe33dea['CommentsV2UpdateCommentMessage']();_0x6979b6['pos']<_0xf1ebb0;){var _0x36a08f=_0x6979b6['uint32']();if(_0x36a08f===_0x499cf3)break;switch(_0x36a08f>>>0x3){case 0x1:_0x62e589['commentThreadId']=_0x6979b6['string']();break;case 0x2:_0x62e589['commentId']=_0x6979b6['string']();break;case 0x3:_0x62e589['content']=_0x6979b6['string']();break;case 0x4:_0x62e589['documentId']=_0x6979b6['string']();break;case 0x5:_0x62e589['attributes']=_0x6979b6['string']();break;case 0x6:_0x62e589['isAttributesUpdated']=_0x6979b6['bool']();break;case 0x7:_0x62e589['commentThread']=_0xe33dea['CommentsThreadDescriptor']['decode'](_0x6979b6,_0x6979b6['uint32']());break;default:_0x6979b6['skipType'](0x7&_0x36a08f);}}return _0x62e589;},_0x18d0f2['decodeDelimited']=function(_0x5d2836){return _0x5d2836 instanceof _0x22a542||(_0x5d2836=new _0x22a542(_0x5d2836)),this['decode'](_0x5d2836,_0x5d2836['uint32']());},_0x18d0f2['verify']=function(_0x29afe9){if('object'!=typeof _0x29afe9||null===_0x29afe9)return'object\x20expected';if(null!=_0x29afe9['commentThreadId']&&_0x29afe9['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x29afe9['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x29afe9['commentId']&&_0x29afe9['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x29afe9['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x29afe9['content']&&_0x29afe9['hasOwnProperty']('content')&&!_0xcc5beb['isString'](_0x29afe9['content']))return'content:\x20string\x20expected';if(null!=_0x29afe9['documentId']&&_0x29afe9['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x29afe9['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x29afe9['attributes']&&_0x29afe9['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x29afe9['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x29afe9['isAttributesUpdated']&&_0x29afe9['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x29afe9['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x29afe9['commentThread']&&_0x29afe9['hasOwnProperty']('commentThread')){var _0xb3f372=_0xe33dea['CommentsThreadDescriptor']['verify'](_0x29afe9['commentThread']);if(_0xb3f372)return'commentThread.'+_0xb3f372;}return null;},_0x18d0f2['fromObject']=function(_0x23b0d8){if(_0x23b0d8 instanceof _0xe33dea['CommentsV2UpdateCommentMessage'])return _0x23b0d8;var _0x17c0fe=new _0xe33dea['CommentsV2UpdateCommentMessage']();if(null!=_0x23b0d8['commentThreadId']&&(_0x17c0fe['commentThreadId']=String(_0x23b0d8['commentThreadId'])),null!=_0x23b0d8['commentId']&&(_0x17c0fe['commentId']=String(_0x23b0d8['commentId'])),null!=_0x23b0d8['content']&&(_0x17c0fe['content']=String(_0x23b0d8['content'])),null!=_0x23b0d8['documentId']&&(_0x17c0fe['documentId']=String(_0x23b0d8['documentId'])),null!=_0x23b0d8['attributes']&&(_0x17c0fe['attributes']=String(_0x23b0d8['attributes'])),null!=_0x23b0d8['isAttributesUpdated']&&(_0x17c0fe['isAttributesUpdated']=Boolean(_0x23b0d8['isAttributesUpdated'])),null!=_0x23b0d8['commentThread']){if('object'!=typeof _0x23b0d8['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x17c0fe['commentThread']=_0xe33dea['CommentsThreadDescriptor']['fromObject'](_0x23b0d8['commentThread']);}return _0x17c0fe;},_0x18d0f2['toObject']=function(_0x105ef5,_0x15cbdd){_0x15cbdd||(_0x15cbdd={});var _0x208758={};return _0x15cbdd['defaults']&&(_0x208758['commentThreadId']='',_0x208758['commentId']='',_0x208758['content']='',_0x208758['documentId']='',_0x208758['attributes']='',_0x208758['isAttributesUpdated']=!0x1,_0x208758['commentThread']=null),null!=_0x105ef5['commentThreadId']&&_0x105ef5['hasOwnProperty']('commentThreadId')&&(_0x208758['commentThreadId']=_0x105ef5['commentThreadId']),null!=_0x105ef5['commentId']&&_0x105ef5['hasOwnProperty']('commentId')&&(_0x208758['commentId']=_0x105ef5['commentId']),null!=_0x105ef5['content']&&_0x105ef5['hasOwnProperty']('content')&&(_0x208758['content']=_0x105ef5['content']),null!=_0x105ef5['documentId']&&_0x105ef5['hasOwnProperty']('documentId')&&(_0x208758['documentId']=_0x105ef5['documentId']),null!=_0x105ef5['attributes']&&_0x105ef5['hasOwnProperty']('attributes')&&(_0x208758['attributes']=_0x105ef5['attributes']),null!=_0x105ef5['isAttributesUpdated']&&_0x105ef5['hasOwnProperty']('isAttributesUpdated')&&(_0x208758['isAttributesUpdated']=_0x105ef5['isAttributesUpdated']),null!=_0x105ef5['commentThread']&&_0x105ef5['hasOwnProperty']('commentThread')&&(_0x208758['commentThread']=_0xe33dea['CommentsThreadDescriptor']['toObject'](_0x105ef5['commentThread'],_0x15cbdd)),_0x208758;},_0x18d0f2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x18d0f2['getTypeUrl']=function(_0x3d59af){return void 0x0===_0x3d59af&&(_0x3d59af='type.googleapis.com'),_0x3d59af+'/CommentsV2UpdateCommentMessage';},_0x18d0f2;}()),_0xe33dea['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x33edb5(_0x125f5c){if(_0x125f5c){for(var _0x78acd9=Object['keys'](_0x125f5c),_0x5dcd87=0x0;_0x5dcd87<_0x78acd9['length'];++_0x5dcd87)null!=_0x125f5c[_0x78acd9[_0x5dcd87]]&&(this[_0x78acd9[_0x5dcd87]]=_0x125f5c[_0x78acd9[_0x5dcd87]]);}}return _0x33edb5['prototype']['commentThreadId']='',_0x33edb5['prototype']['documentId']='',_0x33edb5['create']=function(_0x26c390){return new _0x33edb5(_0x26c390);},_0x33edb5['encode']=function(_0x3d16a3,_0x22fb6b){return _0x22fb6b||(_0x22fb6b=_0x5eaf50['create']()),null!=_0x3d16a3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3d16a3,'commentThreadId')&&_0x22fb6b['uint32'](0xa)['string'](_0x3d16a3['commentThreadId']),null!=_0x3d16a3['documentId']&&Object['hasOwnProperty']['call'](_0x3d16a3,'documentId')&&_0x22fb6b['uint32'](0x12)['string'](_0x3d16a3['documentId']),_0x22fb6b;},_0x33edb5['encodeDelimited']=function(_0x5ba246,_0x239a91){return this['encode'](_0x5ba246,_0x239a91)['ldelim']();},_0x33edb5['decode']=function(_0x38a070,_0x27baeb,_0x9273f4){_0x38a070 instanceof _0x22a542||(_0x38a070=_0x22a542['create'](_0x38a070));for(var _0xe6d1bf=void 0x0===_0x27baeb?_0x38a070['len']:_0x38a070['pos']+_0x27baeb,_0x55678e=new _0xe33dea['CommentsV2RemoveCommentThreadMessage']();_0x38a070['pos']<_0xe6d1bf;){var _0x43fcdd=_0x38a070['uint32']();if(_0x43fcdd===_0x9273f4)break;switch(_0x43fcdd>>>0x3){case 0x1:_0x55678e['commentThreadId']=_0x38a070['string']();break;case 0x2:_0x55678e['documentId']=_0x38a070['string']();break;default:_0x38a070['skipType'](0x7&_0x43fcdd);}}return _0x55678e;},_0x33edb5['decodeDelimited']=function(_0x9ff7c3){return _0x9ff7c3 instanceof _0x22a542||(_0x9ff7c3=new _0x22a542(_0x9ff7c3)),this['decode'](_0x9ff7c3,_0x9ff7c3['uint32']());},_0x33edb5['verify']=function(_0xaa85a0){return'object'!=typeof _0xaa85a0||null===_0xaa85a0?'object\x20expected':null!=_0xaa85a0['commentThreadId']&&_0xaa85a0['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0xaa85a0['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xaa85a0['documentId']&&_0xaa85a0['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0xaa85a0['documentId'])?'documentId:\x20string\x20expected':null;},_0x33edb5['fromObject']=function(_0x405760){if(_0x405760 instanceof _0xe33dea['CommentsV2RemoveCommentThreadMessage'])return _0x405760;var _0x3653f6=new _0xe33dea['CommentsV2RemoveCommentThreadMessage']();return null!=_0x405760['commentThreadId']&&(_0x3653f6['commentThreadId']=String(_0x405760['commentThreadId'])),null!=_0x405760['documentId']&&(_0x3653f6['documentId']=String(_0x405760['documentId'])),_0x3653f6;},_0x33edb5['toObject']=function(_0x161d7d,_0x52d704){_0x52d704||(_0x52d704={});var _0x54ff3a={};return _0x52d704['defaults']&&(_0x54ff3a['commentThreadId']='',_0x54ff3a['documentId']=''),null!=_0x161d7d['commentThreadId']&&_0x161d7d['hasOwnProperty']('commentThreadId')&&(_0x54ff3a['commentThreadId']=_0x161d7d['commentThreadId']),null!=_0x161d7d['documentId']&&_0x161d7d['hasOwnProperty']('documentId')&&(_0x54ff3a['documentId']=_0x161d7d['documentId']),_0x54ff3a;},_0x33edb5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x33edb5['getTypeUrl']=function(_0x488849){return void 0x0===_0x488849&&(_0x488849='type.googleapis.com'),_0x488849+'/CommentsV2RemoveCommentThreadMessage';},_0x33edb5;}()),_0xe33dea['CommentsV2RemoveCommentMessage']=(function(){function _0x49a1ff(_0xc12b20){if(_0xc12b20){for(var _0x6fc84a=Object['keys'](_0xc12b20),_0x82f0d5=0x0;_0x82f0d5<_0x6fc84a['length'];++_0x82f0d5)null!=_0xc12b20[_0x6fc84a[_0x82f0d5]]&&(this[_0x6fc84a[_0x82f0d5]]=_0xc12b20[_0x6fc84a[_0x82f0d5]]);}}return _0x49a1ff['prototype']['commentThreadId']='',_0x49a1ff['prototype']['commentId']='',_0x49a1ff['prototype']['documentId']='',_0x49a1ff['create']=function(_0x11f7ad){return new _0x49a1ff(_0x11f7ad);},_0x49a1ff['encode']=function(_0x23b7d9,_0x77bee9){return _0x77bee9||(_0x77bee9=_0x5eaf50['create']()),null!=_0x23b7d9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x23b7d9,'commentThreadId')&&_0x77bee9['uint32'](0xa)['string'](_0x23b7d9['commentThreadId']),null!=_0x23b7d9['commentId']&&Object['hasOwnProperty']['call'](_0x23b7d9,'commentId')&&_0x77bee9['uint32'](0x12)['string'](_0x23b7d9['commentId']),null!=_0x23b7d9['documentId']&&Object['hasOwnProperty']['call'](_0x23b7d9,'documentId')&&_0x77bee9['uint32'](0x1a)['string'](_0x23b7d9['documentId']),_0x77bee9;},_0x49a1ff['encodeDelimited']=function(_0x140e2e,_0x294a6b){return this['encode'](_0x140e2e,_0x294a6b)['ldelim']();},_0x49a1ff['decode']=function(_0x3c4f79,_0x111a93,_0xbc21ab){_0x3c4f79 instanceof _0x22a542||(_0x3c4f79=_0x22a542['create'](_0x3c4f79));for(var _0x4cfe6d=void 0x0===_0x111a93?_0x3c4f79['len']:_0x3c4f79['pos']+_0x111a93,_0x43a3b6=new _0xe33dea['CommentsV2RemoveCommentMessage']();_0x3c4f79['pos']<_0x4cfe6d;){var _0x35371d=_0x3c4f79['uint32']();if(_0x35371d===_0xbc21ab)break;switch(_0x35371d>>>0x3){case 0x1:_0x43a3b6['commentThreadId']=_0x3c4f79['string']();break;case 0x2:_0x43a3b6['commentId']=_0x3c4f79['string']();break;case 0x3:_0x43a3b6['documentId']=_0x3c4f79['string']();break;default:_0x3c4f79['skipType'](0x7&_0x35371d);}}return _0x43a3b6;},_0x49a1ff['decodeDelimited']=function(_0x413e3e){return _0x413e3e instanceof _0x22a542||(_0x413e3e=new _0x22a542(_0x413e3e)),this['decode'](_0x413e3e,_0x413e3e['uint32']());},_0x49a1ff['verify']=function(_0x182a69){return'object'!=typeof _0x182a69||null===_0x182a69?'object\x20expected':null!=_0x182a69['commentThreadId']&&_0x182a69['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x182a69['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x182a69['commentId']&&_0x182a69['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x182a69['commentId'])?'commentId:\x20string\x20expected':null!=_0x182a69['documentId']&&_0x182a69['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x182a69['documentId'])?'documentId:\x20string\x20expected':null;},_0x49a1ff['fromObject']=function(_0x21017c){if(_0x21017c instanceof _0xe33dea['CommentsV2RemoveCommentMessage'])return _0x21017c;var _0x465844=new _0xe33dea['CommentsV2RemoveCommentMessage']();return null!=_0x21017c['commentThreadId']&&(_0x465844['commentThreadId']=String(_0x21017c['commentThreadId'])),null!=_0x21017c['commentId']&&(_0x465844['commentId']=String(_0x21017c['commentId'])),null!=_0x21017c['documentId']&&(_0x465844['documentId']=String(_0x21017c['documentId'])),_0x465844;},_0x49a1ff['toObject']=function(_0x874d8e,_0xfdbfa7){_0xfdbfa7||(_0xfdbfa7={});var _0x42a5cc={};return _0xfdbfa7['defaults']&&(_0x42a5cc['commentThreadId']='',_0x42a5cc['commentId']='',_0x42a5cc['documentId']=''),null!=_0x874d8e['commentThreadId']&&_0x874d8e['hasOwnProperty']('commentThreadId')&&(_0x42a5cc['commentThreadId']=_0x874d8e['commentThreadId']),null!=_0x874d8e['commentId']&&_0x874d8e['hasOwnProperty']('commentId')&&(_0x42a5cc['commentId']=_0x874d8e['commentId']),null!=_0x874d8e['documentId']&&_0x874d8e['hasOwnProperty']('documentId')&&(_0x42a5cc['documentId']=_0x874d8e['documentId']),_0x42a5cc;},_0x49a1ff['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x49a1ff['getTypeUrl']=function(_0x99380c){return void 0x0===_0x99380c&&(_0x99380c='type.googleapis.com'),_0x99380c+'/CommentsV2RemoveCommentMessage';},_0x49a1ff;}()),_0xe33dea['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x536f3c(_0x149073){if(_0x149073){for(var _0x69344b=Object['keys'](_0x149073),_0x48ff8a=0x0;_0x48ff8a<_0x69344b['length'];++_0x48ff8a)null!=_0x149073[_0x69344b[_0x48ff8a]]&&(this[_0x69344b[_0x48ff8a]]=_0x149073[_0x69344b[_0x48ff8a]]);}}return _0x536f3c['prototype']['documentId']='',_0x536f3c['create']=function(_0x2076ab){return new _0x536f3c(_0x2076ab);},_0x536f3c['encode']=function(_0x349007,_0x470470){return _0x470470||(_0x470470=_0x5eaf50['create']()),null!=_0x349007['documentId']&&Object['hasOwnProperty']['call'](_0x349007,'documentId')&&_0x470470['uint32'](0xa)['string'](_0x349007['documentId']),_0x470470;},_0x536f3c['encodeDelimited']=function(_0x3581b1,_0x3a6d9c){return this['encode'](_0x3581b1,_0x3a6d9c)['ldelim']();},_0x536f3c['decode']=function(_0x5a9818,_0x118685,_0xd24ce2){_0x5a9818 instanceof _0x22a542||(_0x5a9818=_0x22a542['create'](_0x5a9818));for(var _0x53f48c=void 0x0===_0x118685?_0x5a9818['len']:_0x5a9818['pos']+_0x118685,_0x3cba04=new _0xe33dea['CommentsV2GetDocumentThreadsMessage']();_0x5a9818['pos']<_0x53f48c;){var _0x807482=_0x5a9818['uint32']();if(_0x807482===_0xd24ce2)break;_0x807482>>>0x3==0x1?_0x3cba04['documentId']=_0x5a9818['string']():_0x5a9818['skipType'](0x7&_0x807482);}return _0x3cba04;},_0x536f3c['decodeDelimited']=function(_0x3d59bd){return _0x3d59bd instanceof _0x22a542||(_0x3d59bd=new _0x22a542(_0x3d59bd)),this['decode'](_0x3d59bd,_0x3d59bd['uint32']());},_0x536f3c['verify']=function(_0x4a0a95){return'object'!=typeof _0x4a0a95||null===_0x4a0a95?'object\x20expected':null!=_0x4a0a95['documentId']&&_0x4a0a95['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x4a0a95['documentId'])?'documentId:\x20string\x20expected':null;},_0x536f3c['fromObject']=function(_0x4ed3b3){if(_0x4ed3b3 instanceof _0xe33dea['CommentsV2GetDocumentThreadsMessage'])return _0x4ed3b3;var _0x5a2dcf=new _0xe33dea['CommentsV2GetDocumentThreadsMessage']();return null!=_0x4ed3b3['documentId']&&(_0x5a2dcf['documentId']=String(_0x4ed3b3['documentId'])),_0x5a2dcf;},_0x536f3c['toObject']=function(_0x426372,_0x29441e){_0x29441e||(_0x29441e={});var _0x38135c={};return _0x29441e['defaults']&&(_0x38135c['documentId']=''),null!=_0x426372['documentId']&&_0x426372['hasOwnProperty']('documentId')&&(_0x38135c['documentId']=_0x426372['documentId']),_0x38135c;},_0x536f3c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x536f3c['getTypeUrl']=function(_0x49ab42){return void 0x0===_0x49ab42&&(_0x49ab42='type.googleapis.com'),_0x49ab42+'/CommentsV2GetDocumentThreadsMessage';},_0x536f3c;}()),_0xe33dea['CommentsV2GetCommentThreadMessage']=(function(){function _0x2e43c5(_0x224534){if(_0x224534){for(var _0xa6ff9b=Object['keys'](_0x224534),_0x37a866=0x0;_0x37a866<_0xa6ff9b['length'];++_0x37a866)null!=_0x224534[_0xa6ff9b[_0x37a866]]&&(this[_0xa6ff9b[_0x37a866]]=_0x224534[_0xa6ff9b[_0x37a866]]);}}return _0x2e43c5['prototype']['commentThreadId']='',_0x2e43c5['prototype']['documentId']='',_0x2e43c5['create']=function(_0x5aff77){return new _0x2e43c5(_0x5aff77);},_0x2e43c5['encode']=function(_0x3e0a6b,_0x165a44){return _0x165a44||(_0x165a44=_0x5eaf50['create']()),null!=_0x3e0a6b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e0a6b,'commentThreadId')&&_0x165a44['uint32'](0xa)['string'](_0x3e0a6b['commentThreadId']),null!=_0x3e0a6b['documentId']&&Object['hasOwnProperty']['call'](_0x3e0a6b,'documentId')&&_0x165a44['uint32'](0x12)['string'](_0x3e0a6b['documentId']),_0x165a44;},_0x2e43c5['encodeDelimited']=function(_0x2b9863,_0x20b7c4){return this['encode'](_0x2b9863,_0x20b7c4)['ldelim']();},_0x2e43c5['decode']=function(_0x3441ec,_0xc5a65a,_0x3a7ece){_0x3441ec instanceof _0x22a542||(_0x3441ec=_0x22a542['create'](_0x3441ec));for(var _0x3277c4=void 0x0===_0xc5a65a?_0x3441ec['len']:_0x3441ec['pos']+_0xc5a65a,_0x13c300=new _0xe33dea['CommentsV2GetCommentThreadMessage']();_0x3441ec['pos']<_0x3277c4;){var _0x33c129=_0x3441ec['uint32']();if(_0x33c129===_0x3a7ece)break;switch(_0x33c129>>>0x3){case 0x1:_0x13c300['commentThreadId']=_0x3441ec['string']();break;case 0x2:_0x13c300['documentId']=_0x3441ec['string']();break;default:_0x3441ec['skipType'](0x7&_0x33c129);}}return _0x13c300;},_0x2e43c5['decodeDelimited']=function(_0x2e73aa){return _0x2e73aa instanceof _0x22a542||(_0x2e73aa=new _0x22a542(_0x2e73aa)),this['decode'](_0x2e73aa,_0x2e73aa['uint32']());},_0x2e43c5['verify']=function(_0x549ee0){return'object'!=typeof _0x549ee0||null===_0x549ee0?'object\x20expected':null!=_0x549ee0['commentThreadId']&&_0x549ee0['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x549ee0['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x549ee0['documentId']&&_0x549ee0['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x549ee0['documentId'])?'documentId:\x20string\x20expected':null;},_0x2e43c5['fromObject']=function(_0x433de5){if(_0x433de5 instanceof _0xe33dea['CommentsV2GetCommentThreadMessage'])return _0x433de5;var _0x5ece53=new _0xe33dea['CommentsV2GetCommentThreadMessage']();return null!=_0x433de5['commentThreadId']&&(_0x5ece53['commentThreadId']=String(_0x433de5['commentThreadId'])),null!=_0x433de5['documentId']&&(_0x5ece53['documentId']=String(_0x433de5['documentId'])),_0x5ece53;},_0x2e43c5['toObject']=function(_0x820bfb,_0xabd293){_0xabd293||(_0xabd293={});var _0x12cc22={};return _0xabd293['defaults']&&(_0x12cc22['commentThreadId']='',_0x12cc22['documentId']=''),null!=_0x820bfb['commentThreadId']&&_0x820bfb['hasOwnProperty']('commentThreadId')&&(_0x12cc22['commentThreadId']=_0x820bfb['commentThreadId']),null!=_0x820bfb['documentId']&&_0x820bfb['hasOwnProperty']('documentId')&&(_0x12cc22['documentId']=_0x820bfb['documentId']),_0x12cc22;},_0x2e43c5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2e43c5['getTypeUrl']=function(_0x54d2e8){return void 0x0===_0x54d2e8&&(_0x54d2e8='type.googleapis.com'),_0x54d2e8+'/CommentsV2GetCommentThreadMessage';},_0x2e43c5;}()),_0xe33dea['CommentsV2ConnectMessage']=(function(){function _0x45eb85(_0x52539e){if(_0x52539e){for(var _0x1b00d8=Object['keys'](_0x52539e),_0x12b8e5=0x0;_0x12b8e5<_0x1b00d8['length'];++_0x12b8e5)null!=_0x52539e[_0x1b00d8[_0x12b8e5]]&&(this[_0x1b00d8[_0x12b8e5]]=_0x52539e[_0x1b00d8[_0x12b8e5]]);}}return _0x45eb85['prototype']['documentId']='',_0x45eb85['create']=function(_0x229771){return new _0x45eb85(_0x229771);},_0x45eb85['encode']=function(_0x4bc8c1,_0x3ac056){return _0x3ac056||(_0x3ac056=_0x5eaf50['create']()),null!=_0x4bc8c1['documentId']&&Object['hasOwnProperty']['call'](_0x4bc8c1,'documentId')&&_0x3ac056['uint32'](0xa)['string'](_0x4bc8c1['documentId']),_0x3ac056;},_0x45eb85['encodeDelimited']=function(_0x191cda,_0x4584c5){return this['encode'](_0x191cda,_0x4584c5)['ldelim']();},_0x45eb85['decode']=function(_0x2bfb86,_0x543794,_0x47b29b){_0x2bfb86 instanceof _0x22a542||(_0x2bfb86=_0x22a542['create'](_0x2bfb86));for(var _0x479e42=void 0x0===_0x543794?_0x2bfb86['len']:_0x2bfb86['pos']+_0x543794,_0xa76ea9=new _0xe33dea['CommentsV2ConnectMessage']();_0x2bfb86['pos']<_0x479e42;){var _0x6acc97=_0x2bfb86['uint32']();if(_0x6acc97===_0x47b29b)break;_0x6acc97>>>0x3==0x1?_0xa76ea9['documentId']=_0x2bfb86['string']():_0x2bfb86['skipType'](0x7&_0x6acc97);}return _0xa76ea9;},_0x45eb85['decodeDelimited']=function(_0x6fc129){return _0x6fc129 instanceof _0x22a542||(_0x6fc129=new _0x22a542(_0x6fc129)),this['decode'](_0x6fc129,_0x6fc129['uint32']());},_0x45eb85['verify']=function(_0x40a791){return'object'!=typeof _0x40a791||null===_0x40a791?'object\x20expected':null!=_0x40a791['documentId']&&_0x40a791['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x40a791['documentId'])?'documentId:\x20string\x20expected':null;},_0x45eb85['fromObject']=function(_0x4311ed){if(_0x4311ed instanceof _0xe33dea['CommentsV2ConnectMessage'])return _0x4311ed;var _0x2bac5a=new _0xe33dea['CommentsV2ConnectMessage']();return null!=_0x4311ed['documentId']&&(_0x2bac5a['documentId']=String(_0x4311ed['documentId'])),_0x2bac5a;},_0x45eb85['toObject']=function(_0x1fb8cc,_0x37836f){_0x37836f||(_0x37836f={});var _0x5b2f1f={};return _0x37836f['defaults']&&(_0x5b2f1f['documentId']=''),null!=_0x1fb8cc['documentId']&&_0x1fb8cc['hasOwnProperty']('documentId')&&(_0x5b2f1f['documentId']=_0x1fb8cc['documentId']),_0x5b2f1f;},_0x45eb85['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x45eb85['getTypeUrl']=function(_0x57a516){return void 0x0===_0x57a516&&(_0x57a516='type.googleapis.com'),_0x57a516+'/CommentsV2ConnectMessage';},_0x45eb85;}()),_0xe33dea['CommentsV2AddCommentMessage']=(function(){function _0x2ccd8d(_0x2a8a90){if(_0x2a8a90){for(var _0x5af12f=Object['keys'](_0x2a8a90),_0x2b76a8=0x0;_0x2b76a8<_0x5af12f['length'];++_0x2b76a8)null!=_0x2a8a90[_0x5af12f[_0x2b76a8]]&&(this[_0x5af12f[_0x2b76a8]]=_0x2a8a90[_0x5af12f[_0x2b76a8]]);}}return _0x2ccd8d['prototype']['commentThreadId']='',_0x2ccd8d['prototype']['content']='',_0x2ccd8d['prototype']['documentId']='',_0x2ccd8d['prototype']['commentId']='',_0x2ccd8d['prototype']['createdAt']='',_0x2ccd8d['prototype']['userId']='',_0x2ccd8d['prototype']['attributes']='',_0x2ccd8d['prototype']['commentThread']=null,_0x2ccd8d['create']=function(_0x4e8342){return new _0x2ccd8d(_0x4e8342);},_0x2ccd8d['encode']=function(_0x19754e,_0xb122b3){return _0xb122b3||(_0xb122b3=_0x5eaf50['create']()),null!=_0x19754e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x19754e,'commentThreadId')&&_0xb122b3['uint32'](0xa)['string'](_0x19754e['commentThreadId']),null!=_0x19754e['content']&&Object['hasOwnProperty']['call'](_0x19754e,'content')&&_0xb122b3['uint32'](0x12)['string'](_0x19754e['content']),null!=_0x19754e['documentId']&&Object['hasOwnProperty']['call'](_0x19754e,'documentId')&&_0xb122b3['uint32'](0x1a)['string'](_0x19754e['documentId']),null!=_0x19754e['commentId']&&Object['hasOwnProperty']['call'](_0x19754e,'commentId')&&_0xb122b3['uint32'](0x22)['string'](_0x19754e['commentId']),null!=_0x19754e['createdAt']&&Object['hasOwnProperty']['call'](_0x19754e,'createdAt')&&_0xb122b3['uint32'](0x2a)['string'](_0x19754e['createdAt']),null!=_0x19754e['userId']&&Object['hasOwnProperty']['call'](_0x19754e,'userId')&&_0xb122b3['uint32'](0x32)['string'](_0x19754e['userId']),null!=_0x19754e['attributes']&&Object['hasOwnProperty']['call'](_0x19754e,'attributes')&&_0xb122b3['uint32'](0x3a)['string'](_0x19754e['attributes']),null!=_0x19754e['commentThread']&&Object['hasOwnProperty']['call'](_0x19754e,'commentThread')&&_0xe33dea['CommentsThreadDescriptor']['encode'](_0x19754e['commentThread'],_0xb122b3['uint32'](0x42)['fork']())['ldelim'](),_0xb122b3;},_0x2ccd8d['encodeDelimited']=function(_0x4a40c0,_0x28da17){return this['encode'](_0x4a40c0,_0x28da17)['ldelim']();},_0x2ccd8d['decode']=function(_0x7415e5,_0x3cab2d,_0xc27b0a){_0x7415e5 instanceof _0x22a542||(_0x7415e5=_0x22a542['create'](_0x7415e5));for(var _0x24769a=void 0x0===_0x3cab2d?_0x7415e5['len']:_0x7415e5['pos']+_0x3cab2d,_0x541aff=new _0xe33dea['CommentsV2AddCommentMessage']();_0x7415e5['pos']<_0x24769a;){var _0x4af4df=_0x7415e5['uint32']();if(_0x4af4df===_0xc27b0a)break;switch(_0x4af4df>>>0x3){case 0x1:_0x541aff['commentThreadId']=_0x7415e5['string']();break;case 0x2:_0x541aff['content']=_0x7415e5['string']();break;case 0x3:_0x541aff['documentId']=_0x7415e5['string']();break;case 0x4:_0x541aff['commentId']=_0x7415e5['string']();break;case 0x5:_0x541aff['createdAt']=_0x7415e5['string']();break;case 0x6:_0x541aff['userId']=_0x7415e5['string']();break;case 0x7:_0x541aff['attributes']=_0x7415e5['string']();break;case 0x8:_0x541aff['commentThread']=_0xe33dea['CommentsThreadDescriptor']['decode'](_0x7415e5,_0x7415e5['uint32']());break;default:_0x7415e5['skipType'](0x7&_0x4af4df);}}return _0x541aff;},_0x2ccd8d['decodeDelimited']=function(_0x50a35c){return _0x50a35c instanceof _0x22a542||(_0x50a35c=new _0x22a542(_0x50a35c)),this['decode'](_0x50a35c,_0x50a35c['uint32']());},_0x2ccd8d['verify']=function(_0x3be1fd){if('object'!=typeof _0x3be1fd||null===_0x3be1fd)return'object\x20expected';if(null!=_0x3be1fd['commentThreadId']&&_0x3be1fd['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x3be1fd['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3be1fd['content']&&_0x3be1fd['hasOwnProperty']('content')&&!_0xcc5beb['isString'](_0x3be1fd['content']))return'content:\x20string\x20expected';if(null!=_0x3be1fd['documentId']&&_0x3be1fd['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x3be1fd['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3be1fd['commentId']&&_0x3be1fd['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x3be1fd['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3be1fd['createdAt']&&_0x3be1fd['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x3be1fd['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3be1fd['userId']&&_0x3be1fd['hasOwnProperty']('userId')&&!_0xcc5beb['isString'](_0x3be1fd['userId']))return'userId:\x20string\x20expected';if(null!=_0x3be1fd['attributes']&&_0x3be1fd['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x3be1fd['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3be1fd['commentThread']&&_0x3be1fd['hasOwnProperty']('commentThread')){var _0x21b1b3=_0xe33dea['CommentsThreadDescriptor']['verify'](_0x3be1fd['commentThread']);if(_0x21b1b3)return'commentThread.'+_0x21b1b3;}return null;},_0x2ccd8d['fromObject']=function(_0x20a85c){if(_0x20a85c instanceof _0xe33dea['CommentsV2AddCommentMessage'])return _0x20a85c;var _0xd81044=new _0xe33dea['CommentsV2AddCommentMessage']();if(null!=_0x20a85c['commentThreadId']&&(_0xd81044['commentThreadId']=String(_0x20a85c['commentThreadId'])),null!=_0x20a85c['content']&&(_0xd81044['content']=String(_0x20a85c['content'])),null!=_0x20a85c['documentId']&&(_0xd81044['documentId']=String(_0x20a85c['documentId'])),null!=_0x20a85c['commentId']&&(_0xd81044['commentId']=String(_0x20a85c['commentId'])),null!=_0x20a85c['createdAt']&&(_0xd81044['createdAt']=String(_0x20a85c['createdAt'])),null!=_0x20a85c['userId']&&(_0xd81044['userId']=String(_0x20a85c['userId'])),null!=_0x20a85c['attributes']&&(_0xd81044['attributes']=String(_0x20a85c['attributes'])),null!=_0x20a85c['commentThread']){if('object'!=typeof _0x20a85c['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0xd81044['commentThread']=_0xe33dea['CommentsThreadDescriptor']['fromObject'](_0x20a85c['commentThread']);}return _0xd81044;},_0x2ccd8d['toObject']=function(_0x257214,_0x498177){_0x498177||(_0x498177={});var _0x5d6d97={};return _0x498177['defaults']&&(_0x5d6d97['commentThreadId']='',_0x5d6d97['content']='',_0x5d6d97['documentId']='',_0x5d6d97['commentId']='',_0x5d6d97['createdAt']='',_0x5d6d97['userId']='',_0x5d6d97['attributes']='',_0x5d6d97['commentThread']=null),null!=_0x257214['commentThreadId']&&_0x257214['hasOwnProperty']('commentThreadId')&&(_0x5d6d97['commentThreadId']=_0x257214['commentThreadId']),null!=_0x257214['content']&&_0x257214['hasOwnProperty']('content')&&(_0x5d6d97['content']=_0x257214['content']),null!=_0x257214['documentId']&&_0x257214['hasOwnProperty']('documentId')&&(_0x5d6d97['documentId']=_0x257214['documentId']),null!=_0x257214['commentId']&&_0x257214['hasOwnProperty']('commentId')&&(_0x5d6d97['commentId']=_0x257214['commentId']),null!=_0x257214['createdAt']&&_0x257214['hasOwnProperty']('createdAt')&&(_0x5d6d97['createdAt']=_0x257214['createdAt']),null!=_0x257214['userId']&&_0x257214['hasOwnProperty']('userId')&&(_0x5d6d97['userId']=_0x257214['userId']),null!=_0x257214['attributes']&&_0x257214['hasOwnProperty']('attributes')&&(_0x5d6d97['attributes']=_0x257214['attributes']),null!=_0x257214['commentThread']&&_0x257214['hasOwnProperty']('commentThread')&&(_0x5d6d97['commentThread']=_0xe33dea['CommentsThreadDescriptor']['toObject'](_0x257214['commentThread'],_0x498177)),_0x5d6d97;},_0x2ccd8d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2ccd8d['getTypeUrl']=function(_0x2201f1){return void 0x0===_0x2201f1&&(_0x2201f1='type.googleapis.com'),_0x2201f1+'/CommentsV2AddCommentMessage';},_0x2ccd8d;}()),_0xe33dea['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x31a668(_0x4b0ca7){if(_0x4b0ca7){for(var _0x41fd1f=Object['keys'](_0x4b0ca7),_0x40caa5=0x0;_0x40caa5<_0x41fd1f['length'];++_0x40caa5)null!=_0x4b0ca7[_0x41fd1f[_0x40caa5]]&&(this[_0x41fd1f[_0x40caa5]]=_0x4b0ca7[_0x41fd1f[_0x40caa5]]);}}return _0x31a668['prototype']['commentThreadId']='',_0x31a668['prototype']['documentId']='',_0x31a668['prototype']['context']='',_0x31a668['prototype']['attributes']='',_0x31a668['prototype']['unlinkedAt']='',_0x31a668['create']=function(_0x41e794){return new _0x31a668(_0x41e794);},_0x31a668['encode']=function(_0x3e5e15,_0x49ef4f){return _0x49ef4f||(_0x49ef4f=_0x5eaf50['create']()),null!=_0x3e5e15['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e5e15,'commentThreadId')&&_0x49ef4f['uint32'](0xa)['string'](_0x3e5e15['commentThreadId']),null!=_0x3e5e15['documentId']&&Object['hasOwnProperty']['call'](_0x3e5e15,'documentId')&&_0x49ef4f['uint32'](0x12)['string'](_0x3e5e15['documentId']),null!=_0x3e5e15['context']&&Object['hasOwnProperty']['call'](_0x3e5e15,'context')&&_0x49ef4f['uint32'](0x1a)['string'](_0x3e5e15['context']),null!=_0x3e5e15['attributes']&&Object['hasOwnProperty']['call'](_0x3e5e15,'attributes')&&_0x49ef4f['uint32'](0x22)['string'](_0x3e5e15['attributes']),null!=_0x3e5e15['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3e5e15,'unlinkedAt')&&_0x49ef4f['uint32'](0x2a)['string'](_0x3e5e15['unlinkedAt']),_0x49ef4f;},_0x31a668['encodeDelimited']=function(_0x1161b6,_0x37e067){return this['encode'](_0x1161b6,_0x37e067)['ldelim']();},_0x31a668['decode']=function(_0x182f5b,_0x25e4b9,_0x250074){_0x182f5b instanceof _0x22a542||(_0x182f5b=_0x22a542['create'](_0x182f5b));for(var _0x1229f0=void 0x0===_0x25e4b9?_0x182f5b['len']:_0x182f5b['pos']+_0x25e4b9,_0x440e9e=new _0xe33dea['CommentsV2UpdateCommentThreadMessage']();_0x182f5b['pos']<_0x1229f0;){var _0x534ff3=_0x182f5b['uint32']();if(_0x534ff3===_0x250074)break;switch(_0x534ff3>>>0x3){case 0x1:_0x440e9e['commentThreadId']=_0x182f5b['string']();break;case 0x2:_0x440e9e['documentId']=_0x182f5b['string']();break;case 0x3:_0x440e9e['context']=_0x182f5b['string']();break;case 0x4:_0x440e9e['attributes']=_0x182f5b['string']();break;case 0x5:_0x440e9e['unlinkedAt']=_0x182f5b['string']();break;default:_0x182f5b['skipType'](0x7&_0x534ff3);}}return _0x440e9e;},_0x31a668['decodeDelimited']=function(_0x53757c){return _0x53757c instanceof _0x22a542||(_0x53757c=new _0x22a542(_0x53757c)),this['decode'](_0x53757c,_0x53757c['uint32']());},_0x31a668['verify']=function(_0x23d5eb){return'object'!=typeof _0x23d5eb||null===_0x23d5eb?'object\x20expected':null!=_0x23d5eb['commentThreadId']&&_0x23d5eb['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x23d5eb['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x23d5eb['documentId']&&_0x23d5eb['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x23d5eb['documentId'])?'documentId:\x20string\x20expected':null!=_0x23d5eb['context']&&_0x23d5eb['hasOwnProperty']('context')&&!_0xcc5beb['isString'](_0x23d5eb['context'])?'context:\x20string\x20expected':null!=_0x23d5eb['attributes']&&_0x23d5eb['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x23d5eb['attributes'])?'attributes:\x20string\x20expected':null!=_0x23d5eb['unlinkedAt']&&_0x23d5eb['hasOwnProperty']('unlinkedAt')&&!_0xcc5beb['isString'](_0x23d5eb['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x31a668['fromObject']=function(_0x23653f){if(_0x23653f instanceof _0xe33dea['CommentsV2UpdateCommentThreadMessage'])return _0x23653f;var _0x3d7fff=new _0xe33dea['CommentsV2UpdateCommentThreadMessage']();return null!=_0x23653f['commentThreadId']&&(_0x3d7fff['commentThreadId']=String(_0x23653f['commentThreadId'])),null!=_0x23653f['documentId']&&(_0x3d7fff['documentId']=String(_0x23653f['documentId'])),null!=_0x23653f['context']&&(_0x3d7fff['context']=String(_0x23653f['context'])),null!=_0x23653f['attributes']&&(_0x3d7fff['attributes']=String(_0x23653f['attributes'])),null!=_0x23653f['unlinkedAt']&&(_0x3d7fff['unlinkedAt']=String(_0x23653f['unlinkedAt'])),_0x3d7fff;},_0x31a668['toObject']=function(_0x4372da,_0x43705b){_0x43705b||(_0x43705b={});var _0x4f3022={};return _0x43705b['defaults']&&(_0x4f3022['commentThreadId']='',_0x4f3022['documentId']='',_0x4f3022['context']='',_0x4f3022['attributes']='',_0x4f3022['unlinkedAt']=''),null!=_0x4372da['commentThreadId']&&_0x4372da['hasOwnProperty']('commentThreadId')&&(_0x4f3022['commentThreadId']=_0x4372da['commentThreadId']),null!=_0x4372da['documentId']&&_0x4372da['hasOwnProperty']('documentId')&&(_0x4f3022['documentId']=_0x4372da['documentId']),null!=_0x4372da['context']&&_0x4372da['hasOwnProperty']('context')&&(_0x4f3022['context']=_0x4372da['context']),null!=_0x4372da['attributes']&&_0x4372da['hasOwnProperty']('attributes')&&(_0x4f3022['attributes']=_0x4372da['attributes']),null!=_0x4372da['unlinkedAt']&&_0x4372da['hasOwnProperty']('unlinkedAt')&&(_0x4f3022['unlinkedAt']=_0x4372da['unlinkedAt']),_0x4f3022;},_0x31a668['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x31a668['getTypeUrl']=function(_0x999d92){return void 0x0===_0x999d92&&(_0x999d92='type.googleapis.com'),_0x999d92+'/CommentsV2UpdateCommentThreadMessage';},_0x31a668;}()),_0xe33dea['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x193526(_0x3e0901){if(_0x3e0901){for(var _0x5486a4=Object['keys'](_0x3e0901),_0x292d23=0x0;_0x292d23<_0x5486a4['length'];++_0x292d23)null!=_0x3e0901[_0x5486a4[_0x292d23]]&&(this[_0x5486a4[_0x292d23]]=_0x3e0901[_0x5486a4[_0x292d23]]);}}return _0x193526['prototype']['commentThreadId']='',_0x193526['prototype']['documentId']='',_0x193526['prototype']['resolvedBy']='',_0x193526['prototype']['resolvedAt']='',_0x193526['create']=function(_0x545b1d){return new _0x193526(_0x545b1d);},_0x193526['encode']=function(_0x35d7c7,_0x58e7e7){return _0x58e7e7||(_0x58e7e7=_0x5eaf50['create']()),null!=_0x35d7c7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x35d7c7,'commentThreadId')&&_0x58e7e7['uint32'](0xa)['string'](_0x35d7c7['commentThreadId']),null!=_0x35d7c7['documentId']&&Object['hasOwnProperty']['call'](_0x35d7c7,'documentId')&&_0x58e7e7['uint32'](0x12)['string'](_0x35d7c7['documentId']),null!=_0x35d7c7['resolvedBy']&&Object['hasOwnProperty']['call'](_0x35d7c7,'resolvedBy')&&_0x58e7e7['uint32'](0x1a)['string'](_0x35d7c7['resolvedBy']),null!=_0x35d7c7['resolvedAt']&&Object['hasOwnProperty']['call'](_0x35d7c7,'resolvedAt')&&_0x58e7e7['uint32'](0x22)['string'](_0x35d7c7['resolvedAt']),_0x58e7e7;},_0x193526['encodeDelimited']=function(_0x3cd558,_0x22c608){return this['encode'](_0x3cd558,_0x22c608)['ldelim']();},_0x193526['decode']=function(_0x21f910,_0x50439c,_0x38a246){_0x21f910 instanceof _0x22a542||(_0x21f910=_0x22a542['create'](_0x21f910));for(var _0x3c4d88=void 0x0===_0x50439c?_0x21f910['len']:_0x21f910['pos']+_0x50439c,_0x157250=new _0xe33dea['CommentsV2ResolveCommentThreadMessage']();_0x21f910['pos']<_0x3c4d88;){var _0x4ce665=_0x21f910['uint32']();if(_0x4ce665===_0x38a246)break;switch(_0x4ce665>>>0x3){case 0x1:_0x157250['commentThreadId']=_0x21f910['string']();break;case 0x2:_0x157250['documentId']=_0x21f910['string']();break;case 0x3:_0x157250['resolvedBy']=_0x21f910['string']();break;case 0x4:_0x157250['resolvedAt']=_0x21f910['string']();break;default:_0x21f910['skipType'](0x7&_0x4ce665);}}return _0x157250;},_0x193526['decodeDelimited']=function(_0x3851be){return _0x3851be instanceof _0x22a542||(_0x3851be=new _0x22a542(_0x3851be)),this['decode'](_0x3851be,_0x3851be['uint32']());},_0x193526['verify']=function(_0x5140c1){return'object'!=typeof _0x5140c1||null===_0x5140c1?'object\x20expected':null!=_0x5140c1['commentThreadId']&&_0x5140c1['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x5140c1['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5140c1['documentId']&&_0x5140c1['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x5140c1['documentId'])?'documentId:\x20string\x20expected':null!=_0x5140c1['resolvedBy']&&_0x5140c1['hasOwnProperty']('resolvedBy')&&!_0xcc5beb['isString'](_0x5140c1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5140c1['resolvedAt']&&_0x5140c1['hasOwnProperty']('resolvedAt')&&!_0xcc5beb['isString'](_0x5140c1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x193526['fromObject']=function(_0x4d7a68){if(_0x4d7a68 instanceof _0xe33dea['CommentsV2ResolveCommentThreadMessage'])return _0x4d7a68;var _0x2bc3c1=new _0xe33dea['CommentsV2ResolveCommentThreadMessage']();return null!=_0x4d7a68['commentThreadId']&&(_0x2bc3c1['commentThreadId']=String(_0x4d7a68['commentThreadId'])),null!=_0x4d7a68['documentId']&&(_0x2bc3c1['documentId']=String(_0x4d7a68['documentId'])),null!=_0x4d7a68['resolvedBy']&&(_0x2bc3c1['resolvedBy']=String(_0x4d7a68['resolvedBy'])),null!=_0x4d7a68['resolvedAt']&&(_0x2bc3c1['resolvedAt']=String(_0x4d7a68['resolvedAt'])),_0x2bc3c1;},_0x193526['toObject']=function(_0x56ed4c,_0x478d30){_0x478d30||(_0x478d30={});var _0x5077e9={};return _0x478d30['defaults']&&(_0x5077e9['commentThreadId']='',_0x5077e9['documentId']='',_0x5077e9['resolvedBy']='',_0x5077e9['resolvedAt']=''),null!=_0x56ed4c['commentThreadId']&&_0x56ed4c['hasOwnProperty']('commentThreadId')&&(_0x5077e9['commentThreadId']=_0x56ed4c['commentThreadId']),null!=_0x56ed4c['documentId']&&_0x56ed4c['hasOwnProperty']('documentId')&&(_0x5077e9['documentId']=_0x56ed4c['documentId']),null!=_0x56ed4c['resolvedBy']&&_0x56ed4c['hasOwnProperty']('resolvedBy')&&(_0x5077e9['resolvedBy']=_0x56ed4c['resolvedBy']),null!=_0x56ed4c['resolvedAt']&&_0x56ed4c['hasOwnProperty']('resolvedAt')&&(_0x5077e9['resolvedAt']=_0x56ed4c['resolvedAt']),_0x5077e9;},_0x193526['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x193526['getTypeUrl']=function(_0x2b93b6){return void 0x0===_0x2b93b6&&(_0x2b93b6='type.googleapis.com'),_0x2b93b6+'/CommentsV2ResolveCommentThreadMessage';},_0x193526;}()),_0xe33dea['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x22f22c(_0x1ee5c9){if(_0x1ee5c9){for(var _0x11cbf9=Object['keys'](_0x1ee5c9),_0x300cd9=0x0;_0x300cd9<_0x11cbf9['length'];++_0x300cd9)null!=_0x1ee5c9[_0x11cbf9[_0x300cd9]]&&(this[_0x11cbf9[_0x300cd9]]=_0x1ee5c9[_0x11cbf9[_0x300cd9]]);}}return _0x22f22c['prototype']['commentThreadId']='',_0x22f22c['prototype']['documentId']='',_0x22f22c['create']=function(_0x2aadc1){return new _0x22f22c(_0x2aadc1);},_0x22f22c['encode']=function(_0x5f3f6a,_0x285e11){return _0x285e11||(_0x285e11=_0x5eaf50['create']()),null!=_0x5f3f6a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5f3f6a,'commentThreadId')&&_0x285e11['uint32'](0xa)['string'](_0x5f3f6a['commentThreadId']),null!=_0x5f3f6a['documentId']&&Object['hasOwnProperty']['call'](_0x5f3f6a,'documentId')&&_0x285e11['uint32'](0x12)['string'](_0x5f3f6a['documentId']),_0x285e11;},_0x22f22c['encodeDelimited']=function(_0xa70c71,_0x125a6c){return this['encode'](_0xa70c71,_0x125a6c)['ldelim']();},_0x22f22c['decode']=function(_0x444282,_0x4e08e5,_0x4a34b){_0x444282 instanceof _0x22a542||(_0x444282=_0x22a542['create'](_0x444282));for(var _0x669b71=void 0x0===_0x4e08e5?_0x444282['len']:_0x444282['pos']+_0x4e08e5,_0x586bf4=new _0xe33dea['CommentsV2ReopenCommentThreadMessage']();_0x444282['pos']<_0x669b71;){var _0x32dbf0=_0x444282['uint32']();if(_0x32dbf0===_0x4a34b)break;switch(_0x32dbf0>>>0x3){case 0x1:_0x586bf4['commentThreadId']=_0x444282['string']();break;case 0x2:_0x586bf4['documentId']=_0x444282['string']();break;default:_0x444282['skipType'](0x7&_0x32dbf0);}}return _0x586bf4;},_0x22f22c['decodeDelimited']=function(_0x202794){return _0x202794 instanceof _0x22a542||(_0x202794=new _0x22a542(_0x202794)),this['decode'](_0x202794,_0x202794['uint32']());},_0x22f22c['verify']=function(_0x226c41){return'object'!=typeof _0x226c41||null===_0x226c41?'object\x20expected':null!=_0x226c41['commentThreadId']&&_0x226c41['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x226c41['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x226c41['documentId']&&_0x226c41['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x226c41['documentId'])?'documentId:\x20string\x20expected':null;},_0x22f22c['fromObject']=function(_0x2870b0){if(_0x2870b0 instanceof _0xe33dea['CommentsV2ReopenCommentThreadMessage'])return _0x2870b0;var _0x447a8e=new _0xe33dea['CommentsV2ReopenCommentThreadMessage']();return null!=_0x2870b0['commentThreadId']&&(_0x447a8e['commentThreadId']=String(_0x2870b0['commentThreadId'])),null!=_0x2870b0['documentId']&&(_0x447a8e['documentId']=String(_0x2870b0['documentId'])),_0x447a8e;},_0x22f22c['toObject']=function(_0x2070ec,_0x4291aa){_0x4291aa||(_0x4291aa={});var _0x3a6084={};return _0x4291aa['defaults']&&(_0x3a6084['commentThreadId']='',_0x3a6084['documentId']=''),null!=_0x2070ec['commentThreadId']&&_0x2070ec['hasOwnProperty']('commentThreadId')&&(_0x3a6084['commentThreadId']=_0x2070ec['commentThreadId']),null!=_0x2070ec['documentId']&&_0x2070ec['hasOwnProperty']('documentId')&&(_0x3a6084['documentId']=_0x2070ec['documentId']),_0x3a6084;},_0x22f22c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x22f22c['getTypeUrl']=function(_0x2f2065){return void 0x0===_0x2f2065&&(_0x2f2065='type.googleapis.com'),_0x2f2065+'/CommentsV2ReopenCommentThreadMessage';},_0x22f22c;}()),_0xe33dea['CommentsV2AddCommentThreadMessage']=(function(){function _0x333251(_0x5741cf){if(this['comments']=[],_0x5741cf){for(var _0xc3c35a=Object['keys'](_0x5741cf),_0x28d62a=0x0;_0x28d62a<_0xc3c35a['length'];++_0x28d62a)null!=_0x5741cf[_0xc3c35a[_0x28d62a]]&&(this[_0xc3c35a[_0x28d62a]]=_0x5741cf[_0xc3c35a[_0x28d62a]]);}}return _0x333251['prototype']['documentId']='',_0x333251['prototype']['commentThreadId']='',_0x333251['prototype']['context']='',_0x333251['prototype']['createdAt']='',_0x333251['prototype']['resolvedAt']='',_0x333251['prototype']['resolvedBy']='',_0x333251['prototype']['attributes']='',_0x333251['prototype']['deletedAt']='',_0x333251['prototype']['comments']=_0xcc5beb['emptyArray'],_0x333251['create']=function(_0x149c76){return new _0x333251(_0x149c76);},_0x333251['encode']=function(_0x1d8269,_0x28e902){if(_0x28e902||(_0x28e902=_0x5eaf50['create']()),null!=_0x1d8269['documentId']&&Object['hasOwnProperty']['call'](_0x1d8269,'documentId')&&_0x28e902['uint32'](0xa)['string'](_0x1d8269['documentId']),null!=_0x1d8269['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1d8269,'commentThreadId')&&_0x28e902['uint32'](0x12)['string'](_0x1d8269['commentThreadId']),null!=_0x1d8269['context']&&Object['hasOwnProperty']['call'](_0x1d8269,'context')&&_0x28e902['uint32'](0x1a)['string'](_0x1d8269['context']),null!=_0x1d8269['createdAt']&&Object['hasOwnProperty']['call'](_0x1d8269,'createdAt')&&_0x28e902['uint32'](0x22)['string'](_0x1d8269['createdAt']),null!=_0x1d8269['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1d8269,'resolvedAt')&&_0x28e902['uint32'](0x2a)['string'](_0x1d8269['resolvedAt']),null!=_0x1d8269['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1d8269,'resolvedBy')&&_0x28e902['uint32'](0x32)['string'](_0x1d8269['resolvedBy']),null!=_0x1d8269['attributes']&&Object['hasOwnProperty']['call'](_0x1d8269,'attributes')&&_0x28e902['uint32'](0x3a)['string'](_0x1d8269['attributes']),null!=_0x1d8269['deletedAt']&&Object['hasOwnProperty']['call'](_0x1d8269,'deletedAt')&&_0x28e902['uint32'](0x42)['string'](_0x1d8269['deletedAt']),null!=_0x1d8269['comments']&&_0x1d8269['comments']['length']){for(var _0x44915f=0x0;_0x44915f<_0x1d8269['comments']['length'];++_0x44915f)_0xe33dea['CommentDescriptor']['encode'](_0x1d8269['comments'][_0x44915f],_0x28e902['uint32'](0x4a)['fork']())['ldelim']();}return _0x28e902;},_0x333251['encodeDelimited']=function(_0xf80598,_0x1779d3){return this['encode'](_0xf80598,_0x1779d3)['ldelim']();},_0x333251['decode']=function(_0x25a4d5,_0x293cfe,_0x287363){_0x25a4d5 instanceof _0x22a542||(_0x25a4d5=_0x22a542['create'](_0x25a4d5));for(var _0x1760ff=void 0x0===_0x293cfe?_0x25a4d5['len']:_0x25a4d5['pos']+_0x293cfe,_0x95effc=new _0xe33dea['CommentsV2AddCommentThreadMessage']();_0x25a4d5['pos']<_0x1760ff;){var _0x39ec77=_0x25a4d5['uint32']();if(_0x39ec77===_0x287363)break;switch(_0x39ec77>>>0x3){case 0x1:_0x95effc['documentId']=_0x25a4d5['string']();break;case 0x2:_0x95effc['commentThreadId']=_0x25a4d5['string']();break;case 0x3:_0x95effc['context']=_0x25a4d5['string']();break;case 0x4:_0x95effc['createdAt']=_0x25a4d5['string']();break;case 0x5:_0x95effc['resolvedAt']=_0x25a4d5['string']();break;case 0x6:_0x95effc['resolvedBy']=_0x25a4d5['string']();break;case 0x7:_0x95effc['attributes']=_0x25a4d5['string']();break;case 0x8:_0x95effc['deletedAt']=_0x25a4d5['string']();break;case 0x9:_0x95effc['comments']&&_0x95effc['comments']['length']||(_0x95effc['comments']=[]),_0x95effc['comments']['push'](_0xe33dea['CommentDescriptor']['decode'](_0x25a4d5,_0x25a4d5['uint32']()));break;default:_0x25a4d5['skipType'](0x7&_0x39ec77);}}return _0x95effc;},_0x333251['decodeDelimited']=function(_0x34d555){return _0x34d555 instanceof _0x22a542||(_0x34d555=new _0x22a542(_0x34d555)),this['decode'](_0x34d555,_0x34d555['uint32']());},_0x333251['verify']=function(_0x4c7056){if('object'!=typeof _0x4c7056||null===_0x4c7056)return'object\x20expected';if(null!=_0x4c7056['documentId']&&_0x4c7056['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x4c7056['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4c7056['commentThreadId']&&_0x4c7056['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x4c7056['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4c7056['context']&&_0x4c7056['hasOwnProperty']('context')&&!_0xcc5beb['isString'](_0x4c7056['context']))return'context:\x20string\x20expected';if(null!=_0x4c7056['createdAt']&&_0x4c7056['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x4c7056['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4c7056['resolvedAt']&&_0x4c7056['hasOwnProperty']('resolvedAt')&&!_0xcc5beb['isString'](_0x4c7056['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x4c7056['resolvedBy']&&_0x4c7056['hasOwnProperty']('resolvedBy')&&!_0xcc5beb['isString'](_0x4c7056['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x4c7056['attributes']&&_0x4c7056['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x4c7056['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4c7056['deletedAt']&&_0x4c7056['hasOwnProperty']('deletedAt')&&!_0xcc5beb['isString'](_0x4c7056['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x4c7056['comments']&&_0x4c7056['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4c7056['comments']))return'comments:\x20array\x20expected';for(var _0x1d32d2=0x0;_0x1d32d2<_0x4c7056['comments']['length'];++_0x1d32d2){var _0x5e7bc6=_0xe33dea['CommentDescriptor']['verify'](_0x4c7056['comments'][_0x1d32d2]);if(_0x5e7bc6)return'comments.'+_0x5e7bc6;}}return null;},_0x333251['fromObject']=function(_0x59577e){if(_0x59577e instanceof _0xe33dea['CommentsV2AddCommentThreadMessage'])return _0x59577e;var _0xa7b9ec=new _0xe33dea['CommentsV2AddCommentThreadMessage']();if(null!=_0x59577e['documentId']&&(_0xa7b9ec['documentId']=String(_0x59577e['documentId'])),null!=_0x59577e['commentThreadId']&&(_0xa7b9ec['commentThreadId']=String(_0x59577e['commentThreadId'])),null!=_0x59577e['context']&&(_0xa7b9ec['context']=String(_0x59577e['context'])),null!=_0x59577e['createdAt']&&(_0xa7b9ec['createdAt']=String(_0x59577e['createdAt'])),null!=_0x59577e['resolvedAt']&&(_0xa7b9ec['resolvedAt']=String(_0x59577e['resolvedAt'])),null!=_0x59577e['resolvedBy']&&(_0xa7b9ec['resolvedBy']=String(_0x59577e['resolvedBy'])),null!=_0x59577e['attributes']&&(_0xa7b9ec['attributes']=String(_0x59577e['attributes'])),null!=_0x59577e['deletedAt']&&(_0xa7b9ec['deletedAt']=String(_0x59577e['deletedAt'])),_0x59577e['comments']){if(!Array['isArray'](_0x59577e['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0xa7b9ec['comments']=[];for(var _0x30245a=0x0;_0x30245a<_0x59577e['comments']['length'];++_0x30245a){if('object'!=typeof _0x59577e['comments'][_0x30245a])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0xa7b9ec['comments'][_0x30245a]=_0xe33dea['CommentDescriptor']['fromObject'](_0x59577e['comments'][_0x30245a]);}}return _0xa7b9ec;},_0x333251['toObject']=function(_0x26c665,_0x16574c){_0x16574c||(_0x16574c={});var _0x44cf4f={};if((_0x16574c['arrays']||_0x16574c['defaults'])&&(_0x44cf4f['comments']=[]),_0x16574c['defaults']&&(_0x44cf4f['documentId']='',_0x44cf4f['commentThreadId']='',_0x44cf4f['context']='',_0x44cf4f['createdAt']='',_0x44cf4f['resolvedAt']='',_0x44cf4f['resolvedBy']='',_0x44cf4f['attributes']='',_0x44cf4f['deletedAt']=''),null!=_0x26c665['documentId']&&_0x26c665['hasOwnProperty']('documentId')&&(_0x44cf4f['documentId']=_0x26c665['documentId']),null!=_0x26c665['commentThreadId']&&_0x26c665['hasOwnProperty']('commentThreadId')&&(_0x44cf4f['commentThreadId']=_0x26c665['commentThreadId']),null!=_0x26c665['context']&&_0x26c665['hasOwnProperty']('context')&&(_0x44cf4f['context']=_0x26c665['context']),null!=_0x26c665['createdAt']&&_0x26c665['hasOwnProperty']('createdAt')&&(_0x44cf4f['createdAt']=_0x26c665['createdAt']),null!=_0x26c665['resolvedAt']&&_0x26c665['hasOwnProperty']('resolvedAt')&&(_0x44cf4f['resolvedAt']=_0x26c665['resolvedAt']),null!=_0x26c665['resolvedBy']&&_0x26c665['hasOwnProperty']('resolvedBy')&&(_0x44cf4f['resolvedBy']=_0x26c665['resolvedBy']),null!=_0x26c665['attributes']&&_0x26c665['hasOwnProperty']('attributes')&&(_0x44cf4f['attributes']=_0x26c665['attributes']),null!=_0x26c665['deletedAt']&&_0x26c665['hasOwnProperty']('deletedAt')&&(_0x44cf4f['deletedAt']=_0x26c665['deletedAt']),_0x26c665['comments']&&_0x26c665['comments']['length']){_0x44cf4f['comments']=[];for(var _0x4b57a7=0x0;_0x4b57a7<_0x26c665['comments']['length'];++_0x4b57a7)_0x44cf4f['comments'][_0x4b57a7]=_0xe33dea['CommentDescriptor']['toObject'](_0x26c665['comments'][_0x4b57a7],_0x16574c);}return _0x44cf4f;},_0x333251['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x333251['getTypeUrl']=function(_0x566d0e){return void 0x0===_0x566d0e&&(_0x566d0e='type.googleapis.com'),_0x566d0e+'/CommentsV2AddCommentThreadMessage';},_0x333251;}()),_0xe33dea['CommentThreadAddedCommentDescriptor']=(function(){function _0xd971ea(_0x3997e9){if(_0x3997e9){for(var _0x5cf22b=Object['keys'](_0x3997e9),_0x58deca=0x0;_0x58deca<_0x5cf22b['length'];++_0x58deca)null!=_0x3997e9[_0x5cf22b[_0x58deca]]&&(this[_0x5cf22b[_0x58deca]]=_0x3997e9[_0x5cf22b[_0x58deca]]);}}return _0xd971ea['prototype']['commentId']='',_0xd971ea['prototype']['createdAt']='',_0xd971ea['create']=function(_0x1f1f2b){return new _0xd971ea(_0x1f1f2b);},_0xd971ea['encode']=function(_0x1affec,_0xb0169b){return _0xb0169b||(_0xb0169b=_0x5eaf50['create']()),null!=_0x1affec['commentId']&&Object['hasOwnProperty']['call'](_0x1affec,'commentId')&&_0xb0169b['uint32'](0xa)['string'](_0x1affec['commentId']),null!=_0x1affec['createdAt']&&Object['hasOwnProperty']['call'](_0x1affec,'createdAt')&&_0xb0169b['uint32'](0x12)['string'](_0x1affec['createdAt']),_0xb0169b;},_0xd971ea['encodeDelimited']=function(_0x44dd18,_0x4dc4a7){return this['encode'](_0x44dd18,_0x4dc4a7)['ldelim']();},_0xd971ea['decode']=function(_0x5739f8,_0x4e1098,_0x4d668b){_0x5739f8 instanceof _0x22a542||(_0x5739f8=_0x22a542['create'](_0x5739f8));for(var _0x49584b=void 0x0===_0x4e1098?_0x5739f8['len']:_0x5739f8['pos']+_0x4e1098,_0x1eb0bf=new _0xe33dea['CommentThreadAddedCommentDescriptor']();_0x5739f8['pos']<_0x49584b;){var _0x28bf38=_0x5739f8['uint32']();if(_0x28bf38===_0x4d668b)break;switch(_0x28bf38>>>0x3){case 0x1:_0x1eb0bf['commentId']=_0x5739f8['string']();break;case 0x2:_0x1eb0bf['createdAt']=_0x5739f8['string']();break;default:_0x5739f8['skipType'](0x7&_0x28bf38);}}return _0x1eb0bf;},_0xd971ea['decodeDelimited']=function(_0x20781b){return _0x20781b instanceof _0x22a542||(_0x20781b=new _0x22a542(_0x20781b)),this['decode'](_0x20781b,_0x20781b['uint32']());},_0xd971ea['verify']=function(_0x195eea){return'object'!=typeof _0x195eea||null===_0x195eea?'object\x20expected':null!=_0x195eea['commentId']&&_0x195eea['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x195eea['commentId'])?'commentId:\x20string\x20expected':null!=_0x195eea['createdAt']&&_0x195eea['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x195eea['createdAt'])?'createdAt:\x20string\x20expected':null;},_0xd971ea['fromObject']=function(_0x190f7f){if(_0x190f7f instanceof _0xe33dea['CommentThreadAddedCommentDescriptor'])return _0x190f7f;var _0x1acecd=new _0xe33dea['CommentThreadAddedCommentDescriptor']();return null!=_0x190f7f['commentId']&&(_0x1acecd['commentId']=String(_0x190f7f['commentId'])),null!=_0x190f7f['createdAt']&&(_0x1acecd['createdAt']=String(_0x190f7f['createdAt'])),_0x1acecd;},_0xd971ea['toObject']=function(_0x26044f,_0x238738){_0x238738||(_0x238738={});var _0x19bc36={};return _0x238738['defaults']&&(_0x19bc36['commentId']='',_0x19bc36['createdAt']=''),null!=_0x26044f['commentId']&&_0x26044f['hasOwnProperty']('commentId')&&(_0x19bc36['commentId']=_0x26044f['commentId']),null!=_0x26044f['createdAt']&&_0x26044f['hasOwnProperty']('createdAt')&&(_0x19bc36['createdAt']=_0x26044f['createdAt']),_0x19bc36;},_0xd971ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xd971ea['getTypeUrl']=function(_0x34f035){return void 0x0===_0x34f035&&(_0x34f035='type.googleapis.com'),_0x34f035+'/CommentThreadAddedCommentDescriptor';},_0xd971ea;}()),_0xe33dea['CommentsThreadDescriptor']=(function(){function _0x5351ac(_0x5a0996){if(this['comments']=[],_0x5a0996){for(var _0x363505=Object['keys'](_0x5a0996),_0x37eb18=0x0;_0x37eb18<_0x363505['length'];++_0x37eb18)null!=_0x5a0996[_0x363505[_0x37eb18]]&&(this[_0x363505[_0x37eb18]]=_0x5a0996[_0x363505[_0x37eb18]]);}}return _0x5351ac['prototype']['commentThreadId']='',_0x5351ac['prototype']['comments']=_0xcc5beb['emptyArray'],_0x5351ac['prototype']['resolvedAt']='',_0x5351ac['prototype']['resolvedBy']='',_0x5351ac['prototype']['context']='',_0x5351ac['prototype']['createdAt']='',_0x5351ac['prototype']['deletedAt']='',_0x5351ac['prototype']['attributes']='',_0x5351ac['prototype']['unlinkedAt']='',_0x5351ac['create']=function(_0x28de17){return new _0x5351ac(_0x28de17);},_0x5351ac['encode']=function(_0x2830ac,_0x68f362){if(_0x68f362||(_0x68f362=_0x5eaf50['create']()),null!=_0x2830ac['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2830ac,'commentThreadId')&&_0x68f362['uint32'](0xa)['string'](_0x2830ac['commentThreadId']),null!=_0x2830ac['comments']&&_0x2830ac['comments']['length']){for(var _0x4b6318=0x0;_0x4b6318<_0x2830ac['comments']['length'];++_0x4b6318)_0xe33dea['CommentDescriptor']['encode'](_0x2830ac['comments'][_0x4b6318],_0x68f362['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2830ac['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2830ac,'resolvedAt')&&_0x68f362['uint32'](0x1a)['string'](_0x2830ac['resolvedAt']),null!=_0x2830ac['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2830ac,'resolvedBy')&&_0x68f362['uint32'](0x22)['string'](_0x2830ac['resolvedBy']),null!=_0x2830ac['context']&&Object['hasOwnProperty']['call'](_0x2830ac,'context')&&_0x68f362['uint32'](0x2a)['string'](_0x2830ac['context']),null!=_0x2830ac['createdAt']&&Object['hasOwnProperty']['call'](_0x2830ac,'createdAt')&&_0x68f362['uint32'](0x32)['string'](_0x2830ac['createdAt']),null!=_0x2830ac['deletedAt']&&Object['hasOwnProperty']['call'](_0x2830ac,'deletedAt')&&_0x68f362['uint32'](0x3a)['string'](_0x2830ac['deletedAt']),null!=_0x2830ac['attributes']&&Object['hasOwnProperty']['call'](_0x2830ac,'attributes')&&_0x68f362['uint32'](0x42)['string'](_0x2830ac['attributes']),null!=_0x2830ac['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2830ac,'unlinkedAt')&&_0x68f362['uint32'](0x4a)['string'](_0x2830ac['unlinkedAt']),_0x68f362;},_0x5351ac['encodeDelimited']=function(_0x491f1d,_0x58b7bb){return this['encode'](_0x491f1d,_0x58b7bb)['ldelim']();},_0x5351ac['decode']=function(_0x2cd4d3,_0x58cb65,_0x1d4037){_0x2cd4d3 instanceof _0x22a542||(_0x2cd4d3=_0x22a542['create'](_0x2cd4d3));for(var _0x7eef6d=void 0x0===_0x58cb65?_0x2cd4d3['len']:_0x2cd4d3['pos']+_0x58cb65,_0x136ebc=new _0xe33dea['CommentsThreadDescriptor']();_0x2cd4d3['pos']<_0x7eef6d;){var _0x3f34c3=_0x2cd4d3['uint32']();if(_0x3f34c3===_0x1d4037)break;switch(_0x3f34c3>>>0x3){case 0x1:_0x136ebc['commentThreadId']=_0x2cd4d3['string']();break;case 0x2:_0x136ebc['comments']&&_0x136ebc['comments']['length']||(_0x136ebc['comments']=[]),_0x136ebc['comments']['push'](_0xe33dea['CommentDescriptor']['decode'](_0x2cd4d3,_0x2cd4d3['uint32']()));break;case 0x3:_0x136ebc['resolvedAt']=_0x2cd4d3['string']();break;case 0x4:_0x136ebc['resolvedBy']=_0x2cd4d3['string']();break;case 0x5:_0x136ebc['context']=_0x2cd4d3['string']();break;case 0x6:_0x136ebc['createdAt']=_0x2cd4d3['string']();break;case 0x7:_0x136ebc['deletedAt']=_0x2cd4d3['string']();break;case 0x8:_0x136ebc['attributes']=_0x2cd4d3['string']();break;case 0x9:_0x136ebc['unlinkedAt']=_0x2cd4d3['string']();break;default:_0x2cd4d3['skipType'](0x7&_0x3f34c3);}}return _0x136ebc;},_0x5351ac['decodeDelimited']=function(_0x1bafa9){return _0x1bafa9 instanceof _0x22a542||(_0x1bafa9=new _0x22a542(_0x1bafa9)),this['decode'](_0x1bafa9,_0x1bafa9['uint32']());},_0x5351ac['verify']=function(_0x3f5abf){if('object'!=typeof _0x3f5abf||null===_0x3f5abf)return'object\x20expected';if(null!=_0x3f5abf['commentThreadId']&&_0x3f5abf['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x3f5abf['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3f5abf['comments']&&_0x3f5abf['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3f5abf['comments']))return'comments:\x20array\x20expected';for(var _0x1b67c1=0x0;_0x1b67c1<_0x3f5abf['comments']['length'];++_0x1b67c1){var _0x1f9d37=_0xe33dea['CommentDescriptor']['verify'](_0x3f5abf['comments'][_0x1b67c1]);if(_0x1f9d37)return'comments.'+_0x1f9d37;}}return null!=_0x3f5abf['resolvedAt']&&_0x3f5abf['hasOwnProperty']('resolvedAt')&&!_0xcc5beb['isString'](_0x3f5abf['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3f5abf['resolvedBy']&&_0x3f5abf['hasOwnProperty']('resolvedBy')&&!_0xcc5beb['isString'](_0x3f5abf['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3f5abf['context']&&_0x3f5abf['hasOwnProperty']('context')&&!_0xcc5beb['isString'](_0x3f5abf['context'])?'context:\x20string\x20expected':null!=_0x3f5abf['createdAt']&&_0x3f5abf['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x3f5abf['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3f5abf['deletedAt']&&_0x3f5abf['hasOwnProperty']('deletedAt')&&!_0xcc5beb['isString'](_0x3f5abf['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3f5abf['attributes']&&_0x3f5abf['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x3f5abf['attributes'])?'attributes:\x20string\x20expected':null!=_0x3f5abf['unlinkedAt']&&_0x3f5abf['hasOwnProperty']('unlinkedAt')&&!_0xcc5beb['isString'](_0x3f5abf['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5351ac['fromObject']=function(_0x26fb7e){if(_0x26fb7e instanceof _0xe33dea['CommentsThreadDescriptor'])return _0x26fb7e;var _0x14952c=new _0xe33dea['CommentsThreadDescriptor']();if(null!=_0x26fb7e['commentThreadId']&&(_0x14952c['commentThreadId']=String(_0x26fb7e['commentThreadId'])),_0x26fb7e['comments']){if(!Array['isArray'](_0x26fb7e['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x14952c['comments']=[];for(var _0x97f204=0x0;_0x97f204<_0x26fb7e['comments']['length'];++_0x97f204){if('object'!=typeof _0x26fb7e['comments'][_0x97f204])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x14952c['comments'][_0x97f204]=_0xe33dea['CommentDescriptor']['fromObject'](_0x26fb7e['comments'][_0x97f204]);}}return null!=_0x26fb7e['resolvedAt']&&(_0x14952c['resolvedAt']=String(_0x26fb7e['resolvedAt'])),null!=_0x26fb7e['resolvedBy']&&(_0x14952c['resolvedBy']=String(_0x26fb7e['resolvedBy'])),null!=_0x26fb7e['context']&&(_0x14952c['context']=String(_0x26fb7e['context'])),null!=_0x26fb7e['createdAt']&&(_0x14952c['createdAt']=String(_0x26fb7e['createdAt'])),null!=_0x26fb7e['deletedAt']&&(_0x14952c['deletedAt']=String(_0x26fb7e['deletedAt'])),null!=_0x26fb7e['attributes']&&(_0x14952c['attributes']=String(_0x26fb7e['attributes'])),null!=_0x26fb7e['unlinkedAt']&&(_0x14952c['unlinkedAt']=String(_0x26fb7e['unlinkedAt'])),_0x14952c;},_0x5351ac['toObject']=function(_0x1d3588,_0x59ffcd){_0x59ffcd||(_0x59ffcd={});var _0x347055={};if((_0x59ffcd['arrays']||_0x59ffcd['defaults'])&&(_0x347055['comments']=[]),_0x59ffcd['defaults']&&(_0x347055['commentThreadId']='',_0x347055['resolvedAt']='',_0x347055['resolvedBy']='',_0x347055['context']='',_0x347055['createdAt']='',_0x347055['deletedAt']='',_0x347055['attributes']='',_0x347055['unlinkedAt']=''),null!=_0x1d3588['commentThreadId']&&_0x1d3588['hasOwnProperty']('commentThreadId')&&(_0x347055['commentThreadId']=_0x1d3588['commentThreadId']),_0x1d3588['comments']&&_0x1d3588['comments']['length']){_0x347055['comments']=[];for(var _0x242f7d=0x0;_0x242f7d<_0x1d3588['comments']['length'];++_0x242f7d)_0x347055['comments'][_0x242f7d]=_0xe33dea['CommentDescriptor']['toObject'](_0x1d3588['comments'][_0x242f7d],_0x59ffcd);}return null!=_0x1d3588['resolvedAt']&&_0x1d3588['hasOwnProperty']('resolvedAt')&&(_0x347055['resolvedAt']=_0x1d3588['resolvedAt']),null!=_0x1d3588['resolvedBy']&&_0x1d3588['hasOwnProperty']('resolvedBy')&&(_0x347055['resolvedBy']=_0x1d3588['resolvedBy']),null!=_0x1d3588['context']&&_0x1d3588['hasOwnProperty']('context')&&(_0x347055['context']=_0x1d3588['context']),null!=_0x1d3588['createdAt']&&_0x1d3588['hasOwnProperty']('createdAt')&&(_0x347055['createdAt']=_0x1d3588['createdAt']),null!=_0x1d3588['deletedAt']&&_0x1d3588['hasOwnProperty']('deletedAt')&&(_0x347055['deletedAt']=_0x1d3588['deletedAt']),null!=_0x1d3588['attributes']&&_0x1d3588['hasOwnProperty']('attributes')&&(_0x347055['attributes']=_0x1d3588['attributes']),null!=_0x1d3588['unlinkedAt']&&_0x1d3588['hasOwnProperty']('unlinkedAt')&&(_0x347055['unlinkedAt']=_0x1d3588['unlinkedAt']),_0x347055;},_0x5351ac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5351ac['getTypeUrl']=function(_0x25ba52){return void 0x0===_0x25ba52&&(_0x25ba52='type.googleapis.com'),_0x25ba52+'/CommentsThreadDescriptor';},_0x5351ac;}()),_0xe33dea['CommentDescriptor']=(function(){function _0x7cc2fa(_0x3d1cfe){if(_0x3d1cfe){for(var _0x508b57=Object['keys'](_0x3d1cfe),_0x2adfbb=0x0;_0x2adfbb<_0x508b57['length'];++_0x2adfbb)null!=_0x3d1cfe[_0x508b57[_0x2adfbb]]&&(this[_0x508b57[_0x2adfbb]]=_0x3d1cfe[_0x508b57[_0x2adfbb]]);}}return _0x7cc2fa['prototype']['commentId']='',_0x7cc2fa['prototype']['commentThreadId']='',_0x7cc2fa['prototype']['userId']='',_0x7cc2fa['prototype']['content']='',_0x7cc2fa['prototype']['documentId']='',_0x7cc2fa['prototype']['createdAt']='',_0x7cc2fa['prototype']['attributes']='',_0x7cc2fa['create']=function(_0x10eac1){return new _0x7cc2fa(_0x10eac1);},_0x7cc2fa['encode']=function(_0x1ee8fe,_0x506ab2){return _0x506ab2||(_0x506ab2=_0x5eaf50['create']()),null!=_0x1ee8fe['commentId']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'commentId')&&_0x506ab2['uint32'](0xa)['string'](_0x1ee8fe['commentId']),null!=_0x1ee8fe['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'commentThreadId')&&_0x506ab2['uint32'](0x12)['string'](_0x1ee8fe['commentThreadId']),null!=_0x1ee8fe['userId']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'userId')&&_0x506ab2['uint32'](0x1a)['string'](_0x1ee8fe['userId']),null!=_0x1ee8fe['content']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'content')&&_0x506ab2['uint32'](0x22)['string'](_0x1ee8fe['content']),null!=_0x1ee8fe['documentId']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'documentId')&&_0x506ab2['uint32'](0x2a)['string'](_0x1ee8fe['documentId']),null!=_0x1ee8fe['createdAt']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'createdAt')&&_0x506ab2['uint32'](0x32)['string'](_0x1ee8fe['createdAt']),null!=_0x1ee8fe['attributes']&&Object['hasOwnProperty']['call'](_0x1ee8fe,'attributes')&&_0x506ab2['uint32'](0x3a)['string'](_0x1ee8fe['attributes']),_0x506ab2;},_0x7cc2fa['encodeDelimited']=function(_0x2ba14c,_0x2d8967){return this['encode'](_0x2ba14c,_0x2d8967)['ldelim']();},_0x7cc2fa['decode']=function(_0x1d7778,_0x2f8021,_0x5743a2){_0x1d7778 instanceof _0x22a542||(_0x1d7778=_0x22a542['create'](_0x1d7778));for(var _0x32096c=void 0x0===_0x2f8021?_0x1d7778['len']:_0x1d7778['pos']+_0x2f8021,_0xe4cb5d=new _0xe33dea['CommentDescriptor']();_0x1d7778['pos']<_0x32096c;){var _0x48828f=_0x1d7778['uint32']();if(_0x48828f===_0x5743a2)break;switch(_0x48828f>>>0x3){case 0x1:_0xe4cb5d['commentId']=_0x1d7778['string']();break;case 0x2:_0xe4cb5d['commentThreadId']=_0x1d7778['string']();break;case 0x3:_0xe4cb5d['userId']=_0x1d7778['string']();break;case 0x4:_0xe4cb5d['content']=_0x1d7778['string']();break;case 0x5:_0xe4cb5d['documentId']=_0x1d7778['string']();break;case 0x6:_0xe4cb5d['createdAt']=_0x1d7778['string']();break;case 0x7:_0xe4cb5d['attributes']=_0x1d7778['string']();break;default:_0x1d7778['skipType'](0x7&_0x48828f);}}return _0xe4cb5d;},_0x7cc2fa['decodeDelimited']=function(_0x36ee8f){return _0x36ee8f instanceof _0x22a542||(_0x36ee8f=new _0x22a542(_0x36ee8f)),this['decode'](_0x36ee8f,_0x36ee8f['uint32']());},_0x7cc2fa['verify']=function(_0x15de21){return'object'!=typeof _0x15de21||null===_0x15de21?'object\x20expected':null!=_0x15de21['commentId']&&_0x15de21['hasOwnProperty']('commentId')&&!_0xcc5beb['isString'](_0x15de21['commentId'])?'commentId:\x20string\x20expected':null!=_0x15de21['commentThreadId']&&_0x15de21['hasOwnProperty']('commentThreadId')&&!_0xcc5beb['isString'](_0x15de21['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x15de21['userId']&&_0x15de21['hasOwnProperty']('userId')&&!_0xcc5beb['isString'](_0x15de21['userId'])?'userId:\x20string\x20expected':null!=_0x15de21['content']&&_0x15de21['hasOwnProperty']('content')&&!_0xcc5beb['isString'](_0x15de21['content'])?'content:\x20string\x20expected':null!=_0x15de21['documentId']&&_0x15de21['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x15de21['documentId'])?'documentId:\x20string\x20expected':null!=_0x15de21['createdAt']&&_0x15de21['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x15de21['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x15de21['attributes']&&_0x15de21['hasOwnProperty']('attributes')&&!_0xcc5beb['isString'](_0x15de21['attributes'])?'attributes:\x20string\x20expected':null;},_0x7cc2fa['fromObject']=function(_0x1fef14){if(_0x1fef14 instanceof _0xe33dea['CommentDescriptor'])return _0x1fef14;var _0x498eb2=new _0xe33dea['CommentDescriptor']();return null!=_0x1fef14['commentId']&&(_0x498eb2['commentId']=String(_0x1fef14['commentId'])),null!=_0x1fef14['commentThreadId']&&(_0x498eb2['commentThreadId']=String(_0x1fef14['commentThreadId'])),null!=_0x1fef14['userId']&&(_0x498eb2['userId']=String(_0x1fef14['userId'])),null!=_0x1fef14['content']&&(_0x498eb2['content']=String(_0x1fef14['content'])),null!=_0x1fef14['documentId']&&(_0x498eb2['documentId']=String(_0x1fef14['documentId'])),null!=_0x1fef14['createdAt']&&(_0x498eb2['createdAt']=String(_0x1fef14['createdAt'])),null!=_0x1fef14['attributes']&&(_0x498eb2['attributes']=String(_0x1fef14['attributes'])),_0x498eb2;},_0x7cc2fa['toObject']=function(_0x4fc9c7,_0x25c339){_0x25c339||(_0x25c339={});var _0x399dc5={};return _0x25c339['defaults']&&(_0x399dc5['commentId']='',_0x399dc5['commentThreadId']='',_0x399dc5['userId']='',_0x399dc5['content']='',_0x399dc5['documentId']='',_0x399dc5['createdAt']='',_0x399dc5['attributes']=''),null!=_0x4fc9c7['commentId']&&_0x4fc9c7['hasOwnProperty']('commentId')&&(_0x399dc5['commentId']=_0x4fc9c7['commentId']),null!=_0x4fc9c7['commentThreadId']&&_0x4fc9c7['hasOwnProperty']('commentThreadId')&&(_0x399dc5['commentThreadId']=_0x4fc9c7['commentThreadId']),null!=_0x4fc9c7['userId']&&_0x4fc9c7['hasOwnProperty']('userId')&&(_0x399dc5['userId']=_0x4fc9c7['userId']),null!=_0x4fc9c7['content']&&_0x4fc9c7['hasOwnProperty']('content')&&(_0x399dc5['content']=_0x4fc9c7['content']),null!=_0x4fc9c7['documentId']&&_0x4fc9c7['hasOwnProperty']('documentId')&&(_0x399dc5['documentId']=_0x4fc9c7['documentId']),null!=_0x4fc9c7['createdAt']&&_0x4fc9c7['hasOwnProperty']('createdAt')&&(_0x399dc5['createdAt']=_0x4fc9c7['createdAt']),null!=_0x4fc9c7['attributes']&&_0x4fc9c7['hasOwnProperty']('attributes')&&(_0x399dc5['attributes']=_0x4fc9c7['attributes']),_0x399dc5;},_0x7cc2fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x7cc2fa['getTypeUrl']=function(_0x3f9ce6){return void 0x0===_0x3f9ce6&&(_0x3f9ce6='type.googleapis.com'),_0x3f9ce6+'/CommentDescriptor';},_0x7cc2fa;}()),_0xe33dea['GetDocumentDetailsResponse']=(function(){function _0x250ea4(_0x19d333){if(_0x19d333){for(var _0xff1f66=Object['keys'](_0x19d333),_0x39d63e=0x0;_0x39d63e<_0xff1f66['length'];++_0x39d63e)null!=_0x19d333[_0xff1f66[_0x39d63e]]&&(this[_0xff1f66[_0x39d63e]]=_0x19d333[_0xff1f66[_0x39d63e]]);}}return _0x250ea4['prototype']['lastDocumentSessionId']='',_0x250ea4['prototype']['lastDocumentSessionOperationId']='',_0x250ea4['prototype']['currentDocumentSessionId']='',_0x250ea4['prototype']['currentDocumentSessionVersion']=0x0,_0x250ea4['prototype']['currentDocumentSessionOperationId']='',_0x250ea4['create']=function(_0x3a314d){return new _0x250ea4(_0x3a314d);},_0x250ea4['encode']=function(_0xe057cc,_0x2d632b){return _0x2d632b||(_0x2d632b=_0x5eaf50['create']()),null!=_0xe057cc['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xe057cc,'lastDocumentSessionId')&&_0x2d632b['uint32'](0xa)['string'](_0xe057cc['lastDocumentSessionId']),null!=_0xe057cc['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xe057cc,'lastDocumentSessionOperationId')&&_0x2d632b['uint32'](0x12)['string'](_0xe057cc['lastDocumentSessionOperationId']),null!=_0xe057cc['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xe057cc,'currentDocumentSessionId')&&_0x2d632b['uint32'](0x1a)['string'](_0xe057cc['currentDocumentSessionId']),null!=_0xe057cc['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0xe057cc,'currentDocumentSessionVersion')&&_0x2d632b['uint32'](0x20)['uint32'](_0xe057cc['currentDocumentSessionVersion']),null!=_0xe057cc['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xe057cc,'currentDocumentSessionOperationId')&&_0x2d632b['uint32'](0x2a)['string'](_0xe057cc['currentDocumentSessionOperationId']),_0x2d632b;},_0x250ea4['encodeDelimited']=function(_0x3a465e,_0x4e157e){return this['encode'](_0x3a465e,_0x4e157e)['ldelim']();},_0x250ea4['decode']=function(_0x4b66e7,_0x53dae5,_0x187808){_0x4b66e7 instanceof _0x22a542||(_0x4b66e7=_0x22a542['create'](_0x4b66e7));for(var _0x3bb1d7=void 0x0===_0x53dae5?_0x4b66e7['len']:_0x4b66e7['pos']+_0x53dae5,_0x13d6a5=new _0xe33dea['GetDocumentDetailsResponse']();_0x4b66e7['pos']<_0x3bb1d7;){var _0x1fdcd8=_0x4b66e7['uint32']();if(_0x1fdcd8===_0x187808)break;switch(_0x1fdcd8>>>0x3){case 0x1:_0x13d6a5['lastDocumentSessionId']=_0x4b66e7['string']();break;case 0x2:_0x13d6a5['lastDocumentSessionOperationId']=_0x4b66e7['string']();break;case 0x3:_0x13d6a5['currentDocumentSessionId']=_0x4b66e7['string']();break;case 0x4:_0x13d6a5['currentDocumentSessionVersion']=_0x4b66e7['uint32']();break;case 0x5:_0x13d6a5['currentDocumentSessionOperationId']=_0x4b66e7['string']();break;default:_0x4b66e7['skipType'](0x7&_0x1fdcd8);}}return _0x13d6a5;},_0x250ea4['decodeDelimited']=function(_0x17c53f){return _0x17c53f instanceof _0x22a542||(_0x17c53f=new _0x22a542(_0x17c53f)),this['decode'](_0x17c53f,_0x17c53f['uint32']());},_0x250ea4['verify']=function(_0x2437d7){return'object'!=typeof _0x2437d7||null===_0x2437d7?'object\x20expected':null!=_0x2437d7['lastDocumentSessionId']&&_0x2437d7['hasOwnProperty']('lastDocumentSessionId')&&!_0xcc5beb['isString'](_0x2437d7['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x2437d7['lastDocumentSessionOperationId']&&_0x2437d7['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0xcc5beb['isString'](_0x2437d7['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x2437d7['currentDocumentSessionId']&&_0x2437d7['hasOwnProperty']('currentDocumentSessionId')&&!_0xcc5beb['isString'](_0x2437d7['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x2437d7['currentDocumentSessionVersion']&&_0x2437d7['hasOwnProperty']('currentDocumentSessionVersion')&&!_0xcc5beb['isInteger'](_0x2437d7['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x2437d7['currentDocumentSessionOperationId']&&_0x2437d7['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0xcc5beb['isString'](_0x2437d7['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x250ea4['fromObject']=function(_0x3be914){if(_0x3be914 instanceof _0xe33dea['GetDocumentDetailsResponse'])return _0x3be914;var _0x12d985=new _0xe33dea['GetDocumentDetailsResponse']();return null!=_0x3be914['lastDocumentSessionId']&&(_0x12d985['lastDocumentSessionId']=String(_0x3be914['lastDocumentSessionId'])),null!=_0x3be914['lastDocumentSessionOperationId']&&(_0x12d985['lastDocumentSessionOperationId']=String(_0x3be914['lastDocumentSessionOperationId'])),null!=_0x3be914['currentDocumentSessionId']&&(_0x12d985['currentDocumentSessionId']=String(_0x3be914['currentDocumentSessionId'])),null!=_0x3be914['currentDocumentSessionVersion']&&(_0x12d985['currentDocumentSessionVersion']=_0x3be914['currentDocumentSessionVersion']>>>0x0),null!=_0x3be914['currentDocumentSessionOperationId']&&(_0x12d985['currentDocumentSessionOperationId']=String(_0x3be914['currentDocumentSessionOperationId'])),_0x12d985;},_0x250ea4['toObject']=function(_0x3d9725,_0x1ec21a){_0x1ec21a||(_0x1ec21a={});var _0x3cd0f2={};return _0x1ec21a['defaults']&&(_0x3cd0f2['lastDocumentSessionId']='',_0x3cd0f2['lastDocumentSessionOperationId']='',_0x3cd0f2['currentDocumentSessionId']='',_0x3cd0f2['currentDocumentSessionVersion']=0x0,_0x3cd0f2['currentDocumentSessionOperationId']=''),null!=_0x3d9725['lastDocumentSessionId']&&_0x3d9725['hasOwnProperty']('lastDocumentSessionId')&&(_0x3cd0f2['lastDocumentSessionId']=_0x3d9725['lastDocumentSessionId']),null!=_0x3d9725['lastDocumentSessionOperationId']&&_0x3d9725['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x3cd0f2['lastDocumentSessionOperationId']=_0x3d9725['lastDocumentSessionOperationId']),null!=_0x3d9725['currentDocumentSessionId']&&_0x3d9725['hasOwnProperty']('currentDocumentSessionId')&&(_0x3cd0f2['currentDocumentSessionId']=_0x3d9725['currentDocumentSessionId']),null!=_0x3d9725['currentDocumentSessionVersion']&&_0x3d9725['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x3cd0f2['currentDocumentSessionVersion']=_0x3d9725['currentDocumentSessionVersion']),null!=_0x3d9725['currentDocumentSessionOperationId']&&_0x3d9725['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x3cd0f2['currentDocumentSessionOperationId']=_0x3d9725['currentDocumentSessionOperationId']),_0x3cd0f2;},_0x250ea4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x250ea4['getTypeUrl']=function(_0x5ed9b1){return void 0x0===_0x5ed9b1&&(_0x5ed9b1='type.googleapis.com'),_0x5ed9b1+'/GetDocumentDetailsResponse';},_0x250ea4;}()),_0xe33dea['CollaborativeEditingResponse']=(function(){function _0xb2d640(_0x5580cf){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x5580cf){for(var _0x466f95=Object['keys'](_0x5580cf),_0x276524=0x0;_0x276524<_0x466f95['length'];++_0x276524)null!=_0x5580cf[_0x466f95[_0x276524]]&&(this[_0x466f95[_0x276524]]=_0x5580cf[_0x466f95[_0x276524]]);}}return _0xb2d640['prototype']['version']=0x0,_0xb2d640['prototype']['buffers']=_0xcc5beb['emptyArray'],_0xb2d640['prototype']['types']=_0xcc5beb['emptyArray'],_0xb2d640['prototype']['metadata']=_0xcc5beb['emptyArray'],_0xb2d640['prototype']['lastOperationId']='',_0xb2d640['prototype']['lastOperationAcceptedAt']='',_0xb2d640['create']=function(_0x11dee3){return new _0xb2d640(_0x11dee3);},_0xb2d640['encode']=function(_0x268030,_0x160624){if(_0x160624||(_0x160624=_0x5eaf50['create']()),null!=_0x268030['version']&&Object['hasOwnProperty']['call'](_0x268030,'version')&&_0x160624['uint32'](0x8)['uint32'](_0x268030['version']),null!=_0x268030['buffers']&&_0x268030['buffers']['length']){for(var _0x407226=0x0;_0x407226<_0x268030['buffers']['length'];++_0x407226)_0x160624['uint32'](0x12)['bytes'](_0x268030['buffers'][_0x407226]);}if(null!=_0x268030['types']&&_0x268030['types']['length']){for(_0x160624['uint32'](0x1a)['fork'](),_0x407226=0x0;_0x407226<_0x268030['types']['length'];++_0x407226)_0x160624['uint32'](_0x268030['types'][_0x407226]);_0x160624['ldelim']();}if(null!=_0x268030['metadata']&&_0x268030['metadata']['length']){for(_0x407226=0x0;_0x407226<_0x268030['metadata']['length'];++_0x407226)_0xe33dea['OperationMetadataDescriptor']['encode'](_0x268030['metadata'][_0x407226],_0x160624['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x268030['lastOperationId']&&Object['hasOwnProperty']['call'](_0x268030,'lastOperationId')&&_0x160624['uint32'](0x32)['string'](_0x268030['lastOperationId']),null!=_0x268030['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x268030,'lastOperationAcceptedAt')&&_0x160624['uint32'](0x3a)['string'](_0x268030['lastOperationAcceptedAt']),_0x160624;},_0xb2d640['encodeDelimited']=function(_0x37d71a,_0x499f82){return this['encode'](_0x37d71a,_0x499f82)['ldelim']();},_0xb2d640['decode']=function(_0x10820c,_0x316a9a,_0x54c7a9){_0x10820c instanceof _0x22a542||(_0x10820c=_0x22a542['create'](_0x10820c));for(var _0x5511d3=void 0x0===_0x316a9a?_0x10820c['len']:_0x10820c['pos']+_0x316a9a,_0x33238e=new _0xe33dea['CollaborativeEditingResponse']();_0x10820c['pos']<_0x5511d3;){var _0xfc2559=_0x10820c['uint32']();if(_0xfc2559===_0x54c7a9)break;switch(_0xfc2559>>>0x3){case 0x1:_0x33238e['version']=_0x10820c['uint32']();break;case 0x2:_0x33238e['buffers']&&_0x33238e['buffers']['length']||(_0x33238e['buffers']=[]),_0x33238e['buffers']['push'](_0x10820c['bytes']());break;case 0x3:if(_0x33238e['types']&&_0x33238e['types']['length']||(_0x33238e['types']=[]),0x2==(0x7&_0xfc2559)){for(var _0x36e7c4=_0x10820c['uint32']()+_0x10820c['pos'];_0x10820c['pos']<_0x36e7c4;)_0x33238e['types']['push'](_0x10820c['uint32']());}else _0x33238e['types']['push'](_0x10820c['uint32']());break;case 0x5:_0x33238e['metadata']&&_0x33238e['metadata']['length']||(_0x33238e['metadata']=[]),_0x33238e['metadata']['push'](_0xe33dea['OperationMetadataDescriptor']['decode'](_0x10820c,_0x10820c['uint32']()));break;case 0x6:_0x33238e['lastOperationId']=_0x10820c['string']();break;case 0x7:_0x33238e['lastOperationAcceptedAt']=_0x10820c['string']();break;default:_0x10820c['skipType'](0x7&_0xfc2559);}}return _0x33238e;},_0xb2d640['decodeDelimited']=function(_0x2d74e8){return _0x2d74e8 instanceof _0x22a542||(_0x2d74e8=new _0x22a542(_0x2d74e8)),this['decode'](_0x2d74e8,_0x2d74e8['uint32']());},_0xb2d640['verify']=function(_0x210212){if('object'!=typeof _0x210212||null===_0x210212)return'object\x20expected';if(null!=_0x210212['version']&&_0x210212['hasOwnProperty']('version')&&!_0xcc5beb['isInteger'](_0x210212['version']))return'version:\x20integer\x20expected';if(null!=_0x210212['buffers']&&_0x210212['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x210212['buffers']))return'buffers:\x20array\x20expected';for(var _0x24d3c8=0x0;_0x24d3c8<_0x210212['buffers']['length'];++_0x24d3c8)if(!(_0x210212['buffers'][_0x24d3c8]&&'number'==typeof _0x210212['buffers'][_0x24d3c8]['length']||_0xcc5beb['isString'](_0x210212['buffers'][_0x24d3c8])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x210212['types']&&_0x210212['hasOwnProperty']('types')){if(!Array['isArray'](_0x210212['types']))return'types:\x20array\x20expected';for(_0x24d3c8=0x0;_0x24d3c8<_0x210212['types']['length'];++_0x24d3c8)if(!_0xcc5beb['isInteger'](_0x210212['types'][_0x24d3c8]))return'types:\x20integer[]\x20expected';}if(null!=_0x210212['metadata']&&_0x210212['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x210212['metadata']))return'metadata:\x20array\x20expected';for(_0x24d3c8=0x0;_0x24d3c8<_0x210212['metadata']['length'];++_0x24d3c8){var _0xa3a89d=_0xe33dea['OperationMetadataDescriptor']['verify'](_0x210212['metadata'][_0x24d3c8]);if(_0xa3a89d)return'metadata.'+_0xa3a89d;}}return null!=_0x210212['lastOperationId']&&_0x210212['hasOwnProperty']('lastOperationId')&&!_0xcc5beb['isString'](_0x210212['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x210212['lastOperationAcceptedAt']&&_0x210212['hasOwnProperty']('lastOperationAcceptedAt')&&!_0xcc5beb['isString'](_0x210212['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0xb2d640['fromObject']=function(_0x30cdf2){if(_0x30cdf2 instanceof _0xe33dea['CollaborativeEditingResponse'])return _0x30cdf2;var _0x5a1e3e=new _0xe33dea['CollaborativeEditingResponse']();if(null!=_0x30cdf2['version']&&(_0x5a1e3e['version']=_0x30cdf2['version']>>>0x0),_0x30cdf2['buffers']){if(!Array['isArray'](_0x30cdf2['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x5a1e3e['buffers']=[];for(var _0x271769=0x0;_0x271769<_0x30cdf2['buffers']['length'];++_0x271769)'string'==typeof _0x30cdf2['buffers'][_0x271769]?_0xcc5beb['base64']['decode'](_0x30cdf2['buffers'][_0x271769],_0x5a1e3e['buffers'][_0x271769]=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x30cdf2['buffers'][_0x271769])),0x0):_0x30cdf2['buffers'][_0x271769]['length']>=0x0&&(_0x5a1e3e['buffers'][_0x271769]=_0x30cdf2['buffers'][_0x271769]);}if(_0x30cdf2['types']){if(!Array['isArray'](_0x30cdf2['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x5a1e3e['types']=[],_0x271769=0x0;_0x271769<_0x30cdf2['types']['length'];++_0x271769)_0x5a1e3e['types'][_0x271769]=_0x30cdf2['types'][_0x271769]>>>0x0;}if(_0x30cdf2['metadata']){if(!Array['isArray'](_0x30cdf2['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x5a1e3e['metadata']=[],_0x271769=0x0;_0x271769<_0x30cdf2['metadata']['length'];++_0x271769){if('object'!=typeof _0x30cdf2['metadata'][_0x271769])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x5a1e3e['metadata'][_0x271769]=_0xe33dea['OperationMetadataDescriptor']['fromObject'](_0x30cdf2['metadata'][_0x271769]);}}return null!=_0x30cdf2['lastOperationId']&&(_0x5a1e3e['lastOperationId']=String(_0x30cdf2['lastOperationId'])),null!=_0x30cdf2['lastOperationAcceptedAt']&&(_0x5a1e3e['lastOperationAcceptedAt']=String(_0x30cdf2['lastOperationAcceptedAt'])),_0x5a1e3e;},_0xb2d640['toObject']=function(_0x1836e3,_0x4bdf28){_0x4bdf28||(_0x4bdf28={});var _0x2f4e7e={};if((_0x4bdf28['arrays']||_0x4bdf28['defaults'])&&(_0x2f4e7e['buffers']=[],_0x2f4e7e['types']=[],_0x2f4e7e['metadata']=[]),_0x4bdf28['defaults']&&(_0x2f4e7e['version']=0x0,_0x2f4e7e['lastOperationId']='',_0x2f4e7e['lastOperationAcceptedAt']=''),null!=_0x1836e3['version']&&_0x1836e3['hasOwnProperty']('version')&&(_0x2f4e7e['version']=_0x1836e3['version']),_0x1836e3['buffers']&&_0x1836e3['buffers']['length']){_0x2f4e7e['buffers']=[];for(var _0x452871=0x0;_0x452871<_0x1836e3['buffers']['length'];++_0x452871)_0x2f4e7e['buffers'][_0x452871]=_0x4bdf28['bytes']===String?_0xcc5beb['base64']['encode'](_0x1836e3['buffers'][_0x452871],0x0,_0x1836e3['buffers'][_0x452871]['length']):_0x4bdf28['bytes']===Array?Array['prototype']['slice']['call'](_0x1836e3['buffers'][_0x452871]):_0x1836e3['buffers'][_0x452871];}if(_0x1836e3['types']&&_0x1836e3['types']['length']){for(_0x2f4e7e['types']=[],_0x452871=0x0;_0x452871<_0x1836e3['types']['length'];++_0x452871)_0x2f4e7e['types'][_0x452871]=_0x1836e3['types'][_0x452871];}if(_0x1836e3['metadata']&&_0x1836e3['metadata']['length']){for(_0x2f4e7e['metadata']=[],_0x452871=0x0;_0x452871<_0x1836e3['metadata']['length'];++_0x452871)_0x2f4e7e['metadata'][_0x452871]=_0xe33dea['OperationMetadataDescriptor']['toObject'](_0x1836e3['metadata'][_0x452871],_0x4bdf28);}return null!=_0x1836e3['lastOperationId']&&_0x1836e3['hasOwnProperty']('lastOperationId')&&(_0x2f4e7e['lastOperationId']=_0x1836e3['lastOperationId']),null!=_0x1836e3['lastOperationAcceptedAt']&&_0x1836e3['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x2f4e7e['lastOperationAcceptedAt']=_0x1836e3['lastOperationAcceptedAt']),_0x2f4e7e;},_0xb2d640['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xb2d640['getTypeUrl']=function(_0x38cc3c){return void 0x0===_0x38cc3c&&(_0x38cc3c='type.googleapis.com'),_0x38cc3c+'/CollaborativeEditingResponse';},_0xb2d640;}()),_0xe33dea['CollaborativeEditingConnectResponse']=(function(){function _0x3a8f9a(_0x15fc76){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x15fc76){for(var _0xe127bc=Object['keys'](_0x15fc76),_0x4e9b2b=0x0;_0x4e9b2b<_0xe127bc['length'];++_0x4e9b2b)null!=_0x15fc76[_0xe127bc[_0x4e9b2b]]&&(this[_0xe127bc[_0x4e9b2b]]=_0x15fc76[_0xe127bc[_0x4e9b2b]]);}}return _0x3a8f9a['prototype']['channel']='',_0x3a8f9a['prototype']['offset']=0x0,_0x3a8f9a['prototype']['version']=0x0,_0x3a8f9a['prototype']['buffers']=_0xcc5beb['emptyArray'],_0x3a8f9a['prototype']['types']=_0xcc5beb['emptyArray'],_0x3a8f9a['prototype']['metadata']=_0xcc5beb['emptyArray'],_0x3a8f9a['prototype']['initData']='',_0x3a8f9a['prototype']['isInitialized']=!0x1,_0x3a8f9a['prototype']['sessionId']='',_0x3a8f9a['prototype']['lastOperationId']='',_0x3a8f9a['prototype']['sessionCreatedAt']='',_0x3a8f9a['create']=function(_0x3e0c60){return new _0x3a8f9a(_0x3e0c60);},_0x3a8f9a['encode']=function(_0x451b9a,_0xd974dd){if(_0xd974dd||(_0xd974dd=_0x5eaf50['create']()),null!=_0x451b9a['channel']&&Object['hasOwnProperty']['call'](_0x451b9a,'channel')&&_0xd974dd['uint32'](0xa)['string'](_0x451b9a['channel']),null!=_0x451b9a['offset']&&Object['hasOwnProperty']['call'](_0x451b9a,'offset')&&_0xd974dd['uint32'](0x10)['uint32'](_0x451b9a['offset']),null!=_0x451b9a['version']&&Object['hasOwnProperty']['call'](_0x451b9a,'version')&&_0xd974dd['uint32'](0x18)['uint32'](_0x451b9a['version']),null!=_0x451b9a['buffers']&&_0x451b9a['buffers']['length']){for(var _0x2feda6=0x0;_0x2feda6<_0x451b9a['buffers']['length'];++_0x2feda6)_0xd974dd['uint32'](0x22)['bytes'](_0x451b9a['buffers'][_0x2feda6]);}if(null!=_0x451b9a['types']&&_0x451b9a['types']['length']){for(_0xd974dd['uint32'](0x2a)['fork'](),_0x2feda6=0x0;_0x2feda6<_0x451b9a['types']['length'];++_0x2feda6)_0xd974dd['uint32'](_0x451b9a['types'][_0x2feda6]);_0xd974dd['ldelim']();}if(null!=_0x451b9a['metadata']&&_0x451b9a['metadata']['length']){for(_0x2feda6=0x0;_0x2feda6<_0x451b9a['metadata']['length'];++_0x2feda6)_0xe33dea['OperationMetadataDescriptor']['encode'](_0x451b9a['metadata'][_0x2feda6],_0xd974dd['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x451b9a['initData']&&Object['hasOwnProperty']['call'](_0x451b9a,'initData')&&_0xd974dd['uint32'](0x42)['string'](_0x451b9a['initData']),null!=_0x451b9a['isInitialized']&&Object['hasOwnProperty']['call'](_0x451b9a,'isInitialized')&&_0xd974dd['uint32'](0x48)['bool'](_0x451b9a['isInitialized']),null!=_0x451b9a['sessionId']&&Object['hasOwnProperty']['call'](_0x451b9a,'sessionId')&&_0xd974dd['uint32'](0x52)['string'](_0x451b9a['sessionId']),null!=_0x451b9a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x451b9a,'lastOperationId')&&_0xd974dd['uint32'](0x5a)['string'](_0x451b9a['lastOperationId']),null!=_0x451b9a['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x451b9a,'sessionCreatedAt')&&_0xd974dd['uint32'](0x62)['string'](_0x451b9a['sessionCreatedAt']),_0xd974dd;},_0x3a8f9a['encodeDelimited']=function(_0x3fc5af,_0x24b75b){return this['encode'](_0x3fc5af,_0x24b75b)['ldelim']();},_0x3a8f9a['decode']=function(_0xabcb65,_0x43c417,_0x213184){_0xabcb65 instanceof _0x22a542||(_0xabcb65=_0x22a542['create'](_0xabcb65));for(var _0x3d97a5=void 0x0===_0x43c417?_0xabcb65['len']:_0xabcb65['pos']+_0x43c417,_0x2717a8=new _0xe33dea['CollaborativeEditingConnectResponse']();_0xabcb65['pos']<_0x3d97a5;){var _0x15be50=_0xabcb65['uint32']();if(_0x15be50===_0x213184)break;switch(_0x15be50>>>0x3){case 0x1:_0x2717a8['channel']=_0xabcb65['string']();break;case 0x2:_0x2717a8['offset']=_0xabcb65['uint32']();break;case 0x3:_0x2717a8['version']=_0xabcb65['uint32']();break;case 0x4:_0x2717a8['buffers']&&_0x2717a8['buffers']['length']||(_0x2717a8['buffers']=[]),_0x2717a8['buffers']['push'](_0xabcb65['bytes']());break;case 0x5:if(_0x2717a8['types']&&_0x2717a8['types']['length']||(_0x2717a8['types']=[]),0x2==(0x7&_0x15be50)){for(var _0x195042=_0xabcb65['uint32']()+_0xabcb65['pos'];_0xabcb65['pos']<_0x195042;)_0x2717a8['types']['push'](_0xabcb65['uint32']());}else _0x2717a8['types']['push'](_0xabcb65['uint32']());break;case 0x7:_0x2717a8['metadata']&&_0x2717a8['metadata']['length']||(_0x2717a8['metadata']=[]),_0x2717a8['metadata']['push'](_0xe33dea['OperationMetadataDescriptor']['decode'](_0xabcb65,_0xabcb65['uint32']()));break;case 0x8:_0x2717a8['initData']=_0xabcb65['string']();break;case 0x9:_0x2717a8['isInitialized']=_0xabcb65['bool']();break;case 0xa:_0x2717a8['sessionId']=_0xabcb65['string']();break;case 0xb:_0x2717a8['lastOperationId']=_0xabcb65['string']();break;case 0xc:_0x2717a8['sessionCreatedAt']=_0xabcb65['string']();break;default:_0xabcb65['skipType'](0x7&_0x15be50);}}return _0x2717a8;},_0x3a8f9a['decodeDelimited']=function(_0x37356c){return _0x37356c instanceof _0x22a542||(_0x37356c=new _0x22a542(_0x37356c)),this['decode'](_0x37356c,_0x37356c['uint32']());},_0x3a8f9a['verify']=function(_0x594de1){if('object'!=typeof _0x594de1||null===_0x594de1)return'object\x20expected';if(null!=_0x594de1['channel']&&_0x594de1['hasOwnProperty']('channel')&&!_0xcc5beb['isString'](_0x594de1['channel']))return'channel:\x20string\x20expected';if(null!=_0x594de1['offset']&&_0x594de1['hasOwnProperty']('offset')&&!_0xcc5beb['isInteger'](_0x594de1['offset']))return'offset:\x20integer\x20expected';if(null!=_0x594de1['version']&&_0x594de1['hasOwnProperty']('version')&&!_0xcc5beb['isInteger'](_0x594de1['version']))return'version:\x20integer\x20expected';if(null!=_0x594de1['buffers']&&_0x594de1['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x594de1['buffers']))return'buffers:\x20array\x20expected';for(var _0x199e26=0x0;_0x199e26<_0x594de1['buffers']['length'];++_0x199e26)if(!(_0x594de1['buffers'][_0x199e26]&&'number'==typeof _0x594de1['buffers'][_0x199e26]['length']||_0xcc5beb['isString'](_0x594de1['buffers'][_0x199e26])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x594de1['types']&&_0x594de1['hasOwnProperty']('types')){if(!Array['isArray'](_0x594de1['types']))return'types:\x20array\x20expected';for(_0x199e26=0x0;_0x199e26<_0x594de1['types']['length'];++_0x199e26)if(!_0xcc5beb['isInteger'](_0x594de1['types'][_0x199e26]))return'types:\x20integer[]\x20expected';}if(null!=_0x594de1['metadata']&&_0x594de1['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x594de1['metadata']))return'metadata:\x20array\x20expected';for(_0x199e26=0x0;_0x199e26<_0x594de1['metadata']['length'];++_0x199e26){var _0x3c499c=_0xe33dea['OperationMetadataDescriptor']['verify'](_0x594de1['metadata'][_0x199e26]);if(_0x3c499c)return'metadata.'+_0x3c499c;}}return null!=_0x594de1['initData']&&_0x594de1['hasOwnProperty']('initData')&&!_0xcc5beb['isString'](_0x594de1['initData'])?'initData:\x20string\x20expected':null!=_0x594de1['isInitialized']&&_0x594de1['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x594de1['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x594de1['sessionId']&&_0x594de1['hasOwnProperty']('sessionId')&&!_0xcc5beb['isString'](_0x594de1['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x594de1['lastOperationId']&&_0x594de1['hasOwnProperty']('lastOperationId')&&!_0xcc5beb['isString'](_0x594de1['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x594de1['sessionCreatedAt']&&_0x594de1['hasOwnProperty']('sessionCreatedAt')&&!_0xcc5beb['isString'](_0x594de1['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x3a8f9a['fromObject']=function(_0x399dad){if(_0x399dad instanceof _0xe33dea['CollaborativeEditingConnectResponse'])return _0x399dad;var _0x4793b9=new _0xe33dea['CollaborativeEditingConnectResponse']();if(null!=_0x399dad['channel']&&(_0x4793b9['channel']=String(_0x399dad['channel'])),null!=_0x399dad['offset']&&(_0x4793b9['offset']=_0x399dad['offset']>>>0x0),null!=_0x399dad['version']&&(_0x4793b9['version']=_0x399dad['version']>>>0x0),_0x399dad['buffers']){if(!Array['isArray'](_0x399dad['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x4793b9['buffers']=[];for(var _0x3ed7fb=0x0;_0x3ed7fb<_0x399dad['buffers']['length'];++_0x3ed7fb)'string'==typeof _0x399dad['buffers'][_0x3ed7fb]?_0xcc5beb['base64']['decode'](_0x399dad['buffers'][_0x3ed7fb],_0x4793b9['buffers'][_0x3ed7fb]=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x399dad['buffers'][_0x3ed7fb])),0x0):_0x399dad['buffers'][_0x3ed7fb]['length']>=0x0&&(_0x4793b9['buffers'][_0x3ed7fb]=_0x399dad['buffers'][_0x3ed7fb]);}if(_0x399dad['types']){if(!Array['isArray'](_0x399dad['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x4793b9['types']=[],_0x3ed7fb=0x0;_0x3ed7fb<_0x399dad['types']['length'];++_0x3ed7fb)_0x4793b9['types'][_0x3ed7fb]=_0x399dad['types'][_0x3ed7fb]>>>0x0;}if(_0x399dad['metadata']){if(!Array['isArray'](_0x399dad['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x4793b9['metadata']=[],_0x3ed7fb=0x0;_0x3ed7fb<_0x399dad['metadata']['length'];++_0x3ed7fb){if('object'!=typeof _0x399dad['metadata'][_0x3ed7fb])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x4793b9['metadata'][_0x3ed7fb]=_0xe33dea['OperationMetadataDescriptor']['fromObject'](_0x399dad['metadata'][_0x3ed7fb]);}}return null!=_0x399dad['initData']&&(_0x4793b9['initData']=String(_0x399dad['initData'])),null!=_0x399dad['isInitialized']&&(_0x4793b9['isInitialized']=Boolean(_0x399dad['isInitialized'])),null!=_0x399dad['sessionId']&&(_0x4793b9['sessionId']=String(_0x399dad['sessionId'])),null!=_0x399dad['lastOperationId']&&(_0x4793b9['lastOperationId']=String(_0x399dad['lastOperationId'])),null!=_0x399dad['sessionCreatedAt']&&(_0x4793b9['sessionCreatedAt']=String(_0x399dad['sessionCreatedAt'])),_0x4793b9;},_0x3a8f9a['toObject']=function(_0x155ca7,_0x57aa9f){_0x57aa9f||(_0x57aa9f={});var _0x551151={};if((_0x57aa9f['arrays']||_0x57aa9f['defaults'])&&(_0x551151['buffers']=[],_0x551151['types']=[],_0x551151['metadata']=[]),_0x57aa9f['defaults']&&(_0x551151['channel']='',_0x551151['offset']=0x0,_0x551151['version']=0x0,_0x551151['initData']='',_0x551151['isInitialized']=!0x1,_0x551151['sessionId']='',_0x551151['lastOperationId']='',_0x551151['sessionCreatedAt']=''),null!=_0x155ca7['channel']&&_0x155ca7['hasOwnProperty']('channel')&&(_0x551151['channel']=_0x155ca7['channel']),null!=_0x155ca7['offset']&&_0x155ca7['hasOwnProperty']('offset')&&(_0x551151['offset']=_0x155ca7['offset']),null!=_0x155ca7['version']&&_0x155ca7['hasOwnProperty']('version')&&(_0x551151['version']=_0x155ca7['version']),_0x155ca7['buffers']&&_0x155ca7['buffers']['length']){_0x551151['buffers']=[];for(var _0x15e657=0x0;_0x15e657<_0x155ca7['buffers']['length'];++_0x15e657)_0x551151['buffers'][_0x15e657]=_0x57aa9f['bytes']===String?_0xcc5beb['base64']['encode'](_0x155ca7['buffers'][_0x15e657],0x0,_0x155ca7['buffers'][_0x15e657]['length']):_0x57aa9f['bytes']===Array?Array['prototype']['slice']['call'](_0x155ca7['buffers'][_0x15e657]):_0x155ca7['buffers'][_0x15e657];}if(_0x155ca7['types']&&_0x155ca7['types']['length']){for(_0x551151['types']=[],_0x15e657=0x0;_0x15e657<_0x155ca7['types']['length'];++_0x15e657)_0x551151['types'][_0x15e657]=_0x155ca7['types'][_0x15e657];}if(_0x155ca7['metadata']&&_0x155ca7['metadata']['length']){for(_0x551151['metadata']=[],_0x15e657=0x0;_0x15e657<_0x155ca7['metadata']['length'];++_0x15e657)_0x551151['metadata'][_0x15e657]=_0xe33dea['OperationMetadataDescriptor']['toObject'](_0x155ca7['metadata'][_0x15e657],_0x57aa9f);}return null!=_0x155ca7['initData']&&_0x155ca7['hasOwnProperty']('initData')&&(_0x551151['initData']=_0x155ca7['initData']),null!=_0x155ca7['isInitialized']&&_0x155ca7['hasOwnProperty']('isInitialized')&&(_0x551151['isInitialized']=_0x155ca7['isInitialized']),null!=_0x155ca7['sessionId']&&_0x155ca7['hasOwnProperty']('sessionId')&&(_0x551151['sessionId']=_0x155ca7['sessionId']),null!=_0x155ca7['lastOperationId']&&_0x155ca7['hasOwnProperty']('lastOperationId')&&(_0x551151['lastOperationId']=_0x155ca7['lastOperationId']),null!=_0x155ca7['sessionCreatedAt']&&_0x155ca7['hasOwnProperty']('sessionCreatedAt')&&(_0x551151['sessionCreatedAt']=_0x155ca7['sessionCreatedAt']),_0x551151;},_0x3a8f9a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3a8f9a['getTypeUrl']=function(_0x596e95){return void 0x0===_0x596e95&&(_0x596e95='type.googleapis.com'),_0x596e95+'/CollaborativeEditingConnectResponse';},_0x3a8f9a;}()),_0xe33dea['GetDocumentDetailsMessage']=(function(){function _0x2e52bd(_0x335064){if(_0x335064){for(var _0x1087a=Object['keys'](_0x335064),_0x4b179c=0x0;_0x4b179c<_0x1087a['length'];++_0x4b179c)null!=_0x335064[_0x1087a[_0x4b179c]]&&(this[_0x1087a[_0x4b179c]]=_0x335064[_0x1087a[_0x4b179c]]);}}return _0x2e52bd['prototype']['documentId']='',_0x2e52bd['prototype']['environmentId']='',_0x2e52bd['create']=function(_0x261870){return new _0x2e52bd(_0x261870);},_0x2e52bd['encode']=function(_0x501ff5,_0x9fb55f){return _0x9fb55f||(_0x9fb55f=_0x5eaf50['create']()),null!=_0x501ff5['documentId']&&Object['hasOwnProperty']['call'](_0x501ff5,'documentId')&&_0x9fb55f['uint32'](0xa)['string'](_0x501ff5['documentId']),null!=_0x501ff5['environmentId']&&Object['hasOwnProperty']['call'](_0x501ff5,'environmentId')&&_0x9fb55f['uint32'](0x12)['string'](_0x501ff5['environmentId']),_0x9fb55f;},_0x2e52bd['encodeDelimited']=function(_0x281c4c,_0x4300de){return this['encode'](_0x281c4c,_0x4300de)['ldelim']();},_0x2e52bd['decode']=function(_0x2a914b,_0xb0a273,_0x3ed1fe){_0x2a914b instanceof _0x22a542||(_0x2a914b=_0x22a542['create'](_0x2a914b));for(var _0x409f37=void 0x0===_0xb0a273?_0x2a914b['len']:_0x2a914b['pos']+_0xb0a273,_0x330e94=new _0xe33dea['GetDocumentDetailsMessage']();_0x2a914b['pos']<_0x409f37;){var _0x36ac31=_0x2a914b['uint32']();if(_0x36ac31===_0x3ed1fe)break;switch(_0x36ac31>>>0x3){case 0x1:_0x330e94['documentId']=_0x2a914b['string']();break;case 0x2:_0x330e94['environmentId']=_0x2a914b['string']();break;default:_0x2a914b['skipType'](0x7&_0x36ac31);}}return _0x330e94;},_0x2e52bd['decodeDelimited']=function(_0x1b3426){return _0x1b3426 instanceof _0x22a542||(_0x1b3426=new _0x22a542(_0x1b3426)),this['decode'](_0x1b3426,_0x1b3426['uint32']());},_0x2e52bd['verify']=function(_0x5a8ff8){return'object'!=typeof _0x5a8ff8||null===_0x5a8ff8?'object\x20expected':null!=_0x5a8ff8['documentId']&&_0x5a8ff8['hasOwnProperty']('documentId')&&!_0xcc5beb['isString'](_0x5a8ff8['documentId'])?'documentId:\x20string\x20expected':null!=_0x5a8ff8['environmentId']&&_0x5a8ff8['hasOwnProperty']('environmentId')&&!_0xcc5beb['isString'](_0x5a8ff8['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x2e52bd['fromObject']=function(_0x1b5128){if(_0x1b5128 instanceof _0xe33dea['GetDocumentDetailsMessage'])return _0x1b5128;var _0x266e11=new _0xe33dea['GetDocumentDetailsMessage']();return null!=_0x1b5128['documentId']&&(_0x266e11['documentId']=String(_0x1b5128['documentId'])),null!=_0x1b5128['environmentId']&&(_0x266e11['environmentId']=String(_0x1b5128['environmentId'])),_0x266e11;},_0x2e52bd['toObject']=function(_0x5ee5ec,_0x563b1a){_0x563b1a||(_0x563b1a={});var _0x388f44={};return _0x563b1a['defaults']&&(_0x388f44['documentId']='',_0x388f44['environmentId']=''),null!=_0x5ee5ec['documentId']&&_0x5ee5ec['hasOwnProperty']('documentId')&&(_0x388f44['documentId']=_0x5ee5ec['documentId']),null!=_0x5ee5ec['environmentId']&&_0x5ee5ec['hasOwnProperty']('environmentId')&&(_0x388f44['environmentId']=_0x5ee5ec['environmentId']),_0x388f44;},_0x2e52bd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2e52bd['getTypeUrl']=function(_0x2c3af){return void 0x0===_0x2c3af&&(_0x2c3af='type.googleapis.com'),_0x2c3af+'/GetDocumentDetailsMessage';},_0x2e52bd;}()),_0xe33dea['CollaborativeEditingUpdateMessage']=(function(){function _0x5c0f4e(_0x1c547e){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1c547e){for(var _0xc27eb=Object['keys'](_0x1c547e),_0x396e62=0x0;_0x396e62<_0xc27eb['length'];++_0x396e62)null!=_0x1c547e[_0xc27eb[_0x396e62]]&&(this[_0xc27eb[_0x396e62]]=_0x1c547e[_0xc27eb[_0x396e62]]);}}return _0x5c0f4e['prototype']['id']='',_0x5c0f4e['prototype']['baseVersion']=0x0,_0x5c0f4e['prototype']['buffers']=_0xcc5beb['emptyArray'],_0x5c0f4e['prototype']['types']=_0xcc5beb['emptyArray'],_0x5c0f4e['prototype']['metadata']=_0xcc5beb['emptyArray'],_0x5c0f4e['prototype']['lastOperationId']='',_0x5c0f4e['create']=function(_0x4ad57f){return new _0x5c0f4e(_0x4ad57f);},_0x5c0f4e['encode']=function(_0xc6620e,_0x2b2316){if(_0x2b2316||(_0x2b2316=_0x5eaf50['create']()),null!=_0xc6620e['id']&&Object['hasOwnProperty']['call'](_0xc6620e,'id')&&_0x2b2316['uint32'](0xa)['string'](_0xc6620e['id']),null!=_0xc6620e['baseVersion']&&Object['hasOwnProperty']['call'](_0xc6620e,'baseVersion')&&_0x2b2316['uint32'](0x10)['uint32'](_0xc6620e['baseVersion']),null!=_0xc6620e['buffers']&&_0xc6620e['buffers']['length']){for(var _0x26167d=0x0;_0x26167d<_0xc6620e['buffers']['length'];++_0x26167d)_0x2b2316['uint32'](0x1a)['bytes'](_0xc6620e['buffers'][_0x26167d]);}if(null!=_0xc6620e['types']&&_0xc6620e['types']['length']){for(_0x2b2316['uint32'](0x22)['fork'](),_0x26167d=0x0;_0x26167d<_0xc6620e['types']['length'];++_0x26167d)_0x2b2316['uint32'](_0xc6620e['types'][_0x26167d]);_0x2b2316['ldelim']();}if(null!=_0xc6620e['metadata']&&_0xc6620e['metadata']['length']){for(_0x26167d=0x0;_0x26167d<_0xc6620e['metadata']['length'];++_0x26167d)_0xe33dea['OperationMetadataDescriptor']['encode'](_0xc6620e['metadata'][_0x26167d],_0x2b2316['uint32'](0x32)['fork']())['ldelim']();}return null!=_0xc6620e['lastOperationId']&&Object['hasOwnProperty']['call'](_0xc6620e,'lastOperationId')&&_0x2b2316['uint32'](0x3a)['string'](_0xc6620e['lastOperationId']),_0x2b2316;},_0x5c0f4e['encodeDelimited']=function(_0x2d8f8b,_0x1aa93d){return this['encode'](_0x2d8f8b,_0x1aa93d)['ldelim']();},_0x5c0f4e['decode']=function(_0x33fbfb,_0x2b0194,_0x2b286d){_0x33fbfb instanceof _0x22a542||(_0x33fbfb=_0x22a542['create'](_0x33fbfb));for(var _0x286c01=void 0x0===_0x2b0194?_0x33fbfb['len']:_0x33fbfb['pos']+_0x2b0194,_0x265775=new _0xe33dea['CollaborativeEditingUpdateMessage']();_0x33fbfb['pos']<_0x286c01;){var _0x2f0b8b=_0x33fbfb['uint32']();if(_0x2f0b8b===_0x2b286d)break;switch(_0x2f0b8b>>>0x3){case 0x1:_0x265775['id']=_0x33fbfb['string']();break;case 0x2:_0x265775['baseVersion']=_0x33fbfb['uint32']();break;case 0x3:_0x265775['buffers']&&_0x265775['buffers']['length']||(_0x265775['buffers']=[]),_0x265775['buffers']['push'](_0x33fbfb['bytes']());break;case 0x4:if(_0x265775['types']&&_0x265775['types']['length']||(_0x265775['types']=[]),0x2==(0x7&_0x2f0b8b)){for(var _0x1e5995=_0x33fbfb['uint32']()+_0x33fbfb['pos'];_0x33fbfb['pos']<_0x1e5995;)_0x265775['types']['push'](_0x33fbfb['uint32']());}else _0x265775['types']['push'](_0x33fbfb['uint32']());break;case 0x6:_0x265775['metadata']&&_0x265775['metadata']['length']||(_0x265775['metadata']=[]),_0x265775['metadata']['push'](_0xe33dea['OperationMetadataDescriptor']['decode'](_0x33fbfb,_0x33fbfb['uint32']()));break;case 0x7:_0x265775['lastOperationId']=_0x33fbfb['string']();break;default:_0x33fbfb['skipType'](0x7&_0x2f0b8b);}}return _0x265775;},_0x5c0f4e['decodeDelimited']=function(_0xb7ec03){return _0xb7ec03 instanceof _0x22a542||(_0xb7ec03=new _0x22a542(_0xb7ec03)),this['decode'](_0xb7ec03,_0xb7ec03['uint32']());},_0x5c0f4e['verify']=function(_0x20801){if('object'!=typeof _0x20801||null===_0x20801)return'object\x20expected';if(null!=_0x20801['id']&&_0x20801['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x20801['id']))return'id:\x20string\x20expected';if(null!=_0x20801['baseVersion']&&_0x20801['hasOwnProperty']('baseVersion')&&!_0xcc5beb['isInteger'](_0x20801['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x20801['buffers']&&_0x20801['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x20801['buffers']))return'buffers:\x20array\x20expected';for(var _0x251b13=0x0;_0x251b13<_0x20801['buffers']['length'];++_0x251b13)if(!(_0x20801['buffers'][_0x251b13]&&'number'==typeof _0x20801['buffers'][_0x251b13]['length']||_0xcc5beb['isString'](_0x20801['buffers'][_0x251b13])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x20801['types']&&_0x20801['hasOwnProperty']('types')){if(!Array['isArray'](_0x20801['types']))return'types:\x20array\x20expected';for(_0x251b13=0x0;_0x251b13<_0x20801['types']['length'];++_0x251b13)if(!_0xcc5beb['isInteger'](_0x20801['types'][_0x251b13]))return'types:\x20integer[]\x20expected';}if(null!=_0x20801['metadata']&&_0x20801['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x20801['metadata']))return'metadata:\x20array\x20expected';for(_0x251b13=0x0;_0x251b13<_0x20801['metadata']['length'];++_0x251b13){var _0x4160f6=_0xe33dea['OperationMetadataDescriptor']['verify'](_0x20801['metadata'][_0x251b13]);if(_0x4160f6)return'metadata.'+_0x4160f6;}}return null!=_0x20801['lastOperationId']&&_0x20801['hasOwnProperty']('lastOperationId')&&!_0xcc5beb['isString'](_0x20801['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x5c0f4e['fromObject']=function(_0x25ef63){if(_0x25ef63 instanceof _0xe33dea['CollaborativeEditingUpdateMessage'])return _0x25ef63;var _0x464cae=new _0xe33dea['CollaborativeEditingUpdateMessage']();if(null!=_0x25ef63['id']&&(_0x464cae['id']=String(_0x25ef63['id'])),null!=_0x25ef63['baseVersion']&&(_0x464cae['baseVersion']=_0x25ef63['baseVersion']>>>0x0),_0x25ef63['buffers']){if(!Array['isArray'](_0x25ef63['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x464cae['buffers']=[];for(var _0x2a9b8b=0x0;_0x2a9b8b<_0x25ef63['buffers']['length'];++_0x2a9b8b)'string'==typeof _0x25ef63['buffers'][_0x2a9b8b]?_0xcc5beb['base64']['decode'](_0x25ef63['buffers'][_0x2a9b8b],_0x464cae['buffers'][_0x2a9b8b]=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x25ef63['buffers'][_0x2a9b8b])),0x0):_0x25ef63['buffers'][_0x2a9b8b]['length']>=0x0&&(_0x464cae['buffers'][_0x2a9b8b]=_0x25ef63['buffers'][_0x2a9b8b]);}if(_0x25ef63['types']){if(!Array['isArray'](_0x25ef63['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x464cae['types']=[],_0x2a9b8b=0x0;_0x2a9b8b<_0x25ef63['types']['length'];++_0x2a9b8b)_0x464cae['types'][_0x2a9b8b]=_0x25ef63['types'][_0x2a9b8b]>>>0x0;}if(_0x25ef63['metadata']){if(!Array['isArray'](_0x25ef63['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x464cae['metadata']=[],_0x2a9b8b=0x0;_0x2a9b8b<_0x25ef63['metadata']['length'];++_0x2a9b8b){if('object'!=typeof _0x25ef63['metadata'][_0x2a9b8b])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x464cae['metadata'][_0x2a9b8b]=_0xe33dea['OperationMetadataDescriptor']['fromObject'](_0x25ef63['metadata'][_0x2a9b8b]);}}return null!=_0x25ef63['lastOperationId']&&(_0x464cae['lastOperationId']=String(_0x25ef63['lastOperationId'])),_0x464cae;},_0x5c0f4e['toObject']=function(_0x4c881d,_0x5c1b6c){_0x5c1b6c||(_0x5c1b6c={});var _0x3a51a0={};if((_0x5c1b6c['arrays']||_0x5c1b6c['defaults'])&&(_0x3a51a0['buffers']=[],_0x3a51a0['types']=[],_0x3a51a0['metadata']=[]),_0x5c1b6c['defaults']&&(_0x3a51a0['id']='',_0x3a51a0['baseVersion']=0x0,_0x3a51a0['lastOperationId']=''),null!=_0x4c881d['id']&&_0x4c881d['hasOwnProperty']('id')&&(_0x3a51a0['id']=_0x4c881d['id']),null!=_0x4c881d['baseVersion']&&_0x4c881d['hasOwnProperty']('baseVersion')&&(_0x3a51a0['baseVersion']=_0x4c881d['baseVersion']),_0x4c881d['buffers']&&_0x4c881d['buffers']['length']){_0x3a51a0['buffers']=[];for(var _0x51c658=0x0;_0x51c658<_0x4c881d['buffers']['length'];++_0x51c658)_0x3a51a0['buffers'][_0x51c658]=_0x5c1b6c['bytes']===String?_0xcc5beb['base64']['encode'](_0x4c881d['buffers'][_0x51c658],0x0,_0x4c881d['buffers'][_0x51c658]['length']):_0x5c1b6c['bytes']===Array?Array['prototype']['slice']['call'](_0x4c881d['buffers'][_0x51c658]):_0x4c881d['buffers'][_0x51c658];}if(_0x4c881d['types']&&_0x4c881d['types']['length']){for(_0x3a51a0['types']=[],_0x51c658=0x0;_0x51c658<_0x4c881d['types']['length'];++_0x51c658)_0x3a51a0['types'][_0x51c658]=_0x4c881d['types'][_0x51c658];}if(_0x4c881d['metadata']&&_0x4c881d['metadata']['length']){for(_0x3a51a0['metadata']=[],_0x51c658=0x0;_0x51c658<_0x4c881d['metadata']['length'];++_0x51c658)_0x3a51a0['metadata'][_0x51c658]=_0xe33dea['OperationMetadataDescriptor']['toObject'](_0x4c881d['metadata'][_0x51c658],_0x5c1b6c);}return null!=_0x4c881d['lastOperationId']&&_0x4c881d['hasOwnProperty']('lastOperationId')&&(_0x3a51a0['lastOperationId']=_0x4c881d['lastOperationId']),_0x3a51a0;},_0x5c0f4e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5c0f4e['getTypeUrl']=function(_0x6f39ce){return void 0x0===_0x6f39ce&&(_0x6f39ce='type.googleapis.com'),_0x6f39ce+'/CollaborativeEditingUpdateMessage';},_0x5c0f4e;}()),_0xe33dea['CollaborativeEditingReconnectMessage']=(function(){function _0x15bf99(_0x1ffa8e){if(_0x1ffa8e){for(var _0xb2edea=Object['keys'](_0x1ffa8e),_0x2e414d=0x0;_0x2e414d<_0xb2edea['length'];++_0x2e414d)null!=_0x1ffa8e[_0xb2edea[_0x2e414d]]&&(this[_0xb2edea[_0x2e414d]]=_0x1ffa8e[_0xb2edea[_0x2e414d]]);}}return _0x15bf99['prototype']['id']='',_0x15bf99['prototype']['bundleVersion']='',_0x15bf99['prototype']['lastKnowVersion']=0x0,_0x15bf99['create']=function(_0x3c31d9){return new _0x15bf99(_0x3c31d9);},_0x15bf99['encode']=function(_0x114b94,_0x32794e){return _0x32794e||(_0x32794e=_0x5eaf50['create']()),null!=_0x114b94['id']&&Object['hasOwnProperty']['call'](_0x114b94,'id')&&_0x32794e['uint32'](0xa)['string'](_0x114b94['id']),null!=_0x114b94['bundleVersion']&&Object['hasOwnProperty']['call'](_0x114b94,'bundleVersion')&&_0x32794e['uint32'](0x12)['string'](_0x114b94['bundleVersion']),null!=_0x114b94['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x114b94,'lastKnowVersion')&&_0x32794e['uint32'](0x18)['uint32'](_0x114b94['lastKnowVersion']),_0x32794e;},_0x15bf99['encodeDelimited']=function(_0x5c6caa,_0x5dcf86){return this['encode'](_0x5c6caa,_0x5dcf86)['ldelim']();},_0x15bf99['decode']=function(_0x38cbc9,_0x13c609,_0x3e66ab){_0x38cbc9 instanceof _0x22a542||(_0x38cbc9=_0x22a542['create'](_0x38cbc9));for(var _0x4e8efa=void 0x0===_0x13c609?_0x38cbc9['len']:_0x38cbc9['pos']+_0x13c609,_0x4ec7ce=new _0xe33dea['CollaborativeEditingReconnectMessage']();_0x38cbc9['pos']<_0x4e8efa;){var _0x24bc61=_0x38cbc9['uint32']();if(_0x24bc61===_0x3e66ab)break;switch(_0x24bc61>>>0x3){case 0x1:_0x4ec7ce['id']=_0x38cbc9['string']();break;case 0x2:_0x4ec7ce['bundleVersion']=_0x38cbc9['string']();break;case 0x3:_0x4ec7ce['lastKnowVersion']=_0x38cbc9['uint32']();break;default:_0x38cbc9['skipType'](0x7&_0x24bc61);}}return _0x4ec7ce;},_0x15bf99['decodeDelimited']=function(_0x205322){return _0x205322 instanceof _0x22a542||(_0x205322=new _0x22a542(_0x205322)),this['decode'](_0x205322,_0x205322['uint32']());},_0x15bf99['verify']=function(_0x4ef093){return'object'!=typeof _0x4ef093||null===_0x4ef093?'object\x20expected':null!=_0x4ef093['id']&&_0x4ef093['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x4ef093['id'])?'id:\x20string\x20expected':null!=_0x4ef093['bundleVersion']&&_0x4ef093['hasOwnProperty']('bundleVersion')&&!_0xcc5beb['isString'](_0x4ef093['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x4ef093['lastKnowVersion']&&_0x4ef093['hasOwnProperty']('lastKnowVersion')&&!_0xcc5beb['isInteger'](_0x4ef093['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x15bf99['fromObject']=function(_0x307e12){if(_0x307e12 instanceof _0xe33dea['CollaborativeEditingReconnectMessage'])return _0x307e12;var _0x4263c3=new _0xe33dea['CollaborativeEditingReconnectMessage']();return null!=_0x307e12['id']&&(_0x4263c3['id']=String(_0x307e12['id'])),null!=_0x307e12['bundleVersion']&&(_0x4263c3['bundleVersion']=String(_0x307e12['bundleVersion'])),null!=_0x307e12['lastKnowVersion']&&(_0x4263c3['lastKnowVersion']=_0x307e12['lastKnowVersion']>>>0x0),_0x4263c3;},_0x15bf99['toObject']=function(_0x164c77,_0x122ab7){_0x122ab7||(_0x122ab7={});var _0x4fbab9={};return _0x122ab7['defaults']&&(_0x4fbab9['id']='',_0x4fbab9['bundleVersion']='',_0x4fbab9['lastKnowVersion']=0x0),null!=_0x164c77['id']&&_0x164c77['hasOwnProperty']('id')&&(_0x4fbab9['id']=_0x164c77['id']),null!=_0x164c77['bundleVersion']&&_0x164c77['hasOwnProperty']('bundleVersion')&&(_0x4fbab9['bundleVersion']=_0x164c77['bundleVersion']),null!=_0x164c77['lastKnowVersion']&&_0x164c77['hasOwnProperty']('lastKnowVersion')&&(_0x4fbab9['lastKnowVersion']=_0x164c77['lastKnowVersion']),_0x4fbab9;},_0x15bf99['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x15bf99['getTypeUrl']=function(_0x52919f){return void 0x0===_0x52919f&&(_0x52919f='type.googleapis.com'),_0x52919f+'/CollaborativeEditingReconnectMessage';},_0x15bf99;}()),_0xe33dea['CollaborativeEditingConnectMessage']=(function(){function _0x37651e(_0x489c6b){if(this['buffers']=[],this['types']=[],_0x489c6b){for(var _0x2d1d0a=Object['keys'](_0x489c6b),_0x46e608=0x0;_0x46e608<_0x2d1d0a['length'];++_0x46e608)null!=_0x489c6b[_0x2d1d0a[_0x46e608]]&&(this[_0x2d1d0a[_0x46e608]]=_0x489c6b[_0x2d1d0a[_0x46e608]]);}}return _0x37651e['prototype']['id']='',_0x37651e['prototype']['bundleVersion']='',_0x37651e['prototype']['buffers']=_0xcc5beb['emptyArray'],_0x37651e['prototype']['types']=_0xcc5beb['emptyArray'],_0x37651e['prototype']['lastOperationId']='',_0x37651e['create']=function(_0xdf24cf){return new _0x37651e(_0xdf24cf);},_0x37651e['encode']=function(_0x3e8bf8,_0x2be569){if(_0x2be569||(_0x2be569=_0x5eaf50['create']()),null!=_0x3e8bf8['id']&&Object['hasOwnProperty']['call'](_0x3e8bf8,'id')&&_0x2be569['uint32'](0xa)['string'](_0x3e8bf8['id']),null!=_0x3e8bf8['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3e8bf8,'bundleVersion')&&_0x2be569['uint32'](0x12)['string'](_0x3e8bf8['bundleVersion']),null!=_0x3e8bf8['buffers']&&_0x3e8bf8['buffers']['length']){for(var _0x534e53=0x0;_0x534e53<_0x3e8bf8['buffers']['length'];++_0x534e53)_0x2be569['uint32'](0x1a)['bytes'](_0x3e8bf8['buffers'][_0x534e53]);}if(null!=_0x3e8bf8['types']&&_0x3e8bf8['types']['length']){for(_0x2be569['uint32'](0x22)['fork'](),_0x534e53=0x0;_0x534e53<_0x3e8bf8['types']['length'];++_0x534e53)_0x2be569['uint32'](_0x3e8bf8['types'][_0x534e53]);_0x2be569['ldelim']();}return null!=_0x3e8bf8['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3e8bf8,'lastOperationId')&&_0x2be569['uint32'](0x2a)['string'](_0x3e8bf8['lastOperationId']),_0x2be569;},_0x37651e['encodeDelimited']=function(_0x426833,_0x2758cd){return this['encode'](_0x426833,_0x2758cd)['ldelim']();},_0x37651e['decode']=function(_0x3b0218,_0x5301da,_0x227ef6){_0x3b0218 instanceof _0x22a542||(_0x3b0218=_0x22a542['create'](_0x3b0218));for(var _0x115095=void 0x0===_0x5301da?_0x3b0218['len']:_0x3b0218['pos']+_0x5301da,_0x3a7697=new _0xe33dea['CollaborativeEditingConnectMessage']();_0x3b0218['pos']<_0x115095;){var _0x35784e=_0x3b0218['uint32']();if(_0x35784e===_0x227ef6)break;switch(_0x35784e>>>0x3){case 0x1:_0x3a7697['id']=_0x3b0218['string']();break;case 0x2:_0x3a7697['bundleVersion']=_0x3b0218['string']();break;case 0x3:_0x3a7697['buffers']&&_0x3a7697['buffers']['length']||(_0x3a7697['buffers']=[]),_0x3a7697['buffers']['push'](_0x3b0218['bytes']());break;case 0x4:if(_0x3a7697['types']&&_0x3a7697['types']['length']||(_0x3a7697['types']=[]),0x2==(0x7&_0x35784e)){for(var _0x51ee52=_0x3b0218['uint32']()+_0x3b0218['pos'];_0x3b0218['pos']<_0x51ee52;)_0x3a7697['types']['push'](_0x3b0218['uint32']());}else _0x3a7697['types']['push'](_0x3b0218['uint32']());break;case 0x5:_0x3a7697['lastOperationId']=_0x3b0218['string']();break;default:_0x3b0218['skipType'](0x7&_0x35784e);}}return _0x3a7697;},_0x37651e['decodeDelimited']=function(_0x35f10e){return _0x35f10e instanceof _0x22a542||(_0x35f10e=new _0x22a542(_0x35f10e)),this['decode'](_0x35f10e,_0x35f10e['uint32']());},_0x37651e['verify']=function(_0x46fcc9){if('object'!=typeof _0x46fcc9||null===_0x46fcc9)return'object\x20expected';if(null!=_0x46fcc9['id']&&_0x46fcc9['hasOwnProperty']('id')&&!_0xcc5beb['isString'](_0x46fcc9['id']))return'id:\x20string\x20expected';if(null!=_0x46fcc9['bundleVersion']&&_0x46fcc9['hasOwnProperty']('bundleVersion')&&!_0xcc5beb['isString'](_0x46fcc9['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x46fcc9['buffers']&&_0x46fcc9['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x46fcc9['buffers']))return'buffers:\x20array\x20expected';for(var _0x4198f8=0x0;_0x4198f8<_0x46fcc9['buffers']['length'];++_0x4198f8)if(!(_0x46fcc9['buffers'][_0x4198f8]&&'number'==typeof _0x46fcc9['buffers'][_0x4198f8]['length']||_0xcc5beb['isString'](_0x46fcc9['buffers'][_0x4198f8])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x46fcc9['types']&&_0x46fcc9['hasOwnProperty']('types')){if(!Array['isArray'](_0x46fcc9['types']))return'types:\x20array\x20expected';for(_0x4198f8=0x0;_0x4198f8<_0x46fcc9['types']['length'];++_0x4198f8)if(!_0xcc5beb['isInteger'](_0x46fcc9['types'][_0x4198f8]))return'types:\x20integer[]\x20expected';}return null!=_0x46fcc9['lastOperationId']&&_0x46fcc9['hasOwnProperty']('lastOperationId')&&!_0xcc5beb['isString'](_0x46fcc9['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x37651e['fromObject']=function(_0x14321a){if(_0x14321a instanceof _0xe33dea['CollaborativeEditingConnectMessage'])return _0x14321a;var _0x1297f1=new _0xe33dea['CollaborativeEditingConnectMessage']();if(null!=_0x14321a['id']&&(_0x1297f1['id']=String(_0x14321a['id'])),null!=_0x14321a['bundleVersion']&&(_0x1297f1['bundleVersion']=String(_0x14321a['bundleVersion'])),_0x14321a['buffers']){if(!Array['isArray'](_0x14321a['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x1297f1['buffers']=[];for(var _0x20657a=0x0;_0x20657a<_0x14321a['buffers']['length'];++_0x20657a)'string'==typeof _0x14321a['buffers'][_0x20657a]?_0xcc5beb['base64']['decode'](_0x14321a['buffers'][_0x20657a],_0x1297f1['buffers'][_0x20657a]=_0xcc5beb['newBuffer'](_0xcc5beb['base64']['length'](_0x14321a['buffers'][_0x20657a])),0x0):_0x14321a['buffers'][_0x20657a]['length']>=0x0&&(_0x1297f1['buffers'][_0x20657a]=_0x14321a['buffers'][_0x20657a]);}if(_0x14321a['types']){if(!Array['isArray'](_0x14321a['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x1297f1['types']=[],_0x20657a=0x0;_0x20657a<_0x14321a['types']['length'];++_0x20657a)_0x1297f1['types'][_0x20657a]=_0x14321a['types'][_0x20657a]>>>0x0;}return null!=_0x14321a['lastOperationId']&&(_0x1297f1['lastOperationId']=String(_0x14321a['lastOperationId'])),_0x1297f1;},_0x37651e['toObject']=function(_0x4cacc7,_0x4e7a62){_0x4e7a62||(_0x4e7a62={});var _0x1bc4da={};if((_0x4e7a62['arrays']||_0x4e7a62['defaults'])&&(_0x1bc4da['buffers']=[],_0x1bc4da['types']=[]),_0x4e7a62['defaults']&&(_0x1bc4da['id']='',_0x1bc4da['bundleVersion']='',_0x1bc4da['lastOperationId']=''),null!=_0x4cacc7['id']&&_0x4cacc7['hasOwnProperty']('id')&&(_0x1bc4da['id']=_0x4cacc7['id']),null!=_0x4cacc7['bundleVersion']&&_0x4cacc7['hasOwnProperty']('bundleVersion')&&(_0x1bc4da['bundleVersion']=_0x4cacc7['bundleVersion']),_0x4cacc7['buffers']&&_0x4cacc7['buffers']['length']){_0x1bc4da['buffers']=[];for(var _0x55fce3=0x0;_0x55fce3<_0x4cacc7['buffers']['length'];++_0x55fce3)_0x1bc4da['buffers'][_0x55fce3]=_0x4e7a62['bytes']===String?_0xcc5beb['base64']['encode'](_0x4cacc7['buffers'][_0x55fce3],0x0,_0x4cacc7['buffers'][_0x55fce3]['length']):_0x4e7a62['bytes']===Array?Array['prototype']['slice']['call'](_0x4cacc7['buffers'][_0x55fce3]):_0x4cacc7['buffers'][_0x55fce3];}if(_0x4cacc7['types']&&_0x4cacc7['types']['length']){for(_0x1bc4da['types']=[],_0x55fce3=0x0;_0x55fce3<_0x4cacc7['types']['length'];++_0x55fce3)_0x1bc4da['types'][_0x55fce3]=_0x4cacc7['types'][_0x55fce3];}return null!=_0x4cacc7['lastOperationId']&&_0x4cacc7['hasOwnProperty']('lastOperationId')&&(_0x1bc4da['lastOperationId']=_0x4cacc7['lastOperationId']),_0x1bc4da;},_0x37651e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x37651e['getTypeUrl']=function(_0x3d3eab){return void 0x0===_0x3d3eab&&(_0x3d3eab='type.googleapis.com'),_0x3d3eab+'/CollaborativeEditingConnectMessage';},_0x37651e;}()),_0xe33dea['OperationMetadataDescriptor']=(function(){function _0x569dff(_0x23fdfc){if(_0x23fdfc){for(var _0x47fee0=Object['keys'](_0x23fdfc),_0x20a267=0x0;_0x20a267<_0x47fee0['length'];++_0x20a267)null!=_0x23fdfc[_0x47fee0[_0x20a267]]&&(this[_0x47fee0[_0x20a267]]=_0x23fdfc[_0x47fee0[_0x20a267]]);}}return _0x569dff['prototype']['userId']='',_0x569dff['prototype']['type']='',_0x569dff['prototype']['createdAt']='',_0x569dff['create']=function(_0x1cf0eb){return new _0x569dff(_0x1cf0eb);},_0x569dff['encode']=function(_0x5bfc54,_0x3a0c69){return _0x3a0c69||(_0x3a0c69=_0x5eaf50['create']()),null!=_0x5bfc54['userId']&&Object['hasOwnProperty']['call'](_0x5bfc54,'userId')&&_0x3a0c69['uint32'](0xa)['string'](_0x5bfc54['userId']),null!=_0x5bfc54['type']&&Object['hasOwnProperty']['call'](_0x5bfc54,'type')&&_0x3a0c69['uint32'](0x12)['string'](_0x5bfc54['type']),null!=_0x5bfc54['createdAt']&&Object['hasOwnProperty']['call'](_0x5bfc54,'createdAt')&&_0x3a0c69['uint32'](0x1a)['string'](_0x5bfc54['createdAt']),_0x3a0c69;},_0x569dff['encodeDelimited']=function(_0x36a752,_0x40cde5){return this['encode'](_0x36a752,_0x40cde5)['ldelim']();},_0x569dff['decode']=function(_0x3f0dac,_0x47fee5,_0x522ec7){_0x3f0dac instanceof _0x22a542||(_0x3f0dac=_0x22a542['create'](_0x3f0dac));for(var _0x2d472c=void 0x0===_0x47fee5?_0x3f0dac['len']:_0x3f0dac['pos']+_0x47fee5,_0x1ee1bc=new _0xe33dea['OperationMetadataDescriptor']();_0x3f0dac['pos']<_0x2d472c;){var _0x41557e=_0x3f0dac['uint32']();if(_0x41557e===_0x522ec7)break;switch(_0x41557e>>>0x3){case 0x1:_0x1ee1bc['userId']=_0x3f0dac['string']();break;case 0x2:_0x1ee1bc['type']=_0x3f0dac['string']();break;case 0x3:_0x1ee1bc['createdAt']=_0x3f0dac['string']();break;default:_0x3f0dac['skipType'](0x7&_0x41557e);}}return _0x1ee1bc;},_0x569dff['decodeDelimited']=function(_0xf67b37){return _0xf67b37 instanceof _0x22a542||(_0xf67b37=new _0x22a542(_0xf67b37)),this['decode'](_0xf67b37,_0xf67b37['uint32']());},_0x569dff['verify']=function(_0x189329){return'object'!=typeof _0x189329||null===_0x189329?'object\x20expected':null!=_0x189329['userId']&&_0x189329['hasOwnProperty']('userId')&&!_0xcc5beb['isString'](_0x189329['userId'])?'userId:\x20string\x20expected':null!=_0x189329['type']&&_0x189329['hasOwnProperty']('type')&&!_0xcc5beb['isString'](_0x189329['type'])?'type:\x20string\x20expected':null!=_0x189329['createdAt']&&_0x189329['hasOwnProperty']('createdAt')&&!_0xcc5beb['isString'](_0x189329['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x569dff['fromObject']=function(_0xd9d646){if(_0xd9d646 instanceof _0xe33dea['OperationMetadataDescriptor'])return _0xd9d646;var _0x30b4d4=new _0xe33dea['OperationMetadataDescriptor']();return null!=_0xd9d646['userId']&&(_0x30b4d4['userId']=String(_0xd9d646['userId'])),null!=_0xd9d646['type']&&(_0x30b4d4['type']=String(_0xd9d646['type'])),null!=_0xd9d646['createdAt']&&(_0x30b4d4['createdAt']=String(_0xd9d646['createdAt'])),_0x30b4d4;},_0x569dff['toObject']=function(_0x1ee149,_0x2ad7e0){_0x2ad7e0||(_0x2ad7e0={});var _0x289c0a={};return _0x2ad7e0['defaults']&&(_0x289c0a['userId']='',_0x289c0a['type']='',_0x289c0a['createdAt']=''),null!=_0x1ee149['userId']&&_0x1ee149['hasOwnProperty']('userId')&&(_0x289c0a['userId']=_0x1ee149['userId']),null!=_0x1ee149['type']&&_0x1ee149['hasOwnProperty']('type')&&(_0x289c0a['type']=_0x1ee149['type']),null!=_0x1ee149['createdAt']&&_0x1ee149['hasOwnProperty']('createdAt')&&(_0x289c0a['createdAt']=_0x1ee149['createdAt']),_0x289c0a;},_0x569dff['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x569dff['getTypeUrl']=function(_0x455ce9){return void 0x0===_0x455ce9&&(_0x455ce9='type.googleapis.com'),_0x455ce9+'/OperationMetadataDescriptor';},_0x569dff;}()),_0xe33dea;})());class MessagesCompressor{static['decode'](_0x1a0285,_0x50ee86){const _0x388acf=cb(_0x50ee86)['decode']('undefined'==typeof window?_0x1a0285:new Uint8Array(_0x1a0285));return _0x50ee86['fromJSON']({..._0x388acf});}static['encode'](_0x28315c){const _0x318abf=cb(_0x28315c['constructor']),_0x48330e=_0x28315c['toJSON'](),_0xf2731c=_0x318abf['verify'](_0x48330e);if(_0xf2731c)throw Error(_0xf2731c);return _0x318abf['encode'](_0x318abf['create'](_0x48330e))['finish']();}}function cb(_0x26b869){return ab[_0x26b869['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x47e8ea){super(),this['ids']=_0x47e8ea;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x2551ab){return new GetManyUsersMessage(_0x2551ab['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x2d3bbb){super(),this['users']=_0x2d3bbb;}['toJSON'](){return{'users':this['users']['map'](lb)};}static['fromJSON'](_0x3beab8){return new GetManyUsersResponse(_0x3beab8['users']['map'](hb));}}function lb(_0x1565a0){return{'attributes':Object['keys'](_0x1565a0)['map'](_0x498f34=>({'key':_0x498f34,'value':JSON['stringify'](_0x1565a0[_0x498f34])}))};}function hb(_0x3165dd){return _0x3165dd['attributes']['reduce']((_0x3cfb27,_0x159321)=>(_0x3cfb27[_0x159321['key']]=_0x159321['value']?JSON['parse'](_0x159321['value']):null,_0x3cfb27),{});}class User{static ['_SERVICE']=0x2;constructor(_0x36607d={}){this['_attributes']=new Map();for(const _0x56ef4a of Object['keys'](_0x36607d))'id'!==_0x56ef4a?(this['_attributes']['set'](_0x56ef4a,_0x36607d[_0x56ef4a]),Object['defineProperty'](this,_0x56ef4a,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x56ef4a)})):this['id']=_0x36607d['id'];}static['fromData'](_0x3d3650){return new User(_0x3d3650);}static async['get'](_0x4e9d11,_0x144aab){const _0x487126=new GetUserMessage(_0x144aab);try{const _0x2b3e0e=await _0x4e9d11['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x487126)),_0x2b70ec=MessagesCompressor['decode'](_0x2b3e0e,GetUserResponse);return new User(_0x2b70ec['attributes']);}catch(_0x138a85){return new User({'id':_0x144aab});}}static async['getMany'](_0x5c6c2d,_0xa1c94f){const _0x77566e=new GetManyUsersMessage(_0xa1c94f);try{const _0x4c61c5=await _0x5c6c2d['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x77566e));return MessagesCompressor['decode'](_0x4c61c5,GetManyUsersResponse)['users']['map'](_0x2bc161=>new User(_0x2bc161));}catch(_0xf14122){return _0xa1c94f['map'](_0x5d7bea=>new User({'id':_0x5d7bea}));}}}class ChannelMessage extends Message{['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(_0x298853,_0x1650bc,_0x21ecf6){super(),this['type']=_0x298853,this['socketId']=_0x1650bc,this['data']=_0x21ecf6;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x5c11d1){return new ChannelMessage(_0x5c11d1['type'],_0x5c11d1['socketId'],_0x5c11d1['data']);}}class Channel extends/* #__PURE__ -- @preserve */
_0x21ae0(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x37e872,_0x7a7a1c,_0x480d7a){super(),this['_channelName']=_0x37e872,this['_wsGateway']=_0x7a7a1c,this['_socket']=_0x480d7a,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x2f9601,_0x203748=!0x1){let _0x331b1c='';return _0x203748&&(_0x331b1c+='all:'),_0x331b1c+='event',_0x2f9601&&(_0x331b1c+=':'+_0x2f9601),_0x331b1c;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x108eec=>{const _0x5c6b3c=MessagesCompressor['decode'](_0x108eec,ChannelMessage);this['fire'](this['getEventName'](_0x5c6b3c['type'],!0x0),_0x5c6b3c['data'],_0x5c6b3c['socketId']),_0x5c6b3c['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x5c6b3c['type']),_0x5c6b3c['data'],_0x5c6b3c['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x3e0e74,_0xbd3170,_0x3c8574=null,_0x5d3b13={}){super('cloud-services-internal-error:\x20'+_0x3e0e74),this['context']=_0xbd3170,this['code']=_0x3c8574,this['data']=_0x5d3b13,this['name']='CKEditorError';}static['fromPublicError'](_0x6853be){return new CKEditorCloudServicesError(function(_0x5efcf9){let _0x5c99a2='cloud-services-error:\x20'+_0x5efcf9['message'];return _0x5efcf9['data']&&(_0x5c99a2+='\x0aError\x20data:\x20'+JSON['stringify'](_0x5efcf9['data'])),_0x5efcf9['explanation']&&(_0x5c99a2+='\x0aExplanation:\x20'+_0x5efcf9['explanation']),_0x5efcf9['action']&&(_0x5c99a2+='\x0aAction:\x20'+_0x5efcf9['action']),_0x5efcf9['traceId']&&(_0x5c99a2+='\x0aTraceId:\x20'+_0x5efcf9['traceId']),_0x5efcf9['code']&&(_0x5c99a2+='\x0aCode:\x20'+_0x5efcf9['code']),_0x5c99a2;}(_0x6853be),_0x6853be);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x41268d,_0x3a086e){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x41268d,this['code']=_0x3a086e['code'],this['traceId']=_0x3a086e['traceId'],this['data']=_0x3a086e['data'];}static['fromPublicError'](_0x7d2a9b){return new CKEditorCloudServicesServerError(function(_0x4fd5e7){let _0x3cae47='cloud-services-server-error:\x20'+_0x4fd5e7['message'];return _0x4fd5e7['explanation']&&(_0x3cae47+='\x0aExplanation:\x20'+_0x4fd5e7['explanation']),_0x4fd5e7['action']&&(_0x3cae47+='\x0aAction:\x20'+_0x4fd5e7['action']),_0x4fd5e7['traceId']&&(_0x3cae47+='\x0aTraceId:\x20'+_0x4fd5e7['traceId']),_0x4fd5e7['code']&&(_0x3cae47+='\x0aCode:\x20'+_0x4fd5e7['code']),_0x3cae47;}(_0x7d2a9b),_0x7d2a9b);}}class PacketOptionsMessage extends Message{['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(_0x3300d8,_0x5088d3=[],_0x2bf8e6=[]){super(),this['flags']=_0x3300d8,this['rooms']=_0x5088d3,this['except']=_0x2bf8e6;}['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'](_0x848263){return new PacketOptionsMessage(_0x848263['flags']&&JSON['parse'](_0x848263['flags']),_0x848263['rooms'],_0x848263['except']);}}const ub=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x2e8699){let _0x22cb96=0x0;for(let _0x343100=0x0;_0x343100<_0x2e8699['length'];_0x343100++)_0x22cb96+=_0x2e8699[_0x343100]*Math['pow'](0xa,_0x2e8699['length']-_0x343100-0x1);return _0x22cb96;}static['getType'](_0x5a854b){if(ParserUtils['isBuffer'](_0x5a854b))return 0x1;const _0x15b4e9=typeof _0x5a854b;return'string'===_0x15b4e9?0x2:'number'===_0x15b4e9?0x3:0x4;}static['isBuffer'](_0x173224){return ub&&Buffer['isBuffer'](_0x173224)||_0x173224 instanceof ArrayBuffer||_0x173224 instanceof Uint8Array||this['_isBufferView'](_0x173224);}static['_isBufferView'](_0x4ed27a){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4ed27a):_0x4ed27a['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](_0x5c1fab,_0x532d68){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x1790ab,_0xd8c1ee){super(),this['data']=_0x1790ab,this['data1']=_0xd8c1ee;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x471195){return new NumberBytesPacketDataMessage(_0x471195['data'],_0x471195['data1']);}static['create'](_0x3aa606,_0x484821){return new NumberBytesPacketDataMessage(_0x3aa606,_0x484821);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0xf2ff15,_0x31059f){super(),this['data']=_0xf2ff15,this['data1']=_0x31059f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2bacc9){return new StringBytesPacketDataMessage(_0x2bacc9['data'],_0x2bacc9['data1']);}static['create'](_0x46177f,_0x536a97){return new StringBytesPacketDataMessage(_0x46177f,_0x536a97);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2c18be,_0x4f5c5c){super(),this['data']=_0x2c18be,this['data1']=_0x4f5c5c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x246c62){return new BytesBytesPacketDataMessage(_0x246c62['data'],_0x246c62['data1']);}static['create'](_0x1dec36,_0x34e628){return new BytesBytesPacketDataMessage(_0x1dec36,_0x34e628);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x4c26a7,_0x2ad3be){super(),this['data']=_0x4c26a7,this['data1']=_0x2ad3be;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x43ce6e){return new StringObjectPacketDataMessage(_0x43ce6e['data'],_0x43ce6e['data1']&&JSON['parse'](_0x43ce6e['data1']));}static['create'](_0x33b39d,_0x3975a3){return new StringObjectPacketDataMessage(_0x33b39d,_0x3975a3);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0xe01edc,_0x55bd86){super(),this['data']=_0xe01edc,this['data1']=_0x55bd86;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x28fbcc){return new NumberObjectPacketDataMessage(_0x28fbcc['data'],_0x28fbcc['data1']&&JSON['parse'](_0x28fbcc['data1']));}static['create'](_0x411819,_0xad7f90){return new NumberObjectPacketDataMessage(_0x411819,_0xad7f90);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x54fb2d,_0xab7d88){super(),this['data']=_0x54fb2d,this['data1']=_0xab7d88;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x1ff547){return new ObjectObjectPacketDataMessage(_0x1ff547['data']&&JSON['parse'](_0x1ff547['data']),_0x1ff547['data1']&&JSON['parse'](_0x1ff547['data1']));}static['create'](_0x487599,_0x241b4d){return new ObjectObjectPacketDataMessage(_0x487599,_0x241b4d);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x21e094,_0x36ba18){super(),this['data']=_0x21e094,this['data1']=_0x36ba18;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x110f85){return new ObjectBufferPacketDataMessage(_0x110f85['data']&&JSON['parse'](_0x110f85['data']),_0x110f85['data1']);}static['create'](_0xb80af8,_0xf2288a){return new ObjectBufferPacketDataMessage(_0xb80af8,_0xf2288a);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x127ec7,_0x393284){super(),this['data']=_0x127ec7,this['data1']=_0x393284;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1c4c64){return new StringStringPacketDataMessage(_0x1c4c64['data'],_0x1c4c64['data1']);}static['create'](_0x4ddb50,_0x427e1c){return new StringStringPacketDataMessage(_0x4ddb50,_0x427e1c);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x1dd09a,_0x3e9120){super(),this['data']=_0x1dd09a,this['data1']=_0x3e9120;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4fed2f){return new StringNumberPacketDataMessage(_0x4fed2f['data'],_0x4fed2f['data1']);}static['create'](_0x27adc7,_0x1ab767){return new StringNumberPacketDataMessage(_0x27adc7,_0x1ab767);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x30730a,_0x2e9564){super(),this['data']=_0x30730a,this['data1']=_0x2e9564;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2d5922){return new NumberNumberPacketDataMessage(_0x2d5922['data'],_0x2d5922['data1']);}static['create'](_0x5a29d8,_0x3767ec){return new NumberNumberPacketDataMessage(_0x5a29d8,_0x3767ec);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x2d8095,_0x26e51b){super(),this['data']=_0x2d8095,this['data1']=_0x26e51b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4184){return new NumberStringPacketDataMessage(_0x4184['data'],_0x4184['data1']);}static['create'](_0x3d6270,_0x494ef2){return new NumberStringPacketDataMessage(_0x3d6270,_0x494ef2);}}const db=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x2fd9c6,_0x35721c)=>(_0x2fd9c6[_0x35721c['TYPE']]=_0x35721c,_0x2fd9c6),{}))());class PacketMessage extends Message{['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(_0x5dba29,_0x42cf1f,_0x511683,_0x41a720='/',_0x2f5849){super(),this['type']=_0x5dba29,this['data']=_0x42cf1f,this['id']=_0x511683,this['nsp']=_0x41a720,this['options']=_0x2f5849??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 _0x23c0c6=MessagesCompressor['encode'](this['options']),_0x3c96f2=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x3c96f2,'options':_0x23c0c6};}static['fromJSON'](_0x1f93dc){const _0xcb504=Math['floor'](_0x1f93dc['type']/0xa);return new PacketMessage(_0x1f93dc['type']-0xa*_0xcb504,MessagesCompressor['decode'](_0x1f93dc['data'],db[_0xcb504]),_0x1f93dc['id'],_0x1f93dc['nsp'],_0x1f93dc['options']?MessagesCompressor['decode'](_0x1f93dc['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x3c084c,_0x260ee2={}){const _0x417150=ParserUtils['getPacketType'](ParserUtils['getType'](_0x3c084c['data'][0x0]),ParserUtils['getType'](_0x3c084c['data'][0x1]??_0x3c084c['data'][0x0]));return new PacketMessage(_0x3c084c['type'],db[_0x417150]['create'](_0x3c084c['data'][0x0],_0x3c084c['data'][0x1]),_0x3c084c['id'],_0x3c084c['nsp'],new PacketOptionsMessage(_0x260ee2['flags'],_0x260ee2['rooms'],_0x260ee2['except']));}}class PacketParser{['encode'](_0x39b79c,_0x35e46d,_0x3f165e,_0x1a2556='/',_0x12cb67={}){if(_0x35e46d['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x24895f={'type':_0x39b79c,'data':_0x35e46d,'id':_0x3f165e,'nsp':_0x1a2556};return MessagesCompressor['encode'](PacketMessage['create'](_0x24895f,_0x12cb67));}['decode'](_0x4fdc69){const _0xa77c6d=MessagesCompressor['decode'](_0x4fdc69,PacketMessage);return{'packet':{'id':_0xa77c6d['id'],'type':_0xa77c6d['type'],'data':_0xa77c6d['packetData'],'nsp':_0xa77c6d['nsp']},'options':{'flags':_0xa77c6d['options']['flags'],'rooms':_0xa77c6d['options']['rooms'],'except':_0xa77c6d['options']['except']}};}}const fb=/* #__PURE__ -- @preserve */
((()=>[Qw['EVENT'],Qw['ACK'],Qw['BINARY_ACK'],Qw['BINARY_EVENT']])());class Encoder extends $w{['_packetParser'];constructor(_0x27ed73){super(),this['_packetParser']=_0x27ed73??new PacketParser();}['encode'](_0x46c22f){if(fb['includes'](_0x46c22f['type']))try{return[this['_packetParser']['encode'](_0x46c22f['type'],_0x46c22f['data'],_0x46c22f['id'],_0x46c22f['nsp'])];}catch(_0x341122){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x341122['message']}});}return super['encode'](_0x46c22f);}}class Decoder extends Vw{['_packetParser'];constructor(_0x3e3f03){super(),this['_packetParser']=_0x3e3f03??new PacketParser();}['add'](_0x4eb9b0){if(!ParserUtils['isBuffer'](_0x4eb9b0))return super['add'](_0x4eb9b0);let _0x593791;try{_0x593791=this['_packetParser']['decode'](_0x4eb9b0)['packet'];}catch(_0x3e9dae){return super['add'](_0x4eb9b0);}super['emitReserved']('decoded',_0x593791);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
mb();['timeout'];constructor(_0x5d464f,_0x5e8b7f){this['_context']=_0x5d464f,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x5e8b7f);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x2b4e48){this['_deferredPromise']['resolve'](_0x2b4e48);}['error'](_0x2176a1){this['_deferredPromise']['reject'](_0x2176a1);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x18b94b){this['_context']=_0x18b94b;}async['send'](_0x1dbcc6,_0x195f70=0xafc8){const _0x3728cf=this['_createRequest'](_0x195f70);try{return _0x1dbcc6(_0x3728cf),await _0x3728cf['promise'];}finally{this['_finishRequest'](_0x3728cf);}}['errorAll'](_0x3dc652){for(const _0x19e9fe of this['_requests'])_0x19e9fe['error'](_0x3dc652);}['waitForAllRequests'](_0x124641=0xafc8){return this['_waitForRequests'](_0x124641);}['_createRequest'](_0x310fa7){const _0x18092a=new WebSocketRequest(this['_context'],_0x310fa7);return this['_requests']['add'](_0x18092a),_0x18092a;}['_finishRequest'](_0x373a1b){this['_requests']['delete'](_0x373a1b),clearTimeout(_0x373a1b['timeout']);}async['_waitForRequests'](_0x5ba3da=0x1388,_0x377fc7=0x0){return!this['_requests']['size']||_0x377fc7>=_0x5ba3da/0x1f4?Promise['resolve']():(await new Promise(_0xc0e3d4=>{setTimeout(_0xc0e3d4,0x1f4);}),this['_waitForRequests'](_0x5ba3da,_0x377fc7++));}}function mb(){let _0x3cd9cf,_0xf117b9;const _0x5026b1=new Promise((_0x169a31,_0x3ecc51)=>{_0x3cd9cf=_0x169a31,_0xf117b9=_0x3ecc51;});return{'resolve':_0x3cd9cf,'reject':_0xf117b9,'promise':_0x5026b1};}const gb='disconnected',pb='connecting',Ob='connected';let wb=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x376b6b(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>gb)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>pb)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>Ob)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0xe250a5['get']('highest')+0xf423f)());constructor(_0x11899b,_0x285d44,_0x260406,_0x352fdc,_0x1d8ed9){if(super(),this['_token']=_0x285d44,this['_options']=_0x260406??{},this['_connectionProvider']=_0x352fdc??Xw,this['_userFactory']=_0x1d8ed9??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x11899b)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']=tb(_0x11899b['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',gb),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x2b347e,_0x12586a,_0x26f5bf)=>{if(this['_debugEvent']('ws-gw:change:state',_0x26f5bf),_0x26f5bf!==WebSocketGateway['STATE_CONNECTED']){if(_0x26f5bf===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch(_0x1c8b6f){}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0xa3e2db,_0x29a1f1)=>{this['_options']['onError']?this['_options']['onError'](_0x29a1f1):console['error'](_0x29a1f1);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x427081){return this['_requestsManager']['waitForAllRequests'](_0x427081);}['disconnect'](){this['state']!==gb&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=gb);}async['reconnect'](){this['_socket']||this['state']!==gb||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x2633b8,_0x246ca8='local.cs.dev:443/ws-v2',_0xc0f691={},_0x59b298=Xw,_0x5737c0=User['get']){const _0x2a37f4=new WebSocketGateway(_0x246ca8,_0x2633b8,_0xc0f691,_0x59b298,_0x5737c0);return await _0x2a37f4['_connect'](),_0x2a37f4;}['_sendRequest'](_0x4e6162,_0x5a05a2,_0x4d68ef){if(!_0x4e6162)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x5e2e97=new ArrayBuffer(_0x4d68ef['length']+0x2),_0x29c916=new Uint8Array(_0x5e2e97);return _0x29c916[0x0]=_0x4e6162,_0x29c916[0x1]=parseInt(_0x5a05a2),_0x29c916['set'](_0x4d68ef,0x2),this['_emit'](0x1,_0x29c916);}['_getChannel'](_0x10865f,_0x78dc23){const _0x396eb7=''+_0x10865f+_0x78dc23;return!this['_channels']['has'](_0x396eb7)&&this['_socket']&&this['_channels']['set'](_0x396eb7,new Channel(_0x396eb7,this,this['_socket'])),this['_channels']['get'](_0x396eb7);}['_connect'](){return new Promise((_0x13c904,_0x17d7d0)=>{const _0x5cc07e=this['_setupSocket']();!this['socketId']&&_0x5cc07e['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x17d7d0);}),_0x5cc07e['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x13c904();}catch(_0x363c5f){_0x17d7d0(_0x363c5f);}}),_0x5cc07e['connect']();});}['_getPortByProtocol'](_0x2b5252){return['http:','ws:']['includes'](_0x2b5252)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x21e30e=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x40fa3f=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x21e30e,_0x9df2ee=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x3530ec=this['_connectionProvider'](_0x40fa3f,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':_0x9df2ee+'/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']=pb,_0x3530ec['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x3530ec['id'];}),_0x3530ec['on']('connect_error',_0x489e9b=>{this['_debugEvent']('connect_error',_0x489e9b);}),_0x3530ec['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x3530ec['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x3530ec['io']['on']('reconnect_attempt',_0xeb75cc=>{this['_debugEvent']('reconnect_attempt',_0xeb75cc),this['state']=pb,this['_connectionAttempt']=_0xeb75cc;}),_0x3530ec['on']('unauthorized',_0x2eab53=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x2eab53);}),_0x3530ec['on']('authenticationRequest',async _0x4c6c63=>{this['_debugEvent']('authenticationRequest',_0x4c6c63['attempt']),await this['_onReconnect']();}),this['_socket']=_0x3530ec,_0x3530ec;}['_emit'](_0x500e0,_0x54597a){const _0xc2e238=this['_socket'];return this['_requestsManager']['send'](_0x48f193=>{_0xc2e238['emit'](_0x500e0,_0x54597a,(_0x4faff7,_0x425803)=>{if(_0x4faff7)return _0x48f193['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x4faff7));_0x48f193['response'](_0x425803);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x391046,_0x21a172){this['_socketAuth']={'environmentId':_0x391046,'userId':_0x21a172,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=Ob;const _0xd31068=async(_0x55953c,_0x3a6e03,_0x2cb1e8)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x2cb1e8);}catch(_0x2419b9){}};this['_token']['on']('change:value',_0xd31068),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0xd31068);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=gb,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x248531 of this['_channels']['values']())_0x248531['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x40e412,_0x40446c){if(!this['_isDebugModeEnabled']())return;const _0x4842de=void 0x0!==_0x40446c?',\x20data:\x20'+_0x40446c:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x40e412+_0x4842de);}['_reconnectionAttemptError'](_0x2a689b){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x2a689b(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:_0x356682}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x356682));}async['_authenticate'](_0x4abdb2){try{this['_debugEvent']('authenticate:start');const _0x2a30f8=await this['_emit'](0x2,{'token':_0x4abdb2});this['_debugEvent']('authenticate:success','envId:\x20'+_0x2a30f8['environmentId']+',\x20userId:\x20'+_0x2a30f8['userId']),this['_addAuthData'](_0x2a30f8['environmentId'],_0x2a30f8['userId']);}catch(_0x57d402){throw this['_debugEvent']('authenticate:error',_0x57d402['message']),this['_removeAuthData'](),_0x57d402;}}['_isDebugModeEnabled'](){return!!_0x430a62['window']['localStorage']&&'true'===(_0x430a62['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x38910c){super(),this['bundleVersion']=_0x38910c;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x4a8738){return new IsEditorBundleUploadedMessage(_0x4a8738['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x4c1077){super(),this['isUploaded']=_0x4c1077;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x4608ce){return new IsEditorBundleUploadedResponse(_0x4608ce['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x21ae0(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x248110,_0x21faaa){const _0x1303ba=new IsEditorBundleUploadedMessage(_0x21faaa);if(_0x248110['state']!==Ob)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x248110);const _0x140f30=await _0x248110['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x1303ba));return MessagesCompressor['decode'](_0x140f30,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{['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(_0x4b88d3,_0x743550){super(),this['documentId']=_0x4b88d3,this['revisionId']=_0x743550;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x23bc44){return new RevisionHistoryGetRevisionMessage(_0x23bc44['documentId'],_0x23bc44['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'](_0x410ad3){return{'revisionId':_0x410ad3['id'],'name':_0x410ad3['name'],'creatorId':_0x410ad3['creatorId'],'createdAt':_0x410ad3['createdAt'],'fromVersion':_0x410ad3['fromVersion'],'toVersion':_0x410ad3['toVersion'],'isEmptyCurrent':_0x410ad3['isEmptyCurrent'],'diffData':_0x410ad3['diffData']?JSON['stringify'](_0x410ad3['diffData']):void 0x0,'attributes':_0x410ad3['attributes'],'authorsIds':_0x410ad3['authorsIds']};}static['toJSON'](_0x5b9142){return{'revisionId':_0x5b9142['revisionId'],'name':_0x5b9142['name'],'creatorId':_0x5b9142['creatorId'],'authorsIds':_0x5b9142['authorsIds']?JSON['stringify'](_0x5b9142['authorsIds']):void 0x0,'diffData':_0x5b9142['diffData'],'createdAt':_0x5b9142['createdAt']?.['toISOString'](),'attributes':_0x5b9142['attributes']?JSON['stringify'](_0x5b9142['attributes']):void 0x0,'toVersion':_0x5b9142['toVersion'],'fromVersion':_0x5b9142['fromVersion'],'isEmptyCurrent':_0x5b9142['isEmptyCurrent']};}static['fromJSON'](_0x40fa91){return{'revisionId':(_0x40fa91={..._0x40fa91})['revisionId'],'name':_0x40fa91['name'],'creatorId':_0x40fa91['creatorId'],'authorsIds':_0x40fa91['authorsIds']?JSON['parse'](_0x40fa91['authorsIds']):void 0x0,'diffData':_0x40fa91['diffData'],'createdAt':_0x40fa91['createdAt']?new Date(_0x40fa91['createdAt']):void 0x0,'attributes':_0x40fa91['attributes']?JSON['parse'](_0x40fa91['attributes']):void 0x0,'toVersion':_0x40fa91['toVersion'],'fromVersion':_0x40fa91['fromVersion'],'isEmptyCurrent':_0x40fa91['isEmptyCurrent']};}static['toObject'](_0x3bf0d2){return function(_0x77c830){for(const [_0xabe6a8,_0x51ece2]of Object['entries'](_0x77c830))void 0x0===_0x51ece2&&delete _0x77c830[_0xabe6a8];return _0x77c830;}({'id':_0x3bf0d2['revisionId'],'name':_0x3bf0d2['name'],'creatorId':_0x3bf0d2['creatorId'],'createdAt':_0x3bf0d2['createdAt'],'fromVersion':_0x3bf0d2['fromVersion'],'toVersion':_0x3bf0d2['toVersion'],'isEmptyCurrent':_0x3bf0d2['isEmptyCurrent'],'diffData':_0x3bf0d2['diffData']?JSON['parse'](_0x3bf0d2['diffData']):void 0x0,'attributes':_0x3bf0d2['attributes'],'authorsIds':_0x3bf0d2['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x2d200f,_0x3abd0b,_0xe972f0,_0x94dc70,_0x10c2c2,_0x138693,_0x3ad515,_0x33ab6d,_0x4ea5e1,_0x522e9a){super(),this['revisionId']=_0x2d200f,this['name']=_0x3abd0b,this['creatorId']=_0xe972f0,this['authorsIds']=_0x94dc70,this['createdAt']=_0x10c2c2,this['diffData']=_0x138693,this['attributes']=_0x3ad515,this['fromVersion']=_0x33ab6d,this['toVersion']=_0x4ea5e1,this['isEmptyCurrent']=_0x522e9a;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x2bee3d){return new RevisionHistoryGetRevisionResponse(_0x2bee3d['revisionId'],_0x2bee3d['name'],_0x2bee3d['creatorId'],_0x2bee3d['authorsIds'],_0x2bee3d['createdAt'],_0x2bee3d['diffData'],_0x2bee3d['attributes'],_0x2bee3d['fromVersion'],_0x2bee3d['toVersion'],_0x2bee3d['isEmptyCurrent']);}static['fromJSON'](_0x991ae0){return new RevisionHistoryGetRevisionResponse(_0x991ae0['revisionId'],_0x991ae0['name'],_0x991ae0['creatorId'],_0x991ae0['authorsIds']?JSON['parse'](_0x991ae0['authorsIds']):void 0x0,_0x991ae0['createdAt']?new Date(_0x991ae0['createdAt']):void 0x0,_0x991ae0['diffData'],_0x991ae0['attributes']?JSON['parse'](_0x991ae0['attributes']):void 0x0,_0x991ae0['fromVersion'],_0x991ae0['toVersion'],_0x991ae0['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{['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(_0x31595d,_0x1a20b7,_0x25827c){super(),this['documentId']=_0x31595d,this['requestId']=_0x1a20b7,this['revisions']=_0x25827c;}['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'](_0x120415){return new RevisionHistoryUpdateRevisionsMessage(_0x120415['documentId'],_0x120415['requestId'],_0x120415['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x521ce0){return new RevisionHistoryUpdateRevisionsMessage(_0x521ce0['documentId'],_0x521ce0['requestId'],_0x521ce0['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x572830){super(),this['requestId']=_0x572830;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x3460f0){return new RevisionHistoryUpdateRevisionsResponse(_0x3460f0['requestId']);}}class RevisionHistoryConnectMessage extends Message{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x35f5da){super(),this['documentId']=_0x35f5da;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5db6dc){return new RevisionHistoryConnectMessage(_0x5db6dc['documentId']);}}class RevisionHistoryConnectResponse extends Message{['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(_0x4e1bf8,_0x1559a8,_0x44ac4d){super(),this['channel']=_0x4e1bf8,this['requestId']=_0x1559a8,this['revisions']=_0x44ac4d;}['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'](_0x171d24){return new RevisionHistoryConnectResponse(_0x171d24['channel'],_0x171d24['requestId'],_0x171d24['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{['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(_0x4d034a,_0x504fdb){super(),this['documentId']=_0x4d034a,this['requestId']=_0x504fdb;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x2fb7cc){return new RevisionHistoryReconnectMessage(_0x2fb7cc['documentId'],_0x2fb7cc['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x4cb37d,_0xffd25a){super(_0x4cb37d+'\x20Service\x20is\x20not\x20connected.',_0xffd25a);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x21ae0(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x166eb6){super(),this['_documentId']=_0x166eb6;}get['isConnected'](){return this['_isConnected'];}['connect'](_0xdec990){return this['_isConnected']?Promise['resolve']():this['_connect'](_0xdec990,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'](_0x355127,_0x3eb81d){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x355127);return this['_connect'](_0x355127,new RevisionHistoryReconnectMessage(this['_documentId'],_0x3eb81d));}async['updateRevisions'](_0x5eb7aa,_0x38c062){const _0x4d6989=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x38c062,'revisions':_0x5eb7aa}),_0x1c44e0=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x4d6989),{requestId:_0x514203}=MessagesCompressor['decode'](_0x1c44e0,RevisionHistoryUpdateRevisionsResponse);return _0x514203;}async['getRevision'](_0xf1b2e8){const _0x551046=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0xf1b2e8),_0x70be9=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x551046);return MessagesCompressor['decode'](_0x70be9,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x1e5b20,_0x361ebf){if(_0x1e5b20['state']!==Ob)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x1e5b20);this['_wsGateway']=_0x1e5b20,this['stopListening'](_0x1e5b20,'change:state');const _0x474ec9=await _0x1e5b20['_sendRequest'](0xc,_0x361ebf['constructor']['TYPE'],MessagesCompressor['encode'](_0x361ebf)),{channel:_0xccfd72,requestId:_0x2d3886,revisions:_0x25efb9}=MessagesCompressor['decode'](_0x474ec9,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x1e5b20,'change:state',(_0x3704e7,_0x347a96,_0x4aa3db)=>this['_onWsGatewayStateChange'](_0x4aa3db),{'priority':wb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x1e5b20,_0xccfd72),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x25efb9,'requestId':_0x2d3886};}['_connectToChannel'](_0x4f5644,_0x1a197f){this['_channel']=_0x4f5644['_getChannel'](RevisionHistoryService['_SERVICE'],_0x1a197f),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x16ab07,_0x59b5b5)=>{const {documentId:_0xab4f76,requestId:_0x13f938,revisions:_0x68f172}=MessagesCompressor['decode'](_0x59b5b5,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0xab4f76,'requestId':_0x13f938,'revisionsData':_0x68f172});});}['_onWsGatewayStateChange'](_0x527e0f){_0x527e0f===gb&&this['disconnect']();}['_sendRequest'](_0x461053,_0x27f075){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x461053,MessagesCompressor['encode'](_0x27f075));}}class AddSuggestionMessage extends Message{['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(_0x6f4b52,_0x381541,_0xeb60d3,_0x3abea4={},_0x27a013=null,_0xc53927=null){super(),this['id']=_0x6f4b52,this['documentId']=_0x381541,this['type']=_0xeb60d3,this['data']=_0x3abea4,this['originalSuggestionId']=_0x27a013,this['attributes']=_0xc53927;}['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'](_0x400461){return new AddSuggestionMessage(_0x400461['id'],_0x400461['documentId'],_0x400461['type'],JSON['parse'](_0x400461['data']),_0x400461['originalSuggestionId']??null,_0x400461['attributes']?JSON['parse'](_0x400461['attributes']):null);}}class AddSuggestionResponse extends Message{['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(_0x19adfd,_0x35cd7a,_0x5cf653,_0x2bb0fd,_0xa9b99b,_0x2656a2,_0x358180={},_0x4b49ed=null){super(),this['id']=_0x19adfd,this['authorId']=_0x35cd7a,this['type']=_0x5cf653,this['hasComments']=_0xa9b99b,this['state']=_0x2656a2,this['data']=_0x358180,this['attributes']=_0x4b49ed,this['createdAt']=_0x2bb0fd?new Date(_0x2bb0fd):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'](_0x304ccc){return new AddSuggestionResponse(_0x304ccc['id'],_0x304ccc['authorId'],_0x304ccc['type'],_0x304ccc['createdAt'],_0x304ccc['hasComments'],_0x304ccc['state'],JSON['parse'](_0x304ccc['data']),_0x304ccc['attributes']?JSON['parse'](_0x304ccc['attributes']):null);}}class GetSuggestionMessage extends Message{['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(_0x54e8a5,_0x2c5837){super(),this['id']=_0x54e8a5,this['documentId']=_0x2c5837;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x1c6e94){return new GetSuggestionMessage(_0x1c6e94['id'],_0x1c6e94['documentId']);}}class GetSuggestionResponse extends Message{['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(_0x2588a4,_0x3e7330,_0x530b9b,_0x47ecc1,_0x53a94a,_0x318c2c,_0x3da0f5={},_0x4059d3=null){super(),this['id']=_0x2588a4,this['authorId']=_0x3e7330,this['type']=_0x530b9b,this['hasComments']=_0x53a94a,this['state']=_0x318c2c,this['data']=_0x3da0f5,this['attributes']=_0x4059d3,this['createdAt']=new Date(_0x47ecc1);}['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'](_0xe6b7c2){return new GetSuggestionResponse(_0xe6b7c2['id'],_0xe6b7c2['authorId'],_0xe6b7c2['type'],_0xe6b7c2['createdAt'],_0xe6b7c2['hasComments'],_0xe6b7c2['state'],JSON['parse'](_0xe6b7c2['data']),_0xe6b7c2['attributes']?JSON['parse'](_0xe6b7c2['attributes']):null);}}class GetAllSuggestionsMessage extends Message{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x112ceb){super(),this['documentId']=_0x112ceb;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2ca244){return new GetAllSuggestionsMessage(_0x2ca244['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'](_0x1dce62){return{..._0x1dce62,'data':_0x1dce62['data']?JSON['stringify'](_0x1dce62['data']):_0x1dce62['data'],'attributes':_0x1dce62['attributes']?JSON['stringify'](_0x1dce62['attributes']):_0x1dce62['attributes'],'createdAt':_0x1dce62['createdAt']?.['toISOString']()};}static['fromJSON'](_0x13b6c4){return{..._0x13b6c4,'data':_0x13b6c4['data']?JSON['parse'](_0x13b6c4['data']):_0x13b6c4['data'],'attributes':_0x13b6c4['attributes']?JSON['parse'](_0x13b6c4['attributes']):_0x13b6c4['attributes'],'createdAt':_0x13b6c4['createdAt']?new Date(_0x13b6c4['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{['_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(_0x59adbe,_0x4a5492){super(),this['_suggestions']=_0x59adbe,this['_suggestionsV2']=_0x4a5492,this['suggestions']=_0x4a5492?.['length']?_0x4a5492:_0x59adbe;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x1ff384=>JSON['stringify'](_0x1ff384)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4e3784){return new GetAllSuggestionResponse(_0x4e3784['suggestions']?.['map'](bb),_0x4e3784['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function bb(_0x2c0b13){const _0x1895fc=JSON['parse'](_0x2c0b13);return _0x1895fc['createdAt']=_0x1895fc['createdAt']?new Date(_0x1895fc['createdAt']):void 0x0,_0x1895fc;}class UpdateSuggestionMessage extends Message{['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(_0xb545c4,_0x475adc,_0x48a2de,_0xbf82bf,_0x19f963,_0x5b2754=null){super(),this['id']=_0xb545c4,this['documentId']=_0x475adc,this['hasComments']=_0x48a2de,this['isHasCommentsModified']=_0xbf82bf,this['state']=_0x19f963,this['attributes']=_0x5b2754;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x2812dc){return new UpdateSuggestionMessage(_0x2812dc['id'],_0x2812dc['documentId'],_0x2812dc['hasComments'],_0x2812dc['isHasCommentsModified'],_0x2812dc['state'],_0x2812dc['attributes']?JSON['parse'](_0x2812dc['attributes']):null);}}let yb=class ConnectMessage extends Message{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x48c428){super(),this['documentId']=_0x48c428;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x44754b){return new ConnectMessage(_0x44754b['documentId']);}},_b=class ConnectResponse extends Message{['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(_0x4d682c,_0x57ac3c,_0x4a80fa){super(),this['channel']=_0x4d682c,this['_suggestions']=_0x57ac3c,this['_suggestionsV2']=_0x4a80fa,this['suggestions']=_0x4a80fa?.['length']?_0x4a80fa:_0x57ac3c;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x3d6d84=>JSON['stringify'](_0x3d6d84)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x5a9a27){return new ConnectResponse(_0x5a9a27['channel'],_0x5a9a27['suggestions']?.['map'](_0x1efac6=>JSON['parse'](_0x1efac6)),_0x5a9a27['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['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(_0x3d034b,_0x4cd982,_0x2521f2){super(),this['ids']=_0x3d034b,this['documentId']=_0x4cd982,this['state']=_0x2521f2;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x152928){return new BatchUpdateSuggestionsStateMessage(_0x152928['ids'],_0x152928['documentId'],_0x152928['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
_0x21ae0(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x77e0e7){super(),this['_documentId']=_0x77e0e7;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x23709f){if(this['_isConnected'])return;if(_0x23709f['state']!==Ob)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x23709f);const _0x20fdd9=new yb(this['_documentId']);this['_wsGateway']=_0x23709f,this['stopListening'](_0x23709f,'change:state');const _0x271441=await _0x23709f['_sendRequest'](0xa,yb['TYPE'],MessagesCompressor['encode'](_0x20fdd9)),_0x2a5db4=MessagesCompressor['decode'](_0x271441,_b);return this['listenTo'](_0x23709f,'change:state',(_0x561a40,_0x24a1a7,_0x1a1732)=>this['_onWsGatewayStateChange'](_0x1a1732),{'priority':wb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x23709f,_0x2a5db4['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x2a5db4['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'](_0x24ac45,_0x20d445,_0x394410,_0x1b970f=null,_0x25ef95){const _0x8c1087=new AddSuggestionMessage(_0x24ac45,this['_documentId'],_0x20d445,_0x394410,_0x1b970f,_0x25ef95),_0x1f6e7c=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x8c1087);return MessagesCompressor['decode'](_0x1f6e7c,AddSuggestionResponse);}async['get'](_0x5681f8,_0x1ffc3f=0x1){const _0x4d30d1=new GetSuggestionMessage(_0x5681f8,this['_documentId']);try{const _0xace11b=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x4d30d1);return MessagesCompressor['decode'](_0xace11b,GetSuggestionResponse);}catch(_0x5b1e38){if('CKEditorCloudServicesServerError'===_0x5b1e38['name']&&'404'===_0x5b1e38['code']&&_0x1ffc3f<0x5)return await(_0x43ec53=0x64*_0x1ffc3f,new Promise(_0x44af20=>{setTimeout(_0x44af20,_0x43ec53);})),this['get'](_0x5681f8,_0x1ffc3f+0x1);if('CKEditorCloudServicesServerError'===_0x5b1e38['name'])throw _0x5b1e38;throw CKEditorCloudServicesServerError['fromPublicError'](_0x5b1e38);}var _0x43ec53;}async['getAll'](){const _0x3a0a24=new GetAllSuggestionsMessage(this['_documentId']),_0x363012=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x3a0a24),{suggestions:_0x5e5642}=MessagesCompressor['decode'](_0x363012,GetAllSuggestionResponse);return _0x5e5642;}async['update'](_0x2f50ce,_0x941d3d={}){const {hasComments:_0x4c12af,state:_0x203690,attributes:_0x4a9bf6}=_0x941d3d,_0x413b53=void 0x0!==_0x4c12af,_0x29ef0c=new UpdateSuggestionMessage(_0x2f50ce,this['_documentId'],_0x4c12af,_0x413b53,_0x203690,_0x4a9bf6);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x29ef0c);}async['batchUpdateState'](_0x184532){const _0x5bb816=new BatchUpdateSuggestionsStateMessage(_0x184532['ids'],this['_documentId'],_0x184532['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x5bb816);}['_connectToChannel'](_0x30876a,_0x3929d4){this['_channel']=_0x30876a['_getChannel'](TrackChangesService['_SERVICE'],_0x3929d4),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x3b76d6,_0x4911f5)=>{const _0xd46330=MessagesCompressor['decode'](_0x4911f5,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0xd46330);});}['_onWsGatewayStateChange'](_0x4e4e02){_0x4e4e02===gb&&this['disconnect']();}['_sendRequest'](_0x4c0d36,_0x278df5){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x4c0d36,MessagesCompressor['encode'](_0x278df5));}}class SessionsConnectResponse extends Message{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x26090f,_0x5e46d3=[]){super(),this['channel']=_0x26090f,this['sockets']=_0x5e46d3;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x882b8e=>({'user':_0x882b8e['userId'],'session':_0x882b8e['id'],'role':_0x882b8e['role'],'permissions':_0x882b8e['permissions']}))};}static['fromJSON'](_0xce255e){return new SessionsConnectResponse(_0xce255e['channel'],_0xce255e['sockets']['map'](_0x1100fc=>({'id':_0x1100fc['session'],'userId':_0x1100fc['user'],'role':_0x1100fc['role'],'permissions':_0x1100fc['permissions']})));}}class SessionsConnectMessage extends Message{['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(_0x540410,_0x312a4c){super(),this['id']=_0x540410,this['sessionType']=_0x312a4c;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x2494df){return new SessionsConnectMessage(_0x2494df['id'],_0x2494df['sessionType']);}}class SocketConnectMessage extends Message{['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(_0x13dab1,_0x3dbaff,_0x34b4eb,_0x56a959){super(),this['id']=_0x13dab1,this['userId']=_0x3dbaff,this['role']=_0x34b4eb,this['permissions']=_0x56a959;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x432044){return new SocketConnectMessage(_0x432044['id'],_0x432044['userId'],_0x432044['role'],_0x432044['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5084e7){super(),this['id']=_0x5084e7;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x566b5b){return new SocketDisconnectMessage(_0x566b5b['id']);}}class SessionCollection extends _0x7f5a19{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x29ee9c,_0xeb8218){super({'idProperty':'id'}),this['_id']=_0x29ee9c,this['_sessionType']=_0xeb8218;}async['connect'](_0x2dd80a){this['_wsGateway']=_0x2dd80a,this['stopListening'](_0x2dd80a,'change:state');const _0xd75b9d=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x236080;try{const _0x42b90d=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0xd75b9d));_0x236080=MessagesCompressor['decode'](_0x42b90d,SessionsConnectResponse);}catch(_0x4629e7){_0x236080=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x236080['channel'],this['_sessionType']);const _0x4fa828=await async function(_0x39db64,_0x4c7a33){const _0x3e8c9a=_0x4c7a33['map'](_0x4728ea=>_0x4728ea['userId']),_0x52c77b=_0x3e8c9a['length']?await User['getMany'](_0x39db64,_0x3e8c9a):[];return _0x4c7a33['map'](_0x54d3e2=>{const _0x11e43b={'id':_0x54d3e2['id'],'role':_0x54d3e2['role'],'permissions':_0x54d3e2['permissions']};return _0x11e43b['user']=_0x54d3e2['userId']&&_0x52c77b['find'](_0x1e00df=>_0x1e00df['id']===_0x54d3e2['userId'])||new User(),_0x11e43b;});}(this['_wsGateway'],_0x236080['sockets']);for(const _0x1395ea of _0x4fa828)super['add'](_0x1395ea);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x5ebf39,_0x5f34ce,_0x37e7b1)=>this['_onWsGatewayStateChange'](_0x37e7b1),{'priority':wb['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x5378bb=!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']&&_0x5378bb&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x5378bb&&this['stopListening']();}}['add'](_0x5c69ad,_0x403fc3){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x46fc73){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x342133,_0x384e86,_0x186a96){this['_channel']=_0x342133['_getChannel'](_0x186a96,_0x384e86),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x2cc38c=>{const _0x14af8e=MessagesCompressor['decode'](_0x2cc38c,SocketConnectMessage);if(-0x1===this['getIndex'](_0x14af8e['id'])){const _0x5b4445={'id':_0x14af8e['id'],'role':_0x14af8e['role'],'permissions':_0x14af8e['permissions']};_0x14af8e['userId']&&(_0x5b4445['user']=await User['get'](_0x342133,_0x14af8e['userId'])),super['add'](_0x5b4445);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x1c25ac=>{const _0x1c21cd=MessagesCompressor['decode'](_0x1c25ac,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x1c21cd['id'])&&super['remove'](_0x1c21cd['id']);}));}async['_onWsGatewayStateChange'](_0x53a552){_0x53a552===wb['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x53a552===wb['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x3a9e74;for(this['_isRunning']=!0x0;_0x3a9e74=this['_eventsQueue']['shift']();){const _0x246935=this['_handlers']['get'](_0x3a9e74['eventName']);_0x246935&&await _0x246935(_0x3a9e74['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0xc62e3e,_0xadef41,_0x378d86){const _0x3de109=_0xc62e3e['getEventName'](_0xadef41,!0x0);this['listenTo'](_0xc62e3e,_0x3de109,async(_0x2976f3,_0x4b0a97)=>{const _0x3390f1=_0x2976f3['name'];this['_eventsQueue']['push']({'eventName':_0x3390f1,'data':_0x4b0a97}),await this['_runQueue']();}),this['_handlers']['set'](_0x3de109,_0x378d86);}}let vb=class Sessions{static async['getConnectedSessions'](_0x4e0344,_0x7845e2,_0x17fdc4){const _0x38a500=new SessionCollection(_0x7845e2,_0x17fdc4);return await _0x38a500['connect'](_0x4e0344),_0x38a500;}};class CollaborativeEditingConnectMessage extends Message{['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(_0x16e32f,_0x5732bb,_0x74b17d,_0xf16050,_0x3797aa=''){super(),this['id']=_0x16e32f,this['buffers']=_0x5732bb,this['types']=_0x74b17d,this['bundleVersion']=_0xf16050,this['lastOperationId']=_0x3797aa;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x5a05d8){return new CollaborativeEditingConnectMessage(_0x5a05d8['id'],_0x5a05d8['buffers'],_0x5a05d8['types'],_0x5a05d8['bundleVersion'],_0x5a05d8['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x59b0db,_0x3405a7){if(!_0x59b0db?.['length']||!_0x3405a7?.['length'])return[];const _0x1eae9e=[];let _0x1284a4=0x0;for(const _0xd0b736 of _0x59b0db)if(0x0!==_0xd0b736){if(!_0x3405a7[_0x1284a4])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1eae9e['push'](_0x3405a7[_0x1284a4]),_0x1284a4++;}else _0x1eae9e['push'](_0x1eae9e[_0x1eae9e['length']-0x1]);return _0x1eae9e;}static['removeUnnecessaryMetadata'](_0x4ab01b,_0x5775d8){if(!_0x4ab01b?.['length']||!_0x5775d8?.['length'])return[];const _0x1f0e03=[];for(let _0x2afcd9=0x0;_0x2afcd9<_0x4ab01b['length'];_0x2afcd9++)if(0x0!==_0x4ab01b[_0x2afcd9]){if(!_0x5775d8[_0x2afcd9])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1f0e03['push'](_0x5775d8[_0x2afcd9]);}return _0x1f0e03;}}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:_0x54e6bc,..._0x489235}){const _0x20db07={..._0x489235};return _0x54e6bc?.['toISOString']&&(_0x20db07['createdAt']=_0x54e6bc['toISOString']()),_0x20db07;}static['fromJSON']({createdAt:_0x4ee1b3,..._0x13c686}){const _0x451e63={..._0x13c686};return _0x4ee1b3&&(_0x451e63['createdAt']=new Date(_0x4ee1b3)),_0x451e63;}}class CollaborativeEditingUpdateMessage extends Message{['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(_0x4e05cf,_0x308b72,_0x482be1,_0x23c0b9,_0x5225df=[],_0x296aa0=''){super(),this['id']=_0x4e05cf,this['buffers']=_0x308b72,this['types']=_0x482be1,this['baseVersion']=_0x23c0b9,this['metadata']=_0x5225df,this['lastOperationId']=_0x296aa0;}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'](_0x5ec994){return new CollaborativeEditingUpdateMessage(_0x5ec994['id'],_0x5ec994['buffers'],_0x5ec994['types'],_0x5ec994['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x5ec994['types'],_0x5ec994['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x5ec994['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['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(_0x50b4fe,_0x583a5b,_0x22c7f5){super(),this['id']=_0x50b4fe,this['lastKnowVersion']=_0x583a5b,this['bundleVersion']=_0x22c7f5;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x43d4b1){return new CollaborativeEditingReconnectMessage(_0x43d4b1['id'],_0x43d4b1['lastKnowVersion'],_0x43d4b1['bundleVersion']);}}class CollaborativeEditingResponse extends Message{['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(_0x32fdb0,_0x4b2435=[],_0x13d88b=[],_0x3df411=[],_0x577b1b='',_0x3ead44=null){super(),this['version']=_0x32fdb0,this['buffers']=_0x4b2435,this['types']=_0x13d88b,this['metadata']=_0x3df411,this['lastOperationId']=_0x577b1b,this['lastOperationAcceptedAt']=_0x3ead44;}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'](_0xc416ae){return new CollaborativeEditingResponse(_0xc416ae['version'],_0xc416ae['buffers'],_0xc416ae['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0xc416ae['types'],_0xc416ae['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0xc416ae['lastOperationId'],_0xc416ae['lastOperationAcceptedAt']?new Date(_0xc416ae['lastOperationAcceptedAt']):null);}static['create'](_0x4afefe){return new CollaborativeEditingResponse(_0x4afefe['version'],_0x4afefe['buffers'],_0x4afefe['types'],_0x4afefe['metadata'],_0x4afefe['lastOperationId'],_0x4afefe['lastOperationAcceptedAt']?new Date(_0x4afefe['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['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(_0x2ef4d8,_0x459d39,_0x28ab53=[],_0x1315eb=[],_0x1c9a1c=0x0,_0x35bee9=[],_0x1319d4=null,_0x386211='',_0x219470='',_0x3655a3=null){super(),this['channel']=_0x2ef4d8,this['version']=_0x459d39,this['buffers']=_0x28ab53,this['types']=_0x1315eb,this['offset']=_0x1c9a1c,this['metadata']=_0x35bee9,this['initData']=_0x1319d4,this['sessionId']=_0x386211,this['lastOperationId']=_0x219470,this['sessionCreatedAt']=_0x3655a3;}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'](_0x4f1d7d){return new CollaborativeEditingConnectResponse(_0x4f1d7d['channel'],_0x4f1d7d['version'],_0x4f1d7d['buffers'],_0x4f1d7d['types'],_0x4f1d7d['offset'],_0x4f1d7d['metadata'],_0x4f1d7d['initData'],_0x4f1d7d['sessionId'],_0x4f1d7d['lastOperationId'],_0x4f1d7d['sessionCreatedAt']);}static['fromJSON'](_0x28f48f){let _0x4dd5a4=null;return!0x0===_0x28f48f['isInitialized']?_0x4dd5a4=_0x28f48f['initData']??'':'boolean'!=typeof _0x28f48f['isInitialized']&&_0x28f48f['initData']&&(_0x4dd5a4=_0x28f48f['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x28f48f['channel'],'version':_0x28f48f['version'],'buffers':_0x28f48f['buffers'],'types':_0x28f48f['types'],'offset':_0x28f48f['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x28f48f['types'],_0x28f48f['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x4dd5a4,'sessionId':_0x28f48f['sessionId'],'lastOperationId':_0x28f48f['lastOperationId'],'sessionCreatedAt':_0x28f48f['sessionCreatedAt']?new Date(_0x28f48f['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{['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(_0x325ea5,_0x5bfdb6){super(),this['lastDocumentSession']=_0x325ea5,this['currentDocumentSession']=_0x5bfdb6;}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'](_0x196bde){const _0x25512e=_0x196bde['lastDocumentSessionId']?{'id':_0x196bde['lastDocumentSessionId'],'lastOperationId':_0x196bde['lastDocumentSessionOperationId']}:void 0x0,_0x236b32=_0x196bde['currentDocumentSessionId']?{'lastOperationId':_0x196bde['currentDocumentSessionOperationId'],'version':_0x196bde['currentDocumentSessionVersion'],'id':_0x196bde['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x25512e,_0x236b32);}}class GetDocumentDetailsMessage extends Message{['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(_0x5a32bd){super(),this['documentId']=_0x5a32bd;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x17b3d6){return new GetDocumentDetailsMessage(_0x17b3d6['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x21ae0(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x146113,_0x120c63){if(super(),!_0x146113)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x120c63??ob(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x146113;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x20ed76,_0x3487a7={'buffers':[],'types':[]},_0x516b6c){const _0x26d0c6=new CollaborativeEditingConnectMessage(this['getId'](),_0x3487a7['buffers'],_0x3487a7['types'],this['_bundleVersion'],_0x516b6c);return this['_connect'](_0x20ed76,_0x26d0c6);}['reconnect'](_0x5af9ee,_0x43d878){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x5af9ee);return this['_connect'](_0x5af9ee,new CollaborativeEditingReconnectMessage(this['getId'](),_0x43d878,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 _0x368b7a=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x2d9852=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x368b7a));return MessagesCompressor['decode'](_0x2d9852,GetDocumentDetailsResponse);}async['sendOperations'](_0x504417,_0x38409e,_0x3cd8fc){if(!_0x504417?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x191715='number'==typeof _0x38409e?_0x38409e:parseInt(_0x38409e);if(!Number['isInteger'](_0x191715)||_0x191715<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x5c8e90=new CollaborativeEditingUpdateMessage(this['getId'](),_0x504417['buffers'],_0x504417['types'],_0x191715,[],_0x3cd8fc);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x1895df=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x5c8e90));return MessagesCompressor['decode'](_0x1895df,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await vb['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x502131,_0x4ed716){return vb['getConnectedSessions'](_0x502131,_0x4ed716,0x1);}async['_connect'](_0x18beb6,_0x524517){if(this['isConnected']())return;if(_0x18beb6['state']!==wb['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x18beb6);this['_wsGateway']=_0x18beb6,this['stopListening'](_0x18beb6,'change:state');const _0x27e800=await _0x18beb6['_sendRequest'](0x1,_0x524517['constructor']['TYPE'],MessagesCompressor['encode'](_0x524517)),_0x300bec=MessagesCompressor['decode'](_0x27e800,CollaborativeEditingConnectResponse);return this['listenTo'](_0x18beb6,'change:state',(_0x5396cc,_0x21bf5a,_0x20567c)=>this['_onWsGatewayStateChange'](_0x20567c),{'priority':wb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x18beb6,_0x300bec['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x300bec;}['_connectToChannel'](_0x3e3e59,_0x53b913){this['_channel']=_0x3e3e59['_getChannel'](0x1,_0x53b913),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x276263,_0x57cc0e)=>{const _0x241745=MessagesCompressor['decode'](_0x57cc0e,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x241745['baseVersion'],_0x241745['data'],_0x241745['metadata']);});}['_onWsGatewayStateChange'](_0x34157a){_0x34157a===wb['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'](_0x27034c){return{..._0x27034c,'createdAt':_0x27034c['createdAt']?.['toISOString'](),'attributes':_0x27034c['attributes']?JSON['stringify'](_0x27034c['attributes']):null};}static['fromJSON'](_0x2fa8c9){return{..._0x2fa8c9,'createdAt':new Date(_0x2fa8c9['createdAt']),'attributes':_0x2fa8c9['attributes']?JSON['parse'](_0x2fa8c9['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'](_0x56ddf2){return{..._0x56ddf2,'createdAt':_0x56ddf2['createdAt']?.['toISOString'](),'deletedAt':_0x56ddf2['deletedAt']?.['toISOString'](),'resolvedAt':_0x56ddf2['resolvedAt']?.['toISOString'](),'attributes':_0x56ddf2['attributes']?JSON['stringify'](_0x56ddf2['attributes']):null,'context':_0x56ddf2['context']?JSON['stringify'](_0x56ddf2['context']):_0x56ddf2['context'],'comments':_0x56ddf2['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x56ddf2['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x5ecd08){return{..._0x5ecd08,'createdAt':_0x5ecd08['createdAt']?new Date(_0x5ecd08['createdAt']):void 0x0,'deletedAt':_0x5ecd08['deletedAt']?new Date(_0x5ecd08['deletedAt']):void 0x0,'resolvedAt':_0x5ecd08['resolvedAt']?new Date(_0x5ecd08['resolvedAt']):void 0x0,'attributes':_0x5ecd08['attributes']?JSON['parse'](_0x5ecd08['attributes']):null,'context':_0x5ecd08['context']?JSON['parse'](_0x5ecd08['context']):void 0x0,'comments':_0x5ecd08['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x5ecd08['unlinkedAt']?new Date(_0x5ecd08['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{['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(_0x58d682,_0x555df0,_0x5dae3b,_0x58518b='',_0x254086,_0x3606b2='',_0x77617=null,_0x36aca3){super(),this['documentId']=_0x58d682,this['commentThreadId']=_0x555df0,this['content']=_0x5dae3b,this['commentId']=_0x58518b,this['userId']=_0x3606b2,this['attributes']=_0x77617,this['commentThread']=_0x36aca3,this['createdAt']=_0x254086?new Date(_0x254086):'';}['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'](_0x42de4d){return new AddCommentMessage(_0x42de4d['documentId'],_0x42de4d['commentThreadId'],_0x42de4d['content'],_0x42de4d['commentId']?_0x42de4d['commentId']:void 0x0,_0x42de4d['createdAt']?new Date(_0x42de4d['createdAt']):void 0x0,_0x42de4d['userId']?_0x42de4d['userId']:void 0x0,_0x42de4d['attributes']?JSON['parse'](_0x42de4d['attributes']):{},_0x42de4d['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x42de4d['commentThread']):void 0x0);}}class AddCommentResponse extends Message{['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(_0x1f589d,_0xe0f59e,_0x4af6a7){super(),this['commentThreadId']=_0x1f589d,this['commentId']=_0xe0f59e,this['createdAt']=new Date(_0x4af6a7);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x3d82e8){return new AddCommentResponse(_0x3d82e8['commentThreadId'],_0x3d82e8['commentId'],_0x3d82e8['createdAt']);}}class ConnectMessage extends Message{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1917f9){super(),this['documentId']=_0x1917f9;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x25a30f){return new ConnectMessage(_0x25a30f['documentId']);}}class ConnectResponse extends Message{['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(_0x3ffdaa,_0x2865bf,_0x2eec57){super(),this['channel']=_0x3ffdaa,this['_threads']=_0x2865bf,this['_threadsV2']=_0x2eec57,this['threads']=_0x2eec57?.['length']?_0x2eec57:_0x2865bf;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x35698e=>JSON['stringify'](_0x35698e)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x1f62cc){return new ConnectResponse(_0x1f62cc['channel'],_0x1f62cc['threads']?.['map'](_0x5e80c9=>JSON['parse'](_0x5e80c9)),_0x1f62cc['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{['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(_0x4d63d1,_0x209302,_0x1a84fb){super(),this['documentId']=_0x4d63d1,this['commentThreadId']=_0x209302,this['commentId']=_0x1a84fb;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x1b6524){return new RemoveCommentMessage(_0x1b6524['documentId'],_0x1b6524['commentThreadId'],_0x1b6524['commentId']);}}class RemoveCommentThreadMessage extends Message{['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(_0x681bd4,_0x167f93){super(),this['documentId']=_0x681bd4,this['commentThreadId']=_0x167f93;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x455dfc){return new RemoveCommentThreadMessage(_0x455dfc['documentId'],_0x455dfc['commentThreadId']);}}class UpdateCommentMessage extends Message{['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(_0x49b04d,_0x3e4350,_0x1f55fb,_0x1ce3cf,_0x472a15=null,_0x57f138=!0x1,_0x2e722b){super(),this['documentId']=_0x49b04d,this['commentThreadId']=_0x3e4350,this['commentId']=_0x1f55fb,this['content']=_0x1ce3cf,this['attributes']=_0x472a15,this['isAttributesUpdated']=_0x57f138,this['commentThread']=_0x2e722b;}['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'](_0x37c6c1){return new UpdateCommentMessage(_0x37c6c1['documentId'],_0x37c6c1['commentThreadId'],_0x37c6c1['commentId'],_0x37c6c1['content'],_0x37c6c1['attributes']?JSON['parse'](_0x37c6c1['attributes']):null,_0x37c6c1['isAttributesUpdated'],_0x37c6c1['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x37c6c1['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{['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(_0xd5c482,_0x555495){super(),this['commentThreadId']=_0xd5c482,this['documentId']=_0x555495;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x3280f8){return new GetCommentThreadMessage(_0x3280f8['commentThreadId'],_0x3280f8['documentId']);}}class GetCommentThreadResponse extends Message{['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(_0xfba52a,_0x33a7c0,_0x3f0a7f,_0x3b1f27,_0x1d0bd0,_0x1ceb2d,_0x1b2a32,_0x324089,_0x2c38bb,_0x1b16a5){super(),this['commentThreadId']=_0xfba52a,this['_comments']=_0x33a7c0,this['_commentsV2']=_0x3f0a7f,this['resolvedBy']=_0x1d0bd0,this['comments']=_0x3f0a7f?.['length']?_0x3f0a7f:_0x33a7c0,this['createdAt']=_0x1b2a32?new Date(_0x1b2a32):void 0x0,this['deletedAt']='string'==typeof _0x324089?new Date(_0x324089):_0x324089,this['resolvedAt']='string'==typeof _0x2c38bb?new Date(_0x2c38bb):_0x2c38bb,this['unlinkedAt']='string'==typeof _0x1b16a5?new Date(_0x1b16a5):_0x1b16a5,this['attributes']='string'==typeof _0x3b1f27?JSON['parse'](_0x3b1f27):_0x3b1f27,this['context']='string'==typeof _0x1ceb2d?JSON['parse'](_0x1ceb2d):_0x1ceb2d;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x195ed1=>JSON['stringify'](_0x195ed1)),'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'](_0xeb452a){return new GetCommentThreadResponse(_0xeb452a['commentThreadId'],_0xeb452a['comments']?.['map'](_0x40f852=>function(_0x1e855e){const _0x203aea=JSON['parse'](_0x1e855e);return{..._0x203aea,'createdAt':new Date(_0x203aea['createdAt'])};}(_0x40f852)),_0xeb452a['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0xeb452a['attributes']?JSON['parse'](_0xeb452a['attributes']):_0xeb452a['attributes'],_0xeb452a['resolvedBy'],_0xeb452a['context']?JSON['parse'](_0xeb452a['context']):_0xeb452a['context'],_0xeb452a['createdAt'],_0xeb452a['deletedAt'],_0xeb452a['resolvedAt'],_0xeb452a['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2dcd69){super(),this['documentId']=_0x2dcd69;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x199f1a){return new GetDocumentThreadsMessage(_0x199f1a['documentId']);}}class GetDocumentThreadsResponse extends Message{['_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(_0x460a8b,_0x5def4f){super(),this['_threads']=_0x460a8b,this['_threadsV2']=_0x5def4f,this['threads']=_0x5def4f?.['length']?_0x5def4f:_0x460a8b;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x311cb1=>JSON['stringify'](_0x311cb1)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x2d7d34){return new GetDocumentThreadsResponse(_0x2d7d34['threads']?.['map'](_0x40e66e=>function(_0x1523a5){const _0xe6ac2a=JSON['parse'](_0x1523a5),_0x1304f7={..._0xe6ac2a};return _0xe6ac2a['comments']&&(_0x1304f7['comments']=_0xe6ac2a['comments']?.['map'](_0x169125=>({..._0x169125,'createdAt':new Date(_0x169125['createdAt'])}))),_0x1304f7;}(_0x40e66e)),_0x2d7d34['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'](_0xb2d76e){return{'commentId':_0xb2d76e['commentId'],'createdAt':_0xb2d76e['createdAt']?.['toISOString']()};}static['fromJSON'](_0x111fa6){return{'commentId':_0x111fa6['commentId'],'createdAt':new Date(_0x111fa6['createdAt'])};}}class AddCommentThreadResponse extends Message{['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(_0x1eb148,_0x60632e,_0x1b5ab2=[]){super(),this['commentThreadId']=_0x1eb148,this['comments']=_0x1b5ab2,this['createdAt']=new Date(_0x60632e);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x4cd846=>CommentThreadAddedCommentDescriptor['toJSON'](_0x4cd846))};}static['fromJSON'](_0xb4941f){return new AddCommentThreadResponse(_0xb4941f['commentThreadId'],_0xb4941f['createdAt'],_0xb4941f['comments']['map'](_0x43272f=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x43272f)));}}class AddCommentThreadMessage extends Message{['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(_0x5d7264,_0x5d9d93,_0x23e908=[],_0x20bab7,_0x40c117=null,_0x285959=null,_0x331763=null,_0x4a95b6=null,_0xf6d083=null){super(),this['documentId']=_0x5d7264,this['commentThreadId']=_0x5d9d93,this['comments']=_0x23e908,this['context']=_0x20bab7,this['resolvedBy']=_0x40c117,this['attributes']=_0xf6d083,this['createdAt']=_0x285959?new Date(_0x285959):'',this['resolvedAt']=_0x331763?new Date(_0x331763):'',this['deletedAt']=_0x4a95b6?new Date(_0x4a95b6):'';}['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'](_0x21b487=>CommentDescriptor['toJSON'](_0x21b487))};}static['fromJSON'](_0xb9d092){return new AddCommentThreadMessage(_0xb9d092['documentId'],_0xb9d092['commentThreadId'],_0xb9d092['comments']?.['map'](_0x1ff6e5=>CommentDescriptor['fromJSON']({..._0x1ff6e5,'documentId':_0xb9d092['documentId'],'commentThreadId':_0xb9d092['commentThreadId']})),_0xb9d092['context']?JSON['parse'](_0xb9d092['context']):_0xb9d092['context'],_0xb9d092['resolvedBy'],_0xb9d092['createdAt']?new Date(_0xb9d092['createdAt']):void 0x0,_0xb9d092['resolvedAt']?new Date(_0xb9d092['resolvedAt']):void 0x0,_0xb9d092['deletedAt']?new Date(_0xb9d092['deletedAt']):void 0x0,_0xb9d092['attributes']?JSON['parse'](_0xb9d092['attributes']):_0xb9d092['attributes']);}}class ResolveCommentThreadMessage extends Message{['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(_0x40119c,_0x514b20,_0x5997b1,_0x4d2154){super(),this['commentThreadId']=_0x40119c,this['documentId']=_0x514b20,this['resolvedBy']=_0x5997b1,this['resolvedAt']=_0x4d2154?new Date(_0x4d2154):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x2cc968){return new ResolveCommentThreadMessage(_0x2cc968['commentThreadId'],_0x2cc968['documentId'],_0x2cc968['resolvedBy'],_0x2cc968['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{['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(_0x581b6d,_0x307233){super(),this['commentThreadId']=_0x581b6d,this['documentId']=_0x307233;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x48a6a1){return new ReopenCommentThreadMessage(_0x48a6a1['commentThreadId'],_0x48a6a1['documentId']);}}class UpdateCommentThreadMessage extends Message{['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(_0x57670b,_0x58adfe,_0x35b656,_0x285ba7=null,_0x3839a6=null){super(),this['commentThreadId']=_0x57670b,this['documentId']=_0x58adfe,this['context']=_0x35b656,this['attributes']=_0x285ba7,this['unlinkedAt']=_0x3839a6?new Date(_0x3839a6):'';}['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'](_0x2df9b2){return new UpdateCommentThreadMessage(_0x2df9b2['commentThreadId'],_0x2df9b2['documentId'],_0x2df9b2['context']?JSON['parse'](_0x2df9b2['context']):_0x2df9b2['context'],_0x2df9b2['attributes']?JSON['parse'](_0x2df9b2['attributes']):null,_0x2df9b2['unlinkedAt']?new Date(_0x2df9b2['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{['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(_0x51f7c6,_0x2cccc1,_0x1b5b9b,_0x1ad8cb){super(),this['commentThreadId']=_0x51f7c6,this['documentId']=_0x2cccc1,this['resolvedBy']=_0x1b5b9b,this['resolvedAt']=new Date(_0x1ad8cb);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x413ffa){return new ResolveCommentThreadResponse(_0x413ffa['commentThreadId'],_0x413ffa['documentId'],_0x413ffa['resolvedBy'],_0x413ffa['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x21ae0(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x58366c){super(),this['_documentId']=_0x58366c;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x12a029){if(this['_isConnected'])return;if(_0x12a029['state']!==Ob)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x12a029);const _0x119e2e=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x12a029,this['stopListening'](_0x12a029,'change:state');const _0x4f6b62=await _0x12a029['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](_0x119e2e)),{channel:_0x396dfc,threads:_0x6f8a07}=MessagesCompressor['decode'](_0x4f6b62,ConnectResponse);return this['listenTo'](_0x12a029,'change:state',(_0x5c3d0d,_0x1f4759,_0x3a12e5)=>this['_onWsGatewayStateChange'](_0x3a12e5),{'priority':wb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x12a029,_0x396dfc),this['_isConnected']=!0x0,this['fire']('connected'),_0x6f8a07;}['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'](_0x3cf2a0,_0x19d741,_0x544924,_0xf0c75a){const _0xc51987=new AddCommentMessage(this['_documentId'],_0x3cf2a0,_0x544924,_0x19d741,void 0x0,void 0x0,_0xf0c75a),_0x2a3ba2=await this['_sendRequest'](AddCommentMessage['TYPE'],_0xc51987);return MessagesCompressor['decode'](_0x2a3ba2,AddCommentResponse);}async['updateComment'](_0x47e9f1,_0x5bdb65,_0x3e8449,_0x25ebaa){const _0x3ef922=void 0x0!==_0x25ebaa,_0x2b0819=new UpdateCommentMessage(this['_documentId'],_0x47e9f1,_0x5bdb65,_0x3e8449,_0x25ebaa,_0x3ef922);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x2b0819);}async['removeComment'](_0x36db41,_0x4637ff){const _0x1d9976=new RemoveCommentMessage(this['_documentId'],_0x36db41,_0x4637ff);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x1d9976);}async['removeCommentThread'](_0xbc7101){const _0x43c3b1=new RemoveCommentThreadMessage(this['_documentId'],_0xbc7101);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x43c3b1);}async['addCommentThread'](_0xd0d0e9){const _0x50871d=new AddCommentThreadMessage(this['_documentId'],_0xd0d0e9['commentThreadId'],_0xd0d0e9['comments']?.['map'](_0x379742=>({..._0x379742,'documentId':this['_documentId'],'commentThreadId':_0xd0d0e9['commentThreadId']})),_0xd0d0e9['context'],_0xd0d0e9['resolvedBy'],_0xd0d0e9['createdAt'],_0xd0d0e9['resolvedAt'],_0xd0d0e9['deletedAt'],_0xd0d0e9['attributes']),_0x1ae083=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x50871d);return MessagesCompressor['decode'](_0x1ae083,AddCommentThreadResponse);}async['resolveCommentThread'](_0x2379a8){const _0x175097=new ResolveCommentThreadMessage(_0x2379a8,this['_documentId']),_0x1c9b4b=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x175097);return MessagesCompressor['decode'](_0x1c9b4b,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x4a62bb){const _0x6ebe81=new ReopenCommentThreadMessage(_0x4a62bb,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x6ebe81);}async['updateCommentThread'](_0x20d2a2){const _0x3d044e=new UpdateCommentThreadMessage(_0x20d2a2['commentThreadId'],this['_documentId'],_0x20d2a2['context'],_0x20d2a2['attributes'],_0x20d2a2['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x3d044e);}async['getCommentThread'](_0x1da3ef,_0x3571ca=0x1){const _0xa4c035=new GetCommentThreadMessage(_0x1da3ef,this['_documentId']);try{const _0xdd5661=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0xa4c035),_0x1f2fc7=MessagesCompressor['decode'](_0xdd5661,GetCommentThreadResponse);return{'commentThreadId':_0x1f2fc7['commentThreadId'],'comments':_0x1f2fc7['comments'],'attributes':_0x1f2fc7['attributes'],'context':_0x1f2fc7['context'],'resolvedAt':_0x1f2fc7['resolvedAt'],'resolvedBy':_0x1f2fc7['resolvedBy'],'deletedAt':_0x1f2fc7['deletedAt'],'unlinkedAt':_0x1f2fc7['unlinkedAt']};}catch(_0x4fb2a0){if('CKEditorCloudServicesServerError'===_0x4fb2a0['name']&&'404'===_0x4fb2a0['code']&&_0x3571ca<0x5)return await(_0x4e37b7=0x64*_0x3571ca,new Promise(_0x442c20=>{setTimeout(_0x442c20,_0x4e37b7);})),this['getCommentThread'](_0x1da3ef,_0x3571ca+0x1);if('CKEditorCloudServicesServerError'===_0x4fb2a0['name'])throw _0x4fb2a0;throw CKEditorCloudServicesServerError['fromPublicError'](_0x4fb2a0);}var _0x4e37b7;}async['getDocumentThreads'](){const _0x5f2c66=new GetDocumentThreadsMessage(this['_documentId']),_0x268cc7=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x5f2c66),{threads:_0x5bf4cc}=MessagesCompressor['decode'](_0x268cc7,GetDocumentThreadsResponse);return{'threads':_0x5bf4cc};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await vb['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x367ae4,_0x935e77){this['_channel']=_0x367ae4['_getChannel'](CommentsService['_SERVICE'],_0x935e77),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x2ea852,_0x52b13c)=>{const _0x1309d7=MessagesCompressor['decode'](_0x52b13c,AddCommentMessage);this['fire']('commentAdded',_0x1309d7);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x3d8bbc,_0xe73b31)=>{const _0xb38892=MessagesCompressor['decode'](_0xe73b31,RemoveCommentMessage);this['fire']('commentRemoved',_0xb38892);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x5c2b01,_0x2baf13)=>{const _0x49ac87=MessagesCompressor['decode'](_0x2baf13,UpdateCommentMessage);this['fire']('commentUpdated',_0x49ac87);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x55a012,_0x5dc8a9)=>{const _0x4ef769=MessagesCompressor['decode'](_0x5dc8a9,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x4ef769);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x34bad5,_0x53d931)=>{const _0x128bc4=MessagesCompressor['decode'](_0x53d931,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x128bc4);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x4ad201,_0x3deace)=>{const _0x315c9c=MessagesCompressor['decode'](_0x3deace,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x315c9c);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x10776c,_0x376ba5)=>{const _0x15683f=MessagesCompressor['decode'](_0x376ba5,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x15683f);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x4b1b6a,_0x49aea8)=>{const _0x1b7f56=MessagesCompressor['decode'](_0x49aea8,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x1b7f56);}));}['_onWsGatewayStateChange'](_0x4d03cb){_0x4d03cb===gb&&this['disconnect']();}['_sendRequest'](_0x47601f,_0x98f654){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x47601f,MessagesCompressor['encode'](_0x98f654));}}class WebSocketGateway extends _0x90c2d8{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>wb)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',Qt];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2fd1e4){super(_0x2fd1e4),this['set']('state',Ob),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x3b006d())();}['init'](){const _0x159f55=this['context'],_0x2a30df=_0x159f55['plugins']['get']('CloudServices'),_0x256fe1=_0x159f55['plugins']['get'](Qt);if(!_0x2a30df['token'])throw new _0x1976e8('websocketgateway-missing-token',this);if(!_0x2a30df['webSocketUrl'])throw new _0x1976e8('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'](_0x2a30df['token'],_0x2a30df['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x1285fc=>{if(this['connection']=_0x1285fc,this['bind']('state')['to'](_0x1285fc,'state',this,'_isBrowserOffline',(_0x2f6f21,_0x46e1c5)=>('connected'!==_0x2f6f21&&(this['_shouldPluginsReconnect']=!0x0),_0x46e1c5||_0x2f6f21!==Ob?gb:this['state']==gb&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),pb):Ob)),this['connection']['on']('error',(_0x539ff6,_0x18e35a)=>{if('limitExceeded'!==_0x18e35a['code'])throw console['error'](_0x18e35a),new _0x1976e8('cloudservices-init',null,{'originalError':_0x18e35a});_0x256fe1['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'});}),!_0x1285fc['me'])return new Promise(_0xfcc069=>_0x1285fc['on']('change:me',_0xfcc069));})['catch'](_0x3035a5=>{throw console['error'](_0x3035a5),new _0x1976e8('cloudservices-init',null,{'originalError':_0x3035a5});});}['addToReconnectionStack'](_0x12be25){if('function'!=typeof _0x12be25['reconnect'])throw new _0x1976e8('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x12be25))throw new _0x1976e8('websocketgateway-plugin-already-registered',this,{'name':_0x12be25['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x12be25);}['removeFromReconnectionStack'](_0x5648af){this['_reconnectionStack']['delete'](_0x5648af);}['isInReconnectionStack'](_0x107100){return this['_reconnectionStack']['has'](_0x107100);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1e90fc=>_0x1e90fc['reconnect']())))['then'](()=>this['state']=Ob)['catch'](_0x5f515b=>{throw console['error'](_0x5f515b),new _0x1976e8('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=gb,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class Sessions extends _0x90c2d8{['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,Users];}constructor(_0x126fd4){super(_0x126fd4),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0xe4e0d0(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](Users);}['init'](){const _0x363cb7=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x363cb7,'change:state',(_0x323f42,_0x26b462,_0x36ef1f)=>{if('connected'!==_0x36ef1f)this['channelSessions']['forEach'](_0x1fad71=>_0x1fad71['clear']()),this['channelConnectedUsers']['forEach'](_0x4a2366=>_0x4a2366['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x101288,_0x5c357b]of this['_registeredSessions'])for(const _0x2e6d15 of _0x5c357b)this['_handleSessionAdd'](_0x101288,_0x2e6d15);}}),this['_createUser'](_0x363cb7['connection']['me'],!0x0);}['register'](_0x130119,_0x15060e){if(this['_registeredSessions']['has'](_0x130119))throw new _0x1976e8('sessions-register-already-registered',null,{'channelId':_0x130119});this['_registeredSessions']['set'](_0x130119,_0x15060e),this['channelSessions']['set'](_0x130119,new _0xe4e0d0()),this['channelConnectedUsers']['set'](_0x130119,new _0xe4e0d0()),this['listenTo'](_0x15060e,'add',(_0x18e508,_0x1f58e3)=>this['_handleSessionAdd'](_0x130119,_0x1f58e3)),this['listenTo'](_0x15060e,'remove',(_0x2168b4,_0x369c11)=>this['_handleSessionRemove'](_0x130119,_0x369c11));for(const _0x196a55 of _0x15060e)this['_handleSessionAdd'](_0x130119,_0x196a55);}['unregister'](_0x207d12){if(!this['_registeredSessions']['has'](_0x207d12))throw new _0x1976e8('sessions-unregister-not-exist',null,{'channelId':_0x207d12});const _0x43e215=this['_registeredSessions']['get'](_0x207d12);this['stopListening'](_0x43e215);for(const _0x2c1995 of _0x43e215)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x207d12,_0x2c1995);this['_registeredSessions']['delete'](_0x207d12),this['channelSessions']['delete'](_0x207d12),this['channelConnectedUsers']['delete'](_0x207d12);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x200f23){for(const _0x3df54b of this['channelSessions']['values']())for(const _0x1f3fdb of _0x3df54b)if(_0x1f3fdb['id']===_0x200f23)return _0x1f3fdb['user'];}['getUserSessions'](_0x4b9e55,_0x279507){const _0x48e9f7=_0x279507?[this['channelSessions']['get'](_0x279507)]:this['channelSessions']['values'](),_0x1b052f=new Set();for(const _0x5a731d of _0x48e9f7)for(const _0xc536e3 of _0x5a731d)_0xc536e3['user']['id']===_0x4b9e55['id']&&_0x1b052f['add'](_0xc536e3['id']);return _0x1b052f;}['getUserRole'](_0xeb1d59){for(const _0x95a524 of this['channelSessions']['values']())for(const _0x2ef7ac of _0x95a524)if(_0x2ef7ac['user']===_0xeb1d59)return _0x2ef7ac['role'];}['_handleSessionAdd'](_0x31384d,_0x57ff0d){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x7a494b=_0x57ff0d['user'],_0x56f3c6=this['_users']['getUser'](_0x7a494b['id'])||this['_createUser'](_0x7a494b),_0x206703=Object['assign']({},_0x57ff0d,{'user':_0x56f3c6});if(this['channelSessions']['get'](_0x31384d)['add'](_0x206703),!_0x7a494b['hiddenInPresenceList']){const _0x477e94=this['channelConnectedUsers']['get'](_0x31384d);_0x477e94['has'](_0x56f3c6['id'])||_0x477e94['add'](_0x56f3c6),this['allConnectedUsers']['has'](_0x56f3c6['id'])||_0x7a494b['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x56f3c6,_0x56f3c6['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x31384d,{'channelId':_0x31384d,'session':_0x206703});}['_handleSessionRemove'](_0x1ef315,_0x56468a){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x19faa4=this['channelConnectedUsers']['get'](_0x1ef315),_0x5e7a5a=_0x56468a['user'];_0x5e7a5a['id']&&(this['channelSessions']['get'](_0x1ef315)['remove'](_0x56468a['id']),_0x19faa4['has'](_0x5e7a5a['id'])&&!this['getUserSessions'](_0x5e7a5a,_0x1ef315)['size']&&_0x19faa4['remove'](_0x5e7a5a['id']),this['allConnectedUsers']['get'](_0x5e7a5a['id'])&&!this['getUserSessions'](_0x5e7a5a)['size']&&this['allConnectedUsers']['remove'](_0x5e7a5a['id']));}['_createUser'](_0x3b0607,_0x36affc){const _0x54e466=this['_users']['addUser'](_0x3b0607);return _0x36affc&&this['_users']['defineMe'](_0x3b0607['id']),_0x54e466['orderNumber']=this['_uniqueUsersCount']++,_0x54e466;}}class UserMarkers extends _0x4ac504{['_domEmitter']=new(_0x3b006d())();static get['requires'](){return[Sessions];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2ae979=this['editor'],_0x26745d=_0x2ae979['plugins']['get'](Sessions);_0x2ae979['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x43cfd2,{writer:_0x35c669})=>function(_0x202390,_0x5681fe,_0xbb4481,_0x1e125a){const _0x4a89e0=_0x202390['markerName']['split'](':')[0x2],_0x2e1fbc=_0xbb4481['getUserBySessionId'](_0x4a89e0);if(!_0x2e1fbc||_0x4a89e0===_0xbb4481['mySessionId'])return;if(!_0x1e125a['model']['schema']['checkChild'](_0x202390['markerRange']['start'],'$text'))return;const _0x21f550={'class':'ck-user__marker\x20'+_0x2e1fbc['color']['getMarkerClass'](),'data-name':_0x2e1fbc['name'],'data-session-id':_0x4a89e0},_0x236bcc=_0x1e125a['model']['markers']['get'](_0x202390['markerName']),_0x51e296=_0x236bcc['getStart'](),_0x4ac2ed=_0x51e296['nodeAfter'],_0x2e349e=_0x1e125a['model']['schema'];if(_0x4ac2ed&&_0x2e349e['isObject'](_0x4ac2ed)&&_0x2e349e['isInline'](_0x4ac2ed)&&!_0x1e125a['model']['markers']['get']('user:range:'+_0x4a89e0)['getRange']()['isCollapsed'])return;const _0x575958=_0x51e296['parent'];return _0x1e125a['model']['schema']['isLimit'](_0x575958)&&!_0x1e125a['model']['hasContent'](_0x575958)&&(_0x21f550['contenteditable']=!0x1),function(_0x1b36da,_0x28b774,_0x139e7c){const _0x282e6f=_0x1b36da['createUIElement']('span',_0x28b774);return _0x1b36da['setCustomProperty']('userPositionMarker',!0x0,_0x282e6f),_0x282e6f['render']=function(_0x2f7fd2){const _0x253b12=this['toDomElement'](_0x2f7fd2),_0x4b2adf=document['createElement']('span');return _0x4b2adf['classList']['add']('ck-user__marker-tooltip'),_0x4b2adf['setAttribute']('contenteditable','false'),_0x4b2adf['setAttribute']('spellcheck','false'),_0x4b2adf['textContent']=_0x139e7c['name'],_0x253b12['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x4b2adf['outerHTML']+'⁠',_0x253b12['addEventListener']('mouseenter',()=>{_0x253b12['classList']['add']('ck-user__marker_hovered');}),_0x253b12['addEventListener']('mouseleave',()=>{_0x253b12['classList']['remove']('ck-user__marker_hovered');}),_0x253b12;},_0x282e6f['isSimilar']=function(_0xed7e6){return!(!this['getCustomProperty']('userPositionMarker')||!_0xed7e6['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0xed7e6['getAttribute']('data-session-id'));},_0x282e6f;}(_0x5681fe,_0x21f550,_0x2e1fbc);}(_0x43cfd2,_0x35c669,_0x26745d,_0x2ae979)}),_0x2ae979['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x40ff66=>function(_0x23a391,_0x5ba16d){const _0x5e4631=_0x23a391['markerName']['split'](':')[0x2];if(_0x5e4631===_0x5ba16d['mySessionId'])return null;const _0x3e2e98=_0x5ba16d['getUserBySessionId'](_0x5e4631);if(!_0x3e2e98)return{'id':_0x5e4631,'classes':[]};return{'id':_0x5e4631,'classes':['ck-user__selection',_0x3e2e98['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x5e4631},'priority':0x7d0+_0x3e2e98['orderNumber']};}(_0x40ff66,_0x26745d)}),function(_0x5ae6bd){const _0x450fa7=_0x5ae6bd['model'],_0x8713ed=new Map(),_0x1b8613=_0x5ae6bd['plugins']['get'](Sessions);_0x450fa7['markers']['on']('update:user:range',(_0x302de2,_0x247a9c,_0x569d54,_0x3e49ac)=>{if(!_0x3e49ac&&_0x8713ed['get'](_0x247a9c['name']))return _0x8713ed['get'](_0x247a9c['name'])['detach'](),void _0x8713ed['delete'](_0x247a9c['name']);const _0x56b0a5=_0x247a9c['name']['split'](':')[0x2];if(_0x56b0a5===_0x1b8613['mySessionId'])return;const _0x57bf01='user:position:'+_0x56b0a5;_0x450fa7['markers']['has'](_0x57bf01)&&_0x5ae6bd['editing']['reconvertMarker'](_0x57bf01),_0x247a9c['on']('change:range',(_0x2c69d5,_0x16990a,_0x4fc902)=>{if('$graveyard'!=_0x16990a['root']['rootName']&&'$graveyard'==_0x247a9c['getRange']()['root']['rootName']&&!_0x8713ed['has'](_0x247a9c['name'])){const _0x3eae04=_0x450fa7['schema']['getNearestSelectionRange'](_0x4fc902['deletionPosition']);if(_0x3eae04){const _0x2b5040=_0x4131d3['fromRange'](_0x3eae04);_0x8713ed['set'](_0x247a9c['name'],_0x2b5040),_0x2b5040['on']('change:range',(_0x5b0370,_0x456873,_0xb7988b)=>{if('$graveyard'==_0x2b5040['root']['rootName']){const _0x39dd7d=_0x450fa7['schema']['getNearestSelectionRange'](_0xb7988b['deletionPosition']);_0x39dd7d?(_0x2b5040['start']=_0x39dd7d['start'],_0x2b5040['end']=_0x39dd7d['end']):(_0x8713ed['delete'](_0x247a9c['name']),_0x2b5040['detach']());}});}}});}),_0x450fa7['document']['on']('change',()=>{_0x8713ed['size']>0x0&&_0x450fa7['enqueueChange']({'isUndoable':!0x1},_0xbfc08a=>{for(const [_0x4f323b,_0x3103f5]of _0x8713ed)'$graveyard'==_0x450fa7['markers']['get'](_0x4f323b)['getRange']()['root']['rootName']&&(Tb(_0x4f323b['split'](':')[0x2],_0x3103f5['toRange'](),_0x450fa7,_0xbfc08a),_0x3103f5['detach']());_0x8713ed['clear']();});});}(_0x2ae979),this['_domEmitter']['listenTo'](_0x81fd87['document'],'keydown',(_0x131ed7,{key:_0x517278})=>{'Escape'===_0x517278&&function(_0x52b5a5){_0x52b5a5['editing']['view']['change'](_0x2f9056=>{for(const _0x5cfcfe of _0x52b5a5['model']['markers']){if(!_0x5cfcfe['name']['startsWith']('user:position'))continue;const _0x2420af=_0x52b5a5['editing']['mapper']['markerNameToElements'](_0x5cfcfe['name']);if(_0x2420af){for(const _0xd3e397 of _0x2420af)_0x2f9056['removeClass']('ck-user__marker_hovered',_0xd3e397);}}});}(_0x2ae979);},{'useCapture':!0x0});}['afterInit'](){const _0x4ae14d=this['editor'],_0x5236e8=_0x4ae14d['commands']['get']('undo');_0x5236e8&&_0x4ae14d['model']['on']('applyOperation',(_0x60ebd0,_0x58358c)=>{const _0x240d0a=_0x58358c[0x0];if(!_0x240d0a['isDocumentOperation'])return;if('marker'!=_0x240d0a['type']||!_0x240d0a['name']['startsWith']('user:'))return;const _0x48f743=_0x240d0a['batch'];_0x5236e8['_createdBatches']['has'](_0x48f743)&&(_0x240d0a['newRange']=_0x240d0a['oldRange']?_0x4ae14d['model']['createRange'](_0x240d0a['oldRange']['start'],_0x240d0a['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x47b6de=this['editor'],_0x570200=_0x47b6de['model']['document'],_0x22f459=_0x47b6de['plugins']['get'](Sessions);_0x47b6de['model']['enqueueChange']({'isUndoable':!0x1},_0xb695ea=>{const _0x5e0da9='user:range:'+_0x22f459['mySessionId'],_0x334fcf='user:position:'+_0x22f459['mySessionId'],_0x3bb64b=_0x47b6de['model']['markers']['has'](_0x5e0da9);_0x47b6de['editing']['view']['hasDomSelection']?Tb(_0x22f459['mySessionId'],_0x570200['selection']['getFirstRange'](),_0x47b6de['model'],_0xb695ea):_0x3bb64b&&(_0xb695ea['removeMarker'](_0x5e0da9),_0xb695ea['removeMarker'](_0x334fcf));});}}function Tb(_0x2cc7b9,_0xa3d8f2,_0x4fae7d,_0x1d176d){const _0x202c56='user:range:'+_0x2cc7b9,_0x432fae='user:position:'+_0x2cc7b9,_0x1fd14a=_0xa3d8f2['getContainedElement']();let _0x4dec8a=_0xa3d8f2['start'];if(_0x1fd14a&&_0x1fd14a['is']('element','tableCell')){const _0x1f6323=function(_0x49b91c,_0x528243){for(const _0xad9407 of _0x49b91c['getPositions']())if(_0x528243['schema']['checkChild'](_0xad9407,'$text'))return _0xad9407;}(_0xa3d8f2,_0x4fae7d);_0x1f6323&&(_0x4dec8a=_0x1f6323,_0xa3d8f2=_0x1d176d['createRange'](_0x4dec8a));}const _0xb7f200=_0x1d176d['createRange'](_0x4dec8a);_0x4fae7d['markers']['has'](_0x202c56)?(_0x1d176d['updateMarker'](_0x202c56,{'range':_0xa3d8f2}),_0x1d176d['updateMarker'](_0x432fae,{'range':_0xb7f200})):(_0x1d176d['addMarker'](_0x202c56,{'range':_0xa3d8f2,'usingOperation':!0x0}),_0x1d176d['addMarker'](_0x432fae,{'range':_0xb7f200,'usingOperation':!0x0}));}function Eb(_0x4dd45c,_0x416ade,_0x29614c){const _0x31caac=_0x4dd45c['t'],t=_0x4dd45c['t'];switch(_0x416ade){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 _0x31caac({'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'},_0x29614c);default:return'';}}const Ab=/* #__PURE__ -- @preserve */
((()=>{var _0x348a06=xO['Reader'],_0x330298=xO['Writer'],_0x4505bc=xO['util'],_0x3b1fae=xO['roots']['default']||(xO['roots']['default']={});return _0x3b1fae['AttributeOperation']=(function(){function _0x595706(_0x2947a4){if(_0x2947a4){for(var _0x674f09=Object['keys'](_0x2947a4),_0x173e8d=0x0;_0x173e8d<_0x674f09['length'];++_0x173e8d)null!=_0x2947a4[_0x674f09[_0x173e8d]]&&'__proto__'!==_0x674f09[_0x173e8d]&&(this[_0x674f09[_0x173e8d]]=_0x2947a4[_0x674f09[_0x173e8d]]);}}return _0x595706['prototype']['range']=null,_0x595706['prototype']['key']='',_0x595706['prototype']['oldValueBoolean']=!0x1,_0x595706['prototype']['oldValueJson']='',_0x595706['prototype']['newValueBoolean']=!0x1,_0x595706['prototype']['newValueJson']='',_0x595706['prototype']['wasUndone']=!0x1,_0x595706['create']=function(_0x200245){return new _0x595706(_0x200245);},_0x595706['encode']=function(_0x8f4ccf,_0xdc5c35){return _0xdc5c35||(_0xdc5c35=_0x330298['create']()),null!=_0x8f4ccf['range']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'range')&&_0x3b1fae['Range']['encode'](_0x8f4ccf['range'],_0xdc5c35['uint32'](0xa)['fork']())['ldelim'](),null!=_0x8f4ccf['key']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'key')&&_0xdc5c35['uint32'](0x12)['string'](_0x8f4ccf['key']),null!=_0x8f4ccf['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'oldValueBoolean')&&_0xdc5c35['uint32'](0x18)['bool'](_0x8f4ccf['oldValueBoolean']),null!=_0x8f4ccf['oldValueJson']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'oldValueJson')&&_0xdc5c35['uint32'](0x22)['string'](_0x8f4ccf['oldValueJson']),null!=_0x8f4ccf['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'newValueBoolean')&&_0xdc5c35['uint32'](0x28)['bool'](_0x8f4ccf['newValueBoolean']),null!=_0x8f4ccf['newValueJson']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'newValueJson')&&_0xdc5c35['uint32'](0x32)['string'](_0x8f4ccf['newValueJson']),null!=_0x8f4ccf['wasUndone']&&Object['hasOwnProperty']['call'](_0x8f4ccf,'wasUndone')&&_0xdc5c35['uint32'](0x38)['bool'](_0x8f4ccf['wasUndone']),_0xdc5c35;},_0x595706['encodeDelimited']=function(_0x181b0e,_0xcd6c14){return this['encode'](_0x181b0e,_0xcd6c14)['ldelim']();},_0x595706['decode']=function(_0x57a706,_0x3efd4c,_0x1eead2,_0x20231f){if(_0x57a706 instanceof _0x348a06||(_0x57a706=_0x348a06['create'](_0x57a706)),void 0x0===_0x20231f&&(_0x20231f=0x0),_0x20231f>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x306f8b=void 0x0===_0x3efd4c?_0x57a706['len']:_0x57a706['pos']+_0x3efd4c,_0x2ac9b8=new _0x3b1fae['AttributeOperation']();_0x57a706['pos']<_0x306f8b;){var _0x4480f7=_0x57a706['uint32']();if(_0x4480f7===_0x1eead2)break;switch(_0x4480f7>>>0x3){case 0x1:_0x2ac9b8['range']=_0x3b1fae['Range']['decode'](_0x57a706,_0x57a706['uint32'](),void 0x0,_0x20231f+0x1);break;case 0x2:_0x2ac9b8['key']=_0x57a706['string']();break;case 0x3:_0x2ac9b8['oldValueBoolean']=_0x57a706['bool']();break;case 0x4:_0x2ac9b8['oldValueJson']=_0x57a706['string']();break;case 0x5:_0x2ac9b8['newValueBoolean']=_0x57a706['bool']();break;case 0x6:_0x2ac9b8['newValueJson']=_0x57a706['string']();break;case 0x7:_0x2ac9b8['wasUndone']=_0x57a706['bool']();break;default:_0x57a706['skipType'](0x7&_0x4480f7,_0x20231f);}}return _0x2ac9b8;},_0x595706['decodeDelimited']=function(_0x454796){return _0x454796 instanceof _0x348a06||(_0x454796=new _0x348a06(_0x454796)),this['decode'](_0x454796,_0x454796['uint32']());},_0x595706['verify']=function(_0x38854a,_0x80e608){if('object'!=typeof _0x38854a||null===_0x38854a)return'object\x20expected';if(void 0x0===_0x80e608&&(_0x80e608=0x0),_0x80e608>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x38854a['range']&&_0x38854a['hasOwnProperty']('range')){var _0x272fe8=_0x3b1fae['Range']['verify'](_0x38854a['range'],_0x80e608+0x1);if(_0x272fe8)return'range.'+_0x272fe8;}return null!=_0x38854a['key']&&_0x38854a['hasOwnProperty']('key')&&!_0x4505bc['isString'](_0x38854a['key'])?'key:\x20string\x20expected':null!=_0x38854a['oldValueBoolean']&&_0x38854a['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x38854a['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x38854a['oldValueJson']&&_0x38854a['hasOwnProperty']('oldValueJson')&&!_0x4505bc['isString'](_0x38854a['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x38854a['newValueBoolean']&&_0x38854a['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x38854a['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x38854a['newValueJson']&&_0x38854a['hasOwnProperty']('newValueJson')&&!_0x4505bc['isString'](_0x38854a['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x38854a['wasUndone']&&_0x38854a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x38854a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x595706['fromObject']=function(_0x43a4ce,_0x31a57a){if(_0x43a4ce instanceof _0x3b1fae['AttributeOperation'])return _0x43a4ce;if(void 0x0===_0x31a57a&&(_0x31a57a=0x0),_0x31a57a>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xeaf1ff=new _0x3b1fae['AttributeOperation']();if(null!=_0x43a4ce['range']){if('object'!=typeof _0x43a4ce['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0xeaf1ff['range']=_0x3b1fae['Range']['fromObject'](_0x43a4ce['range'],_0x31a57a+0x1);}return null!=_0x43a4ce['key']&&(_0xeaf1ff['key']=String(_0x43a4ce['key'])),null!=_0x43a4ce['oldValueBoolean']&&(_0xeaf1ff['oldValueBoolean']=Boolean(_0x43a4ce['oldValueBoolean'])),null!=_0x43a4ce['oldValueJson']&&(_0xeaf1ff['oldValueJson']=String(_0x43a4ce['oldValueJson'])),null!=_0x43a4ce['newValueBoolean']&&(_0xeaf1ff['newValueBoolean']=Boolean(_0x43a4ce['newValueBoolean'])),null!=_0x43a4ce['newValueJson']&&(_0xeaf1ff['newValueJson']=String(_0x43a4ce['newValueJson'])),null!=_0x43a4ce['wasUndone']&&(_0xeaf1ff['wasUndone']=Boolean(_0x43a4ce['wasUndone'])),_0xeaf1ff;},_0x595706['toObject']=function(_0x5417e3,_0x531c6d){_0x531c6d||(_0x531c6d={});var _0x475abd={};return _0x531c6d['defaults']&&(_0x475abd['range']=null,_0x475abd['key']='',_0x475abd['oldValueBoolean']=!0x1,_0x475abd['oldValueJson']='',_0x475abd['newValueBoolean']=!0x1,_0x475abd['newValueJson']='',_0x475abd['wasUndone']=!0x1),null!=_0x5417e3['range']&&_0x5417e3['hasOwnProperty']('range')&&(_0x475abd['range']=_0x3b1fae['Range']['toObject'](_0x5417e3['range'],_0x531c6d)),null!=_0x5417e3['key']&&_0x5417e3['hasOwnProperty']('key')&&(_0x475abd['key']=_0x5417e3['key']),null!=_0x5417e3['oldValueBoolean']&&_0x5417e3['hasOwnProperty']('oldValueBoolean')&&(_0x475abd['oldValueBoolean']=_0x5417e3['oldValueBoolean']),null!=_0x5417e3['oldValueJson']&&_0x5417e3['hasOwnProperty']('oldValueJson')&&(_0x475abd['oldValueJson']=_0x5417e3['oldValueJson']),null!=_0x5417e3['newValueBoolean']&&_0x5417e3['hasOwnProperty']('newValueBoolean')&&(_0x475abd['newValueBoolean']=_0x5417e3['newValueBoolean']),null!=_0x5417e3['newValueJson']&&_0x5417e3['hasOwnProperty']('newValueJson')&&(_0x475abd['newValueJson']=_0x5417e3['newValueJson']),null!=_0x5417e3['wasUndone']&&_0x5417e3['hasOwnProperty']('wasUndone')&&(_0x475abd['wasUndone']=_0x5417e3['wasUndone']),_0x475abd;},_0x595706['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x595706['getTypeUrl']=function(_0x51b71a){return void 0x0===_0x51b71a&&(_0x51b71a='type.googleapis.com'),_0x51b71a+'/AttributeOperation';},_0x595706;}()),_0x3b1fae['InsertOperation']=(function(){function _0x2f90d9(_0x25c1d9){if(this['nodes']=[],_0x25c1d9){for(var _0x30aa34=Object['keys'](_0x25c1d9),_0x387dae=0x0;_0x387dae<_0x30aa34['length'];++_0x387dae)null!=_0x25c1d9[_0x30aa34[_0x387dae]]&&'__proto__'!==_0x30aa34[_0x387dae]&&(this[_0x30aa34[_0x387dae]]=_0x25c1d9[_0x30aa34[_0x387dae]]);}}return _0x2f90d9['prototype']['position']=null,_0x2f90d9['prototype']['nodes']=_0x4505bc['emptyArray'],_0x2f90d9['prototype']['shouldReceiveAttributes']=!0x1,_0x2f90d9['prototype']['wasUndone']=!0x1,_0x2f90d9['create']=function(_0x4fd410){return new _0x2f90d9(_0x4fd410);},_0x2f90d9['encode']=function(_0x38a768,_0x2dcf3d){if(_0x2dcf3d||(_0x2dcf3d=_0x330298['create']()),null!=_0x38a768['position']&&Object['hasOwnProperty']['call'](_0x38a768,'position')&&_0x3b1fae['Position']['encode'](_0x38a768['position'],_0x2dcf3d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x38a768['nodes']&&_0x38a768['nodes']['length']){for(var _0x13abd7=0x0;_0x13abd7<_0x38a768['nodes']['length'];++_0x13abd7)_0x3b1fae['Element']['encode'](_0x38a768['nodes'][_0x13abd7],_0x2dcf3d['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x38a768['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x38a768,'shouldReceiveAttributes')&&_0x2dcf3d['uint32'](0x18)['bool'](_0x38a768['shouldReceiveAttributes']),null!=_0x38a768['wasUndone']&&Object['hasOwnProperty']['call'](_0x38a768,'wasUndone')&&_0x2dcf3d['uint32'](0x20)['bool'](_0x38a768['wasUndone']),_0x2dcf3d;},_0x2f90d9['encodeDelimited']=function(_0x130279,_0x2880ba){return this['encode'](_0x130279,_0x2880ba)['ldelim']();},_0x2f90d9['decode']=function(_0x1b69de,_0x24b0ec,_0x2d252a,_0x32aadd){if(_0x1b69de instanceof _0x348a06||(_0x1b69de=_0x348a06['create'](_0x1b69de)),void 0x0===_0x32aadd&&(_0x32aadd=0x0),_0x32aadd>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4dbda7=void 0x0===_0x24b0ec?_0x1b69de['len']:_0x1b69de['pos']+_0x24b0ec,_0x18d866=new _0x3b1fae['InsertOperation']();_0x1b69de['pos']<_0x4dbda7;){var _0x346fd5=_0x1b69de['uint32']();if(_0x346fd5===_0x2d252a)break;switch(_0x346fd5>>>0x3){case 0x1:_0x18d866['position']=_0x3b1fae['Position']['decode'](_0x1b69de,_0x1b69de['uint32'](),void 0x0,_0x32aadd+0x1);break;case 0x2:_0x18d866['nodes']&&_0x18d866['nodes']['length']||(_0x18d866['nodes']=[]),_0x18d866['nodes']['push'](_0x3b1fae['Element']['decode'](_0x1b69de,_0x1b69de['uint32'](),void 0x0,_0x32aadd+0x1));break;case 0x3:_0x18d866['shouldReceiveAttributes']=_0x1b69de['bool']();break;case 0x4:_0x18d866['wasUndone']=_0x1b69de['bool']();break;default:_0x1b69de['skipType'](0x7&_0x346fd5,_0x32aadd);}}return _0x18d866;},_0x2f90d9['decodeDelimited']=function(_0xcc2753){return _0xcc2753 instanceof _0x348a06||(_0xcc2753=new _0x348a06(_0xcc2753)),this['decode'](_0xcc2753,_0xcc2753['uint32']());},_0x2f90d9['verify']=function(_0x52d260,_0x167269){if('object'!=typeof _0x52d260||null===_0x52d260)return'object\x20expected';if(void 0x0===_0x167269&&(_0x167269=0x0),_0x167269>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x52d260['position']&&_0x52d260['hasOwnProperty']('position')&&(_0x21d00f=_0x3b1fae['Position']['verify'](_0x52d260['position'],_0x167269+0x1)))return'position.'+_0x21d00f;if(null!=_0x52d260['nodes']&&_0x52d260['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x52d260['nodes']))return'nodes:\x20array\x20expected';for(var _0x3f4bda=0x0;_0x3f4bda<_0x52d260['nodes']['length'];++_0x3f4bda){var _0x21d00f;if(_0x21d00f=_0x3b1fae['Element']['verify'](_0x52d260['nodes'][_0x3f4bda],_0x167269+0x1))return'nodes.'+_0x21d00f;}}return null!=_0x52d260['shouldReceiveAttributes']&&_0x52d260['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x52d260['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x52d260['wasUndone']&&_0x52d260['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x52d260['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2f90d9['fromObject']=function(_0x11fe94,_0x3536ec){if(_0x11fe94 instanceof _0x3b1fae['InsertOperation'])return _0x11fe94;if(void 0x0===_0x3536ec&&(_0x3536ec=0x0),_0x3536ec>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x556b46=new _0x3b1fae['InsertOperation']();if(null!=_0x11fe94['position']){if('object'!=typeof _0x11fe94['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x556b46['position']=_0x3b1fae['Position']['fromObject'](_0x11fe94['position'],_0x3536ec+0x1);}if(_0x11fe94['nodes']){if(!Array['isArray'](_0x11fe94['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x556b46['nodes']=[];for(var _0x88f4ab=0x0;_0x88f4ab<_0x11fe94['nodes']['length'];++_0x88f4ab){if('object'!=typeof _0x11fe94['nodes'][_0x88f4ab])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x556b46['nodes'][_0x88f4ab]=_0x3b1fae['Element']['fromObject'](_0x11fe94['nodes'][_0x88f4ab],_0x3536ec+0x1);}}return null!=_0x11fe94['shouldReceiveAttributes']&&(_0x556b46['shouldReceiveAttributes']=Boolean(_0x11fe94['shouldReceiveAttributes'])),null!=_0x11fe94['wasUndone']&&(_0x556b46['wasUndone']=Boolean(_0x11fe94['wasUndone'])),_0x556b46;},_0x2f90d9['toObject']=function(_0x495dfe,_0x5eb8db){_0x5eb8db||(_0x5eb8db={});var _0x59bc96={};if((_0x5eb8db['arrays']||_0x5eb8db['defaults'])&&(_0x59bc96['nodes']=[]),_0x5eb8db['defaults']&&(_0x59bc96['position']=null,_0x59bc96['shouldReceiveAttributes']=!0x1,_0x59bc96['wasUndone']=!0x1),null!=_0x495dfe['position']&&_0x495dfe['hasOwnProperty']('position')&&(_0x59bc96['position']=_0x3b1fae['Position']['toObject'](_0x495dfe['position'],_0x5eb8db)),_0x495dfe['nodes']&&_0x495dfe['nodes']['length']){_0x59bc96['nodes']=[];for(var _0x3153f6=0x0;_0x3153f6<_0x495dfe['nodes']['length'];++_0x3153f6)_0x59bc96['nodes'][_0x3153f6]=_0x3b1fae['Element']['toObject'](_0x495dfe['nodes'][_0x3153f6],_0x5eb8db);}return null!=_0x495dfe['shouldReceiveAttributes']&&_0x495dfe['hasOwnProperty']('shouldReceiveAttributes')&&(_0x59bc96['shouldReceiveAttributes']=_0x495dfe['shouldReceiveAttributes']),null!=_0x495dfe['wasUndone']&&_0x495dfe['hasOwnProperty']('wasUndone')&&(_0x59bc96['wasUndone']=_0x495dfe['wasUndone']),_0x59bc96;},_0x2f90d9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2f90d9['getTypeUrl']=function(_0x1c0fdc){return void 0x0===_0x1c0fdc&&(_0x1c0fdc='type.googleapis.com'),_0x1c0fdc+'/InsertOperation';},_0x2f90d9;}()),_0x3b1fae['MarkerOperation']=(function(){function _0x12daa4(_0x638d69){if(_0x638d69){for(var _0x2e5015=Object['keys'](_0x638d69),_0x92fe70=0x0;_0x92fe70<_0x2e5015['length'];++_0x92fe70)null!=_0x638d69[_0x2e5015[_0x92fe70]]&&'__proto__'!==_0x2e5015[_0x92fe70]&&(this[_0x2e5015[_0x92fe70]]=_0x638d69[_0x2e5015[_0x92fe70]]);}}return _0x12daa4['prototype']['name']='',_0x12daa4['prototype']['oldRange']=null,_0x12daa4['prototype']['newRange']=null,_0x12daa4['prototype']['affectsData']=!0x1,_0x12daa4['prototype']['wasUndone']=!0x1,_0x12daa4['create']=function(_0x19aad7){return new _0x12daa4(_0x19aad7);},_0x12daa4['encode']=function(_0x42b9e1,_0x109a86){return _0x109a86||(_0x109a86=_0x330298['create']()),null!=_0x42b9e1['name']&&Object['hasOwnProperty']['call'](_0x42b9e1,'name')&&_0x109a86['uint32'](0xa)['string'](_0x42b9e1['name']),null!=_0x42b9e1['oldRange']&&Object['hasOwnProperty']['call'](_0x42b9e1,'oldRange')&&_0x3b1fae['Range']['encode'](_0x42b9e1['oldRange'],_0x109a86['uint32'](0x12)['fork']())['ldelim'](),null!=_0x42b9e1['newRange']&&Object['hasOwnProperty']['call'](_0x42b9e1,'newRange')&&_0x3b1fae['Range']['encode'](_0x42b9e1['newRange'],_0x109a86['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x42b9e1['affectsData']&&Object['hasOwnProperty']['call'](_0x42b9e1,'affectsData')&&_0x109a86['uint32'](0x20)['bool'](_0x42b9e1['affectsData']),null!=_0x42b9e1['wasUndone']&&Object['hasOwnProperty']['call'](_0x42b9e1,'wasUndone')&&_0x109a86['uint32'](0x28)['bool'](_0x42b9e1['wasUndone']),_0x109a86;},_0x12daa4['encodeDelimited']=function(_0x393492,_0x6b2cf1){return this['encode'](_0x393492,_0x6b2cf1)['ldelim']();},_0x12daa4['decode']=function(_0x37e2c6,_0x30d4cb,_0x5e9e7d,_0x59571b){if(_0x37e2c6 instanceof _0x348a06||(_0x37e2c6=_0x348a06['create'](_0x37e2c6)),void 0x0===_0x59571b&&(_0x59571b=0x0),_0x59571b>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d627d=void 0x0===_0x30d4cb?_0x37e2c6['len']:_0x37e2c6['pos']+_0x30d4cb,_0x5c0a36=new _0x3b1fae['MarkerOperation']();_0x37e2c6['pos']<_0x5d627d;){var _0x5b428f=_0x37e2c6['uint32']();if(_0x5b428f===_0x5e9e7d)break;switch(_0x5b428f>>>0x3){case 0x1:_0x5c0a36['name']=_0x37e2c6['string']();break;case 0x2:_0x5c0a36['oldRange']=_0x3b1fae['Range']['decode'](_0x37e2c6,_0x37e2c6['uint32'](),void 0x0,_0x59571b+0x1);break;case 0x3:_0x5c0a36['newRange']=_0x3b1fae['Range']['decode'](_0x37e2c6,_0x37e2c6['uint32'](),void 0x0,_0x59571b+0x1);break;case 0x4:_0x5c0a36['affectsData']=_0x37e2c6['bool']();break;case 0x5:_0x5c0a36['wasUndone']=_0x37e2c6['bool']();break;default:_0x37e2c6['skipType'](0x7&_0x5b428f,_0x59571b);}}return _0x5c0a36;},_0x12daa4['decodeDelimited']=function(_0xe92aba){return _0xe92aba instanceof _0x348a06||(_0xe92aba=new _0x348a06(_0xe92aba)),this['decode'](_0xe92aba,_0xe92aba['uint32']());},_0x12daa4['verify']=function(_0x259a4,_0x545960){if('object'!=typeof _0x259a4||null===_0x259a4)return'object\x20expected';if(void 0x0===_0x545960&&(_0x545960=0x0),_0x545960>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x259a4['name']&&_0x259a4['hasOwnProperty']('name')&&!_0x4505bc['isString'](_0x259a4['name']))return'name:\x20string\x20expected';var _0xa87ee9;if(null!=_0x259a4['oldRange']&&_0x259a4['hasOwnProperty']('oldRange')&&(_0xa87ee9=_0x3b1fae['Range']['verify'](_0x259a4['oldRange'],_0x545960+0x1)))return'oldRange.'+_0xa87ee9;if(null!=_0x259a4['newRange']&&_0x259a4['hasOwnProperty']('newRange')&&(_0xa87ee9=_0x3b1fae['Range']['verify'](_0x259a4['newRange'],_0x545960+0x1)))return'newRange.'+_0xa87ee9;return null!=_0x259a4['affectsData']&&_0x259a4['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x259a4['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x259a4['wasUndone']&&_0x259a4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x259a4['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x12daa4['fromObject']=function(_0x3f3095,_0x5ac93b){if(_0x3f3095 instanceof _0x3b1fae['MarkerOperation'])return _0x3f3095;if(void 0x0===_0x5ac93b&&(_0x5ac93b=0x0),_0x5ac93b>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf3af18=new _0x3b1fae['MarkerOperation']();if(null!=_0x3f3095['name']&&(_0xf3af18['name']=String(_0x3f3095['name'])),null!=_0x3f3095['oldRange']){if('object'!=typeof _0x3f3095['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0xf3af18['oldRange']=_0x3b1fae['Range']['fromObject'](_0x3f3095['oldRange'],_0x5ac93b+0x1);}if(null!=_0x3f3095['newRange']){if('object'!=typeof _0x3f3095['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0xf3af18['newRange']=_0x3b1fae['Range']['fromObject'](_0x3f3095['newRange'],_0x5ac93b+0x1);}return null!=_0x3f3095['affectsData']&&(_0xf3af18['affectsData']=Boolean(_0x3f3095['affectsData'])),null!=_0x3f3095['wasUndone']&&(_0xf3af18['wasUndone']=Boolean(_0x3f3095['wasUndone'])),_0xf3af18;},_0x12daa4['toObject']=function(_0x560db2,_0x1fd1e9){_0x1fd1e9||(_0x1fd1e9={});var _0xf2874f={};return _0x1fd1e9['defaults']&&(_0xf2874f['name']='',_0xf2874f['oldRange']=null,_0xf2874f['newRange']=null,_0xf2874f['affectsData']=!0x1,_0xf2874f['wasUndone']=!0x1),null!=_0x560db2['name']&&_0x560db2['hasOwnProperty']('name')&&(_0xf2874f['name']=_0x560db2['name']),null!=_0x560db2['oldRange']&&_0x560db2['hasOwnProperty']('oldRange')&&(_0xf2874f['oldRange']=_0x3b1fae['Range']['toObject'](_0x560db2['oldRange'],_0x1fd1e9)),null!=_0x560db2['newRange']&&_0x560db2['hasOwnProperty']('newRange')&&(_0xf2874f['newRange']=_0x3b1fae['Range']['toObject'](_0x560db2['newRange'],_0x1fd1e9)),null!=_0x560db2['affectsData']&&_0x560db2['hasOwnProperty']('affectsData')&&(_0xf2874f['affectsData']=_0x560db2['affectsData']),null!=_0x560db2['wasUndone']&&_0x560db2['hasOwnProperty']('wasUndone')&&(_0xf2874f['wasUndone']=_0x560db2['wasUndone']),_0xf2874f;},_0x12daa4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x12daa4['getTypeUrl']=function(_0x53b083){return void 0x0===_0x53b083&&(_0x53b083='type.googleapis.com'),_0x53b083+'/MarkerOperation';},_0x12daa4;}()),_0x3b1fae['MergeOperation']=(function(){function _0x5f1abd(_0x29e538){if(_0x29e538){for(var _0x131c23=Object['keys'](_0x29e538),_0x322f37=0x0;_0x322f37<_0x131c23['length'];++_0x322f37)null!=_0x29e538[_0x131c23[_0x322f37]]&&'__proto__'!==_0x131c23[_0x322f37]&&(this[_0x131c23[_0x322f37]]=_0x29e538[_0x131c23[_0x322f37]]);}}return _0x5f1abd['prototype']['sourcePosition']=null,_0x5f1abd['prototype']['targetPosition']=null,_0x5f1abd['prototype']['graveyardPosition']=null,_0x5f1abd['prototype']['howMany']=0x0,_0x5f1abd['prototype']['wasUndone']=!0x1,_0x5f1abd['create']=function(_0x484e16){return new _0x5f1abd(_0x484e16);},_0x5f1abd['encode']=function(_0x3c1981,_0x2162f4){return _0x2162f4||(_0x2162f4=_0x330298['create']()),null!=_0x3c1981['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3c1981,'sourcePosition')&&_0x3b1fae['Position']['encode'](_0x3c1981['sourcePosition'],_0x2162f4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3c1981['targetPosition']&&Object['hasOwnProperty']['call'](_0x3c1981,'targetPosition')&&_0x3b1fae['Position']['encode'](_0x3c1981['targetPosition'],_0x2162f4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3c1981['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3c1981,'graveyardPosition')&&_0x3b1fae['Position']['encode'](_0x3c1981['graveyardPosition'],_0x2162f4['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3c1981['howMany']&&Object['hasOwnProperty']['call'](_0x3c1981,'howMany')&&_0x2162f4['uint32'](0x20)['uint32'](_0x3c1981['howMany']),null!=_0x3c1981['wasUndone']&&Object['hasOwnProperty']['call'](_0x3c1981,'wasUndone')&&_0x2162f4['uint32'](0x28)['bool'](_0x3c1981['wasUndone']),_0x2162f4;},_0x5f1abd['encodeDelimited']=function(_0x2a845c,_0x287ba5){return this['encode'](_0x2a845c,_0x287ba5)['ldelim']();},_0x5f1abd['decode']=function(_0x24b98b,_0x188045,_0x3e5e2f,_0x2a5f72){if(_0x24b98b instanceof _0x348a06||(_0x24b98b=_0x348a06['create'](_0x24b98b)),void 0x0===_0x2a5f72&&(_0x2a5f72=0x0),_0x2a5f72>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xdc6193=void 0x0===_0x188045?_0x24b98b['len']:_0x24b98b['pos']+_0x188045,_0x93c16d=new _0x3b1fae['MergeOperation']();_0x24b98b['pos']<_0xdc6193;){var _0x16b160=_0x24b98b['uint32']();if(_0x16b160===_0x3e5e2f)break;switch(_0x16b160>>>0x3){case 0x1:_0x93c16d['sourcePosition']=_0x3b1fae['Position']['decode'](_0x24b98b,_0x24b98b['uint32'](),void 0x0,_0x2a5f72+0x1);break;case 0x2:_0x93c16d['targetPosition']=_0x3b1fae['Position']['decode'](_0x24b98b,_0x24b98b['uint32'](),void 0x0,_0x2a5f72+0x1);break;case 0x3:_0x93c16d['graveyardPosition']=_0x3b1fae['Position']['decode'](_0x24b98b,_0x24b98b['uint32'](),void 0x0,_0x2a5f72+0x1);break;case 0x4:_0x93c16d['howMany']=_0x24b98b['uint32']();break;case 0x5:_0x93c16d['wasUndone']=_0x24b98b['bool']();break;default:_0x24b98b['skipType'](0x7&_0x16b160,_0x2a5f72);}}return _0x93c16d;},_0x5f1abd['decodeDelimited']=function(_0xc0287d){return _0xc0287d instanceof _0x348a06||(_0xc0287d=new _0x348a06(_0xc0287d)),this['decode'](_0xc0287d,_0xc0287d['uint32']());},_0x5f1abd['verify']=function(_0x4e4e00,_0x3fa353){if('object'!=typeof _0x4e4e00||null===_0x4e4e00)return'object\x20expected';if(void 0x0===_0x3fa353&&(_0x3fa353=0x0),_0x3fa353>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2424ce;if(null!=_0x4e4e00['sourcePosition']&&_0x4e4e00['hasOwnProperty']('sourcePosition')&&(_0x2424ce=_0x3b1fae['Position']['verify'](_0x4e4e00['sourcePosition'],_0x3fa353+0x1)))return'sourcePosition.'+_0x2424ce;if(null!=_0x4e4e00['targetPosition']&&_0x4e4e00['hasOwnProperty']('targetPosition')&&(_0x2424ce=_0x3b1fae['Position']['verify'](_0x4e4e00['targetPosition'],_0x3fa353+0x1)))return'targetPosition.'+_0x2424ce;if(null!=_0x4e4e00['graveyardPosition']&&_0x4e4e00['hasOwnProperty']('graveyardPosition')&&(_0x2424ce=_0x3b1fae['Position']['verify'](_0x4e4e00['graveyardPosition'],_0x3fa353+0x1)))return'graveyardPosition.'+_0x2424ce;return null!=_0x4e4e00['howMany']&&_0x4e4e00['hasOwnProperty']('howMany')&&!_0x4505bc['isInteger'](_0x4e4e00['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4e4e00['wasUndone']&&_0x4e4e00['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4e4e00['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5f1abd['fromObject']=function(_0x15f01c,_0x254e53){if(_0x15f01c instanceof _0x3b1fae['MergeOperation'])return _0x15f01c;if(void 0x0===_0x254e53&&(_0x254e53=0x0),_0x254e53>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x589fe9=new _0x3b1fae['MergeOperation']();if(null!=_0x15f01c['sourcePosition']){if('object'!=typeof _0x15f01c['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x589fe9['sourcePosition']=_0x3b1fae['Position']['fromObject'](_0x15f01c['sourcePosition'],_0x254e53+0x1);}if(null!=_0x15f01c['targetPosition']){if('object'!=typeof _0x15f01c['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x589fe9['targetPosition']=_0x3b1fae['Position']['fromObject'](_0x15f01c['targetPosition'],_0x254e53+0x1);}if(null!=_0x15f01c['graveyardPosition']){if('object'!=typeof _0x15f01c['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x589fe9['graveyardPosition']=_0x3b1fae['Position']['fromObject'](_0x15f01c['graveyardPosition'],_0x254e53+0x1);}return null!=_0x15f01c['howMany']&&(_0x589fe9['howMany']=_0x15f01c['howMany']>>>0x0),null!=_0x15f01c['wasUndone']&&(_0x589fe9['wasUndone']=Boolean(_0x15f01c['wasUndone'])),_0x589fe9;},_0x5f1abd['toObject']=function(_0x3b791c,_0x382796){_0x382796||(_0x382796={});var _0x5ad2f2={};return _0x382796['defaults']&&(_0x5ad2f2['sourcePosition']=null,_0x5ad2f2['targetPosition']=null,_0x5ad2f2['graveyardPosition']=null,_0x5ad2f2['howMany']=0x0,_0x5ad2f2['wasUndone']=!0x1),null!=_0x3b791c['sourcePosition']&&_0x3b791c['hasOwnProperty']('sourcePosition')&&(_0x5ad2f2['sourcePosition']=_0x3b1fae['Position']['toObject'](_0x3b791c['sourcePosition'],_0x382796)),null!=_0x3b791c['targetPosition']&&_0x3b791c['hasOwnProperty']('targetPosition')&&(_0x5ad2f2['targetPosition']=_0x3b1fae['Position']['toObject'](_0x3b791c['targetPosition'],_0x382796)),null!=_0x3b791c['graveyardPosition']&&_0x3b791c['hasOwnProperty']('graveyardPosition')&&(_0x5ad2f2['graveyardPosition']=_0x3b1fae['Position']['toObject'](_0x3b791c['graveyardPosition'],_0x382796)),null!=_0x3b791c['howMany']&&_0x3b791c['hasOwnProperty']('howMany')&&(_0x5ad2f2['howMany']=_0x3b791c['howMany']),null!=_0x3b791c['wasUndone']&&_0x3b791c['hasOwnProperty']('wasUndone')&&(_0x5ad2f2['wasUndone']=_0x3b791c['wasUndone']),_0x5ad2f2;},_0x5f1abd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5f1abd['getTypeUrl']=function(_0x1326ec){return void 0x0===_0x1326ec&&(_0x1326ec='type.googleapis.com'),_0x1326ec+'/MergeOperation';},_0x5f1abd;}()),_0x3b1fae['MoveOperation']=(function(){function _0x44963f(_0x2652ff){if(_0x2652ff){for(var _0x2c30b4=Object['keys'](_0x2652ff),_0x5905ea=0x0;_0x5905ea<_0x2c30b4['length'];++_0x5905ea)null!=_0x2652ff[_0x2c30b4[_0x5905ea]]&&'__proto__'!==_0x2c30b4[_0x5905ea]&&(this[_0x2c30b4[_0x5905ea]]=_0x2652ff[_0x2c30b4[_0x5905ea]]);}}return _0x44963f['prototype']['sourcePosition']=null,_0x44963f['prototype']['howMany']=0x0,_0x44963f['prototype']['targetPosition']=null,_0x44963f['prototype']['wasUndone']=!0x1,_0x44963f['create']=function(_0x5381c9){return new _0x44963f(_0x5381c9);},_0x44963f['encode']=function(_0x39ed74,_0x1b6203){return _0x1b6203||(_0x1b6203=_0x330298['create']()),null!=_0x39ed74['sourcePosition']&&Object['hasOwnProperty']['call'](_0x39ed74,'sourcePosition')&&_0x3b1fae['Position']['encode'](_0x39ed74['sourcePosition'],_0x1b6203['uint32'](0xa)['fork']())['ldelim'](),null!=_0x39ed74['howMany']&&Object['hasOwnProperty']['call'](_0x39ed74,'howMany')&&_0x1b6203['uint32'](0x10)['uint32'](_0x39ed74['howMany']),null!=_0x39ed74['targetPosition']&&Object['hasOwnProperty']['call'](_0x39ed74,'targetPosition')&&_0x3b1fae['Position']['encode'](_0x39ed74['targetPosition'],_0x1b6203['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x39ed74['wasUndone']&&Object['hasOwnProperty']['call'](_0x39ed74,'wasUndone')&&_0x1b6203['uint32'](0x20)['bool'](_0x39ed74['wasUndone']),_0x1b6203;},_0x44963f['encodeDelimited']=function(_0x25fb95,_0x98988){return this['encode'](_0x25fb95,_0x98988)['ldelim']();},_0x44963f['decode']=function(_0x5c344d,_0x31af81,_0x5a45ae,_0x131f4e){if(_0x5c344d instanceof _0x348a06||(_0x5c344d=_0x348a06['create'](_0x5c344d)),void 0x0===_0x131f4e&&(_0x131f4e=0x0),_0x131f4e>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d3c64=void 0x0===_0x31af81?_0x5c344d['len']:_0x5c344d['pos']+_0x31af81,_0x361570=new _0x3b1fae['MoveOperation']();_0x5c344d['pos']<_0x1d3c64;){var _0x5d2e4e=_0x5c344d['uint32']();if(_0x5d2e4e===_0x5a45ae)break;switch(_0x5d2e4e>>>0x3){case 0x1:_0x361570['sourcePosition']=_0x3b1fae['Position']['decode'](_0x5c344d,_0x5c344d['uint32'](),void 0x0,_0x131f4e+0x1);break;case 0x2:_0x361570['howMany']=_0x5c344d['uint32']();break;case 0x3:_0x361570['targetPosition']=_0x3b1fae['Position']['decode'](_0x5c344d,_0x5c344d['uint32'](),void 0x0,_0x131f4e+0x1);break;case 0x4:_0x361570['wasUndone']=_0x5c344d['bool']();break;default:_0x5c344d['skipType'](0x7&_0x5d2e4e,_0x131f4e);}}return _0x361570;},_0x44963f['decodeDelimited']=function(_0x1756d6){return _0x1756d6 instanceof _0x348a06||(_0x1756d6=new _0x348a06(_0x1756d6)),this['decode'](_0x1756d6,_0x1756d6['uint32']());},_0x44963f['verify']=function(_0x4e2713,_0x1bf987){if('object'!=typeof _0x4e2713||null===_0x4e2713)return'object\x20expected';if(void 0x0===_0x1bf987&&(_0x1bf987=0x0),_0x1bf987>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1ee511;if(null!=_0x4e2713['sourcePosition']&&_0x4e2713['hasOwnProperty']('sourcePosition')&&(_0x1ee511=_0x3b1fae['Position']['verify'](_0x4e2713['sourcePosition'],_0x1bf987+0x1)))return'sourcePosition.'+_0x1ee511;if(null!=_0x4e2713['howMany']&&_0x4e2713['hasOwnProperty']('howMany')&&!_0x4505bc['isInteger'](_0x4e2713['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x4e2713['targetPosition']&&_0x4e2713['hasOwnProperty']('targetPosition')&&(_0x1ee511=_0x3b1fae['Position']['verify'](_0x4e2713['targetPosition'],_0x1bf987+0x1)))return'targetPosition.'+_0x1ee511;return null!=_0x4e2713['wasUndone']&&_0x4e2713['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4e2713['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x44963f['fromObject']=function(_0x41ad5d,_0x34254a){if(_0x41ad5d instanceof _0x3b1fae['MoveOperation'])return _0x41ad5d;if(void 0x0===_0x34254a&&(_0x34254a=0x0),_0x34254a>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x391673=new _0x3b1fae['MoveOperation']();if(null!=_0x41ad5d['sourcePosition']){if('object'!=typeof _0x41ad5d['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x391673['sourcePosition']=_0x3b1fae['Position']['fromObject'](_0x41ad5d['sourcePosition'],_0x34254a+0x1);}if(null!=_0x41ad5d['howMany']&&(_0x391673['howMany']=_0x41ad5d['howMany']>>>0x0),null!=_0x41ad5d['targetPosition']){if('object'!=typeof _0x41ad5d['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x391673['targetPosition']=_0x3b1fae['Position']['fromObject'](_0x41ad5d['targetPosition'],_0x34254a+0x1);}return null!=_0x41ad5d['wasUndone']&&(_0x391673['wasUndone']=Boolean(_0x41ad5d['wasUndone'])),_0x391673;},_0x44963f['toObject']=function(_0x4ce264,_0x36a458){_0x36a458||(_0x36a458={});var _0x2a83cb={};return _0x36a458['defaults']&&(_0x2a83cb['sourcePosition']=null,_0x2a83cb['howMany']=0x0,_0x2a83cb['targetPosition']=null,_0x2a83cb['wasUndone']=!0x1),null!=_0x4ce264['sourcePosition']&&_0x4ce264['hasOwnProperty']('sourcePosition')&&(_0x2a83cb['sourcePosition']=_0x3b1fae['Position']['toObject'](_0x4ce264['sourcePosition'],_0x36a458)),null!=_0x4ce264['howMany']&&_0x4ce264['hasOwnProperty']('howMany')&&(_0x2a83cb['howMany']=_0x4ce264['howMany']),null!=_0x4ce264['targetPosition']&&_0x4ce264['hasOwnProperty']('targetPosition')&&(_0x2a83cb['targetPosition']=_0x3b1fae['Position']['toObject'](_0x4ce264['targetPosition'],_0x36a458)),null!=_0x4ce264['wasUndone']&&_0x4ce264['hasOwnProperty']('wasUndone')&&(_0x2a83cb['wasUndone']=_0x4ce264['wasUndone']),_0x2a83cb;},_0x44963f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x44963f['getTypeUrl']=function(_0x52f8bc){return void 0x0===_0x52f8bc&&(_0x52f8bc='type.googleapis.com'),_0x52f8bc+'/MoveOperation';},_0x44963f;}()),_0x3b1fae['RenameOperation']=(function(){function _0x2a7396(_0x1e85da){if(_0x1e85da){for(var _0x4e1f0c=Object['keys'](_0x1e85da),_0x23cbc5=0x0;_0x23cbc5<_0x4e1f0c['length'];++_0x23cbc5)null!=_0x1e85da[_0x4e1f0c[_0x23cbc5]]&&'__proto__'!==_0x4e1f0c[_0x23cbc5]&&(this[_0x4e1f0c[_0x23cbc5]]=_0x1e85da[_0x4e1f0c[_0x23cbc5]]);}}return _0x2a7396['prototype']['position']=null,_0x2a7396['prototype']['oldName']='',_0x2a7396['prototype']['newName']='',_0x2a7396['prototype']['wasUndone']=!0x1,_0x2a7396['create']=function(_0x17c5e7){return new _0x2a7396(_0x17c5e7);},_0x2a7396['encode']=function(_0xf74a17,_0x33c30a){return _0x33c30a||(_0x33c30a=_0x330298['create']()),null!=_0xf74a17['position']&&Object['hasOwnProperty']['call'](_0xf74a17,'position')&&_0x3b1fae['Position']['encode'](_0xf74a17['position'],_0x33c30a['uint32'](0xa)['fork']())['ldelim'](),null!=_0xf74a17['oldName']&&Object['hasOwnProperty']['call'](_0xf74a17,'oldName')&&_0x33c30a['uint32'](0x12)['string'](_0xf74a17['oldName']),null!=_0xf74a17['newName']&&Object['hasOwnProperty']['call'](_0xf74a17,'newName')&&_0x33c30a['uint32'](0x1a)['string'](_0xf74a17['newName']),null!=_0xf74a17['wasUndone']&&Object['hasOwnProperty']['call'](_0xf74a17,'wasUndone')&&_0x33c30a['uint32'](0x20)['bool'](_0xf74a17['wasUndone']),_0x33c30a;},_0x2a7396['encodeDelimited']=function(_0x4b2287,_0x275bd4){return this['encode'](_0x4b2287,_0x275bd4)['ldelim']();},_0x2a7396['decode']=function(_0x339e19,_0x21b6f0,_0x4424ac,_0x294c1f){if(_0x339e19 instanceof _0x348a06||(_0x339e19=_0x348a06['create'](_0x339e19)),void 0x0===_0x294c1f&&(_0x294c1f=0x0),_0x294c1f>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33dca4=void 0x0===_0x21b6f0?_0x339e19['len']:_0x339e19['pos']+_0x21b6f0,_0x1029d9=new _0x3b1fae['RenameOperation']();_0x339e19['pos']<_0x33dca4;){var _0x1e471f=_0x339e19['uint32']();if(_0x1e471f===_0x4424ac)break;switch(_0x1e471f>>>0x3){case 0x1:_0x1029d9['position']=_0x3b1fae['Position']['decode'](_0x339e19,_0x339e19['uint32'](),void 0x0,_0x294c1f+0x1);break;case 0x2:_0x1029d9['oldName']=_0x339e19['string']();break;case 0x3:_0x1029d9['newName']=_0x339e19['string']();break;case 0x4:_0x1029d9['wasUndone']=_0x339e19['bool']();break;default:_0x339e19['skipType'](0x7&_0x1e471f,_0x294c1f);}}return _0x1029d9;},_0x2a7396['decodeDelimited']=function(_0x38e50d){return _0x38e50d instanceof _0x348a06||(_0x38e50d=new _0x348a06(_0x38e50d)),this['decode'](_0x38e50d,_0x38e50d['uint32']());},_0x2a7396['verify']=function(_0x2893de,_0x395425){if('object'!=typeof _0x2893de||null===_0x2893de)return'object\x20expected';if(void 0x0===_0x395425&&(_0x395425=0x0),_0x395425>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2893de['position']&&_0x2893de['hasOwnProperty']('position')){var _0x9fe66=_0x3b1fae['Position']['verify'](_0x2893de['position'],_0x395425+0x1);if(_0x9fe66)return'position.'+_0x9fe66;}return null!=_0x2893de['oldName']&&_0x2893de['hasOwnProperty']('oldName')&&!_0x4505bc['isString'](_0x2893de['oldName'])?'oldName:\x20string\x20expected':null!=_0x2893de['newName']&&_0x2893de['hasOwnProperty']('newName')&&!_0x4505bc['isString'](_0x2893de['newName'])?'newName:\x20string\x20expected':null!=_0x2893de['wasUndone']&&_0x2893de['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2893de['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2a7396['fromObject']=function(_0x5abc05,_0xb9e129){if(_0x5abc05 instanceof _0x3b1fae['RenameOperation'])return _0x5abc05;if(void 0x0===_0xb9e129&&(_0xb9e129=0x0),_0xb9e129>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x448d9f=new _0x3b1fae['RenameOperation']();if(null!=_0x5abc05['position']){if('object'!=typeof _0x5abc05['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x448d9f['position']=_0x3b1fae['Position']['fromObject'](_0x5abc05['position'],_0xb9e129+0x1);}return null!=_0x5abc05['oldName']&&(_0x448d9f['oldName']=String(_0x5abc05['oldName'])),null!=_0x5abc05['newName']&&(_0x448d9f['newName']=String(_0x5abc05['newName'])),null!=_0x5abc05['wasUndone']&&(_0x448d9f['wasUndone']=Boolean(_0x5abc05['wasUndone'])),_0x448d9f;},_0x2a7396['toObject']=function(_0x5c3d0a,_0x46e675){_0x46e675||(_0x46e675={});var _0x460ad9={};return _0x46e675['defaults']&&(_0x460ad9['position']=null,_0x460ad9['oldName']='',_0x460ad9['newName']='',_0x460ad9['wasUndone']=!0x1),null!=_0x5c3d0a['position']&&_0x5c3d0a['hasOwnProperty']('position')&&(_0x460ad9['position']=_0x3b1fae['Position']['toObject'](_0x5c3d0a['position'],_0x46e675)),null!=_0x5c3d0a['oldName']&&_0x5c3d0a['hasOwnProperty']('oldName')&&(_0x460ad9['oldName']=_0x5c3d0a['oldName']),null!=_0x5c3d0a['newName']&&_0x5c3d0a['hasOwnProperty']('newName')&&(_0x460ad9['newName']=_0x5c3d0a['newName']),null!=_0x5c3d0a['wasUndone']&&_0x5c3d0a['hasOwnProperty']('wasUndone')&&(_0x460ad9['wasUndone']=_0x5c3d0a['wasUndone']),_0x460ad9;},_0x2a7396['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2a7396['getTypeUrl']=function(_0x13e83d){return void 0x0===_0x13e83d&&(_0x13e83d='type.googleapis.com'),_0x13e83d+'/RenameOperation';},_0x2a7396;}()),_0x3b1fae['RootAttributeOperation']=(function(){function _0x78b2a0(_0x56348d){if(_0x56348d){for(var _0x3976d7=Object['keys'](_0x56348d),_0x8bdea4=0x0;_0x8bdea4<_0x3976d7['length'];++_0x8bdea4)null!=_0x56348d[_0x3976d7[_0x8bdea4]]&&'__proto__'!==_0x3976d7[_0x8bdea4]&&(this[_0x3976d7[_0x8bdea4]]=_0x56348d[_0x3976d7[_0x8bdea4]]);}}return _0x78b2a0['prototype']['root']='',_0x78b2a0['prototype']['key']='',_0x78b2a0['prototype']['oldValueBoolean']=!0x1,_0x78b2a0['prototype']['oldValueJson']='',_0x78b2a0['prototype']['newValueBoolean']=!0x1,_0x78b2a0['prototype']['newValueJson']='',_0x78b2a0['prototype']['wasUndone']=!0x1,_0x78b2a0['create']=function(_0x32efd4){return new _0x78b2a0(_0x32efd4);},_0x78b2a0['encode']=function(_0x185f8c,_0x57a5c5){return _0x57a5c5||(_0x57a5c5=_0x330298['create']()),null!=_0x185f8c['root']&&Object['hasOwnProperty']['call'](_0x185f8c,'root')&&_0x57a5c5['uint32'](0xa)['string'](_0x185f8c['root']),null!=_0x185f8c['key']&&Object['hasOwnProperty']['call'](_0x185f8c,'key')&&_0x57a5c5['uint32'](0x12)['string'](_0x185f8c['key']),null!=_0x185f8c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x185f8c,'oldValueBoolean')&&_0x57a5c5['uint32'](0x18)['bool'](_0x185f8c['oldValueBoolean']),null!=_0x185f8c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x185f8c,'oldValueJson')&&_0x57a5c5['uint32'](0x22)['string'](_0x185f8c['oldValueJson']),null!=_0x185f8c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x185f8c,'newValueBoolean')&&_0x57a5c5['uint32'](0x28)['bool'](_0x185f8c['newValueBoolean']),null!=_0x185f8c['newValueJson']&&Object['hasOwnProperty']['call'](_0x185f8c,'newValueJson')&&_0x57a5c5['uint32'](0x32)['string'](_0x185f8c['newValueJson']),null!=_0x185f8c['wasUndone']&&Object['hasOwnProperty']['call'](_0x185f8c,'wasUndone')&&_0x57a5c5['uint32'](0x38)['bool'](_0x185f8c['wasUndone']),_0x57a5c5;},_0x78b2a0['encodeDelimited']=function(_0x35ad58,_0x131686){return this['encode'](_0x35ad58,_0x131686)['ldelim']();},_0x78b2a0['decode']=function(_0x1a2094,_0x632fd4,_0xc4f671,_0x44b2ef){if(_0x1a2094 instanceof _0x348a06||(_0x1a2094=_0x348a06['create'](_0x1a2094)),void 0x0===_0x44b2ef&&(_0x44b2ef=0x0),_0x44b2ef>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4adf99=void 0x0===_0x632fd4?_0x1a2094['len']:_0x1a2094['pos']+_0x632fd4,_0x483a75=new _0x3b1fae['RootAttributeOperation']();_0x1a2094['pos']<_0x4adf99;){var _0x163862=_0x1a2094['uint32']();if(_0x163862===_0xc4f671)break;switch(_0x163862>>>0x3){case 0x1:_0x483a75['root']=_0x1a2094['string']();break;case 0x2:_0x483a75['key']=_0x1a2094['string']();break;case 0x3:_0x483a75['oldValueBoolean']=_0x1a2094['bool']();break;case 0x4:_0x483a75['oldValueJson']=_0x1a2094['string']();break;case 0x5:_0x483a75['newValueBoolean']=_0x1a2094['bool']();break;case 0x6:_0x483a75['newValueJson']=_0x1a2094['string']();break;case 0x7:_0x483a75['wasUndone']=_0x1a2094['bool']();break;default:_0x1a2094['skipType'](0x7&_0x163862,_0x44b2ef);}}return _0x483a75;},_0x78b2a0['decodeDelimited']=function(_0x573724){return _0x573724 instanceof _0x348a06||(_0x573724=new _0x348a06(_0x573724)),this['decode'](_0x573724,_0x573724['uint32']());},_0x78b2a0['verify']=function(_0x19483c,_0x494d84){return'object'!=typeof _0x19483c||null===_0x19483c?'object\x20expected':(void 0x0===_0x494d84&&(_0x494d84=0x0),_0x494d84>_0x4505bc['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x19483c['root']&&_0x19483c['hasOwnProperty']('root')&&!_0x4505bc['isString'](_0x19483c['root'])?'root:\x20string\x20expected':null!=_0x19483c['key']&&_0x19483c['hasOwnProperty']('key')&&!_0x4505bc['isString'](_0x19483c['key'])?'key:\x20string\x20expected':null!=_0x19483c['oldValueBoolean']&&_0x19483c['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x19483c['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x19483c['oldValueJson']&&_0x19483c['hasOwnProperty']('oldValueJson')&&!_0x4505bc['isString'](_0x19483c['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x19483c['newValueBoolean']&&_0x19483c['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x19483c['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x19483c['newValueJson']&&_0x19483c['hasOwnProperty']('newValueJson')&&!_0x4505bc['isString'](_0x19483c['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x19483c['wasUndone']&&_0x19483c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x19483c['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x78b2a0['fromObject']=function(_0x538a3a,_0x3dac90){if(_0x538a3a instanceof _0x3b1fae['RootAttributeOperation'])return _0x538a3a;if(void 0x0===_0x3dac90&&(_0x3dac90=0x0),_0x3dac90>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x316ef5=new _0x3b1fae['RootAttributeOperation']();return null!=_0x538a3a['root']&&(_0x316ef5['root']=String(_0x538a3a['root'])),null!=_0x538a3a['key']&&(_0x316ef5['key']=String(_0x538a3a['key'])),null!=_0x538a3a['oldValueBoolean']&&(_0x316ef5['oldValueBoolean']=Boolean(_0x538a3a['oldValueBoolean'])),null!=_0x538a3a['oldValueJson']&&(_0x316ef5['oldValueJson']=String(_0x538a3a['oldValueJson'])),null!=_0x538a3a['newValueBoolean']&&(_0x316ef5['newValueBoolean']=Boolean(_0x538a3a['newValueBoolean'])),null!=_0x538a3a['newValueJson']&&(_0x316ef5['newValueJson']=String(_0x538a3a['newValueJson'])),null!=_0x538a3a['wasUndone']&&(_0x316ef5['wasUndone']=Boolean(_0x538a3a['wasUndone'])),_0x316ef5;},_0x78b2a0['toObject']=function(_0x4a6b8b,_0x9e0b52){_0x9e0b52||(_0x9e0b52={});var _0x3d34c5={};return _0x9e0b52['defaults']&&(_0x3d34c5['root']='',_0x3d34c5['key']='',_0x3d34c5['oldValueBoolean']=!0x1,_0x3d34c5['oldValueJson']='',_0x3d34c5['newValueBoolean']=!0x1,_0x3d34c5['newValueJson']='',_0x3d34c5['wasUndone']=!0x1),null!=_0x4a6b8b['root']&&_0x4a6b8b['hasOwnProperty']('root')&&(_0x3d34c5['root']=_0x4a6b8b['root']),null!=_0x4a6b8b['key']&&_0x4a6b8b['hasOwnProperty']('key')&&(_0x3d34c5['key']=_0x4a6b8b['key']),null!=_0x4a6b8b['oldValueBoolean']&&_0x4a6b8b['hasOwnProperty']('oldValueBoolean')&&(_0x3d34c5['oldValueBoolean']=_0x4a6b8b['oldValueBoolean']),null!=_0x4a6b8b['oldValueJson']&&_0x4a6b8b['hasOwnProperty']('oldValueJson')&&(_0x3d34c5['oldValueJson']=_0x4a6b8b['oldValueJson']),null!=_0x4a6b8b['newValueBoolean']&&_0x4a6b8b['hasOwnProperty']('newValueBoolean')&&(_0x3d34c5['newValueBoolean']=_0x4a6b8b['newValueBoolean']),null!=_0x4a6b8b['newValueJson']&&_0x4a6b8b['hasOwnProperty']('newValueJson')&&(_0x3d34c5['newValueJson']=_0x4a6b8b['newValueJson']),null!=_0x4a6b8b['wasUndone']&&_0x4a6b8b['hasOwnProperty']('wasUndone')&&(_0x3d34c5['wasUndone']=_0x4a6b8b['wasUndone']),_0x3d34c5;},_0x78b2a0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x78b2a0['getTypeUrl']=function(_0x42742e){return void 0x0===_0x42742e&&(_0x42742e='type.googleapis.com'),_0x42742e+'/RootAttributeOperation';},_0x78b2a0;}()),_0x3b1fae['RootOperation']=(function(){function _0x320d44(_0x44b34c){if(_0x44b34c){for(var _0x3c8cee=Object['keys'](_0x44b34c),_0x3274b0=0x0;_0x3274b0<_0x3c8cee['length'];++_0x3274b0)null!=_0x44b34c[_0x3c8cee[_0x3274b0]]&&'__proto__'!==_0x3c8cee[_0x3274b0]&&(this[_0x3c8cee[_0x3274b0]]=_0x44b34c[_0x3c8cee[_0x3274b0]]);}}return _0x320d44['prototype']['rootName']='',_0x320d44['prototype']['elementName']='',_0x320d44['prototype']['isAdd']=!0x1,_0x320d44['prototype']['wasUndone']=!0x1,_0x320d44['create']=function(_0x1c4424){return new _0x320d44(_0x1c4424);},_0x320d44['encode']=function(_0x32a295,_0x489928){return _0x489928||(_0x489928=_0x330298['create']()),null!=_0x32a295['rootName']&&Object['hasOwnProperty']['call'](_0x32a295,'rootName')&&_0x489928['uint32'](0xa)['string'](_0x32a295['rootName']),null!=_0x32a295['elementName']&&Object['hasOwnProperty']['call'](_0x32a295,'elementName')&&_0x489928['uint32'](0x12)['string'](_0x32a295['elementName']),null!=_0x32a295['isAdd']&&Object['hasOwnProperty']['call'](_0x32a295,'isAdd')&&_0x489928['uint32'](0x18)['bool'](_0x32a295['isAdd']),null!=_0x32a295['wasUndone']&&Object['hasOwnProperty']['call'](_0x32a295,'wasUndone')&&_0x489928['uint32'](0x20)['bool'](_0x32a295['wasUndone']),_0x489928;},_0x320d44['encodeDelimited']=function(_0x4054c7,_0x2cc157){return this['encode'](_0x4054c7,_0x2cc157)['ldelim']();},_0x320d44['decode']=function(_0x47496a,_0x2f5a58,_0x339833,_0x16c7db){if(_0x47496a instanceof _0x348a06||(_0x47496a=_0x348a06['create'](_0x47496a)),void 0x0===_0x16c7db&&(_0x16c7db=0x0),_0x16c7db>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4733a8=void 0x0===_0x2f5a58?_0x47496a['len']:_0x47496a['pos']+_0x2f5a58,_0x13beb3=new _0x3b1fae['RootOperation']();_0x47496a['pos']<_0x4733a8;){var _0x5dc621=_0x47496a['uint32']();if(_0x5dc621===_0x339833)break;switch(_0x5dc621>>>0x3){case 0x1:_0x13beb3['rootName']=_0x47496a['string']();break;case 0x2:_0x13beb3['elementName']=_0x47496a['string']();break;case 0x3:_0x13beb3['isAdd']=_0x47496a['bool']();break;case 0x4:_0x13beb3['wasUndone']=_0x47496a['bool']();break;default:_0x47496a['skipType'](0x7&_0x5dc621,_0x16c7db);}}return _0x13beb3;},_0x320d44['decodeDelimited']=function(_0x4f94b4){return _0x4f94b4 instanceof _0x348a06||(_0x4f94b4=new _0x348a06(_0x4f94b4)),this['decode'](_0x4f94b4,_0x4f94b4['uint32']());},_0x320d44['verify']=function(_0x467ca3,_0x5e5c17){return'object'!=typeof _0x467ca3||null===_0x467ca3?'object\x20expected':(void 0x0===_0x5e5c17&&(_0x5e5c17=0x0),_0x5e5c17>_0x4505bc['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x467ca3['rootName']&&_0x467ca3['hasOwnProperty']('rootName')&&!_0x4505bc['isString'](_0x467ca3['rootName'])?'rootName:\x20string\x20expected':null!=_0x467ca3['elementName']&&_0x467ca3['hasOwnProperty']('elementName')&&!_0x4505bc['isString'](_0x467ca3['elementName'])?'elementName:\x20string\x20expected':null!=_0x467ca3['isAdd']&&_0x467ca3['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x467ca3['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x467ca3['wasUndone']&&_0x467ca3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x467ca3['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x320d44['fromObject']=function(_0x3f3636,_0x40a50e){if(_0x3f3636 instanceof _0x3b1fae['RootOperation'])return _0x3f3636;if(void 0x0===_0x40a50e&&(_0x40a50e=0x0),_0x40a50e>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32b6cb=new _0x3b1fae['RootOperation']();return null!=_0x3f3636['rootName']&&(_0x32b6cb['rootName']=String(_0x3f3636['rootName'])),null!=_0x3f3636['elementName']&&(_0x32b6cb['elementName']=String(_0x3f3636['elementName'])),null!=_0x3f3636['isAdd']&&(_0x32b6cb['isAdd']=Boolean(_0x3f3636['isAdd'])),null!=_0x3f3636['wasUndone']&&(_0x32b6cb['wasUndone']=Boolean(_0x3f3636['wasUndone'])),_0x32b6cb;},_0x320d44['toObject']=function(_0x4a531f,_0x2ef023){_0x2ef023||(_0x2ef023={});var _0x5daf22={};return _0x2ef023['defaults']&&(_0x5daf22['rootName']='',_0x5daf22['elementName']='',_0x5daf22['isAdd']=!0x1,_0x5daf22['wasUndone']=!0x1),null!=_0x4a531f['rootName']&&_0x4a531f['hasOwnProperty']('rootName')&&(_0x5daf22['rootName']=_0x4a531f['rootName']),null!=_0x4a531f['elementName']&&_0x4a531f['hasOwnProperty']('elementName')&&(_0x5daf22['elementName']=_0x4a531f['elementName']),null!=_0x4a531f['isAdd']&&_0x4a531f['hasOwnProperty']('isAdd')&&(_0x5daf22['isAdd']=_0x4a531f['isAdd']),null!=_0x4a531f['wasUndone']&&_0x4a531f['hasOwnProperty']('wasUndone')&&(_0x5daf22['wasUndone']=_0x4a531f['wasUndone']),_0x5daf22;},_0x320d44['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x320d44['getTypeUrl']=function(_0x10f237){return void 0x0===_0x10f237&&(_0x10f237='type.googleapis.com'),_0x10f237+'/RootOperation';},_0x320d44;}()),_0x3b1fae['SplitOperation']=(function(){function _0x3e48cb(_0x4f67a3){if(_0x4f67a3){for(var _0x33de35=Object['keys'](_0x4f67a3),_0x199f58=0x0;_0x199f58<_0x33de35['length'];++_0x199f58)null!=_0x4f67a3[_0x33de35[_0x199f58]]&&'__proto__'!==_0x33de35[_0x199f58]&&(this[_0x33de35[_0x199f58]]=_0x4f67a3[_0x33de35[_0x199f58]]);}}return _0x3e48cb['prototype']['splitPosition']=null,_0x3e48cb['prototype']['graveyardPosition']=null,_0x3e48cb['prototype']['howMany']=0x0,_0x3e48cb['prototype']['insertionPosition']=null,_0x3e48cb['prototype']['wasUndone']=!0x1,_0x3e48cb['create']=function(_0x363900){return new _0x3e48cb(_0x363900);},_0x3e48cb['encode']=function(_0x161500,_0x61fe99){return _0x61fe99||(_0x61fe99=_0x330298['create']()),null!=_0x161500['splitPosition']&&Object['hasOwnProperty']['call'](_0x161500,'splitPosition')&&_0x3b1fae['Position']['encode'](_0x161500['splitPosition'],_0x61fe99['uint32'](0xa)['fork']())['ldelim'](),null!=_0x161500['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x161500,'graveyardPosition')&&_0x3b1fae['Position']['encode'](_0x161500['graveyardPosition'],_0x61fe99['uint32'](0x12)['fork']())['ldelim'](),null!=_0x161500['howMany']&&Object['hasOwnProperty']['call'](_0x161500,'howMany')&&_0x61fe99['uint32'](0x18)['uint32'](_0x161500['howMany']),null!=_0x161500['insertionPosition']&&Object['hasOwnProperty']['call'](_0x161500,'insertionPosition')&&_0x3b1fae['Position']['encode'](_0x161500['insertionPosition'],_0x61fe99['uint32'](0x22)['fork']())['ldelim'](),null!=_0x161500['wasUndone']&&Object['hasOwnProperty']['call'](_0x161500,'wasUndone')&&_0x61fe99['uint32'](0x28)['bool'](_0x161500['wasUndone']),_0x61fe99;},_0x3e48cb['encodeDelimited']=function(_0x12746a,_0x208a1e){return this['encode'](_0x12746a,_0x208a1e)['ldelim']();},_0x3e48cb['decode']=function(_0x482851,_0x5ba991,_0x192147,_0x148e74){if(_0x482851 instanceof _0x348a06||(_0x482851=_0x348a06['create'](_0x482851)),void 0x0===_0x148e74&&(_0x148e74=0x0),_0x148e74>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x291a71=void 0x0===_0x5ba991?_0x482851['len']:_0x482851['pos']+_0x5ba991,_0x52ae95=new _0x3b1fae['SplitOperation']();_0x482851['pos']<_0x291a71;){var _0x253cd1=_0x482851['uint32']();if(_0x253cd1===_0x192147)break;switch(_0x253cd1>>>0x3){case 0x1:_0x52ae95['splitPosition']=_0x3b1fae['Position']['decode'](_0x482851,_0x482851['uint32'](),void 0x0,_0x148e74+0x1);break;case 0x2:_0x52ae95['graveyardPosition']=_0x3b1fae['Position']['decode'](_0x482851,_0x482851['uint32'](),void 0x0,_0x148e74+0x1);break;case 0x3:_0x52ae95['howMany']=_0x482851['uint32']();break;case 0x4:_0x52ae95['insertionPosition']=_0x3b1fae['Position']['decode'](_0x482851,_0x482851['uint32'](),void 0x0,_0x148e74+0x1);break;case 0x5:_0x52ae95['wasUndone']=_0x482851['bool']();break;default:_0x482851['skipType'](0x7&_0x253cd1,_0x148e74);}}return _0x52ae95;},_0x3e48cb['decodeDelimited']=function(_0x44a10e){return _0x44a10e instanceof _0x348a06||(_0x44a10e=new _0x348a06(_0x44a10e)),this['decode'](_0x44a10e,_0x44a10e['uint32']());},_0x3e48cb['verify']=function(_0x17ab8c,_0x13f6c6){if('object'!=typeof _0x17ab8c||null===_0x17ab8c)return'object\x20expected';if(void 0x0===_0x13f6c6&&(_0x13f6c6=0x0),_0x13f6c6>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x3a0afc;if(null!=_0x17ab8c['splitPosition']&&_0x17ab8c['hasOwnProperty']('splitPosition')&&(_0x3a0afc=_0x3b1fae['Position']['verify'](_0x17ab8c['splitPosition'],_0x13f6c6+0x1)))return'splitPosition.'+_0x3a0afc;if(null!=_0x17ab8c['graveyardPosition']&&_0x17ab8c['hasOwnProperty']('graveyardPosition')&&(_0x3a0afc=_0x3b1fae['Position']['verify'](_0x17ab8c['graveyardPosition'],_0x13f6c6+0x1)))return'graveyardPosition.'+_0x3a0afc;if(null!=_0x17ab8c['howMany']&&_0x17ab8c['hasOwnProperty']('howMany')&&!_0x4505bc['isInteger'](_0x17ab8c['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x17ab8c['insertionPosition']&&_0x17ab8c['hasOwnProperty']('insertionPosition')&&(_0x3a0afc=_0x3b1fae['Position']['verify'](_0x17ab8c['insertionPosition'],_0x13f6c6+0x1)))return'insertionPosition.'+_0x3a0afc;return null!=_0x17ab8c['wasUndone']&&_0x17ab8c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x17ab8c['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3e48cb['fromObject']=function(_0x529335,_0xa796ba){if(_0x529335 instanceof _0x3b1fae['SplitOperation'])return _0x529335;if(void 0x0===_0xa796ba&&(_0xa796ba=0x0),_0xa796ba>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x175236=new _0x3b1fae['SplitOperation']();if(null!=_0x529335['splitPosition']){if('object'!=typeof _0x529335['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x175236['splitPosition']=_0x3b1fae['Position']['fromObject'](_0x529335['splitPosition'],_0xa796ba+0x1);}if(null!=_0x529335['graveyardPosition']){if('object'!=typeof _0x529335['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x175236['graveyardPosition']=_0x3b1fae['Position']['fromObject'](_0x529335['graveyardPosition'],_0xa796ba+0x1);}if(null!=_0x529335['howMany']&&(_0x175236['howMany']=_0x529335['howMany']>>>0x0),null!=_0x529335['insertionPosition']){if('object'!=typeof _0x529335['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x175236['insertionPosition']=_0x3b1fae['Position']['fromObject'](_0x529335['insertionPosition'],_0xa796ba+0x1);}return null!=_0x529335['wasUndone']&&(_0x175236['wasUndone']=Boolean(_0x529335['wasUndone'])),_0x175236;},_0x3e48cb['toObject']=function(_0x3d213f,_0x547d52){_0x547d52||(_0x547d52={});var _0x14f554={};return _0x547d52['defaults']&&(_0x14f554['splitPosition']=null,_0x14f554['graveyardPosition']=null,_0x14f554['howMany']=0x0,_0x14f554['insertionPosition']=null,_0x14f554['wasUndone']=!0x1),null!=_0x3d213f['splitPosition']&&_0x3d213f['hasOwnProperty']('splitPosition')&&(_0x14f554['splitPosition']=_0x3b1fae['Position']['toObject'](_0x3d213f['splitPosition'],_0x547d52)),null!=_0x3d213f['graveyardPosition']&&_0x3d213f['hasOwnProperty']('graveyardPosition')&&(_0x14f554['graveyardPosition']=_0x3b1fae['Position']['toObject'](_0x3d213f['graveyardPosition'],_0x547d52)),null!=_0x3d213f['howMany']&&_0x3d213f['hasOwnProperty']('howMany')&&(_0x14f554['howMany']=_0x3d213f['howMany']),null!=_0x3d213f['insertionPosition']&&_0x3d213f['hasOwnProperty']('insertionPosition')&&(_0x14f554['insertionPosition']=_0x3b1fae['Position']['toObject'](_0x3d213f['insertionPosition'],_0x547d52)),null!=_0x3d213f['wasUndone']&&_0x3d213f['hasOwnProperty']('wasUndone')&&(_0x14f554['wasUndone']=_0x3d213f['wasUndone']),_0x14f554;},_0x3e48cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3e48cb['getTypeUrl']=function(_0x10c035){return void 0x0===_0x10c035&&(_0x10c035='type.googleapis.com'),_0x10c035+'/SplitOperation';},_0x3e48cb;}()),_0x3b1fae['Position']=(function(){function _0x398de6(_0x3b22ed){if(this['path']=[],_0x3b22ed){for(var _0x3ea68d=Object['keys'](_0x3b22ed),_0x57c761=0x0;_0x57c761<_0x3ea68d['length'];++_0x57c761)null!=_0x3b22ed[_0x3ea68d[_0x57c761]]&&'__proto__'!==_0x3ea68d[_0x57c761]&&(this[_0x3ea68d[_0x57c761]]=_0x3b22ed[_0x3ea68d[_0x57c761]]);}}return _0x398de6['prototype']['root']='',_0x398de6['prototype']['rootMain']=!0x1,_0x398de6['prototype']['rootGraveyard']=!0x1,_0x398de6['prototype']['path']=_0x4505bc['emptyArray'],_0x398de6['prototype']['stickiness']='',_0x398de6['create']=function(_0x2164f8){return new _0x398de6(_0x2164f8);},_0x398de6['encode']=function(_0x350618,_0x5a31bb){if(_0x5a31bb||(_0x5a31bb=_0x330298['create']()),null!=_0x350618['root']&&Object['hasOwnProperty']['call'](_0x350618,'root')&&_0x5a31bb['uint32'](0xa)['string'](_0x350618['root']),null!=_0x350618['rootMain']&&Object['hasOwnProperty']['call'](_0x350618,'rootMain')&&_0x5a31bb['uint32'](0x10)['bool'](_0x350618['rootMain']),null!=_0x350618['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x350618,'rootGraveyard')&&_0x5a31bb['uint32'](0x18)['bool'](_0x350618['rootGraveyard']),null!=_0x350618['path']&&_0x350618['path']['length']){_0x5a31bb['uint32'](0x22)['fork']();for(var _0x1bd4a8=0x0;_0x1bd4a8<_0x350618['path']['length'];++_0x1bd4a8)_0x5a31bb['uint32'](_0x350618['path'][_0x1bd4a8]);_0x5a31bb['ldelim']();}return null!=_0x350618['stickiness']&&Object['hasOwnProperty']['call'](_0x350618,'stickiness')&&_0x5a31bb['uint32'](0x2a)['string'](_0x350618['stickiness']),_0x5a31bb;},_0x398de6['encodeDelimited']=function(_0x2fbcd5,_0x4d7b7c){return this['encode'](_0x2fbcd5,_0x4d7b7c)['ldelim']();},_0x398de6['decode']=function(_0x46885a,_0x210256,_0x3d1f32,_0x14da9f){if(_0x46885a instanceof _0x348a06||(_0x46885a=_0x348a06['create'](_0x46885a)),void 0x0===_0x14da9f&&(_0x14da9f=0x0),_0x14da9f>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3cd953=void 0x0===_0x210256?_0x46885a['len']:_0x46885a['pos']+_0x210256,_0x4a7ea2=new _0x3b1fae['Position']();_0x46885a['pos']<_0x3cd953;){var _0x12ee27=_0x46885a['uint32']();if(_0x12ee27===_0x3d1f32)break;switch(_0x12ee27>>>0x3){case 0x1:_0x4a7ea2['root']=_0x46885a['string']();break;case 0x2:_0x4a7ea2['rootMain']=_0x46885a['bool']();break;case 0x3:_0x4a7ea2['rootGraveyard']=_0x46885a['bool']();break;case 0x4:if(_0x4a7ea2['path']&&_0x4a7ea2['path']['length']||(_0x4a7ea2['path']=[]),0x2==(0x7&_0x12ee27)){for(var _0x336298=_0x46885a['uint32']()+_0x46885a['pos'];_0x46885a['pos']<_0x336298;)_0x4a7ea2['path']['push'](_0x46885a['uint32']());}else _0x4a7ea2['path']['push'](_0x46885a['uint32']());break;case 0x5:_0x4a7ea2['stickiness']=_0x46885a['string']();break;default:_0x46885a['skipType'](0x7&_0x12ee27,_0x14da9f);}}return _0x4a7ea2;},_0x398de6['decodeDelimited']=function(_0x347f67){return _0x347f67 instanceof _0x348a06||(_0x347f67=new _0x348a06(_0x347f67)),this['decode'](_0x347f67,_0x347f67['uint32']());},_0x398de6['verify']=function(_0x46f28e,_0x525285){if('object'!=typeof _0x46f28e||null===_0x46f28e)return'object\x20expected';if(void 0x0===_0x525285&&(_0x525285=0x0),_0x525285>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x46f28e['root']&&_0x46f28e['hasOwnProperty']('root')&&!_0x4505bc['isString'](_0x46f28e['root']))return'root:\x20string\x20expected';if(null!=_0x46f28e['rootMain']&&_0x46f28e['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x46f28e['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x46f28e['rootGraveyard']&&_0x46f28e['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x46f28e['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x46f28e['path']&&_0x46f28e['hasOwnProperty']('path')){if(!Array['isArray'](_0x46f28e['path']))return'path:\x20array\x20expected';for(var _0x16eff7=0x0;_0x16eff7<_0x46f28e['path']['length'];++_0x16eff7)if(!_0x4505bc['isInteger'](_0x46f28e['path'][_0x16eff7]))return'path:\x20integer[]\x20expected';}return null!=_0x46f28e['stickiness']&&_0x46f28e['hasOwnProperty']('stickiness')&&!_0x4505bc['isString'](_0x46f28e['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x398de6['fromObject']=function(_0x3ee1ba,_0x4a0bf6){if(_0x3ee1ba instanceof _0x3b1fae['Position'])return _0x3ee1ba;if(void 0x0===_0x4a0bf6&&(_0x4a0bf6=0x0),_0x4a0bf6>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe2ab4d=new _0x3b1fae['Position']();if(null!=_0x3ee1ba['root']&&(_0xe2ab4d['root']=String(_0x3ee1ba['root'])),null!=_0x3ee1ba['rootMain']&&(_0xe2ab4d['rootMain']=Boolean(_0x3ee1ba['rootMain'])),null!=_0x3ee1ba['rootGraveyard']&&(_0xe2ab4d['rootGraveyard']=Boolean(_0x3ee1ba['rootGraveyard'])),_0x3ee1ba['path']){if(!Array['isArray'](_0x3ee1ba['path']))throw TypeError('.Position.path:\x20array\x20expected');_0xe2ab4d['path']=[];for(var _0x1c4640=0x0;_0x1c4640<_0x3ee1ba['path']['length'];++_0x1c4640)_0xe2ab4d['path'][_0x1c4640]=_0x3ee1ba['path'][_0x1c4640]>>>0x0;}return null!=_0x3ee1ba['stickiness']&&(_0xe2ab4d['stickiness']=String(_0x3ee1ba['stickiness'])),_0xe2ab4d;},_0x398de6['toObject']=function(_0x5a8eb2,_0x5d54b1){_0x5d54b1||(_0x5d54b1={});var _0x4d0f1f={};if((_0x5d54b1['arrays']||_0x5d54b1['defaults'])&&(_0x4d0f1f['path']=[]),_0x5d54b1['defaults']&&(_0x4d0f1f['root']='',_0x4d0f1f['rootMain']=!0x1,_0x4d0f1f['rootGraveyard']=!0x1,_0x4d0f1f['stickiness']=''),null!=_0x5a8eb2['root']&&_0x5a8eb2['hasOwnProperty']('root')&&(_0x4d0f1f['root']=_0x5a8eb2['root']),null!=_0x5a8eb2['rootMain']&&_0x5a8eb2['hasOwnProperty']('rootMain')&&(_0x4d0f1f['rootMain']=_0x5a8eb2['rootMain']),null!=_0x5a8eb2['rootGraveyard']&&_0x5a8eb2['hasOwnProperty']('rootGraveyard')&&(_0x4d0f1f['rootGraveyard']=_0x5a8eb2['rootGraveyard']),_0x5a8eb2['path']&&_0x5a8eb2['path']['length']){_0x4d0f1f['path']=[];for(var _0x2f2851=0x0;_0x2f2851<_0x5a8eb2['path']['length'];++_0x2f2851)_0x4d0f1f['path'][_0x2f2851]=_0x5a8eb2['path'][_0x2f2851];}return null!=_0x5a8eb2['stickiness']&&_0x5a8eb2['hasOwnProperty']('stickiness')&&(_0x4d0f1f['stickiness']=_0x5a8eb2['stickiness']),_0x4d0f1f;},_0x398de6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x398de6['getTypeUrl']=function(_0x4e6178){return void 0x0===_0x4e6178&&(_0x4e6178='type.googleapis.com'),_0x4e6178+'/Position';},_0x398de6;}()),_0x3b1fae['Range']=(function(){function _0x227ee8(_0x55f87f){if(_0x55f87f){for(var _0x1be7d5=Object['keys'](_0x55f87f),_0x3c1cc5=0x0;_0x3c1cc5<_0x1be7d5['length'];++_0x3c1cc5)null!=_0x55f87f[_0x1be7d5[_0x3c1cc5]]&&'__proto__'!==_0x1be7d5[_0x3c1cc5]&&(this[_0x1be7d5[_0x3c1cc5]]=_0x55f87f[_0x1be7d5[_0x3c1cc5]]);}}return _0x227ee8['prototype']['start']=null,_0x227ee8['prototype']['end']=null,_0x227ee8['create']=function(_0x287887){return new _0x227ee8(_0x287887);},_0x227ee8['encode']=function(_0x4a9458,_0x38d419){return _0x38d419||(_0x38d419=_0x330298['create']()),null!=_0x4a9458['start']&&Object['hasOwnProperty']['call'](_0x4a9458,'start')&&_0x3b1fae['Position']['encode'](_0x4a9458['start'],_0x38d419['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4a9458['end']&&Object['hasOwnProperty']['call'](_0x4a9458,'end')&&_0x3b1fae['Position']['encode'](_0x4a9458['end'],_0x38d419['uint32'](0x12)['fork']())['ldelim'](),_0x38d419;},_0x227ee8['encodeDelimited']=function(_0x4a6339,_0x1c1e6b){return this['encode'](_0x4a6339,_0x1c1e6b)['ldelim']();},_0x227ee8['decode']=function(_0x388462,_0x3422ef,_0x343d60,_0x321977){if(_0x388462 instanceof _0x348a06||(_0x388462=_0x348a06['create'](_0x388462)),void 0x0===_0x321977&&(_0x321977=0x0),_0x321977>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x36d122=void 0x0===_0x3422ef?_0x388462['len']:_0x388462['pos']+_0x3422ef,_0x1e48eb=new _0x3b1fae['Range']();_0x388462['pos']<_0x36d122;){var _0x13d636=_0x388462['uint32']();if(_0x13d636===_0x343d60)break;switch(_0x13d636>>>0x3){case 0x1:_0x1e48eb['start']=_0x3b1fae['Position']['decode'](_0x388462,_0x388462['uint32'](),void 0x0,_0x321977+0x1);break;case 0x2:_0x1e48eb['end']=_0x3b1fae['Position']['decode'](_0x388462,_0x388462['uint32'](),void 0x0,_0x321977+0x1);break;default:_0x388462['skipType'](0x7&_0x13d636,_0x321977);}}return _0x1e48eb;},_0x227ee8['decodeDelimited']=function(_0x38543d){return _0x38543d instanceof _0x348a06||(_0x38543d=new _0x348a06(_0x38543d)),this['decode'](_0x38543d,_0x38543d['uint32']());},_0x227ee8['verify']=function(_0x14eb59,_0x54f4c4){if('object'!=typeof _0x14eb59||null===_0x14eb59)return'object\x20expected';if(void 0x0===_0x54f4c4&&(_0x54f4c4=0x0),_0x54f4c4>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1a7959;if(null!=_0x14eb59['start']&&_0x14eb59['hasOwnProperty']('start')&&(_0x1a7959=_0x3b1fae['Position']['verify'](_0x14eb59['start'],_0x54f4c4+0x1)))return'start.'+_0x1a7959;if(null!=_0x14eb59['end']&&_0x14eb59['hasOwnProperty']('end')&&(_0x1a7959=_0x3b1fae['Position']['verify'](_0x14eb59['end'],_0x54f4c4+0x1)))return'end.'+_0x1a7959;return null;},_0x227ee8['fromObject']=function(_0x25e07f,_0x5b332b){if(_0x25e07f instanceof _0x3b1fae['Range'])return _0x25e07f;if(void 0x0===_0x5b332b&&(_0x5b332b=0x0),_0x5b332b>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc325c1=new _0x3b1fae['Range']();if(null!=_0x25e07f['start']){if('object'!=typeof _0x25e07f['start'])throw TypeError('.Range.start:\x20object\x20expected');_0xc325c1['start']=_0x3b1fae['Position']['fromObject'](_0x25e07f['start'],_0x5b332b+0x1);}if(null!=_0x25e07f['end']){if('object'!=typeof _0x25e07f['end'])throw TypeError('.Range.end:\x20object\x20expected');_0xc325c1['end']=_0x3b1fae['Position']['fromObject'](_0x25e07f['end'],_0x5b332b+0x1);}return _0xc325c1;},_0x227ee8['toObject']=function(_0x389165,_0x225133){_0x225133||(_0x225133={});var _0x4f1a4c={};return _0x225133['defaults']&&(_0x4f1a4c['start']=null,_0x4f1a4c['end']=null),null!=_0x389165['start']&&_0x389165['hasOwnProperty']('start')&&(_0x4f1a4c['start']=_0x3b1fae['Position']['toObject'](_0x389165['start'],_0x225133)),null!=_0x389165['end']&&_0x389165['hasOwnProperty']('end')&&(_0x4f1a4c['end']=_0x3b1fae['Position']['toObject'](_0x389165['end'],_0x225133)),_0x4f1a4c;},_0x227ee8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x227ee8['getTypeUrl']=function(_0x4abc7e){return void 0x0===_0x4abc7e&&(_0x4abc7e='type.googleapis.com'),_0x4abc7e+'/Range';},_0x227ee8;}()),_0x3b1fae['Element']=(function(){function _0x5173ab(_0x172ef3){if(this['children']=[],this['attributesBoolean']={},_0x172ef3){for(var _0x56120c=Object['keys'](_0x172ef3),_0x2ea23e=0x0;_0x2ea23e<_0x56120c['length'];++_0x2ea23e)null!=_0x172ef3[_0x56120c[_0x2ea23e]]&&'__proto__'!==_0x56120c[_0x2ea23e]&&(this[_0x56120c[_0x2ea23e]]=_0x172ef3[_0x56120c[_0x2ea23e]]);}}return _0x5173ab['prototype']['name']='',_0x5173ab['prototype']['children']=_0x4505bc['emptyArray'],_0x5173ab['prototype']['data']='',_0x5173ab['prototype']['attributesBoolean']=_0x4505bc['emptyObject'],_0x5173ab['prototype']['attributesJson']='',_0x5173ab['create']=function(_0x5ee5f1){return new _0x5173ab(_0x5ee5f1);},_0x5173ab['encode']=function(_0x2e807b,_0x3acd4a){if(_0x3acd4a||(_0x3acd4a=_0x330298['create']()),null!=_0x2e807b['name']&&Object['hasOwnProperty']['call'](_0x2e807b,'name')&&_0x3acd4a['uint32'](0xa)['string'](_0x2e807b['name']),null!=_0x2e807b['children']&&_0x2e807b['children']['length']){for(var _0x4a991e=0x0;_0x4a991e<_0x2e807b['children']['length'];++_0x4a991e)_0x3b1fae['Element']['encode'](_0x2e807b['children'][_0x4a991e],_0x3acd4a['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x2e807b['data']&&Object['hasOwnProperty']['call'](_0x2e807b,'data')&&_0x3acd4a['uint32'](0x1a)['string'](_0x2e807b['data']),null!=_0x2e807b['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x2e807b,'attributesBoolean')){var _0x3df787=Object['keys'](_0x2e807b['attributesBoolean']);for(_0x4a991e=0x0;_0x4a991e<_0x3df787['length'];++_0x4a991e)_0x3acd4a['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x3df787[_0x4a991e])['uint32'](0x10)['bool'](_0x2e807b['attributesBoolean'][_0x3df787[_0x4a991e]])['ldelim']();}return null!=_0x2e807b['attributesJson']&&Object['hasOwnProperty']['call'](_0x2e807b,'attributesJson')&&_0x3acd4a['uint32'](0x2a)['string'](_0x2e807b['attributesJson']),_0x3acd4a;},_0x5173ab['encodeDelimited']=function(_0x32e799,_0x54fa50){return this['encode'](_0x32e799,_0x54fa50)['ldelim']();},_0x5173ab['decode']=function(_0x314a6f,_0x2dc869,_0x3e0866,_0x3ad1c1){if(_0x314a6f instanceof _0x348a06||(_0x314a6f=_0x348a06['create'](_0x314a6f)),void 0x0===_0x3ad1c1&&(_0x3ad1c1=0x0),_0x3ad1c1>_0x348a06['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3535bd,_0x51047b,_0x2e2786=void 0x0===_0x2dc869?_0x314a6f['len']:_0x314a6f['pos']+_0x2dc869,_0x1d2f7c=new _0x3b1fae['Element']();_0x314a6f['pos']<_0x2e2786;){var _0x59e0e3=_0x314a6f['uint32']();if(_0x59e0e3===_0x3e0866)break;switch(_0x59e0e3>>>0x3){case 0x1:_0x1d2f7c['name']=_0x314a6f['string']();break;case 0x2:_0x1d2f7c['children']&&_0x1d2f7c['children']['length']||(_0x1d2f7c['children']=[]),_0x1d2f7c['children']['push'](_0x3b1fae['Element']['decode'](_0x314a6f,_0x314a6f['uint32'](),void 0x0,_0x3ad1c1+0x1));break;case 0x3:_0x1d2f7c['data']=_0x314a6f['string']();break;case 0x4:_0x1d2f7c['attributesBoolean']===_0x4505bc['emptyObject']&&(_0x1d2f7c['attributesBoolean']={});var _0x16a7c7=_0x314a6f['uint32']()+_0x314a6f['pos'];for(_0x3535bd='',_0x51047b=!0x1;_0x314a6f['pos']<_0x16a7c7;){var _0xe46302=_0x314a6f['uint32']();switch(_0xe46302>>>0x3){case 0x1:_0x3535bd=_0x314a6f['string']();break;case 0x2:_0x51047b=_0x314a6f['bool']();break;default:_0x314a6f['skipType'](0x7&_0xe46302,_0x3ad1c1);}}'__proto__'===_0x3535bd&&_0x4505bc['makeProp'](_0x1d2f7c['attributesBoolean'],_0x3535bd),_0x1d2f7c['attributesBoolean'][_0x3535bd]=_0x51047b;break;case 0x5:_0x1d2f7c['attributesJson']=_0x314a6f['string']();break;default:_0x314a6f['skipType'](0x7&_0x59e0e3,_0x3ad1c1);}}return _0x1d2f7c;},_0x5173ab['decodeDelimited']=function(_0x5615f0){return _0x5615f0 instanceof _0x348a06||(_0x5615f0=new _0x348a06(_0x5615f0)),this['decode'](_0x5615f0,_0x5615f0['uint32']());},_0x5173ab['verify']=function(_0x311585,_0xbcd42d){if('object'!=typeof _0x311585||null===_0x311585)return'object\x20expected';if(void 0x0===_0xbcd42d&&(_0xbcd42d=0x0),_0xbcd42d>_0x4505bc['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x311585['name']&&_0x311585['hasOwnProperty']('name')&&!_0x4505bc['isString'](_0x311585['name']))return'name:\x20string\x20expected';if(null!=_0x311585['children']&&_0x311585['hasOwnProperty']('children')){if(!Array['isArray'](_0x311585['children']))return'children:\x20array\x20expected';for(var _0x139261=0x0;_0x139261<_0x311585['children']['length'];++_0x139261){var _0xb40720=_0x3b1fae['Element']['verify'](_0x311585['children'][_0x139261],_0xbcd42d+0x1);if(_0xb40720)return'children.'+_0xb40720;}}if(null!=_0x311585['data']&&_0x311585['hasOwnProperty']('data')&&!_0x4505bc['isString'](_0x311585['data']))return'data:\x20string\x20expected';if(null!=_0x311585['attributesBoolean']&&_0x311585['hasOwnProperty']('attributesBoolean')){if(!_0x4505bc['isObject'](_0x311585['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x313c09=Object['keys'](_0x311585['attributesBoolean']);for(_0x139261=0x0;_0x139261<_0x313c09['length'];++_0x139261)if('boolean'!=typeof _0x311585['attributesBoolean'][_0x313c09[_0x139261]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x311585['attributesJson']&&_0x311585['hasOwnProperty']('attributesJson')&&!_0x4505bc['isString'](_0x311585['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x5173ab['fromObject']=function(_0x20d9d1,_0x4b493e){if(_0x20d9d1 instanceof _0x3b1fae['Element'])return _0x20d9d1;if(void 0x0===_0x4b493e&&(_0x4b493e=0x0),_0x4b493e>_0x4505bc['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x356de9=new _0x3b1fae['Element']();if(null!=_0x20d9d1['name']&&(_0x356de9['name']=String(_0x20d9d1['name'])),_0x20d9d1['children']){if(!Array['isArray'](_0x20d9d1['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x356de9['children']=[];for(var _0x6781ab=0x0;_0x6781ab<_0x20d9d1['children']['length'];++_0x6781ab){if('object'!=typeof _0x20d9d1['children'][_0x6781ab])throw TypeError('.Element.children:\x20object\x20expected');_0x356de9['children'][_0x6781ab]=_0x3b1fae['Element']['fromObject'](_0x20d9d1['children'][_0x6781ab],_0x4b493e+0x1);}}if(null!=_0x20d9d1['data']&&(_0x356de9['data']=String(_0x20d9d1['data'])),_0x20d9d1['attributesBoolean']){if('object'!=typeof _0x20d9d1['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x356de9['attributesBoolean']={};var _0x2167af=Object['keys'](_0x20d9d1['attributesBoolean']);for(_0x6781ab=0x0;_0x6781ab<_0x2167af['length'];++_0x6781ab)'__proto__'===_0x2167af[_0x6781ab]&&_0x4505bc['makeProp'](_0x356de9['attributesBoolean'],_0x2167af[_0x6781ab]),_0x356de9['attributesBoolean'][_0x2167af[_0x6781ab]]=Boolean(_0x20d9d1['attributesBoolean'][_0x2167af[_0x6781ab]]);}return null!=_0x20d9d1['attributesJson']&&(_0x356de9['attributesJson']=String(_0x20d9d1['attributesJson'])),_0x356de9;},_0x5173ab['toObject']=function(_0x45c37a,_0x562cf9){_0x562cf9||(_0x562cf9={});var _0x9d3400,_0x19f274={};if((_0x562cf9['arrays']||_0x562cf9['defaults'])&&(_0x19f274['children']=[]),(_0x562cf9['objects']||_0x562cf9['defaults'])&&(_0x19f274['attributesBoolean']={}),_0x562cf9['defaults']&&(_0x19f274['name']='',_0x19f274['data']='',_0x19f274['attributesJson']=''),null!=_0x45c37a['name']&&_0x45c37a['hasOwnProperty']('name')&&(_0x19f274['name']=_0x45c37a['name']),_0x45c37a['children']&&_0x45c37a['children']['length']){_0x19f274['children']=[];for(var _0x17d26f=0x0;_0x17d26f<_0x45c37a['children']['length'];++_0x17d26f)_0x19f274['children'][_0x17d26f]=_0x3b1fae['Element']['toObject'](_0x45c37a['children'][_0x17d26f],_0x562cf9);}if(null!=_0x45c37a['data']&&_0x45c37a['hasOwnProperty']('data')&&(_0x19f274['data']=_0x45c37a['data']),_0x45c37a['attributesBoolean']&&(_0x9d3400=Object['keys'](_0x45c37a['attributesBoolean']))['length']){_0x19f274['attributesBoolean']={};for(_0x17d26f=0x0;_0x17d26f<_0x9d3400['length'];++_0x17d26f)'__proto__'===_0x9d3400[_0x17d26f]&&_0x4505bc['makeProp'](_0x19f274['attributesBoolean'],_0x9d3400[_0x17d26f]),_0x19f274['attributesBoolean'][_0x9d3400[_0x17d26f]]=_0x45c37a['attributesBoolean'][_0x9d3400[_0x17d26f]];}return null!=_0x45c37a['attributesJson']&&_0x45c37a['hasOwnProperty']('attributesJson')&&(_0x19f274['attributesJson']=_0x45c37a['attributesJson']),_0x19f274;},_0x5173ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5173ab['getTypeUrl']=function(_0x300bdf){return void 0x0===_0x300bdf&&(_0x300bdf='type.googleapis.com'),_0x300bdf+'/Element';},_0x5173ab;}()),_0x3b1fae;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=Ab;}['getDescriptor'](_0x181a7c){return new ProtobufDescriptor(this['_protobufRoot'][_0x181a7c]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x29f2c9){this['_protobuf']=_0x29f2c9;}['compress'](_0x2fc653){const _0xf94ee1=this['_protobuf']['verify'](_0x2fc653);if(_0xf94ee1)throw Error(_0xf94ee1);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x2fc653))['finish']();}['decompress'](_0x2493e4){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x2493e4),{'oneofs':!0x0});}}function Sb(_0x12b1b1,_0x304303){const _0x2f378d=Cr(_0x12b1b1);return _0x2f378d['path'][_0x2f378d['path']['length']-0x1]+=_0x304303,_0x2f378d;}function Ib(_0x4600de,_0x499cf7){return _0x4600de['root']===_0x499cf7['root']&&Zr(_0x4600de['path'],_0x499cf7['path']);}function Cb(_0x3984ef){xb(_0x3984ef,_0x37f64e=>('main'==_0x37f64e['root']?(_0x37f64e['rootMain']=!0x0,delete _0x37f64e['root']):'$graveyard'==_0x37f64e['root']&&(_0x37f64e['rootGraveyard']=!0x0,delete _0x37f64e['root']),_0x37f64e));}function kb(_0x123736){xb(_0x123736,_0x52b515=>(_0x52b515['rootMain']?(_0x52b515['root']='main',delete _0x52b515['rootMain']):_0x52b515['rootGraveyard']&&(_0x52b515['root']='$graveyard',delete _0x52b515['rootGraveyard']),_0x52b515));}function xb(_0x496a50,_0x4a88c8){for(const _0x39aff7 in _0x496a50){const _0x4038b1=_0x496a50[_0x39aff7];'nodes'!==_0x39aff7&&Kn(_0x4038b1)&&(_0x4038b1['path']&&(_0x4038b1['root']||_0x4038b1['rootMain']||_0x4038b1['rootGraveyard'])?_0x496a50[_0x39aff7]=_0x4a88c8(_0x4038b1):xb(_0x4038b1,_0x4a88c8));}return _0x496a50;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x19d2ad,_0x4372a7,_0x235e7d){this['_id']=_0x19d2ad,this['_operationName']=_0x4372a7,this['_protobufDescriptor']=_0x235e7d;}['compress'](_0x140d50,_0x5a3d4c){const _0x12ebea=_0x5a3d4c['operations'][_0x5a3d4c['index']++];return Cb(_0x12ebea),_0x140d50['buffers']['push'](this['_protobufDescriptor']['compress'](_0x12ebea)),_0x140d50['types']['push'](this['_id']),!0x0;}['decompress'](_0x4de98b,_0x3c3440){_0x3c3440['typeIndex']++;const _0x3f5a7a=_0x3c3440['buffers'][_0x3c3440['bufferIndex']++],_0x54b768=this['_protobufDescriptor']['decompress'](_0x3f5a7a);kb(_0x54b768),_0x54b768['__className']=this['_operationName'],_0x4de98b['push'](_0x54b768);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x48aaad,_0x2c6a57){const _0x514c6b=_0x2c6a57['operations'][_0x2c6a57['index']++];return this['_serializeOneOf']('oldValue',_0x514c6b),this['_serializeOneOf']('newValue',_0x514c6b),Cb(_0x514c6b),_0x48aaad['buffers']['push'](this['_protobufDescriptor']['compress'](_0x514c6b)),_0x48aaad['types']['push'](this['_id']),!0x0;}['decompress'](_0x554045,_0x1caf03){_0x1caf03['typeIndex']++;const _0x94d3f3=_0x1caf03['buffers'][_0x1caf03['bufferIndex']++],_0x157939=this['_protobufDescriptor']['decompress'](_0x94d3f3);this['_deserializeOneOf']('oldValue',_0x157939),this['_deserializeOneOf']('newValue',_0x157939),kb(_0x157939),_0x157939['__className']=this['_operationName'],_0x554045['push'](_0x157939);}['_serializeOneOf'](_0x4b8124,_0x29541d){const _0x558761=_0x29541d[_0x4b8124];'boolean'==typeof _0x558761?_0x29541d[_0x4b8124+'Boolean']=_0x558761:_0x29541d[_0x4b8124+'Json']=JSON['stringify'](_0x558761);}['_deserializeOneOf'](_0x190feb,_0x11ea59){const _0x396896=_0x190feb+'Json';_0x11ea59[_0x396896]?(_0x11ea59[_0x190feb]=JSON['parse'](_0x11ea59[_0x396896]),delete _0x11ea59[_0x396896]):(_0x11ea59[_0x190feb]=_0x11ea59[_0x190feb+'Boolean'],delete _0x11ea59[_0x190feb+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0xb51700,_0x3acf19){const _0x810d03=_0x3acf19['operations'][_0x3acf19['index']++];return this['_serializeNodesAttributes'](_0x810d03['nodes']),Cb(_0x810d03),_0xb51700['buffers']['push'](this['_protobufDescriptor']['compress'](_0x810d03)),_0xb51700['types']['push'](this['_id']),!0x0;}['decompress'](_0x172da6,_0x39de68){_0x39de68['typeIndex']++;const _0x38f27f=_0x39de68['buffers'][_0x39de68['bufferIndex']++],_0x1e074a=this['_protobufDescriptor']['decompress'](_0x38f27f);_0x1e074a['nodes']||(_0x1e074a['nodes']=[]),this['_deserializeNodesAttributes'](_0x1e074a['nodes']),kb(_0x1e074a),_0x1e074a['__className']=this['_operationName'],_0x172da6['push'](_0x1e074a);}['_serializeNodesAttributes'](_0x2e7749){for(const _0x4688fc of _0x2e7749){if(_0x4688fc['attributes']){const _0xe2bb10=_0x4688fc['attributes'];this['_areValuesBoolean'](_0xe2bb10)?_0x4688fc['attributesBoolean']=_0xe2bb10:_0x4688fc['attributesJson']=JSON['stringify'](_0xe2bb10);}_0x4688fc['children']&&this['_serializeNodesAttributes'](_0x4688fc['children']);}}['_deserializeNodesAttributes'](_0x3bc6af){for(const _0x2c8bc7 of _0x3bc6af)(_0x2c8bc7['attributesBoolean']||_0x2c8bc7['attributesJson'])&&(_0x2c8bc7['attributesBoolean']?(_0x2c8bc7['attributes']=_0x2c8bc7['attributesBoolean'],delete _0x2c8bc7['attributesBoolean']):(_0x2c8bc7['attributes']=JSON['parse'](_0x2c8bc7['attributesJson']),delete _0x2c8bc7['attributesJson'])),_0x2c8bc7['children']&&this['_deserializeNodesAttributes'](_0x2c8bc7['children']);}['_areValuesBoolean'](_0x28885e){return Object['keys'](_0x28885e)['every'](_0xc6cee0=>'boolean'==typeof _0x28885e[_0xc6cee0]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x2c819f,_0x180a49){super['decompress'](_0x2c819f,_0x180a49);const _0x28b1b2=_0x2c819f[_0x2c819f['length']-0x1];_0x28b1b2['oldRange']||(_0x28b1b2['oldRange']=null),_0x28b1b2['newRange']||(_0x28b1b2['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x3ad396,_0x4f6616){return _0x4f6616['index']++,_0x3ad396['types']['push'](this['_id']),!0x0;}['decompress'](_0x5828c8,_0x32c427){_0x32c427['typeIndex']++,_0x5828c8['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x1684d6,_0x449bfc,_0x14f4fa,_0x222a48){super(_0x1684d6,_0x449bfc,_0x14f4fa),this['_omittedNamespace']=_0x222a48+':';}['compress'](_0x586fc0,_0x1fbc20){const _0x415b6a=_0x1fbc20['operations'][_0x1fbc20['index']];return!('MarkerOperation'!=_0x415b6a['__className']||!_0x415b6a['name']['startsWith'](this['_omittedNamespace']))&&(_0x415b6a['name']=_0x415b6a['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x586fc0,_0x1fbc20),!0x0);}['decompress'](_0x461c23,_0x458b34){super['decompress'](_0x461c23,_0x458b34);const _0x2b219c=_0x461c23[_0x461c23['length']-0x1];_0x2b219c['name']=this['_omittedNamespace']+_0x2b219c['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0xb6132d,_0x223e64){this['_id']=_0xb6132d,this['_context']=_0x223e64;}['compress'](_0x5d28bd,_0x3a9f18){let _0x489805,_0x515850=_0x3a9f18['operations'][_0x3a9f18['index']],_0xc5855=_0x3a9f18['operations'][_0x3a9f18['index']+0x1];for(;_0xc5855&&this['_compareOperations'](_0x515850,_0xc5855);)_0x489805?(_0x489805=this['_combineNext'](_0x515850,_0x489805),_0x5d28bd['types']['push'](0x0)):(_0x489805=Cr(_0x515850),_0x5d28bd['types']['push'](this['_id'])),_0x3a9f18['index']++,_0x515850=_0x3a9f18['operations'][_0x3a9f18['index']],_0xc5855=_0x3a9f18['operations'][_0x3a9f18['index']+0x1];return!!_0x489805&&(_0x489805=this['_combineNext'](_0x3a9f18['operations'][_0x3a9f18['index']++],_0x489805),_0x5d28bd['types']['push'](0x0),_0x5d28bd['buffers']['push'](this['_compressSingleOperation'](_0x489805)),!0x0);}['decompress'](_0x5d9236,_0x54dbdb){const _0x217386=this['_decompressSingleOperation'](_0x54dbdb);for(;0x0==_0x54dbdb['types'][_0x54dbdb['typeIndex']];)_0x54dbdb['typeIndex']++,_0x5d9236['push'](this['_splitCurrent'](_0x217386));_0x5d9236['push'](_0x217386);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x5ccf31,_0x134b5d){return _0x134b5d['nodes'][0x0]['data']+=_0x5ccf31['nodes'][0x0]['data'],_0x134b5d;}['_splitCurrent'](_0x4553ca){const _0x4a8a29=Cr(_0x4553ca),_0x40399b=_0x4a8a29['nodes'][0x0],_0x418782=_0x4553ca['nodes'][0x0],_0x257181=_0x418782['data'][Symbol['iterator']]()['next']()['value'],_0x2370c6=_0x257181['length'];return _0x40399b['data']=_0x257181,_0x418782['data']=_0x418782['data']['substr'](_0x2370c6),_0x4553ca['position']=Sb(_0x4553ca['position'],_0x2370c6),_0x4a8a29;}['_compareOperations'](_0x345486,_0x14b5f9){if(this['_checkOperation'](_0x345486)&&this['_checkOperation'](_0x14b5f9)){const _0x115397=_0x345486['nodes'][0x0]['data']['length'],_0x507880=Ib(Sb(_0x345486['position'],_0x115397),_0x14b5f9['position']),_0xb55d24=_0x345486['nodes'][0x0],_0x407a61=_0x14b5f9['nodes'][0x0];return _0x507880&&this['_compareAttributes'](_0xb55d24,_0x407a61);}return!0x1;}['_compressSingleOperation'](_0x13ae82){const _0x2df423={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x2df423,{'operations':[_0x13ae82],'index':0x0}),_0x2df423['buffers'][0x0];}['_decompressSingleOperation'](_0x139dbc){const _0x2149ab=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x2149ab,_0x139dbc),_0x2149ab[0x0];}['_checkOperation'](_0x90d76c){return'InsertOperation'==_0x90d76c['__className']&&0x1==_0x90d76c['nodes']['length']&&_0x90d76c['nodes'][0x0]['data']&&!_0x90d76c['wasUndone']&&0x1==Array['from'](_0x90d76c['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0xb91327,_0x2deae3){const _0x36230c=Object['keys'](_0xb91327['attributes']||{}),_0xbae367=Object['keys'](_0x2deae3['attributes']||{});return _0x36230c['length']===_0xbae367['length']&&_0x36230c['every'](_0x14e10a=>_0x2deae3['attributes'][_0x14e10a]&&_0x2deae3['attributes'][_0x14e10a]===_0xb91327['attributes'][_0x14e10a]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x2ca991,_0x5bd759){return _0x5bd759['howMany']++,_0x5bd759['sourcePosition']=Cr(_0x2ca991['sourcePosition']),_0x5bd759;}['_splitCurrent'](_0x473eaa){const _0x395764=Cr(_0x473eaa);return _0x473eaa['howMany']--,_0x395764['howMany']=0x1,_0x395764['sourcePosition']=Sb(_0x395764['sourcePosition'],_0x473eaa['howMany']),_0x395764;}['_compareOperations'](_0x4fd2d5,_0x30eccf){return!(!this['_checkOperation'](_0x4fd2d5)||!this['_checkOperation'](_0x30eccf))&&(Ib(Sb(_0x4fd2d5['sourcePosition'],-0x1),_0x30eccf['sourcePosition'])&&Ib(_0x4fd2d5['targetPosition'],_0x30eccf['targetPosition']));}['_compressSingleOperation'](_0xf55ef2){const _0x32be15={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x32be15,{'operations':[_0xf55ef2],'index':0x0}),_0x32be15['buffers'][0x0];}['_decompressSingleOperation'](_0x54efc9){const _0x1e68f9=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x1e68f9,_0x54efc9),_0x1e68f9[0x0];}['_checkOperation'](_0x3063d2){return'MoveOperation'==_0x3063d2['__className']&&'$graveyard'==_0x3063d2['targetPosition']['root']&&0x1==_0x3063d2['howMany']&&!_0x3063d2['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x3d1134,_0x32a58e){return _0x32a58e['howMany']++,_0x32a58e;}['_splitCurrent'](_0x548a9b){const _0x29ca19=Cr(_0x548a9b);return _0x29ca19['howMany']=0x1,_0x548a9b['howMany']--,_0x29ca19;}['_compareOperations'](_0x5c0cdf,_0x34cea7){return!(!this['_checkOperation'](_0x5c0cdf)||!this['_checkOperation'](_0x34cea7))&&(Ib(_0x5c0cdf['sourcePosition'],_0x34cea7['sourcePosition'])&&Ib(_0x5c0cdf['targetPosition'],_0x34cea7['targetPosition']));}['_compressSingleOperation'](_0x1b89a0){const _0x585591={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x585591,{'operations':[_0x1b89a0],'index':0x0}),_0x585591['buffers'][0x0];}['_decompressSingleOperation'](_0x2a412d){const _0x4c3190=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4c3190,_0x2a412d),_0x4c3190[0x0];}['_checkOperation'](_0x370751){return'MoveOperation'==_0x370751['__className']&&'$graveyard'==_0x370751['targetPosition']['root']&&0x1==_0x370751['howMany']&&!_0x370751['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x331ab1,_0x2023e6){if(!this['_compareOperations'](_0x2023e6['operations'][_0x2023e6['index']],_0x2023e6['operations'][_0x2023e6['index']+0x1]))return!0x1;const _0x3ea36a=_0x2023e6['operations'][_0x2023e6['index']++];return _0x3ea36a['oldRange']=null,_0x3ea36a['newRange']&&Ib(_0x3ea36a['newRange']['start'],_0x3ea36a['newRange']['end'])&&(_0x3ea36a['newRange']['end']=null),_0x2023e6['index']++,_0x331ab1['types']['push'](this['_id']),_0x331ab1['types']['push'](0x0),_0x331ab1['buffers']['push'](this['_compressSingleOperation'](_0x3ea36a)),!0x0;}['decompress'](_0x5f9fc5,_0x4b29bc){const _0x3aa900=this['_decompressSingleOperation'](_0x4b29bc);_0x3aa900['newRange']&&!_0x3aa900['newRange']['end']&&(_0x3aa900['newRange']['end']=Cr(_0x3aa900['newRange']['start']));const _0x457e3f=Cr(_0x3aa900);_0x457e3f['newRange']&&(_0x457e3f['newRange']['start']['stickiness']='toNone',_0x457e3f['newRange']['end']=Cr(_0x457e3f['newRange']['start'])),_0x457e3f['name']='user:position:'+_0x457e3f['name']['split'](':')[0x2],_0x4b29bc['typeIndex']++,_0x5f9fc5['push'](_0x3aa900),_0x5f9fc5['push'](_0x457e3f);}['_compressSingleOperation'](_0xb2720b){const _0x514189={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x514189,{'operations':[_0xb2720b],'index':0x0}),_0x514189['buffers'][0x0];}['_decompressSingleOperation'](_0x2e25c8){const _0x13541a=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x13541a,_0x2e25c8),_0x13541a[0x0];}['_compareOperations'](_0x36d0bc,_0x134306){return!(!_0x36d0bc||!_0x134306)&&('MarkerOperation'==_0x36d0bc['__className']&&'MarkerOperation'==_0x134306['__className']&&!(!_0x36d0bc['name']['startsWith']('user:')||!_0x134306['name']['startsWith']('user:')||_0x36d0bc['name']==_0x134306['name']));}}class Compressor{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x241b84=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',_0x241b84,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x241b84,'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'](_0x58eb38){if(!_0x58eb38||!_0x58eb38[0x0])throw new _0x1976e8('no-operations-provided',this);const _0xc30768={'operations':_0x58eb38,'index':0x0},_0x5e53a2={'types':[],'buffers':[],'baseVersion':_0x58eb38[0x0]['baseVersion']};for(;_0xc30768['index']<_0xc30768['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x5e53a2,_0xc30768))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x5e53a2,_0xc30768))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x5e53a2,_0xc30768))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x5e53a2,_0xc30768))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x5e53a2,_0xc30768))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x5e53a2,_0xc30768))continue;const _0x2c1c95=_0xc30768['operations'][_0xc30768['index']]['__className'];this['_getCompressorByName'](_0x2c1c95)['compress'](_0x5e53a2,_0xc30768);}return _0x5e53a2;}['decompress'](_0x3e4359){const _0x607b2e=[],_0xfe2f2c={'types':_0x3e4359['types'],'buffers':_0x3e4359['buffers'],'baseVersion':_0x3e4359['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0xfe2f2c['typeIndex']<_0xfe2f2c['types']['length'];){const _0x3642e2=_0xfe2f2c['types'][_0xfe2f2c['typeIndex']],_0x4edc4b=this['_compressorById']['get'](_0x3642e2);if(!_0x4edc4b)throw new _0x1976e8('decompress-compressor-not-found',this,{'type':_0x3642e2});_0x4edc4b['decompress'](_0x607b2e,_0xfe2f2c);}return _0x607b2e['forEach']((_0x1fca35,_0x3164aa)=>_0x1fca35['baseVersion']=_0x3e4359['baseVersion']+_0x3164aa),_0x607b2e;}['_getCompressorByName'](_0x2523a3){return this['_compressorByName']['get'](_0x2523a3);}['_registerOperationCompressor'](_0x566819,_0x1b852e,_0x2b79ab){const _0x1c473a=new _0x2b79ab(_0x566819,_0x1b852e,this['_protobufFactory']['getDescriptor'](_0x1b852e));this['_registerCompressor'](_0x566819,_0x1b852e,_0x1c473a);}['_registerActionCompressor'](_0x5e1c4d,_0x38cd04,_0x2cdd29){const _0x5b4626=new _0x2cdd29(_0x5e1c4d,this);this['_registerCompressor'](_0x5e1c4d,_0x38cd04,_0x5b4626);}['_registerCompressor'](_0x578cdb,_0x38adf2,_0x2125c6){this['_compressorById']['set'](_0x578cdb,_0x2125c6),this['_compressorByName']['set'](_0x38adf2,_0x2125c6);}}let Rb=0x1;class RealTimeCollaborationClient extends _0x4ac504{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,Sessions,UserMarkers,_0xdf428,Users,Qt];}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 _0x4fd513=this['serverHistory']['getOperations']();for(let _0x4b8c97=_0x4fd513['length']-0x1;_0x4b8c97>=0x0;_0x4b8c97--){const _0x261ceb=_0x4fd513[_0x4b8c97];if(!this['_disconnectionOperations']['has'](_0x261ceb))return _0x261ceb['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x5dd165){if(super(_0x5dd165),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x84f9e3(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x1976e8('collaboration-missing-channelid',this);const _0x28a26f=_0x5dd165['config']['get']('cloudServices.bundleVersion')||_0xb681d8;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x28a26f,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new Compressor(),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 _0x559a6c=this['editor'],_0x3b7587=_0x559a6c['plugins']['get'](Users),_0x20124b=_0x559a6c['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3b7587,'getOperationAuthor',(_0x2e49fe,_0x364f61)=>{const _0x5ab4c4=_0x364f61[0x0];_0x5ab4c4['_authorId']&&(_0x2e49fe['return']=_0x3b7587['getUser'](_0x5ab4c4['_authorId']),_0x2e49fe['stop']()),null===_0x5ab4c4['_authorId']&&(_0x2e49fe['return']=null,_0x2e49fe['stop']());},{'priority':'high'}),this['listenTo'](_0x559a6c['model']['document']['selection'],'change:range',(_0x4811aa,_0x15dea1)=>{_0x15dea1['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x559a6c['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x559a6c['model']['on']('applyOperation',(_0x42bfb3,_0x2b6d9a)=>{const _0x26418f=_0x2b6d9a[0x0];_0x26418f['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x26418f),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x20124b,'state',this,'_hasSynchronizationProblem',(_0x18a276,_0x491e24)=>'connected'===_0x18a276&&!_0x491e24),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x559a6c['disableReadOnlyMode']('rtc-offline'):_0x559a6c['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x559a6c['disableReadOnlyMode']('rtc-offline'):_0x559a6c['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0xb14019=this['editor']['plugins']['get'](Sessions),_0x50653a=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0xb14019['unregister'](this['_channelId']);const _0x19ad7a=await this['_service']['reconnect'](_0x50653a['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x19ad7a)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x1a6490=await this['_service']['getConnectedSessions']();_0xb14019['register'](this['_channelId'],_0x1a6490),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x1b9854){if(function(_0x3c19df){return'404'===_0x3c19df['code'];}(_0x1b9854)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x23777b){return'409'===_0x23777b['code'];}(_0x1b9854)){const _0xbb1b63=Eb(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'](_0xbb1b63);}else{if(!(_0x1b9854 instanceof ReconnectionError))throw _0x1b9854;this['_handleReconnectionError']();}}}}['destroy'](){const _0xf7edf2=this['editor']['plugins']['get'](WebSocketGateway),_0x48c176=this['editor']['plugins']['get'](Sessions);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x48c176['channelSessions']['has'](this['_channelId'])&&_0x48c176['unregister'](this['_channelId']),_0xf7edf2['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x140a03){if(this['sessionId']!==_0x140a03['sessionId']&&this['_lastSyncedOperationId']!==_0x140a03['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x140a03['sessionId'],this['_handleServerResponse']([],{..._0x140a03,'wereChangesApplied':!0x1,'data':_0x140a03['data']},'reconnect');}async['_connectService'](_0x4ec9f4,_0x108875=!0x1){const {connection:_0x188992}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x188992,this['_channelId'])['then'](_0x489326=>this['_initSessionsHandling'](_0x489326))['catch'](_0x10f4c6=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x10f4c6);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x30ae4b,_0x2441f4)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x2441f4);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x5a1cde=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4ec9f4);this['_isPendingUpdate']=!0x0;const _0x2a55b5=await this['_service']['connect'](_0x188992,this['_compressOperations'](_0x4ec9f4),_0x5a1cde);if(this['sessionId']=_0x2a55b5['sessionId'],_0x108875){if(!_0x2a55b5['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x2a55b5['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x4ec9f4,_0x2a55b5,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x2a55b5,_0x4ec9f4);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x2ba0e9=this['editor']['plugins']['get'](Sessions),_0x508184=this['editor']['plugins']['get'](UserMarkers),_0x48f9a9=_0x2ba0e9['channelSessions']['get'](this['_channelId']);_0x48f9a9&&_0x48f9a9['length']>0x1?_0x508184['createUserMarkerOperations']():this['listenTo'](_0x2ba0e9,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x2ba0e9['channelSessions']['get'](this['_channelId'])['length']&&_0x508184['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x4c4586,_0x440f31,_0x49d5a0,_0x102964){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x440f31){const _0x2fdd75=this['_decompressOperations'](_0x49d5a0,_0x102964);await this['_fetchMissingUsers'](_0x2fdd75),this['_handleExternalOperations'](_0x2fdd75,_0x440f31,_0x49d5a0['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x86217d}=this['editor'];let _0x34d761;try{_0x34d761=await this['_service']['getDocumentDetails']();}catch{const _0x4cd301=Eb(_0x86217d,'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'](_0x4cd301);}const _0x323f4e=_0x34d761['currentDocumentSession']||_0x34d761['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x323f4e['lastOperationId']){const _0x54262c=Eb(_0x86217d,'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'](_0x54262c);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x157c64){const _0x1d353c=this['editor']['plugins']['get'](Sessions);this['listenTo'](_0x1d353c,'sessionAdd:'+this['_channelId'],(_0x556579,{session:_0xc3a7ca})=>{if(_0xc3a7ca['id']===_0x1d353c['mySessionId']){_0x556579['off']();const _0x26cdee=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x4876c4=_0xc3a7ca['permissions'];_0x26cdee&&_0x26cdee['isEnabled']&&(_0x4876c4=_0x4876c4['filter'](_0x2290e7=>'document:write'!==_0x2290e7)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x4876c4,this['_channelId']);}}),_0x1d353c['register'](this['_channelId'],_0x157c64);}['_initThrowingOnDataSet'](){const _0x5bd062=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x2f8b58)=>{if(!_0x2f8b58[_0x2f8b58['length']-0x1]['suppressErrorInCollaboration'])throw new _0x1976e8('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x5bd062['apply'](this['editor']['data'],_0x2f8b58);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x452053,[_0x1233f7])=>{if(this['_document']['version'])throw new _0x1976e8('realtimecollaborationclient-init-document-already-initialized',this);_0x452053['stop'](),this['_setPendingAction']();const _0x1c8c76=this['editor']['config']['get']('rootsAttributes'),_0x18c2b5=this['_getOperationsFromInitData'](_0x1233f7,_0x1c8c76);0x0==_0x18c2b5['length']&&_0x18c2b5['push'](new _0x10cdd5(0x0)),_0x452053['return']=this['_connectService'](_0x18c2b5)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x17b680=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x17b680))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x10e2b3,[_0x588dde,_0x52ea9d])=>{_0x10e2b3['stop']();const _0x579bcb=this['editor']['model']['document']['getRoot'](_0x588dde);if(!this['_knownRootNames']['has'](_0x588dde)){const _0xe6785=_0x52ea9d&&_0x52ea9d['data']?_0x52ea9d['data']:'',_0x346dba=_0x52ea9d&&_0x52ea9d['attributes']?_0x52ea9d['attributes']:{};await this['_loadRoot'](_0x588dde,_0xe6785,_0x346dba);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x579bcb['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x579bcb);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x11051b){const _0x20311c=this['editor']['plugins']['get'](Users),{connection:_0x1326bf}=this['editor']['plugins']['get'](WebSocketGateway),_0x50b94b=new Set();for(const _0x5b6e7d of _0x11051b){const _0x46a477=_0x5b6e7d['_authorId'];_0x46a477&&!_0x20311c['getUser'](_0x46a477)&&_0x50b94b['add'](_0x46a477);}if(0x0===_0x50b94b['size'])return;const _0x451de1=await User['getMany'](_0x1326bf,Array['from'](_0x50b94b));for(const _0x40dc42 of _0x451de1)_0x20311c['getUser'](_0x40dc42['id'])||_0x20311c['addUser'](_0x40dc42);}['_getOperationsFromInitData'](_0x5c3db0,_0x59cda2={}){const _0x113f3b=this['editor']['model'],_0x409122=[];let _0x4be3b1=0x0;const _0x14e00e='string'==typeof _0x5c3db0?{'main':_0x5c3db0}:_0x5c3db0;for(const _0x42b4af of Object['keys'](_0x14e00e)){if(!this['_document']['roots']['has'](_0x42b4af))throw new _0x1976e8('realtimecollaborationclient-init-non-existent-root',this);const _0x450f7c=this['editor']['data']['parse'](_0x14e00e[_0x42b4af]),_0x37c6d7=this['_document']['getRoot'](_0x42b4af),_0x25f836=new _0x1120cd(_0x113f3b['createPositionAt'](_0x37c6d7,0x0),_0x450f7c,_0x4be3b1++);_0x409122['push'](_0x25f836);for(const [_0x509485,_0x543df1]of _0x450f7c['markers']){const _0x1585ca=_0x113f3b['createRange'](_0x113f3b['createPositionFromPath'](_0x37c6d7,_0x543df1['start']['path']['slice']()),_0x113f3b['createPositionFromPath'](_0x37c6d7,_0x543df1['end']['path']['slice']())),_0x2e2b16=new ts(_0x509485,null,_0x1585ca,_0x113f3b['markers'],!0x0,_0x4be3b1++);_0x409122['push'](_0x2e2b16);}}if(_0x59cda2)for(const [_0xb9b01b,_0x531178]of Object['entries'](_0x59cda2)){const _0xf666f1=_0x113f3b['document']['getRoot'](_0xb9b01b);if(!_0xf666f1)throw new _0x1976e8('multi-root-editor-root-attributes-no-root',null);for(const [_0x18d37a,_0x5906f6]of Object['entries'](_0x531178))if(null!==_0x5906f6){const _0x14e8c4=new _0x201c84(_0xf666f1,_0x18d37a,null,_0x5906f6,_0x4be3b1++);_0x409122['push'](_0x14e8c4);}}return _0x409122;}async['_loadRoot'](_0x49dd6e,_0x666969,_0x4e7dc){this['_getOperationsFromInitData']({[_0x49dd6e]:_0x666969},{[_0x49dd6e]:_0x4e7dc})['forEach']((_0x41eb8e,_0x853603)=>{_0x41eb8e['baseVersion']=this['_document']['version']+_0x853603,_0x41eb8e['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x41eb8e);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0xec78a8,_0x548159){let _0x5ec2f8;this['_offset']=_0xec78a8['offset'];const _0x2783c5=_0xec78a8['wereChangesApplied']&&!_0xec78a8['initData'],_0x2538d6=_0x2783c5?0x0:_0xec78a8['data']['baseVersion'];if(_0x548159['forEach'](_0x3e9e14=>{_0x3e9e14['_isInit']=!0x0,_0x3e9e14['createdAt']=_0xec78a8['sessionCreatedAt'],_0x3e9e14['_authorId']=null;}),_0x2783c5)_0x5ec2f8=_0x548159,this['_applyOperationsSet'](_0x5ec2f8,_0x2783c5);else{if(_0xec78a8['initData']){const _0x36ca29=this['_getOperationsFromInitData'](_0xec78a8['initData']);this['_document']['history']['version']=-_0x36ca29['length'],_0x36ca29['forEach'](_0x201d1d=>{_0x201d1d['baseVersion']-=_0x36ca29['length'],_0x201d1d['createdAt']=_0xec78a8['sessionCreatedAt'],_0x201d1d['_isInit']=!0x0,_0x201d1d['_authorId']=null;}),this['_applyOperationsSet'](_0x36ca29,!0x0),this['serverHistory']['version']=-_0x36ca29['length']+this['_offset'],this['_updateServerHistory'](_0x36ca29);}this['_document']['history']['version']=_0x2538d6,_0x5ec2f8=this['_decompressOperations'](_0xec78a8['data'],_0xec78a8['metadata']),await this['_fetchMissingUsers'](_0x5ec2f8),this['_applyOperationsSet'](_0x5ec2f8,_0x2783c5);}_0xec78a8['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5ec2f8,_0xec78a8['lastOperationId']),this['_lastSyncedOperationId']=_0xec78a8['lastOperationId']),this['serverHistory']['version']=_0x2538d6+this['_offset'],this['_updateServerHistory'](_0x5ec2f8),_0x548159['filter'](_0x26265a=>{const _0x4b2327=this['_getAffectedRoot'](_0x26265a);return _0x4b2327&&!this['_knownRootNames']['has'](_0x4b2327);})['forEach']((_0x2b33a3,_0xb57b26)=>{_0x2b33a3['baseVersion']=this['_document']['version']+_0xb57b26,this['_saveOperationInBuffer'](_0x2b33a3);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x12c1bd,_0x1838d4){const _0x1794e4=_0x1838d4&&_0x1838d4['message'];if(_0x1794e4&&_0x1794e4['startsWith']('realtimecollaborationclient'))throw _0x1838d4;const _0x4373ec=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x4373ec['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x1976e8(_0x12c1bd,this['editor'],_0x1794e4?{'originalError':_0x1794e4}:void 0x0);}['_saveOperationInBuffer'](_0xa57831){this['_knownOperations']['has'](_0xa57831)||(this['_knownOperations']['add'](_0xa57831),this['_bufferedOperations']['push'](_0xa57831),this['_pendingAction']||'marker'==_0xa57831['type']&&!_0xa57831['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x5073e9=!0x1){!_0x5073e9&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x27cf65=>{_0x27cf65&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x33036f=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x1583b5){return _0x1583b5['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1583b5['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x1583b5['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x33036f)||this['_crash'](_0x33036f['message'],_0x33036f);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x2c6c3e=>{this['on']('change:_isPendingUpdate',()=>{_0x2c6c3e();});});}async['_sendBufferedOperations'](){const _0x2e5d55=this['editor']['plugins']['get'](UserMarkers);if(this['_shouldSendSelectionUpdate']()&&(_0x2e5d55['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x199507=[...this['_bufferedOperations']];for(const _0x31d790 of _0x199507)_0x31d790['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x31d790);const _0x28268f=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x199507),_0x583d3b=Rb++,_0x841577=this['_compressOperations'](_0x199507),_0x86dde9=await this['_service']['sendOperations'](_0x841577,_0x841577['baseVersion'],_0x28268f);try{return await this['_handleServerResponse'](_0x199507,_0x86dde9,_0x583d3b);}catch(_0x5424c6){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x5424c6);}}async['_handleServerResponse'](_0x241d94,_0x565b34,_0x4c095b){if('error'in _0x565b34)throw _0x565b34['error'];let _0x29c31e=!0x1;if(_0x565b34['wereChangesApplied']){_0x565b34['lastOperationId']&&(this['_lastSyncedOperationId']=_0x565b34['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x38052b=>!_0x241d94['includes'](_0x38052b));for(const _0x184026 of _0x241d94)_0x184026['createdAt']='lastOperationAcceptedAt'in _0x565b34&&_0x565b34['lastOperationAcceptedAt']||void 0x0;Pb(_0x241d94,_0x565b34['version']-_0x241d94['length']),this['_updateServerHistory'](_0x241d94);const _0x365f88=_0x241d94['filter'](_0xbf374c=>{if(!_0xbf374c['_isInit'])return!0x1;const _0x830d27=this['_getAffectedRoot'](_0xbf374c);return _0x830d27&&!this['_knownRootNames']['has'](_0x830d27);});Pb(_0x365f88,this['_document']['version']),this['_applyOperationsSet'](_0x365f88),_0x29c31e=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0xf35f3c=this['_decompressOperations'](_0x565b34['data'],_0x565b34['metadata'])['filter'](_0x92576f=>_0x92576f['baseVersion']>=this['_lastServerVersion']);_0xf35f3c['forEach'](_0x4ad432=>this['_addKnownRoot'](_0x4ad432)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x2ca5a7=>!_0x2ca5a7['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x2ca5a7))),this['_bufferedOperations']['length']&&Pb(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0xf35f3c),_0x29c31e=this['_handleExternalOperations'](_0xf35f3c,_0x565b34['version'],_0x565b34['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x29c31e?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x3ff995,_0x1efede,_0x1e8666){try{const _0x3b5fc7={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x8453ca,operationsB:_0x469c49,originalOperations:_0x2740a4}=_0x180d0d(_0x3ff995,this['_bufferedOperations'],_0x3b5fc7);Pb(_0x8453ca,this['_document']['version']),Pb(_0x469c49,_0x1efede);for(const _0x36f41e of _0x8453ca){const _0x1b42ae=_0x2740a4['get'](_0x36f41e);_0x36f41e['_authorId']=_0x1b42ae?_0x1b42ae['_authorId']:null;}_0x1e8666&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x3ff995,_0x1e8666),this['_lastSyncedOperationId']=_0x1e8666),this['_bufferedOperations']=[..._0x469c49],this['_applyOperationsSet'](_0x8453ca),this['_updateServerHistory'](_0x3ff995);}catch(_0x35abce){return console['error'](_0x35abce),!0x1;}return!0x0;}['_applyOperationsSet'](_0x11472b,_0x362084=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x4258b6=>{for(const _0x34ec36 of _0x11472b)this['_knownOperations']['add'](_0x34ec36),this['_addKnownRoot'](_0x34ec36),_0x4258b6['batch']['addOperation'](_0x34ec36),this['editor']['model']['applyOperation'](_0x34ec36);});}['_addKnownRoot'](_0x10f2ee){const _0x23ac05=this['_getAffectedRoot'](_0x10f2ee);_0x23ac05&&this['_knownRootNames']['add'](_0x23ac05);}['_getAffectedRoot'](_0x57b748){let _0x21d4f8,_0x536310;switch(_0x57b748['type']){case'insert':_0x21d4f8=_0x57b748['position']['root'];break;case'marker':if(_0x536310=_0x57b748['newRange'],!_0x536310)return null;_0x21d4f8=_0x536310['root'];break;case'addRootAttribute':_0x21d4f8=_0x57b748['root'];break;case'addRoot':_0x21d4f8=_0x57b748['affectedSelectable'];break;case'move':_0x21d4f8=_0x57b748['targetPosition']['root'];break;default:return null;}return _0x21d4f8['rootName'];}['_updateServerHistory'](_0xb918e4){_0xb918e4['forEach'](_0x394074=>{const _0x48971c=_0x394074['clone']();_0x48971c['_authorId']=_0x394074['_authorId'],_0x48971c['_isInit']=!!_0x394074['_isInit'],_0x48971c['createdAt']=_0x394074['createdAt'],_0x48971c['baseVersion']+=this['_offset'],_0x394074['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x48971c),this['serverHistory']['addOperation'](_0x48971c);});}['_handleReconnectionError'](_0x2a642f){const _0x263b74=this['editor']['plugins']['get']('Notification'),_0x24a0fa=this['editor']['locale'];_0x2a642f||(_0x2a642f=Eb(_0x24a0fa,'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.')),_0x263b74['showWarning'](_0x2a642f,{'title':Eb(_0x24a0fa,'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'](_0xdf428)['add'](Eb(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0xdf428)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x24a8cd){const _0x2d7ba7=_0x24a8cd['map'](_0x7667e3=>_0x7667e3['toJSON']());return this['_compressor']['compress'](_0x2d7ba7);}['_decompressOperations'](_0x19e76d,_0x95684c){return this['_compressor']['decompress'](_0x19e76d)['map']((_0x54a05b,_0x8864e3)=>{const _0x506653='init'==_0x95684c[_0x8864e3]['type'];if('InsertOperation'==_0x54a05b['__className']){const _0x1f6d21=_0x54a05b['position']['root'];!this['_document']['getRoot'](_0x1f6d21)&&(this['_document']['createRoot']('$root',_0x1f6d21)['_isAttached']=!0x1);}const _0x256ad3=_0x4f153['fromJSON'](_0x54a05b,this['_document']);return _0x256ad3['wasUndone']=_0x54a05b['wasUndone'],_0x256ad3['_isInit']=_0x506653,_0x256ad3['_authorId']=_0x506653?null:_0x95684c[_0x8864e3]['userId'],_0x256ad3['_isDisconnection']='cs:removeUser'===_0x95684c[_0x8864e3]['type'],_0x256ad3['createdAt']=_0x95684c[_0x8864e3]['createdAt'],_0x256ad3;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x44fad8=this['editor']['plugins']['get'](Sessions)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x44fad8&&_0x44fad8['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function Pb(_0x31a5bf,_0x32b077){for(const _0x25dd6f of _0x31a5bf)_0x25dd6f['baseVersion']=_0x32b077++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x3e3709){this['_ignoredOperations']=_0x3e3709,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x4b8d9a){let _0x45894d=_0x4b8d9a['length'];for(;_0x45894d--;){const _0x4733a3=_0x4b8d9a[_0x45894d];if(!this['_ignoredOperations']['has'](_0x4733a3)){if(!this['_operationToId']['has'](_0x4733a3)){const _0x822874=_0x288d30()['slice'](0x1,0x12);this['_operationToId']['set'](_0x4733a3,_0x822874);}return this['_operationToId']['get'](_0x4733a3);}}}['setIdForTheLastOperation'](_0x4207e2,_0x3b9aca){if(!_0x3b9aca)return;let _0x5899f7=_0x4207e2['length'];for(;_0x5899f7--;){const _0x337900=_0x4207e2[_0x5899f7];this['_ignoredOperations']['has'](_0x337900)||this['_operationToId']['set'](_0x337900,_0x3b9aca);}}}class RealTimeCollaborativeEditing extends _0x4ac504{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends _0x90c2d8{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',Sessions,Users];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3dc594){super(_0x3dc594),this['_services']=new Map();}async['init'](){const _0x18fa7b=this['context'],_0x547cf2=_0x18fa7b['plugins']['get']('CommentsRepository');if(_0x18fa7b['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x547cf2['adapter']={'addCommentThread':async({channelId:_0x400726,threadId:_0x5ad338,comments:_0xc1801f,resolvedAt:_0x4b1704,resolvedBy:_0x2c9c7c,context:_0x2f6ef5,attributes:_0x1d2159})=>{const _0x132f27=await this['_getService'](_0x400726)['addCommentThread']({'commentThreadId':_0x5ad338,'comments':_0xc1801f['map'](_0x9f101e=>function(_0xeed829,_0x31912e,_0x525e56){return{'commentThreadId':_0x525e56,'commentId':_0xeed829['commentId'],'userId':_0xeed829['authorId'],'content':_0xeed829['content'],'documentId':_0x31912e,'createdAt':_0xeed829['createdAt'],'attributes':_0xeed829['attributes']||{}};}(_0x9f101e,_0x400726,_0x5ad338)),'resolvedAt':_0x4b1704,'resolvedBy':_0x2c9c7c,'context':_0x2f6ef5,'attributes':_0x1d2159})['catch'](Nb);return{'threadId':_0x132f27['commentThreadId'],'comments':_0x132f27['comments']};},'getCommentThread':async({channelId:_0x411110,threadId:_0x3a5936})=>{const _0x528e4c=await this['_getService'](_0x411110)['getCommentThread'](_0x3a5936)['catch'](Mb)['catch'](Nb);return _0x528e4c?_0x528e4c['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x528e4c]),{'threadId':_0x528e4c['commentThreadId'],'comments':_0x528e4c['comments']['map'](Lb),'context':_0x528e4c['context'],'resolvedAt':_0x528e4c['resolvedAt'],'resolvedBy':_0x528e4c['resolvedBy'],'attributes':_0x528e4c['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x4d458f,threadId:_0x330547,context:_0x40bf08,unlinkedAt:_0x214b74,attributes:_0x2bbac4})=>this['_getService'](_0x4d458f)['updateCommentThread']({'commentThreadId':_0x330547,'context':_0x40bf08,'attributes':_0x2bbac4,'unlinkedAt':_0x214b74})['catch'](Mb)['catch'](Nb),'resolveCommentThread':async({channelId:_0x235e83,threadId:_0xac6d5d})=>{const _0x1cc519=await this['_getService'](_0x235e83)['resolveCommentThread'](_0xac6d5d)['catch'](Mb)['catch'](Nb);return{'threadId':_0x1cc519['commentThreadId'],'resolvedAt':_0x1cc519['resolvedAt'],'resolvedBy':_0x1cc519['resolvedBy']};},'reopenCommentThread':async({channelId:_0x2906f0,threadId:_0x25871b})=>this['_getService'](_0x2906f0)['reopenCommentThread'](_0x25871b)['catch'](Mb)['catch'](Nb),'removeCommentThread':({channelId:_0x101e6d,threadId:_0x55bc1f})=>this['_getService'](_0x101e6d)['removeCommentThread'](_0x55bc1f)['catch'](Mb)['catch'](Nb),'addComment':({channelId:_0x1a9d72,threadId:_0x5a4e5b,commentId:_0x395de7,content:_0x4bd95a,attributes:_0x91a480})=>this['_getService'](_0x1a9d72)['addComment'](_0x5a4e5b,_0x395de7,_0x4bd95a,_0x91a480)['catch'](Nb),'updateComment':({channelId:_0x19d31c,threadId:_0x4ab75f,commentId:_0x57b869,content:_0x454676,attributes:_0x5056e8})=>this['_getService'](_0x19d31c)['updateComment'](_0x4ab75f,_0x57b869,_0x454676,_0x5056e8)['catch'](Mb)['catch'](Nb),'removeComment':({channelId:_0x23fabf,threadId:_0x469ffa,commentId:_0x36399a})=>this['_getService'](_0x23fabf)['removeComment'](_0x469ffa,_0x36399a)['catch'](Mb)['catch'](Nb)},_0x18fa7b instanceof _0x30e7b9){const _0x2cb133=_0x18fa7b['config']['get']('collaboration.channelId'),_0x58422f=_0x18fa7b['plugins']['get'](Sessions);await this['_setUpService'](_0x2cb133);const _0x561049=await this['_services']['get'](_0x2cb133)['getConnectedSessions']();this['listenTo'](_0x58422f,'sessionAdd:'+_0x2cb133,(_0x19c3a9,{session:_0x20bd42})=>{_0x20bd42['id']===_0x58422f['mySessionId']&&(_0x19c3a9['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x20bd42['permissions'],_0x2cb133));}),_0x58422f['register'](_0x2cb133,_0x561049);}}async['_setUpService'](_0x30a8a1){if(this['_services']['has'](_0x30a8a1))throw new _0x1976e8('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x30a8a1});const _0xeae46c=this['context']['plugins']['get']('CommentsRepository'),_0x32eb71=new CloudServicesCommentsAdapter['CommentsService'](_0x30a8a1);this['_services']['set'](_0x30a8a1,_0x32eb71),this['listenTo'](_0x32eb71,'commentThreadAdded',(_0x27aa3c,_0x43e0cb)=>{const {commentThreadId:_0x340dad,documentId:_0x98cd7,context:_0x19d45b,attributes:_0x29c146,resolvedAt:_0x3c1fe6,resolvedBy:_0x4c28c4,comments:_0x32b7ec}=_0x43e0cb;_0xeae46c['getCommentThread'](_0x340dad)||_0xeae46c['addCommentThread']({'threadId':_0x340dad,'channelId':_0x98cd7,'comments':_0x32b7ec?_0x32b7ec['map'](Lb):[],'context':_0x19d45b,'attributes':_0x29c146,'resolvedAt':_0x3c1fe6,'resolvedBy':_0x4c28c4,'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentThreadUpdated',(_0x42ca4e,{commentThreadId:_0x224632,documentId:_0x41b63a,context:_0x954656,unlinkedAt:_0x28258c,attributes:_0x4906b6})=>{_0xeae46c['getCommentThread'](_0x224632)&&_0xeae46c['updateCommentThread']({'threadId':_0x224632,'channelId':_0x41b63a,'context':_0x954656,'unlinkedAt':_0x28258c,'attributes':_0x4906b6,'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentThreadResolved',(_0x16ec2c,{commentThreadId:_0x55a15c,resolvedBy:_0x362053,resolvedAt:_0x1a54e3})=>{const _0x3fbb51=_0xeae46c['getCommentThread'](_0x55a15c);_0x3fbb51&&_0x3fbb51['resolve']({'resolvedBy':_0x362053,'resolvedAt':_0x1a54e3,'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentThreadReopened',(_0x55212d,{commentThreadId:_0xfd96c2})=>{const _0x32e679=_0xeae46c['getCommentThread'](_0xfd96c2);_0x32e679&&_0x32e679['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentThreadRemoved',(_0x2071f2,{commentThreadId:_0x543c7f})=>{const _0x4b95ef=_0xeae46c['getCommentThread'](_0x543c7f);_0x4b95ef&&_0x4b95ef['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentAdded',(_0x5aff29,_0x13778)=>{const _0xadbde1=_0x13778['commentThreadId'],_0xe129b=_0xeae46c['getCommentThread'](_0xadbde1);_0xe129b&&_0xe129b['addComment']({...Lb(_0x13778),'isFromAdapter':!0x0});}),this['listenTo'](_0x32eb71,'commentUpdated',(_0xe6f734,{commentThreadId:_0x28c821,commentId:_0x4a7dd5,content:_0x2caf81,attributes:_0x4c7f70})=>{const _0x2d134c=_0xeae46c['getCommentThread'](_0x28c821);if(_0x2d134c){const _0x10a0b3=_0x2d134c['getComment'](_0x4a7dd5);_0x10a0b3&&_0x10a0b3['update']({'content':_0x2caf81,'attributes':_0x4c7f70,'isFromAdapter':!0x0});}}),this['listenTo'](_0x32eb71,'commentRemoved',(_0x34b4f5,{commentThreadId:_0x5c500e,commentId:_0x55c93e})=>{const _0x16ed9a=_0xeae46c['getCommentThread'](_0x5c500e);if(_0x16ed9a){const _0x4a9534=_0x16ed9a['getComment'](_0x55c93e);_0x4a9534&&_0x4a9534['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x30a8a1);}['destroy'](){if(this['context']instanceof _0x30e7b9){const _0x3554b9=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x3554b9);}}['_terminateService'](_0x57b652){if(!this['_services']['has'](_0x57b652))throw new _0x1976e8('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x57b652});this['_getService'](_0x57b652)['disconnect'](),this['_services']['delete'](_0x57b652);}async['reconnect'](){for(const _0x1ce127 of this['_services']['keys']())await this['_connectService'](_0x1ce127);if(this['context']instanceof _0x30e7b9){const _0x5258c8=this['context']['config']['get']('collaboration.channelId'),_0x40488a=this['context']['plugins']['get'](Sessions);_0x40488a['unregister'](_0x5258c8);const _0x4d3cd4=await this['_services']['get'](_0x5258c8)['getConnectedSessions']();_0x40488a['register'](_0x5258c8,_0x4d3cd4);}}async['_connectService'](_0x4ed30f){const {connection:_0x3ae0a6}=this['context']['plugins']['get'](WebSocketGateway),_0xe79e5e=this['context']['plugins']['get']('CommentsRepository'),_0x4f0546=this['_services']['get'](_0x4ed30f),_0x15bef3=await _0x4f0546['connect'](_0x3ae0a6);await this['_fetchMissingUsersForThreads'](_0x15bef3);const _0x2995bd=new Set(Array['from'](_0xe79e5e['getCommentThreads']({'channelId':_0x4ed30f}),_0x62a038=>_0x62a038['id']));for(const _0x3267f9 of _0x15bef3)_0x3267f9['deletedAt']||_0x2995bd['delete'](_0x3267f9['commentThreadId']);for(const _0xf8fa8c of _0x2995bd)_0xe79e5e['getCommentThread'](_0xf8fa8c)['remove']({'isFromAdapter':!0x0});for(const _0x116c06 of _0x15bef3){let _0x589d81=_0xe79e5e['getCommentThread'](_0x116c06['commentThreadId']);const {commentThreadId:_0xc4befa,context:_0x321809,attributes:_0x50ce32,resolvedBy:_0x32797c,resolvedAt:_0x6317af,unlinkedAt:_0x3df734,deletedAt:_0x50f9ff}=_0x116c06;if(_0x50f9ff)continue;_0x589d81||(_0x589d81=_0xe79e5e['addCommentThread']({'channelId':_0x4ed30f,'threadId':_0xc4befa,'context':_0x321809,'attributes':_0x50ce32||{},'resolvedBy':_0x32797c,'resolvedAt':_0x6317af,'unlinkedAt':_0x3df734,'isFromAdapter':!0x0}));const _0x21e2dc=new Set(Array['from'](_0x589d81['comments'],_0x138f08=>_0x138f08['id']));for(const _0x6d5e75 of _0x116c06['comments'])_0x21e2dc['delete'](_0x6d5e75['commentId']);for(const _0x56c1b6 of _0x21e2dc)_0x589d81['getComment'](_0x56c1b6)['remove']({'isFromAdapter':!0x0});for(const _0x475a36 of _0x116c06['comments']){const _0x2dbc85=_0x589d81['getComment'](_0x475a36['commentId']);_0x2dbc85?_0x2dbc85['content']!==_0x475a36['content']&&_0x2dbc85['update']({'content':_0x475a36['content'],'isFromAdapter':!0x0}):_0x589d81['addComment'](Object['assign'](Lb(_0x475a36),{'isFromAdapter':!0x0}));}}}['_getService'](_0x122037){if(!this['_services']['has'](_0x122037))throw new _0x1976e8('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x122037});return this['_services']['get'](_0x122037);}async['_fetchMissingUsersForThreads'](_0xd219cc){const _0x362444=this['context']['plugins']['get'](Users),{connection:_0x7372c2}=this['context']['plugins']['get'](WebSocketGateway),_0x33510b=new Set();for(const {resolvedBy:_0x2ab2f5,comments:_0xbd1d71}of _0xd219cc){_0x2ab2f5&&!_0x362444['getUser'](_0x2ab2f5)&&_0x33510b['add'](_0x2ab2f5);for(const {userId:_0x160abc}of _0xbd1d71)_0x362444['getUser'](_0x160abc)||_0x33510b['add'](_0x160abc);}if(0x0===_0x33510b['size'])return;const _0x4b438b=await User['getMany'](_0x7372c2,Array['from'](_0x33510b));for(const _0x3682c8 of _0x4b438b)_0x362444['getUser'](_0x3682c8['id'])||_0x362444['addUser'](_0x3682c8);}}async function Mb(_0x45f0d9){if('404'!==_0x45f0d9['code'])throw _0x45f0d9;}function Nb(_0xf46c8d){if((_0x11177e=_0xf46c8d)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x11177e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x11177e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x11177e;throw _0xf46c8d;}function Lb(_0x2d7270){return{'threadId':_0x2d7270['commentThreadId'],'commentId':_0x2d7270['commentId'],'content':_0x2d7270['content'],'createdAt':_0x2d7270['createdAt'],'authorId':_0x2d7270['userId'],'attributes':_0x2d7270['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x4ac504{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>TrackChangesService)());['_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(_0x3f0284){super(_0x3f0284);const _0x53cf79=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x53cf79);}['init'](){const _0x5788fe=this['editor']['plugins']['get'](WebSocketGateway),_0x17787e=this['editor']['plugins']['get']('TrackChangesEditing');return _0x17787e['adapter']={'getSuggestion':async _0x52a305=>{await this['_waitForServiceReady']();const _0x54f9fc=await this['_trackChangesService']['get'](_0x52a305)['catch'](Db);return await this['_fetchMissingUsersForThreads']([_0x54f9fc]),_0x54f9fc;},'addSuggestion':async({id:_0x1ece59,type:_0x56f54c,data:_0x28b059,originalSuggestionId:_0x37577e,attributes:_0xc51515})=>{await this['_waitForServiceReady']();const _0x1c724b={'id':_0x1ece59,'type':_0x56f54c,'data':_0x28b059,'originalSuggestionId':_0x37577e,'attributes':_0xc51515},_0x5257a2=await this['_trackChangesService']['add'](_0x1ece59,_0x56f54c,_0x28b059,_0x37577e,_0xc51515)['catch'](_0x214775=>{if(Qb(_0x214775))return new Promise(_0x6f09d=>{this['_bufferedRequests']['set'](_0x1ece59,{'resolve':_0x6f09d,'suggestionData':_0x1c724b});});throw _0x214775;});return this['_bufferedRequests']['delete'](_0x1ece59),_0x5257a2;},'updateSuggestion':async(_0x5ec4a9,_0xdc27a9)=>{if(await this['_waitForServiceReady'](),'open'!==_0xdc27a9['state'])return this['_trackChangesService']['update'](_0x5ec4a9,_0xdc27a9)['catch'](Db);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0xc44708,_0x38a0ae)=>{_0x17787e['hasSuggestion'](_0x38a0ae['id'])&&(_0x17787e['getSuggestion'](_0x38a0ae['id'])['attributes']=_0x38a0ae['attributes']);}),this['_trackChangesService']['connect'](_0x5788fe['connection'])['then'](_0x14db28=>(_0x5788fe['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x14db28)['then'](()=>{for(const _0x53ce63 of _0x14db28){_0x17787e['addSuggestionData'](_0x53ce63)['_saved']=!0x0;}})));}async['reconnect'](){const _0x463f76=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x222676}=this['editor']['plugins']['get'](WebSocketGateway),_0x521fb4=await this['_trackChangesService']['connect'](_0x222676);await this['_fetchMissingUsersForThreads'](_0x521fb4);for(const {suggestionData:_0x341125,resolve:_0xfa7d19}of this['_bufferedRequests']['values']()){let _0xae8f0a=_0x521fb4['find'](_0x5e0aa4=>_0x5e0aa4['id']===_0x341125['id']);_0xae8f0a||(_0xae8f0a=await this['_trackChangesService']['add'](_0x341125['id'],_0x341125['type'],_0x341125['data'],_0x341125['originalSuggestionId'])),_0xfa7d19(_0xae8f0a);}for(const _0x4fd6c1 of _0x521fb4)_0x463f76['hasSuggestion'](_0x4fd6c1['id'])||_0x463f76['addSuggestionData'](_0x4fd6c1);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x5291c6=>{this['listenTo'](this['_trackChangesService'],'connected',_0x2ad46b=>{_0x2ad46b['off'](),_0x5291c6();});});}async['_fetchMissingUsersForThreads'](_0x2bbd43){const _0x22f95f=this['editor']['plugins']['get'](Users),{connection:_0x519ec7}=this['editor']['plugins']['get'](WebSocketGateway),_0x7695c5=new Set();for(const {authorId:_0x182cf1}of _0x2bbd43)_0x22f95f['getUser'](_0x182cf1)||_0x7695c5['add'](_0x182cf1);if(0x0===_0x7695c5['size'])return;const _0x2a8651=await User['getMany'](_0x519ec7,Array['from'](_0x7695c5));for(const _0x52715c of _0x2a8651)_0x22f95f['getUser'](_0x52715c['id'])||_0x22f95f['addUser'](_0x52715c);}}function Db(_0x4c9dd3){if(Qb(_0x4c9dd3))return new Promise(()=>{});throw _0x4c9dd3;}function Qb(_0x59c4a4){return _0x59c4a4['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x59c4a4['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x4ac504{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 _0x345dc2=this['editor']['plugins']['get'](WebSocketGateway),_0xc004d4=this['editor']['plugins']['get']('CommentsEditing'),_0x59f1c4=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x345dc2,'change:state',(_0xcac8a,_0x329b37,_0x16f569)=>{_0xc004d4['isThreadsLoadingPaused']='connected'!==_0x16f569;});}),this['listenTo'](_0x345dc2,'change:state',(_0x9b2e1d,_0x3d73c9,_0x45a134)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x45a134);}),_0x59f1c4['_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 _0x4ac504{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 _0x4ac504{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',Sessions,Users];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4fe694){super(_0x4fe694);const _0x271498=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x271498);}async['init'](){const _0x2ffb69=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x307b29=_0x2ffb69['serverHistory'],_0x4ca2de=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x307b29,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x2ffb69['sessionId']});const _0x3e0735=this['editor']['config']['get']('cloudServices.bundleVersion')||_0xb681d8,_0xaa7955=await EditorService['isBundleUploaded'](_0x4ca2de['connection'],_0x3e0735);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x39d1ba})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x39d1ba)),'updateRevisions':async _0x4e3654=>{await this['_waitForServiceReady']();const _0xa56bb=this['_revisionTracker']['currentRevision'];if(_0xaa7955&&0x1===_0x4e3654['length']&&_0x4e3654[0x0]['id']===_0xa56bb['id'])return _0x4e3654;for(const _0x2fd864 of _0x4e3654)_0x2fd864['id']===_0xa56bb['id']&&(_0x2fd864['isEmptyCurrent']=_0x2fd864['fromVersion']===_0x2fd864['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x4e3654,this['_lastRequestId'])['then'](_0xdec9d=>(this['_lastRequestId']=_0xdec9d,_0x4e3654))['catch'](_0x5069e6=>{if($b(_0x5069e6)||'400'===_0x5069e6['code']&&void 0x0!==_0x5069e6['data']['wrongRequestId']){for(const _0x332260 of _0x4e3654){!this['_revisionTracker']['repository']['getRevision'](_0x332260['id'])||this['_revisionTracker']['_bufferUpdate'](_0x332260['id'],_0x332260,!0x1);}if($b(_0x5069e6))throw _0x5069e6;return _0x4e3654;}throw _0x5069e6;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x3c1428,{revisionsData:_0x2cfdf3,requestId:_0xa46dbd})=>{Math['max'](..._0x2cfdf3['map'](_0x3b20fa=>_0x3b20fa['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x2cfdf3,_0xa46dbd);}):this['_handleRevisionsUpdate'](_0x2cfdf3,_0xa46dbd);});const {revisions:_0x135728,requestId:_0x5d4666}=await this['_revisionHistoryService']['connect'](_0x4ca2de['connection']);_0x4ca2de['addToReconnectionStack'](this),this['_lastRequestId']=_0x5d4666,await this['_fetchMissingUsers'](_0x135728);for(const _0x4ed4ba of _0x135728)this['_revisionTracker']['addRevisionData'](_0x4ed4ba);this['listenTo'](_0x2ffb69,'change:_isConnected',(_0xd927d0,_0x34e3bf,_0x35f842)=>{_0x35f842&&(this['_oldOffset']=_0x2ffb69['_offset'],_0xd927d0['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x4ca2de,'state',_0x5d95d8=>_0x5d95d8===Ob);}async['reconnect'](){const _0x4dcf43=this['editor']['plugins']['get'](WebSocketGateway),_0x1e56ce=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x3564a9=async()=>{const _0x2630c9=this['_revisionTracker']['currentRevision'],_0x2d04ca=_0x2630c9['id'],_0x13f523=_0x2d04ca!==_0x1e56ce['sessionId'];if(_0x13f523){const _0x3d4418=_0x1e56ce['_offset']-this['_oldOffset'],_0x1a23af=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x2630c9['toVersion']+_0x3d4418!==_0x1a23af){const _0x294086=_0x2630c9['fromVersion']+_0x3d4418,_0x5baf11=this['editor']['plugins']['get'](Users),_0x505600=this['_revisionTracker']['buildRevisionData']({'revision':_0x2630c9,'from':_0x294086,'to':_0x1a23af});_0x505600['id']=_0x2630c9['id'];const _0x234ada=_0x505600['authorsIds']['map'](_0x3b105b=>_0x5baf11['getUser'](_0x3b105b));_0x2630c9['_update']({..._0x505600,'authors':_0x234ada},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x2630c9['id'],_0x505600,!0x0);}this['_revisionTracker']['_startingVersion']=_0x1a23af,(_0x2630c9['toVersion']===_0x2630c9['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x2d04ca)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x2d04ca),this['_revisionTracker']['_createCurrentRevision'](_0x1a23af));}const {revisions:_0x51e738,requestId:_0x39880b}=await this['_revisionHistoryService']['reconnect'](_0x4dcf43['connection'],this['_lastRequestId']);_0x13f523&&_0x51e738['length']>0x0?_0x1e56ce['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x51e738),this['_handleRevisionsUpdate'](_0x51e738,_0x39880b),this['_revisionTracker']['sendBufferedUpdates']());};return _0x1e56ce['_isConnected']?_0x3564a9():new Promise((_0x23c0ea,_0x4d756a)=>{_0x1e56ce['once']('change:_isConnected',()=>{_0x3564a9()['then'](_0x23c0ea)['catch'](_0x4d756a);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x5bb8f3=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x183143=>{_0x183143['off'](),_0x5bb8f3();});});}['_getLatestVersionFromServerOperations'](){const _0x169f3b=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x245d3d of _0x169f3b)if('marker'!==_0x245d3d['type']||_0x245d3d['affectsData'])return _0x245d3d['baseVersion']+0x1;}['_getLatestVersion'](){const _0x1eddcb=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x3d2517=>{_0x1eddcb['_isPendingUpdate']?_0x1eddcb['once']('change:_isPendingUpdate',()=>{_0x3d2517(this['_getLatestVersionFromServerOperations']());}):_0x3d2517(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x5a3afe,_0x58c478){const _0x4fc4e2=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x58c478;for(const _0x5ee9ba of _0x5a3afe){const _0x4c8b92=_0x4fc4e2['getRevision'](_0x5ee9ba['id']);if(_0x4c8b92){if((_0x5ee9ba['fromVersion']||_0x5ee9ba['toVersion'])&&(_0x5ee9ba['diffData']=null),_0x4c8b92===this['_revisionTracker']['currentRevision']){const _0xccd720=Math['max'](_0x4c8b92['toVersion'],_0x5ee9ba['toVersion']),_0x46a357=Math['max'](_0x4c8b92['fromVersion'],_0x5ee9ba['fromVersion']);let _0x13d337;_0x4c8b92['toVersion']===_0x5ee9ba['toVersion']&&_0x4c8b92['fromVersion']===_0x5ee9ba['fromVersion']?(_0x13d337=!0x0,this['_preventResendingRevisionData'](_0x5ee9ba)):_0x5ee9ba['toVersion']===_0xccd720&&_0x5ee9ba['fromVersion']===_0x46a357?_0x13d337=!0x1:(_0x4c8b92['toVersion']===_0xccd720&&_0x4c8b92['fromVersion']===_0x46a357||this['_fixRevision']({'revision':_0x4c8b92,'from':_0x46a357,'to':_0xccd720}),_0x13d337=!0x0),_0x13d337&&(delete _0x5ee9ba['fromVersion'],delete _0x5ee9ba['toVersion'],delete _0x5ee9ba['diffData'],delete _0x5ee9ba['createdAt'],delete _0x5ee9ba['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x5ee9ba),this['_preventResendingRevisionData'](_0x5ee9ba);}else this['_revisionTracker']['addRevisionData'](_0x5ee9ba);}const _0x4e83bc=_0x4fc4e2['getRevisions']();_0x4e83bc['reverse']();for(let _0x477b47=0x0;_0x477b47<_0x4e83bc['length']-0x1;_0x477b47++){const _0x2e7f7f=_0x4e83bc[_0x477b47],_0x4f424f=_0x4e83bc[_0x477b47+0x1];if(_0x2e7f7f['fromVersion']<_0x4f424f['toVersion']){const _0x1845ff=_0x4f424f['toVersion'],_0x3b5d86=Math['max'](_0x1845ff,_0x2e7f7f['toVersion']);this['_fixRevision']({'revision':_0x2e7f7f,'from':_0x1845ff,'to':_0x3b5d86});}}}['_fixRevision']({revision:_0x481bb9,from:_0x3f48de,to:_0x153f40}={}){const _0x5baf6a=this['editor']['plugins']['get'](Users),_0x4671d3=this['_revisionTracker']['buildRevisionData']({'revision':_0x481bb9,'from':_0x3f48de,'to':_0x153f40});_0x4671d3['authors']=_0x4671d3['authorsIds']['map'](_0x4c8246=>_0x5baf6a['getUser'](_0x4c8246)),_0x481bb9['_update'](_0x4671d3);}['_preventResendingRevisionData'](_0x512855){const _0x4e508d={};_0x4e508d['id']=_0x512855['id'];for(const _0x541f52 of Object['keys'](_0x512855))'id'!==_0x541f52&&(_0x4e508d[_0x541f52]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x4e508d['id'],_0x4e508d,!0x0);}async['_fetchMissingUsers'](_0x43cb00){const _0x2f3562=this['editor']['plugins']['get'](Users),{connection:_0x3d14a8}=this['editor']['plugins']['get'](WebSocketGateway),_0x52e3f3=new Set();for(const _0x6faf5e of _0x43cb00){for(const _0x1117d2 of _0x6faf5e['authorsIds'])_0x20fd8c(_0x1117d2);_0x6faf5e['creatorId']&&_0x20fd8c(_0x6faf5e['creatorId']);}if(0x0===_0x52e3f3['size'])return;const _0xa86950=await User['getMany'](_0x3d14a8,Array['from'](_0x52e3f3));for(const _0x574f97 of _0xa86950)_0x2f3562['getUser'](_0x574f97['id'])||_0x2f3562['addUser'](_0x574f97);function _0x20fd8c(_0x28025a){_0x2f3562['getUser'](_0x28025a)||_0x52e3f3['add'](_0x28025a);}}}function $b(_0x3495bf){return _0x3495bf['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x3495bf['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3495bf['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x4ac504{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 _0x268b55{['_collapseAt'];constructor(_0x2c9f76,_0x453328=0x6){super(_0x2c9f76);const _0x2c67aa=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x453328,this['bind']('isHidden')['to'](this,'usersCount',_0x19db53=>_0x19db53<_0x453328),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x2c67aa['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':_0x2c67aa['to']('usersCount',_0x4f373c=>'+'+(_0x4f373c-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x268b55{['items'];['keystrokes'];constructor(_0xa0c0bd){super(_0xa0c0bd);const _0x460a29=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x3c1644(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x460a29['if']('hasPopup'),'aria-expanded':_0x460a29['to']('isExpanded',_0x368423=>this['hasPopup']&&String(_0x368423)),'aria-label':_0x460a29['to']('hasPopup',_0x382dfc=>Eb(_0xa0c0bd,_0x382dfc?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x460a29['to']('hasPopup',_0x1152fe=>!!_0x1152fe&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x460a29['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x460a29['to'](_0x2f9881=>{const _0x2a56a0=_0x2f9881,_0x278a2d=document['querySelector']('.ck-presence-list__dropdown-list'),_0xba6496=document['querySelector']('.ck-balloon-panel_with-arrow');_0x278a2d?.['contains'](_0x2a56a0['relatedTarget'])||_0xba6496?.['contains'](_0x2a56a0['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x17e95c,_0x34b9c7,_0x2746aa)=>{this['element']&&(_0x2746aa?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 _0x268b55{['counterView'];['inlineListView'];constructor(_0x15faf9,_0x8a52d9=0x6){super(_0x15faf9);const _0x3f1635=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x8a52d9),this['inlineListView']=new PresenceInlineListView(_0x15faf9),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x164ef9 of this['inlineListView']['items'])_0x164ef9['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',_0x3f1635['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x268b55{['listWrapperView'];constructor(_0x5d9b80,_0x20b3e2){super(_0x5d9b80);const _0x582501=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x5d9b80,_0x20b3e2),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':Eb(_0x5d9b80,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x582501['to'](_0x10ab94=>{const _0x24b988=_0x10ab94,_0x2bb171=document['querySelector']('.ck-presence-list__list'),_0x160c6b=document['querySelector']('.ck-balloon-panel_with-arrow');_0x2bb171?.['contains'](_0x24b988['relatedTarget'])||_0x160c6b?.['contains'](_0x24b988['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0xb67f93{constructor(_0x2dad62,_0x80752d){super(_0x2dad62);const _0x4695f9=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x80752d?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x4695f9['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x4695f9['to']('role'),'aria-label':_0x4695f9['to']('ariaLabel'),'aria-labelledby':_0x4695f9['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x81fd87['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x316530=this['element'];_0x316530&&(this['_isScrollable']=Math['max'](_0x316530['scrollHeight'],_0x316530['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x3c0063{['userView'];constructor(_0x21faf8,_0x25076b,_0x576ebc){super(_0x21faf8);const _0x25d94e=this['bindTemplate'];this['userView']=new UserView(_0x21faf8,_0x25076b);const _0x34239a={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x25076b['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x25076b['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x25076b['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x576ebc&&(_0x34239a['tag']='button',_0x34239a['on']={'click':_0x25d94e['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x34239a);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x268b55{['userView'];['markerView'];constructor(_0x48efc6,_0x11de3c,_0x4c07b7){super(_0x48efc6);const _0x503607=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new UserView(_0x48efc6,_0x11de3c),this['markerView']=new MarkerView(_0x48efc6,_0x11de3c);const _0x2ea705=new Zt(_0x48efc6);_0x2ea705['template']['tag']='span',_0x2ea705['text']=_0x11de3c['name'];const _0x40b6a1={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x503607['to']('isFocusable',_0x451788=>!!_0x451788&&0x0),'aria-labelledby':_0x2ea705['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x503607['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x503607['to']('hasTooltip',_0x1c4b05=>!_0x1c4b05),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x2ea705]};_0x4c07b7&&(_0x40b6a1['tag']='button',_0x40b6a1['on']={'click':_0x503607['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x40b6a1);}}class MarkerView extends _0x268b55{constructor(_0x19bd2e,_0x318699){super(_0x19bd2e),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x318699['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const Vb={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x90c2d8{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x202c11){super(_0x202c11),this['context']['config']['define']('presenceList',Vb);const _0xafac6c=_0x202c11['config']['get']('presenceList.collapseAt');if('number'!=typeof _0xafac6c)throw new _0x1976e8('presencelist-collapseat-invalid-format',this);if(_0xafac6c<0x1)throw new _0x1976e8('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](Sessions)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0xe4e0d0(),this['balloonPanelView']=new ft(),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[Sessions];}['init'](){for(const _0x3b7768 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x3b7768);this['listenTo'](this['_allConnectedUsers'],'add',(_0x11cbe8,_0x31fa86)=>{this['_handleUserAdd'](_0x31fa86);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x234928,_0x50d506)=>{this['_handleUserRemove'](_0x50d506);});}['_createView'](){const _0x264b61=this['context'],_0x65aca=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x3dd4c8=this['balloonPanelView'];if(!qr(_0x264b61['config']['get']('presenceList.container')))throw new _0x1976e8('presencelist-missing-container',this);return _0x65aca['counterView']['bind']('usersCount')['to'](this),_0x65aca['bind']('isCollapsed')['to'](this,'usersCount',_0x368df0=>{const {collapseAt:_0x5b7ab1}=_0x264b61['config']['get']('presenceList'),_0x2baae2=_0x368df0>=_0x5b7ab1;if(_0x2baae2&&!_0x65aca['inlineListView']['items']['find'](_0x5a5716=>_0x5a5716 instanceof PresenceCounterView)){const _0x4c5d75=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x4c5d75&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x65aca['inlineListView']['items']['add'](_0x65aca['counterView']);}return _0x2baae2||this['hideDropdown'](),_0x2baae2;}),_0x65aca['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x238c62=>{const _0x3eadb5=_0x264b61['config']['get']('presenceList'),_0x176ccb=new PresenceInlineListItemView(_0x264b61['locale'],_0x238c62,!!_0x3eadb5['onClick']);return _0x176ccb['bind']('hasTooltip')['to'](_0x65aca,'isCollapsed',_0x2d194e=>!_0x2d194e),_0x176ccb['bind']('isFocusable')['to'](_0x65aca,'isCollapsed',_0x3d26fd=>!_0x3d26fd),_0x3eadb5['onClick']&&this['listenTo'](_0x176ccb,'execute',()=>{this['view']['isCollapsed']||_0x3eadb5['onClick'](_0x238c62,_0x176ccb['element']);}),_0x176ccb;}),this['listenTo'](_0x65aca['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x65aca['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x65aca['inlineListView']['keystrokes']['set']('Enter',(_0x3a8d8a,_0x5017e1)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x5017e1());}),_0x65aca['render'](),_0x3dd4c8['render'](),mt({'emitter':_0x65aca,'activator':()=>_0x3dd4c8['isVisible'],'contextElements':[_0x3dd4c8['element'],_0x65aca['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x264b61['config']['get']('presenceList.container')['appendChild'](_0x65aca['element']),this['_bodyCollection']=new dt(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x65aca;}['_handleUserAdd'](_0x29db90){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x29db90['isMe'])return;const _0x106e22=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x106e22-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x285872=_0x29db90['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x29db90,_0x285872);}['_handleUserRemove'](_0x19cb98){this['usersCount']--;const {collapseAt:_0x26737c}=this['context']['config']['get']('presenceList'),_0x13fb16=this['usersCount']>=_0x26737c;if(this['currentDisplayedUsers']['get'](_0x19cb98['id']))this['currentDisplayedUsers']['remove'](_0x19cb98['id']);else{if(_0x13fb16&&this['currentDisplayedUsers']['length']+0x1===_0x26737c-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x13fb16?0x1:0x0)<this['usersCount']){for(const _0x4b0076 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x4b0076['id'])&&(this['currentDisplayedUsers']['add'](_0x4b0076,Math['min'](this['currentDisplayedUsers']['length']-(_0x13fb16?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x13fb16?0x1:0x0)===_0x26737c-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x3863a7=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x3863a7['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x509d77}=this['presenceDropdownView'];_0x509d77['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x2fb05c=>{if(!_0x3863a7['displayMe']&&_0x2fb05c['isMe'])return null;const _0x2a6e7b=new PresenceDropdownListItemView(this['context']['locale'],_0x2fb05c,!!_0x3863a7['onClick']);return _0x3863a7['onClick']&&this['listenTo'](_0x2a6e7b,'execute',()=>{_0x3863a7['onClick'](_0x2fb05c,_0x2a6e7b['element']);}),_0x2a6e7b;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x509d77['focus'](),_0x509d77['checkIfScrollable']();const _0xf64e7c=(_0x1a887b,_0x767726)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x767726();};_0x509d77['keystrokes']['set']('Esc',_0xf64e7c),_0x509d77['keystrokes']['set']('Shift+Tab',_0xf64e7c),_0x509d77['keystrokes']['set']('Tab',(_0x2905f6,_0x33d1f7)=>{!function(_0x57866c){const _0x2f3f40=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x9c57e3=>_0x9c57e3+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x3e1603=[...document['body']['querySelectorAll'](_0x2f3f40)]['filter'](_0xd1a86c=>_0xd1a86c===document['activeElement']||_0xd1a86c['offsetWidth']+_0xd1a86c['offsetHeight']>0x0)['sort']((_0x394735,_0x3b4f8c)=>(_0x394735['tabIndex']||0x0)-(_0x3b4f8c['tabIndex']||0x0)),_0xf85c71=_0x3e1603['indexOf'](_0x57866c),_0x172a53=_0x3e1603[(_0xf85c71+0x1)%_0x3e1603['length']];_0x172a53&&_0x172a53['focus']();}(this['view']['element']),this['hideDropdown'](),_0x33d1f7();}),_0x509d77['focusTracker']['add'](this['view']['element']),_0x509d77['focusTracker']['on']('change:isFocused',(_0x193db5,_0x52aff9,_0x1fc15b)=>{_0x1fc15b||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);}}class PresenceList extends _0x90c2d8{static get['requires'](){return[Sessions,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class Revision extends/* #__PURE__ -- @preserve */
_0x266f1a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x32ab08){super(),this['id']=_0x32ab08['id']||_0x288d30(),this['creator']=_0x32ab08['creator']||null,this['authors']=_0x32ab08['authors']||[],this['diffData']=_0x32ab08['diffData']||null,this['toVersion']=_0x32ab08['toVersion']||0x0,this['fromVersion']=_0x32ab08['fromVersion']||0x0,this['set']('name',_0x32ab08['name']||''),this['set']('createdAt',_0x32ab08['createdAt']||new Date()),this['set']('attributes',_0x32ab08['attributes']||{});}['setName'](_0x1c0478){this['_update']({'name':_0x1c0478});}['setAttribute'](_0x478074,_0x490274){const _0x13f62a=Cr(this['attributes']);Qr(_0x13f62a,_0x478074,_0x490274),this['_update']({'attributes':_0x13f62a});}['removeAttribute'](_0x3465a6){const _0x36dc36=Cr(this['attributes']);Nr(_0x36dc36,_0x3465a6),this['_update']({'attributes':_0x36dc36});}['_update'](_0x37150e,_0x2c4a66=!0x1){let _0x3f1534=!0x1;const _0x327c19={'id':this['id']},_0x149bc1=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x122cbc of _0x149bc1){const _0x22404d=_0x37150e[_0x122cbc];void 0x0!==_0x22404d&&_0x22404d!==this[_0x122cbc]&&(this[_0x122cbc]=_0x22404d,_0x327c19[_0x122cbc]=_0x22404d,_0x3f1534=!0x0);}_0x3f1534&&(_0x327c19['authors']&&(_0x327c19['authorsIds']=_0x327c19['authors']['map'](_0x3be08b=>_0x3be08b['id']),delete _0x327c19['authors']),this['fire']('_update',_0x327c19,_0x2c4a66));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x298d70=>_0x298d70['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x4ac504{['_revisions'];static get['requires'](){return[Users];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x50e406){super(_0x50e406),this['_revisions']=new _0xe4e0d0();}['afterInit'](){!async function(_0x16e856){const _0x186664=_0x20cdd0([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]),_0x17bcae=0xeb829,_0x9c1db6=0x359e09b0,_0x18ab3e=0x359983d8^_0x9c1db6,_0x84e317=window[_0x20cdd0([0x44,0x61,0x74,0x65])][_0x20cdd0([0x6e,0x6f,0x77])](),_0x40e285=_0x16e856[_0x20cdd0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ff8a5=new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c7a15=>{_0x40e285[_0x20cdd0([0x6f,0x6e,0x63,0x65])](_0x20cdd0([0x72,0x65,0x61,0x64,0x79]),_0x3c7a15);}),_0x48626e={[_0x20cdd0([0x6b,0x74,0x79])]:_0x20cdd0([0x45,0x43]),[_0x20cdd0([0x75,0x73,0x65])]:_0x20cdd0([0x73,0x69,0x67]),[_0x20cdd0([0x63,0x72,0x76])]:_0x20cdd0([0x50,0x2d,0x32,0x35,0x36]),[_0x20cdd0([0x78])]:_0x20cdd0([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]),[_0x20cdd0([0x79])]:_0x20cdd0([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]),[_0x20cdd0([0x61,0x6c,0x67])]:_0x20cdd0([0x45,0x53,0x32,0x35,0x36])},_0x240876=_0x40e285[_0x20cdd0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20cdd0([0x67,0x65,0x74])](_0x20cdd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2edc88(){let _0x1bf8a0,_0x69ec76=null,_0x2a977c=null;try{if(_0x240876==_0x20cdd0([0x47,0x50,0x4c]))return _0x20cdd0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bf8a0=_0x19061a(),!_0x1bf8a0)return _0x20cdd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bf8a0[_0x20cdd0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a977c=_0x3e88ec(_0x1bf8a0[_0x20cdd0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bf8a0[_0x20cdd0([0x6a,0x74,0x69])])),await _0x3956fd()?_0x43f9be()?_0xa9ee35()?_0x20cdd0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52c9b2()?(_0x1bf8a0[_0x20cdd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20cdd0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x69ec76=_0xece265(_0x20cdd0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x596ae3()):_0x20cdd0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20cdd0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20cdd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20cdd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa9ee35(){const _0x1ed7a6=[_0x20cdd0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20cdd0([0x74,0x72,0x69,0x61,0x6c])][_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf8a0[_0x20cdd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x84e317/0x3e8:0xe10*_0x18ab3e;return _0x1bf8a0[_0x20cdd0([0x65,0x78,0x70])]<_0x1ed7a6;}function _0x43f9be(){const _0x5ece4d=_0x1bf8a0[_0x20cdd0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5ece4d)return!0x1;if(_0x5ece4d[_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cdd0([0x2a])))return!0x0;if(_0x5ece4d[_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cdd0([0x52,0x48])))return!0x0;if(_0x5ece4d[_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cdd0([0x52,0x52,0x48]))){if(_0x5914e0())return!0x0;if(_0xa1d132()||_0x10e79e())return!0x0;}return!0x1;}function _0x52c9b2(){const _0x28474c=_0x1bf8a0[_0x20cdd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28474c||0x0==_0x28474c[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5438d7}=new URL(window[_0x20cdd0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28474c[_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5438d7))return!0x0;const _0x5f2f3a=_0x5438d7[_0x20cdd0([0x73,0x70,0x6c,0x69,0x74])](_0x20cdd0([0x2e]));return _0x28474c[_0x20cdd0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd626b8=>_0xd626b8[_0x20cdd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cdd0([0x2a])))[_0x20cdd0([0x6d,0x61,0x70])](_0x445844=>_0x445844[_0x20cdd0([0x73,0x70,0x6c,0x69,0x74])](_0x20cdd0([0x2e])))[_0x20cdd0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb365=>_0x3cb365[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f2f3a[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20cdd0([0x6d,0x61,0x70])](_0x28e1b7=>Array(_0x5f2f3a[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28e1b7[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20cdd0([0x66,0x69,0x6c,0x6c])](_0x28e1b7[0x0]===_0x20cdd0([0x2a])?_0x20cdd0([0x2a]):'')[_0x20cdd0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28e1b7))[_0x20cdd0([0x73,0x6f,0x6d,0x65])](_0x5af452=>_0x5f2f3a[_0x20cdd0([0x65,0x76,0x65,0x72,0x79])]((_0x42fc76,_0x2a4592)=>_0x5af452[_0x2a4592]===_0x42fc76||_0x5af452[_0x2a4592]===_0x20cdd0([0x2a])));}function _0x596ae3(){return _0x69ec76&&_0x2a977c?new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40cff9,_0x26201c)=>{_0x69ec76[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0x40cff9,_0x26201c),_0x2a977c[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0x51bd4a=>{_0x51bd4a!=_0x20cdd0([0x56,0x61,0x6c,0x69,0x64])&&_0x40cff9(_0x51bd4a);},_0x26201c);}):_0x69ec76||_0x2a977c||_0x20cdd0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e88ec(_0xc78fe5,_0x31f6df){return new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1538fb=>{if(_0x2a6ec0())return _0x1538fb(_0x20cdd0([0x56,0x61,0x6c,0x69,0x64]));_0x10abd2(),_0x40e285[_0x20cdd0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20cdd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ec513=!0x1;const _0x2c2e96=_0x288d30();function _0x53f12d(_0x3da6d7){return!!_0x3da6d7&&(typeof _0x3da6d7===_0x20cdd0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3da6d7===_0x20cdd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3da6d7[_0x20cdd0([0x74,0x68,0x65,0x6e])]===_0x20cdd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3da6d7[_0x20cdd0([0x63,0x61,0x74,0x63,0x68])]===_0x20cdd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fa610(_0x2ac22b){_0x566675(_0x2ac22b)[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0x2ecf02=>{if(!_0x2ecf02||_0x2ecf02[_0x20cdd0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20cdd0([0x6f,0x6b]))return _0x20cdd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43aaee(_0x49a642(_0x2c2e96+_0x31f6df))!=_0x2ecf02[_0x20cdd0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20cdd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20cdd0([0x56,0x61,0x6c,0x69,0x64]);})[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0xf12549=>(_0x46c627(),_0xf12549),()=>{const _0x20bab2=_0x5f0848();return null==_0x20bab2?(_0x46c627(),_0x20cdd0([0x56,0x61,0x6c,0x69,0x64])):_0x20cdd0(_0x84e317-_0x20bab2>(0x11928db0^_0x9c1db6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0x1538fb)[_0x20cdd0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1538fb(_0x20cdd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ccfa7=0x35a8e730^_0x9c1db6;function _0x46c627(){const _0x1ee587=_0x20cdd0([0x6c,0x6c,0x63,0x74,0x2d])+_0x43aaee(_0x49a642(_0xc78fe5)),_0x484181=_0x377e43(_0x43aaee(window[_0x20cdd0([0x4d,0x61,0x74,0x68])][_0x20cdd0([0x63,0x65,0x69,0x6c])](_0x84e317/_0x5ccfa7)));window[_0x20cdd0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20cdd0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee587,_0x484181);}function _0x5f0848(){const _0x499418=_0x20cdd0([0x6c,0x6c,0x63,0x74,0x2d])+_0x43aaee(_0x49a642(_0xc78fe5)),_0x477a31=window[_0x20cdd0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20cdd0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x499418);return _0x477a31?window[_0x20cdd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x377e43(_0x477a31),0x10)*_0x5ccfa7:null;}function _0x566675(_0x350961){return new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d3a68,_0x2b3e8e)=>{_0x350961[_0x20cdd0([0x74,0x68,0x65,0x6e])](_0x1d3a68,_0x2b3e8e),window[_0x20cdd0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b3e8e,0x359fdd70^_0x9c1db6);});}}_0x40e285[_0x20cdd0([0x6f,0x6e])](_0x20cdd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x127a28,_0x57e762)=>{if(_0x57e762[0x0]!=_0xc78fe5)return _0x1538fb(_0x20cdd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57e762[0x1]={..._0x57e762[0x1],[_0x20cdd0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2e96};},{[_0x20cdd0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20cdd0([0x68,0x69,0x67,0x68])}),_0x40e285[_0x20cdd0([0x6f,0x6e])](_0x20cdd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26afef=>{_0x53f12d(_0x26afef[_0x20cdd0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ec513=!0x0,_0x2fa610(_0x26afef[_0x20cdd0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20cdd0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20cdd0([0x6c,0x6f,0x77])}),_0x3ff8a5[_0x20cdd0([0x74,0x68,0x65,0x6e])](()=>{_0x4ec513||_0x1538fb(_0x20cdd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a6ec0(){return _0x40e285[_0x20cdd0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20cdd0([0x76,0x69,0x65,0x77])][_0x20cdd0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20cdd0([0x61,0x75,0x74,0x6f]);}function _0x10abd2(){_0x40e285[_0x20cdd0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20cdd0([0x76,0x69,0x65,0x77])][_0x20cdd0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20cdd0([0x61,0x75,0x74,0x6f]);}}function _0xece265(_0xe8054f){const _0x493692=new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29e9aa=>setTimeout(_0x29e9aa,0x3597377c^_0x9c1db6)),_0x315a32=_0x3ff8a5[_0x20cdd0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55283b=>{const _0x4ede72=0x359e09b7^_0x9c1db6,_0x3eb2bf=_0x16e856[_0x20cdd0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x2685fd(){_0x3eb2bf[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4ede72&&_0x55283b();}_0x2685fd(),_0x3eb2bf[_0x20cdd0([0x6f,0x6e])](_0x20cdd0([0x61,0x64,0x64]),_0x2685fd);})),_0x40b2af=new window[(_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47cba6=>{function _0x482eaa(){for(const _0x8f9393 in window)if(window[_0x20cdd0([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x20cdd0([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x8f9393))&&window[_0x8f9393]==_0x17bcae)return _0x47cba6();_0x40e285[_0x20cdd0([0x73,0x74,0x61,0x74,0x65])]!=_0x20cdd0([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x20cdd0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x482eaa,0x359e1a38^_0x9c1db6);}_0x79e191(_0x20cdd0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x482eaa();}),_0x56b9b3=[_0x493692,_0x315a32,_0x40b2af];return window[_0x20cdd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20cdd0([0x72,0x61,0x63,0x65])](_0x56b9b3)[_0x20cdd0([0x74,0x68,0x65,0x6e])](()=>_0xe8054f);}async function _0x9e202c(){if(await _0x3ff8a5,_0x79e191(_0x20cdd0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xa629ab=_0x16e856[_0x20cdd0([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x375403=_0x16e856[_0x20cdd0([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])](_0xa629ab[_0x20cdd0([0x69,0x64])]),_0x1960be=_0x486bdf(_0x20cdd0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x1960be[_0x20cdd0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xa629ab['id'],_0x375403?_0x375403['id']:null,!0x0),_0x1960be[_0x20cdd0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x20cdd0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1960be[_0x20cdd0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1960be[_0x20cdd0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x1b4dd1,void(_0x1960be[_0x20cdd0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x1b4dd1);}if(_0x79e191(_0x20cdd0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x3c0115=_0x486bdf(_0x20cdd0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x3c0115[_0x20cdd0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x20cdd0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3c0115[_0x20cdd0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3c0115[_0x20cdd0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x1b4dd1,_0x3c0115[_0x20cdd0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x1b4dd1;}_0x40e285[_0x20cdd0([0x6d,0x6f,0x64,0x65,0x6c])][_0x20cdd0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b4dd1,_0x40e285[_0x20cdd0([0x6d,0x6f,0x64,0x65,0x6c])][_0x20cdd0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b4dd1,_0x40e285[_0x20cdd0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20cdd0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5914e0(){return _0x79e191(_0x20cdd0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x486bdf(_0x20cdd0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x20cdd0([0x73,0x74,0x61,0x74,0x65])]==_0x20cdd0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xa1d132(){return _0x79e191(_0x20cdd0([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]));}function _0x10e79e(){return _0x79e191(_0x20cdd0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x5f334e(_0x348cb8){const _0x20315b=_0x22d650();_0x40e285[_0x20315b]=_0x20cdd0([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])+_0x348cb8,_0x348cb8[_0x20cdd0([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x20cdd0([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x22d650()]=_0x17bcae),_0x348cb8!=_0x20cdd0([0x56,0x61,0x6c,0x69,0x64])&&_0x9e202c();}function _0x22d650(){const _0x4cd23e=window[_0x20cdd0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20cdd0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20cdd0([0x6e,0x6f,0x77])]())[_0x20cdd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20cdd0([0x2e]),'');let _0x35acb8=_0x20cdd0([0x76]);for(let _0x330e9a=0x0;_0x330e9a<_0x4cd23e[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x330e9a+=0x2){let _0xae1122=window[_0x20cdd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cd23e[_0x20cdd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x330e9a,_0x330e9a+0x2));_0xae1122>=_0x186664[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xae1122-=_0x186664[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35acb8+=_0x186664[_0xae1122];}return _0x35acb8;}function _0x19061a(){const _0x1bebf4=_0x240876[_0x20cdd0([0x73,0x70,0x6c,0x69,0x74])](_0x20cdd0([0x2e]));if(0x3!=_0x1bebf4[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9ef9a8(_0x1bebf4[0x1]);function _0x9ef9a8(_0x5564cf){const _0x247871=_0x5eacec(_0x5564cf);return _0x247871&&_0x40e547()?_0x247871:null;function _0x40e547(){const _0x5c67d2=_0x247871[_0x20cdd0([0x6a,0x74,0x69])],_0x58e56b=window[_0x20cdd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c67d2[_0x20cdd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c67d2[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x68c640={..._0x247871,[_0x20cdd0([0x6a,0x74,0x69])]:_0x5c67d2[_0x20cdd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c67d2[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x68c640[_0x20cdd0([0x76,0x63])],_0x49a642(_0x68c640)==_0x58e56b;}}}async function _0x3956fd(){let _0x64614c=!0x0;try{const _0x429107=_0x240876[_0x20cdd0([0x73,0x70,0x6c,0x69,0x74])](_0x20cdd0([0x2e])),[_0x18bdf4,_0x3f1478,_0x2bf03c]=_0x429107;return _0x38cfea(_0x18bdf4),await _0x1b1e8b(_0x18bdf4,_0x3f1478,_0x2bf03c),_0x64614c;}catch{return!0x1;}function _0x38cfea(_0x3b0a90){const _0x30bfc1=_0x5eacec(_0x3b0a90);_0x30bfc1&&_0x30bfc1[_0x20cdd0([0x61,0x6c,0x67])]==_0x20cdd0([0x45,0x53,0x32,0x35,0x36])||(_0x64614c=!0x1);}async function _0x1b1e8b(_0x454c5c,_0xce1c6b,_0x2eb937){const _0x772229=window[_0x20cdd0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20cdd0([0x66,0x72,0x6f,0x6d])](_0x34a925(_0x2eb937),_0x32bddd=>_0x32bddd[_0x20cdd0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e3c26=new window[(_0x20cdd0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20cdd0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x454c5c+_0x20cdd0([0x2e])+_0xce1c6b),_0x1db95e=window[_0x20cdd0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20cdd0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1db95e)return;const _0x5a5509=await _0x1db95e[_0x20cdd0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20cdd0([0x6a,0x77,0x6b]),_0x48626e,{[_0x20cdd0([0x6e,0x61,0x6d,0x65])]:_0x20cdd0([0x45,0x43,0x44,0x53,0x41]),[_0x20cdd0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20cdd0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20cdd0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1db95e[_0x20cdd0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20cdd0([0x6e,0x61,0x6d,0x65])]:_0x20cdd0([0x45,0x43,0x44,0x53,0x41]),[_0x20cdd0([0x68,0x61,0x73,0x68])]:{[_0x20cdd0([0x6e,0x61,0x6d,0x65])]:_0x20cdd0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a5509,_0x772229,_0x5e3c26)||(_0x64614c=!0x1);}}function _0x5eacec(_0x156220){return _0x156220[_0x20cdd0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20cdd0([0x65,0x79]))?JSON[_0x20cdd0([0x70,0x61,0x72,0x73,0x65])](_0x34a925(_0x156220)):null;}function _0x34a925(_0x5352ec){return window[_0x20cdd0([0x61,0x74,0x6f,0x62])](_0x5352ec[_0x20cdd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20cdd0([0x2b]))[_0x20cdd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20cdd0([0x2f])));}function _0x49a642(_0xdd1649){let _0x8bda36=0x1505;function _0x23040f(_0x2b5538){for(let _0x52acb0=0x0;_0x52acb0<_0x2b5538[_0x20cdd0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52acb0++){const _0x653032=_0x2b5538[_0x20cdd0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52acb0);_0x8bda36=(_0x8bda36<<0x5)+_0x8bda36+_0x653032,_0x8bda36&=_0x8bda36;}}function _0x116837(_0x485761){Array[_0x20cdd0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x485761)?_0x485761[_0x20cdd0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x116837):_0x485761&&typeof _0x485761==_0x20cdd0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20cdd0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x485761)[_0x20cdd0([0x73,0x6f,0x72,0x74])]()[_0x20cdd0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45d13e,_0x40a0e8])=>{_0x23040f(_0x45d13e),_0x116837(_0x40a0e8);}):_0x23040f(window[_0x20cdd0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x485761));}return _0x116837(_0xdd1649),_0x8bda36>>>0x0;}function _0x43aaee(_0x473af7){return _0x473af7[_0x20cdd0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20cdd0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20cdd0([0x30]));}function _0x377e43(_0x9bb1f7){return _0x9bb1f7[_0x20cdd0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20cdd0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20cdd0([0x6a,0x6f,0x69,0x6e])]('');}function _0x79e191(_0x501f5a){return _0x40e285[_0x20cdd0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x20cdd0([0x68,0x61,0x73])](_0x501f5a);}function _0x486bdf(_0x2152c0){return _0x40e285[_0x20cdd0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x20cdd0([0x67,0x65,0x74])](_0x2152c0);}function _0x1b4dd1(){}function _0x20cdd0(_0x2a04d3){return _0x2a04d3['map'](_0x1da139=>String['fromCharCode'](_0x1da139))['join']('');}_0x5f334e(await _0x2edc88());}(this);}['createRevision'](_0x4b89ac){const _0x14c212=this['editor']['plugins']['get']('Users');return new Revision({'id':_0x4b89ac['id'],'name':_0x4b89ac['name'],'creator':_0x4b89ac['creatorId']?_0x14c212['getUser'](_0x4b89ac['creatorId']):null,'diffData':_0x4b89ac['diffData']||_0x4b89ac['data'],'authors':_0x4b89ac['authorsIds']['map'](_0x124306=>_0x14c212['getUser'](_0x124306)),'createdAt':new Date(_0x4b89ac['createdAt']),'attributes':_0x4b89ac['attributes'],'fromVersion':_0x4b89ac['fromVersion'],'toVersion':_0x4b89ac['toVersion']});}['addRevision'](_0x2b2fd5,_0x4470ee=0x0){this['_revisions']['add'](_0x2b2fd5,_0x4470ee);}['getRevision'](_0x3bd045){return this['_revisions']['get'](_0x3bd045);}['getRevisions'](_0x324d1d={'toJSON':!0x1}){const _0x287870=Array['from'](this['_revisions']);return _0x287870['reverse'](),_0x324d1d['toJSON']?_0x287870['map'](_0x23a9d2=>_0x23a9d2['toJSON']()):_0x287870;}['getIndex'](_0x66eea5){return this['_revisions']['getIndex'](_0x66eea5);}['getEarlierVisibleRevision'](_0x5b7dc1){const [,_0x1a76d3]=this['getRevisionsIterator'](_0x5b7dc1,{'direction':'earlier'});return _0x1a76d3;}['getLaterVisibleRevision'](_0x12412c){const [,_0x344d25]=this['getRevisionsIterator'](_0x12412c,{'direction':'later'});return _0x344d25;}['getRevisionsInDiff'](_0x42fdd){const _0x576ca7=[];for(const _0x433023 of this['getRevisionsIterator'](_0x42fdd['newRevisionId']))if(_0x576ca7['push'](_0x433023),_0x433023['id']===_0x42fdd['oldRevisionId'])break;return _0x576ca7;}*['getRevisionsIterator'](_0x555e5d,{direction:_0xdec63='earlier',filter:_0x3ec257=()=>!0x0}={}){const _0x35f9da='earlier'===_0xdec63?0x1:-0x1;let _0x24c51b=this['_revisions']['get'](_0x555e5d),_0x3b9834=this['getIndex'](_0x24c51b);for(yield _0x24c51b;_0x24c51b;){if(_0x3b9834+=_0x35f9da,_0x24c51b=this['getRevision'](_0x3b9834),!_0x24c51b)return;_0x3ec257(_0x24c51b)&&(yield _0x24c51b);}}}class RevisionHistoryUtils extends _0x4ac504{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x2ab73e,'c'],[_0x5ecf7b,'a'],[_0x105c58,'e'],[_0x2ba5e7,'r'],[_0x2eed8c,'u']]);['_typeCharToViewClass']=new Map([['c',_0x2ab73e],['a',_0x5ecf7b],['e',_0x105c58],['r',_0x2ba5e7],['u',_0x2eed8c]]);async['loadRevisionData'](_0x552e3b,_0x1f013d){if(_0x552e3b['diffData']||!_0x1f013d)return;const _0x136b86=this['editor']['config']['get']('collaboration.channelId'),_0x395b7d=await _0x1f013d['getRevision']({'channelId':_0x136b86,'revisionId':_0x552e3b['id']});_0x552e3b['diffData']=_0x395b7d['diffData'];}['getRevisionDocumentData'](_0x3ec486){const _0x1fb1fb={};for(const _0x4b78a2 in _0x3ec486['diffData']){if(_0x3ec486['diffData'][_0x4b78a2]['attachChange']&&!_0x3ec486['diffData'][_0x4b78a2]['attachChange']['isAttached'])continue;const _0x3c4837=this['_removeRevisionMarkers'](JSON['parse'](_0x3ec486['diffData'][_0x4b78a2]['insertions'])),_0x753ec8=this['editor']['editing']['view']['document'],_0x5bd8bf=new _0x31dacb(_0x753ec8,_0x3c4837['map'](_0x2e187c=>this['_getViewFromDiffObj'](_0x2e187c,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1fb1fb[_0x4b78a2]=this['editor']['data']['processor']['toData'](_0x5bd8bf),this['editor']['data']['processor']['useFillerType']('default');}return _0x1fb1fb;}['getRevisionRootsAttributes'](_0x47b6b2){const _0x6f4616={};for(const _0x30d452 in _0x47b6b2['diffData'])_0x47b6b2['diffData'][_0x30d452]['attachChange']&&!_0x47b6b2['diffData'][_0x30d452]['attachChange']['isAttached']||(_0x6f4616[_0x30d452]=_0x47b6b2['diffData'][_0x30d452]['attributesAfter']||{});return _0x6f4616;}['_getTypeCharForViewElement'](_0x11bac1){return this['_viewClassToTypeChar']['get'](_0x11bac1['constructor']);}['_getViewFromDiffObj'](_0x5a694e,_0x17ead6){const _0x6cfebf=this['editor']['editing']['view']['document'];if('string'==typeof _0x5a694e)return new _0x2bf9d2(_0x6cfebf,_0x5a694e);{let _0x621a49,_0x4d7e43;_0x4d7e43='u'==_0x5a694e['type']||'r'==_0x5a694e['type']?[]:_0x5a694e['children']['map'](_0x4df1f1=>this['_getViewFromDiffObj'](_0x4df1f1,_0x17ead6));const _0x2288d5=this['_typeCharToViewClass']['get'](_0x5a694e['type'])||_0x56af19,_0x53cdcf=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x621a49=new _0x2288d5(_0x6cfebf,_0x5a694e['name'],_0x5a694e['attributes'],_0x4d7e43),'u'==_0x5a694e['type']&&_0x5a694e['children'][0x0]){const _0x2943d7=_0x5a694e['children'][0x0];if(_0x621a49['render']=function(_0x5d6e97){const _0x34baf3=_0x5d6e97['createElement']('div');return _0x34baf3['innerHTML']=_0x2943d7,_0x34baf3['childNodes'][0x0];},_0x17ead6){const _0x101b39=new _0x31dacb(_0x6cfebf);_0x101b39['_appendChild'](_0x621a49);const _0x26595e=Array['from'](_0x53cdcf['viewChildrenToDom'](_0x101b39,{'bind':!0x1})),_0x84e830=_0x53cdcf['domDocument']['createElement']('div');_0x84e830['append'](..._0x26595e),_0x621a49=Array['from'](_0x53cdcf['domChildrenToView'](_0x84e830))[0x0];}}else{if('r'==_0x5a694e['type']&&_0x5a694e['children'][0x0]){const _0x2bd940=_0x5a694e['children'][0x0];if(_0x621a49['render']=function(_0x330cc9){_0x330cc9['innerHTML']=_0x2bd940;},_0x17ead6){const _0x3c5469=new _0x31dacb(_0x6cfebf);_0x3c5469['_appendChild'](_0x621a49);const _0x391f0c=Array['from'](_0x53cdcf['viewChildrenToDom'](_0x3c5469,{'bind':!0x1})),_0x1fca2a=_0x53cdcf['domDocument']['createElement']('div');_0x1fca2a['append'](..._0x391f0c);const _0x2b9d78=Array['from'](_0x53cdcf['domChildrenToView'](_0x1fca2a));_0x2b9d78['length']>0x1?_0x621a49['_appendChild'](_0x2b9d78):_0x621a49=_0x2b9d78[0x0];}}}if(_0x5a694e['customProperties']){for(const [_0x5ab1e3,_0x36711b]of _0x5a694e['customProperties'])_0x621a49['_setCustomProperty'](_0x5ab1e3,_0x36711b);}const _0x1f798f=void 0x0===_0x5a694e['fillerOffset']?null:_0x5a694e['fillerOffset'];return null!==_0x1f798f&&(_0x621a49['getFillerOffset']=()=>_0x1f798f),_0x621a49;}}['_makeModelFromViewString'](_0x1af05c){const _0x2ab0d8=JSON['parse'](_0x1af05c),_0x1739a9=this['editor']['editing']['view']['document'],_0x3c5f54=new _0x31dacb(_0x1739a9,_0x2ab0d8['map'](_0x5331e5=>this['_getViewFromDiffObj'](_0x5331e5,!0x0)));return this['editor']['data']['toModel'](_0x3c5f54);}['_removeRevisionMarkers'](_0x128890){return(_0x128890=_0x128890['filter'](_0x4c7fa5=>!_0x4c7fa5['name']||'revision-start'!==_0x4c7fa5['name']&&'revision-end'!==_0x4c7fa5['name']))['forEach'](_0x528eef=>{'string'!=typeof _0x528eef&&(_0x528eef['children']=this['_removeRevisionMarkers'](_0x528eef['children']),_0x528eef['attributes']=_0x528eef['attributes']['filter'](_0x48f3e3=>!_0x48f3e3[0x0]['startsWith']('data-revision-')));}),_0x128890;}}function Ub(_0x3dc9d5,_0x2ad1c1,_0x59d129){const t=_0x3dc9d5['t'];switch(_0x2ad1c1){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'},_0x59d129);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x59d129);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 RevisionTracker extends _0x4ac504{['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[Users,RevisionsRepository,RevisionHistoryUtils,_0xdf428];}constructor(_0xf9a9dd){super(_0xf9a9dd),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 _0x5cc317=_0x288d30();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5cc317},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 _0x40472f=this['repository']['getRevision'](0x0),_0x48cfca=_0x40472f&&null===_0x40472f['creator']?_0x40472f:null;if(this['_continueCurrentRevision']=!!_0x48cfca&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5d13b4=this['_source']['getCurrentRevisionId'](),_0x4bcf98=this['repository']['getRevision'](_0x5d13b4);if(_0x4bcf98)this['_startingVersion']=_0x4bcf98['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x31abb4=this['_source']['history']['_operations']['find'](_0x27713c=>!_0x27713c['_isInit']),_0x467f5c=_0x31abb4?_0x31abb4['baseVersion']:this['_source']['history']['version'];_0x40472f?(_0x40472f['toVersion']<_0x467f5c&&_0x40472f['_update']({'toVersion':_0x467f5c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x48cfca['id'],this['_startingVersion']=_0x48cfca['fromVersion']):(this['_startingVersion']=_0x40472f['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x467f5c,this['_continueCurrentRevision']=!0x1);}}else _0x48cfca&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x48cfca['toVersion'],this['editor']['model']['document']['history']['version']),_0x48cfca['fromVersion']===_0x48cfca['toVersion']?(0x0!==_0x48cfca['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x48cfca['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x48cfca['id'],this['_startingVersion']=_0x48cfca['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',_0x2c1991=>!_0x2c1991),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x96de70=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38b55a;for(const _0x4e2137 in _0x96de70){const _0x4d4c79=_0x4e2137,_0x1d97d8=_0x96de70[_0x4d4c79];if('revisionHistoryLicenseKeyValid'==_0x1d97d8||'revisionHistoryLicenseKeyInvalid'==_0x1d97d8||'revisionHistoryLicenseKeyExpired'==_0x1d97d8||'revisionHistoryLicenseKeyDomainLimit'==_0x1d97d8||'revisionHistoryLicenseKeyNotAllowed'==_0x1d97d8||'revisionHistoryLicenseKeyEvaluationLimit'==_0x1d97d8||'revisionHistoryLicenseKeyUsageLimit'==_0x1d97d8){delete _0x96de70[_0x4d4c79],_0x38b55a=_0x1d97d8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x38b55a&&_0x96de70['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x38b55a&&_0x96de70['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x38b55a&&_0x96de70['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x38b55a&&_0x96de70['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x38b55a&&_0x96de70['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x38b55a&&_0x96de70['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x47bad3=this['repository']['getRevision'](0x0),_0x41616c=await this['getRevisionDocumentData'](_0x47bad3),_0x51bbd9=await this['getRevisionRootsAttributes'](_0x47bad3);this['_replaceEditorDataWithRevisionData'](_0x41616c,_0x51bbd9);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x2ed913){this['_source']=_0x2ed913;}async['update'](){const _0x341c14=await this['_source']['getLatestVersion']();if(_0x341c14>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5ba136=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x341c14});_0x5ba136['authors']=_0x5ba136['authorsIds']['map'](_0x323735=>this['editor']['plugins']['get']('Users')['getUser'](_0x323735)),this['currentRevision']['_update'](_0x5ba136);}}async['saveRevision'](_0x289603={},_0x3c5215=null){const _0x5cb6c7=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3c5215>this['currentRevision']['toVersion']&&(_0x3c5215=null),null===_0x3c5215&&(_0x3c5215=await this['_source']['getLatestVersion']());const _0xb28d8=this['_getFromVersion'](_0x3c5215),_0x374125=this['buildRevisionData']({'from':_0xb28d8,'to':_0x3c5215});if(this['currentRevision']['toVersion']<_0x3c5215){const _0x1da919=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3c5215,'to':_0x3c5215});_0x1da919['authors']=[],_0x1da919['authorsIds']=[],_0x1da919['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1da919,!0x0),delete _0x1da919['authors'],_0x5cb6c7['push'](_0x1da919);}_0x289603['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x289603['name']=_0x289603['name']||null,_0x289603['id']=_0x289603['id']||_0x288d30(),_0x289603={..._0x289603,..._0x374125};const _0x1bde65=this['addRevisionData'](_0x289603);_0x5cb6c7['push'](_0x289603);const _0x52cc4e=this['repository']['getIndex'](_0x1bde65);if(0x0!==_0x52cc4e){const _0x19216f=this['repository']['getRevision'](_0x52cc4e-0x1);if(_0x19216f['fromVersion']!==_0x3c5215){const _0x54c5fc=this['_revisionDataBuilder']['getData'](_0x3c5215,_0x19216f['toVersion']),_0x156ab4={'id':_0x19216f['id'],'diffData':_0x54c5fc['diffData'],'authorsIds':_0x54c5fc['authorsIds'],'authors':_0x54c5fc['authorsIds']['map'](_0x35a32f=>this['editor']['plugins']['get']('Users')['getUser'](_0x35a32f)),'fromVersion':_0x3c5215};_0x19216f===this['currentRevision']&&(_0x156ab4['createdAt']=new Date(_0x289603['createdAt']['getTime']()+0xa)),_0x19216f['_update'](_0x156ab4,!0x0),delete _0x156ab4['authors'],_0x5cb6c7['push'](_0x156ab4);}}if(this['adapter']){for(const _0x355257 of _0x5cb6c7)this['_bufferUpdate'](_0x355257['id'],_0x355257,!0x0);this['sendBufferedUpdates']();}return _0x1bde65;}['addRevisionData'](_0x32fb1d){const _0x4e01e9=this['repository']['createRevision'](_0x32fb1d);return this['adapter']&&_0x4e01e9['on']('_update',(_0x2da189,_0x5bc51e,_0x2ba7bd)=>{_0x2ba7bd||(this['_bufferUpdate'](_0x5bc51e['id'],_0x5bc51e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4e01e9,this['_findInsertionIndex'](_0x4e01e9)),_0x4e01e9;}async['getRevisionDocumentData'](_0xfbb12){return await this['_utils']['loadRevisionData'](_0xfbb12,this['adapter']),this['_utils']['getRevisionDocumentData'](_0xfbb12);}async['getRevisionRootsAttributes'](_0x37e28b){return await this['_utils']['loadRevisionData'](_0x37e28b,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x37e28b);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4047ba=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x445988=0x0;_0x445988<_0x4047ba['length'];_0x445988++){const _0x22b450=_0x4047ba[_0x445988];let _0x593700=!0x1;for(const _0x5cbe5d of Object['keys'](_0x22b450))void 0x0===_0x22b450[_0x5cbe5d]?delete _0x22b450[_0x5cbe5d]:'id'!==_0x5cbe5d&&(_0x593700=!0x0);_0x593700||(_0x4047ba[_0x445988]=null);}if(_0x4047ba=_0x4047ba['filter'](_0xd724e4=>null!==_0xd724e4),!_0x4047ba['length'])return;for(let _0x471a31=0x0;_0x471a31<_0x4047ba['length'];_0x471a31++){const _0x57d889=_0x4047ba[_0x471a31];void 0x0!==_0x57d889['fromVersion']&&void 0x0===_0x57d889['toVersion']&&(_0x57d889['toVersion']=this['repository']['getRevision'](_0x57d889['id'])['toVersion']),void 0x0!==_0x57d889['toVersion']&&void 0x0===_0x57d889['fromVersion']&&(_0x57d889['fromVersion']=this['repository']['getRevision'](_0x57d889['id'])['fromVersion']);}const _0x539840=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4047ba,_0x539840)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x449c3e=>{if(_0x449c3e){for(const _0x55dafd of _0x449c3e)this['setRevisionData']({'id':_0x55dafd['id'],'createdAt':_0x55dafd['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x24796e=null,from:_0x56b7a1=null,to:_0x1f370e=null}){_0x56b7a1=null!==_0x56b7a1?_0x56b7a1:_0x24796e['fromVersion'],_0x1f370e=null!==_0x1f370e?_0x1f370e:_0x24796e['toVersion'];const _0x753b18=this['_revisionDataBuilder']['getData'](_0x56b7a1,_0x1f370e),_0x2817f8={'diffData':_0x753b18['diffData'],'authorsIds':_0x753b18['authorsIds'],'fromVersion':_0x56b7a1,'toVersion':_0x1f370e};if(!_0x24796e||_0x1f370e!==_0x24796e['toVersion']){const _0x286aae=_0x1f370e-0x1,_0x5b6b29=this['_source']['history']['getOperation'](_0x286aae);_0x2817f8['createdAt']=_0x5b6b29&&_0x5b6b29['createdAt']||new Date();}if(this['_loadedStateData']&&_0x56b7a1===this['_loadedStateData']['fromVersion']){for(const _0x6ecb67 of this['_loadedStateData']['authors'])_0x2817f8['authorsIds']['includes'](_0x6ecb67['id'])||_0x2817f8['authorsIds']['push'](_0x6ecb67['id']);}return _0x2817f8;}['_bufferUpdate'](_0x471806,_0x2ed49a,_0x2dc4b8){if(this['_bufferedUpdates']['has'](_0x471806)){const _0x3b77b0=this['_bufferedUpdates']['get'](_0x471806);_0x2ed49a=_0x2dc4b8?{..._0x3b77b0,..._0x2ed49a}:{..._0x2ed49a,..._0x3b77b0};}this['_bufferedUpdates']['set'](_0x471806,_0x2ed49a);}['setRevisionData'](_0x44fed3){const _0x1cf135=this['repository']['getRevision'](_0x44fed3['id']);if(_0x44fed3['createdAt']&&(_0x44fed3['createdAt']=new Date(_0x44fed3['createdAt'])),_0x44fed3['authorsIds']){const _0x30f91b=this['editor']['plugins']['get']('Users');_0x44fed3['authors']=_0x44fed3['authorsIds']['map'](_0x2f4fdd=>_0x30f91b['getUser'](_0x2f4fdd));}_0x1cf135['_update'](_0x44fed3,!0x0);}['_createInitialRevision'](_0x58b43f){const _0x1d05be=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1d05be)this['_initialRevisionId']=_0x1d05be['id'];else{const _0x3f2031=!this['editor']['model']['document']['roots']['find'](_0x571a33=>this['editor']['model']['hasContent'](_0x571a33)),_0x3f2e58=this['editor']['plugins']['get']('Users')['me']['id'],_0x1a7821=Ub(this['editor']['locale'],_0x3f2031?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x58b43f,'to':_0x58b43f,'id':this['_initialRevisionId'],'name':_0x1a7821,'creatorId':_0x3f2e58});}}['_createCurrentRevision'](_0x4d1960){const _0x4a43b7=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4a43b7),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4d1960,'to':_0x4d1960,'id':_0x4a43b7,'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'](_0x2b0779,_0x7f8032){let _0x1e8ac6=this['editor']['config']['get']('initialData'),_0x40df0e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1e8ac6){_0x1e8ac6={};for(const _0x39400e of this['editor']['model']['document']['getRootNames']())_0x1e8ac6[_0x39400e]='';}if('string'==typeof _0x1e8ac6&&(_0x1e8ac6={'main':_0x1e8ac6}),void 0x0===_0x40df0e){_0x40df0e={};for(const _0x2e0be8 of this['editor']['model']['document']['getRootNames']())_0x40df0e[_0x2e0be8]={};}let _0xb6e5cf=!0x1;const _0x14b840=Object['keys'](_0x1e8ac6),_0x42540e=Object['keys'](_0x2b0779);for(const _0x1c5ea7 of _0x14b840){if(_0x1e8ac6[_0x1c5ea7]!==_0x2b0779[_0x1c5ea7]&&''!==_0x1e8ac6[_0x1c5ea7]['trim']()){_0xb6e5cf=!0x0;break;}if(!Zr(_0x40df0e[_0x1c5ea7],_0x7f8032[_0x1c5ea7])&&Object['keys'](_0x40df0e[_0x1c5ea7])['length']>0x0){_0xb6e5cf=!0x0;break;}}_0xb6e5cf||(_0xb6e5cf=_0x42540e['some'](_0x49182f=>!this['editor']['model']['document']['getRoot'](_0x49182f))),_0xb6e5cf&&_0x2e934f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1e8ac6,'editorRootsAttributes':_0x40df0e,'revisionData':_0x2b0779,'revisionRootsAttributes':_0x7f8032}),this['editor']['config']['set']('initialData',_0x2b0779),this['editor']['config']['set']('rootsAttributes',_0x7f8032);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4db7c3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4db7c3['add'](Ub(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2ed177){const _0xebbd60=this['repository']['getRevisions']();_0xebbd60['reverse']();let _0x4fab1d=0x0;for(;_0x4fab1d<_0xebbd60['length'];){const _0x274929=_0xebbd60[_0x4fab1d];if(_0x274929===this['currentRevision']){_0x4fab1d++;continue;}if(_0x274929['id']===this['_initialRevisionId'])break;const _0x2fa36e=_0x2ed177['toVersion']-_0x274929['toVersion']||_0x2ed177['fromVersion']-_0x274929['fromVersion'];if(_0x2fa36e>0x0)break;if(_0x2fa36e<0x0)_0x4fab1d++;else{if(!_0x2ed177['creator']&&_0x274929['creator'])break;if(_0x274929['creator']||!_0x2ed177['creator']){if(_0x2ed177['createdAt']>_0x274929['createdAt'])break;_0x4fab1d++;}else _0x4fab1d++;}}return _0x4fab1d;}['_getFromVersion'](_0x35acb2){const _0x485417=this['repository']['getRevisions']();_0x485417['reverse'](),_0x485417['shift']();const _0x2414b8=_0x485417['find'](_0x1d0b74=>_0x1d0b74['toVersion']<=_0x35acb2)['toVersion'];return _0x2414b8<this['_startingVersion']?this['_startingVersion']:_0x2414b8;}['_makeRevision']({name:_0x9a9030,from:_0x1109bd,to:_0xd810f3,creatorId:_0x4c9e88,id:_0x51f4bc}){const _0x9951fe=this['buildRevisionData']({'from':_0x1109bd,'to':_0xd810f3});_0x9951fe['name']=_0x9a9030,_0x9951fe['creatorId']=_0x4c9e88,_0x9951fe['id']=_0x51f4bc;const _0x51fa4d=this['addRevisionData'](_0x9951fe);return this['adapter']&&this['_bufferUpdate'](_0x9951fe['id'],_0x9951fe,!0x0),_0x51fa4d;}['_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(_0x3a9462){this['editor']=_0x3a9462,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'](_0x278fc5){this['source']=_0x278fc5;const _0x1e4445=new Map(),_0x5493a1=new Map(),_0x564784=this['editor']['model']['document']['roots']['map'](_0x23fbfb=>_0x23fbfb['rootName']);for(const _0x133a76 of _0x564784){const _0x4f7bbd=this['editor']['model']['document']['getRoot'](_0x133a76),_0x2d6fb0=Bb(_0x4f7bbd);_0x1e4445['set'](_0x133a76,_0x2d6fb0),_0x5493a1['set'](_0x133a76,Object['fromEntries'](_0x4f7bbd['getAttributes']()));}const _0x34bdad=Array['from'](this['editor']['model']['markers'])['map'](_0x50904d=>[_0x50904d['name'],_0x50904d['getRange']()]),_0x5d10d5=this['source']['version'];this['_saveMetaData'](_0x5d10d5,_0x1e4445,_0x34bdad,_0x5493a1),this['_startingRevisionId']=this['_revisionId'];const _0x244778=new Map(),_0x171203=new Map();for(const _0x30bf63 of _0x564784){const _0xf3378b=Fb(_0x30bf63);_0x244778['set'](_0x30bf63,_0xf3378b),_0x171203['set'](_0x30bf63,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x244778,[],_0x171203);}['getData'](_0xeb82cd,_0x1d7b0c){if(this['_lastFrom']===_0xeb82cd&&this['_lastTo']<=_0x1d7b0c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1d7b0c,!0x0);else{if(!this['_savedMetaData']['has'](_0xeb82cd)){const _0x5b5586=this['_getPreviousFrom'](_0xeb82cd);this['_calculateMetaData'](_0x5b5586,_0xeb82cd,!0x1);}this['_calculateMetaData'](_0xeb82cd,_0x1d7b0c,!0x0);}return this['_lastFrom']=_0xeb82cd,this['_lastTo']=_0x1d7b0c,this['_getState']();}['loadState'](_0x270ace){if(!this['_savedMetaData']['has'](_0x270ace['fromVersion'])){const _0x3613a2=this['_getPreviousFrom'](_0x270ace['fromVersion']);this['_calculateMetaData'](_0x3613a2,_0x270ace['fromVersion'],!0x1);}this['_calculateMetaData'](_0x270ace['fromVersion'],_0x270ace['toVersion'],!0x1);const _0xb0f602=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x270ace['fromVersion'],this['_lastTo']=_0x270ace['toVersion'];for(const _0x448954 in _0x270ace['diffData']){const _0x1343fc=_0x270ace['diffData'][_0x448954]['attachChange'],_0x2a6f6a=Cr(_0x270ace['diffData'][_0x448954]['attributesBefore'])||{},_0x5cbd94=_0xb0f602['_makeModelFromViewString'](_0x270ace['diffData'][_0x448954]['deletions']);_0x5cbd94['rootName']=_0x448954,_0x5cbd94['_isAttached']=!_0x1343fc||!_0x1343fc['isAttached'],_0x5cbd94['isAttached']=()=>_0x5cbd94['_isAttached'],this['_baseRoots']['set'](_0x448954,_0x5cbd94),this['_baseRootsAttributes']['set'](_0x448954,_0x2a6f6a),_0x1343fc&&this['_touchedRoots']['set'](_0x448954,_0x1343fc);const _0x30a6ed=this['_makeIdsRoot'](_0x5cbd94);this['_baseIdsRoots']['set'](_0x448954,_0x30a6ed);for(const [_0x25cc90,_0x30ad9a]of _0x5cbd94['markers']){if(!_0x25cc90['startsWith']('revision:'))continue;const _0x420c6c=_0x25cc90['split'](':')[0x2];for(const _0x1daf97 of _0x30ad9a['getWalker']({'singleCharacters':!0x0})){const _0x4202de=this['_getVidAttributeName'](_0x1daf97),_0x2e5d78='elementEnd'==_0x1daf97['type']?_0x1daf97['previousPosition']['path']['slice'](0x0,-0x1):_0x1daf97['previousPosition']['path'],_0x92434d=_0x30a6ed['getNodeByPath'](_0x2e5d78)['getAttribute'](_0x4202de);this['_touched']['set'](_0x92434d,{'userId':_0x420c6c});}_0x5cbd94['markers']['delete'](_0x25cc90);}}this['_startingRevisionId']=this['_revisionId'];const _0x40d36c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5259ef=>!this['_touched']['has'](_0x5259ef));let _0x1c9f24=0x0;const _0x47ba84=new Map();for(const _0x2b26cf in _0x270ace['diffData']){const _0x567f1b=_0x270ace['diffData'][_0x2b26cf]['attachChange'],_0x53c546=Cr(_0x270ace['diffData'][_0x2b26cf]['attributesAfter'])||{},_0x8dc044=_0xb0f602['_makeModelFromViewString'](_0x270ace['diffData'][_0x2b26cf]['insertions']);_0x8dc044['rootName']=_0x2b26cf,_0x8dc044['_isAttached']=!_0x567f1b||_0x567f1b['isAttached'],_0x8dc044['isAttached']=()=>_0x8dc044['_isAttached'],this['_diffRoots']['set'](_0x2b26cf,_0x8dc044),this['_diffRootsAttributes']['set'](_0x2b26cf,_0x53c546);const _0x701cf=this['_makeIdsRoot'](_0x8dc044,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2b26cf,_0x701cf),_0x47ba84['set'](_0x2b26cf,_0x8dc044['isAttached']()?_0x53c546:{});for(const [_0x30de0b,_0x17159e]of _0x8dc044['markers']){if(!_0x30de0b['startsWith']('revision:'))continue;const _0x53df0e=_0x30de0b['split'](':')[0x2];for(const _0x3458b9 of _0x17159e['getWalker']({'singleCharacters':!0x0})){const _0x2f4e2c=this['_getVidAttributeName'](_0x3458b9),_0x28b3a6=this['_revisionId']++,_0x3ae3be='elementEnd'==_0x3458b9['type']?_0x3458b9['previousPosition']['path']['slice'](0x0,-0x1):_0x3458b9['previousPosition']['path'];_0x701cf['getNodeByPath'](_0x3ae3be)['_setAttribute'](_0x2f4e2c,_0x28b3a6),this['_touched']['set'](_0x28b3a6,{'userId':_0x53df0e});}_0x8dc044['markers']['delete'](_0x30de0b);}for(const _0x40e809 of this['editor']['model']['createRangeIn'](_0x8dc044)['getWalker']({'singleCharacters':!0x0})){const _0x5019dd=this['_getVidAttributeName'](_0x40e809),_0x2def98='elementEnd'==_0x40e809['type']?_0x40e809['previousPosition']['path']['slice'](0x0,-0x1):_0x40e809['previousPosition']['path'],_0x5d3af0=_0x701cf['getNodeByPath'](_0x2def98);_0x5d3af0['getAttribute'](_0x5019dd)>0x0||_0x5d3af0['_setAttribute'](_0x5019dd,_0x40d36c[_0x1c9f24++]);}for(const [_0x3c92a4,_0x33b7d2]of _0x8dc044['markers'])_0x3c92a4['startsWith']('revision:')||this['_markers']['set'](_0x3c92a4,_0x33b7d2);}const {roots:_0x5ee0a7}=this['_savedMetaData']['get'](_0x270ace['fromVersion']),{roots:_0x53c6a2}=this['_savedMetaData']['get'](_0x270ace['toVersion']),_0x15f801=Bb(_0x5ee0a7['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x15f801),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x15f801,Number['NEGATIVE_INFINITY']));const _0x3fa6df=Bb(_0x53c6a2['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x3fa6df),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3fa6df));const _0x14dfab=Array['from'](this['_diffRoots'])['map'](([_0x2fa29d,_0x43be47])=>[_0x2fa29d,Bb(_0x43be47)]);this['_saveMetaData'](this['_lastTo'],_0x14dfab,this['_markers'],_0x47ba84);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x276257,_0x8409b5,_0x54c070,_0x5996c8){const _0x37fb8d=new Map(_0x8409b5),_0x43f861=new Map(Cr(_0x5996c8)),_0x433cb1=new Map();for(const [_0x19fa7a,_0x16c4b6]of _0x54c070)_0x433cb1['set'](_0x19fa7a,{'start':_0x16c4b6['start']['clone'](),'end':_0x16c4b6['end']['clone'](),'rootName':_0x16c4b6['root']['rootName']});this['_savedMetaData']['set'](_0x276257,{'roots':_0x37fb8d,'markers':_0x433cb1,'rootsAttributes':_0x43f861});}['_removeMetaData'](_0x48231d){this['_savedMetaData']['delete'](_0x48231d);}['_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'](_0x2e55fb,_0x2c152a=null){let _0x4fa941=null;_0x2e55fb['is']('documentFragment')||(_0x4fa941=new _0x49cf73(_0x2e55fb['name'],{'vid_start':null===_0x2c152a?this['_revisionId']++:_0x2c152a++}));const _0x582b03=[];for(const _0x52c7d1 of _0x2e55fb['getChildren']())if(_0x52c7d1['is']('element')){_0x582b03['push'](this['_makeIdsRoot'](_0x52c7d1,_0x2c152a));const _0x3b4b8a=_0x582b03[_0x582b03['length']-0x1];null!==_0x2c152a&&(_0x2c152a=_0x3b4b8a['is']('element','$text')?_0x3b4b8a['getAttribute']('vid')+0x1:_0x3b4b8a['getAttribute']('vid_end')+0x1);}else{for(let _0x2a52be=0x0;_0x2a52be<_0x52c7d1['offsetSize'];_0x2a52be++)_0x582b03['push'](new _0x49cf73('$text',{'vid':null===_0x2c152a?this['_revisionId']++:_0x2c152a++}));}if(_0x2e55fb['is']('documentFragment')){const _0x5f3264=Fb(_0x2e55fb['rootName']);return _0x5f3264['_insertChild'](0x0,_0x582b03),_0x5f3264;}return _0x4fa941['_setAttribute']('vid_end',null===_0x2c152a?this['_revisionId']++:_0x2c152a++),_0x4fa941['_insertChild'](0x0,_0x582b03),_0x4fa941;}['_calculateMetaData'](_0x4d0cc5,_0x508012,_0x209e0e){this['_reset']();const {roots:_0x2d746e,markers:_0x347a59,rootsAttributes:_0x47dd2f}=this['_savedMetaData']['get'](_0x4d0cc5);this['_baseRoots']=new Map(_0x2d746e),this['_baseRootsAttributes']=new Map(Cr(_0x47dd2f));for(const [_0x50d753,_0x202b14]of this['_baseRoots'])if('$graveyard'!==_0x50d753&&(this['_diffRoots']['set'](_0x50d753,Bb(_0x202b14)),this['_diffRootsAttributes']=new Map(Cr(_0x47dd2f)),_0x209e0e)){const _0x57447e=this['_revisionId'];this['_idsRoots']['set'](_0x50d753,this['_makeIdsRoot'](_0x202b14)),this['_baseIdsRoots']['set'](_0x50d753,this['_makeIdsRoot'](_0x202b14,_0x57447e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',Bb(this['_baseRoots']['get']('$graveyard'))),_0x209e0e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x53b1eb,_0x515d2b]of _0x347a59){const _0x1c2de0=this['_baseRoots']['get'](_0x515d2b['rootName']),_0x57561b=this['_diffRoots']['get'](_0x515d2b['rootName']),_0xf0428d=new _0x41f7a7(this['_fixPosition'](_0x515d2b['start'],_0x1c2de0),this['_fixPosition'](_0x515d2b['end'],_0x1c2de0)),_0x33ec84=this['_fixRange'](_0xf0428d,_0x57561b);_0x1c2de0['markers']['set'](_0x53b1eb,_0xf0428d),this['_markers']['set'](_0x53b1eb,_0x33ec84);}this['_applyOperations'](_0x4d0cc5,_0x508012,_0x209e0e);}['_applyOperations'](_0x2cc617,_0x50876e,_0x27a9b2){for(const _0x58884b of this['source']['getOperations'](_0x2cc617,_0x50876e))this['_handleOperation'](_0x58884b,_0x27a9b2);for(const _0x1b616e of this['_diffRoots']['values']())_0x1b616e['markers']['clear']();for(const [_0x256cba,_0x1e3f7a]of this['_markers']){this['_diffRoots']['get'](_0x1e3f7a['root']['rootName'])['markers']['set'](_0x256cba,_0x1e3f7a['clone']());}const _0x151033=new Map(),_0x4cd0a5=new Map();for(const [_0x559549,_0x5324e8]of this['_diffRoots'])_0x151033['set'](_0x559549,Bb(_0x5324e8)),_0x4cd0a5['set'](_0x559549,this['_diffRootsAttributes']['get'](_0x559549));this['_saveMetaData'](_0x50876e,_0x151033,this['_markers'],_0x4cd0a5);}['_getPreviousFrom'](_0x358fc6){const _0x1e8a12=Array['from'](this['_savedMetaData']['keys']());_0x1e8a12['sort']((_0x458f06,_0x3d3eda)=>_0x458f06-_0x3d3eda),_0x1e8a12['reverse']();for(const _0x212f38 of _0x1e8a12)if(_0x212f38<_0x358fc6)return _0x212f38;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x100dac,_0x1ed88f){const _0x55a85f=Array['from'](_0x1ed88f['markers'])['map'](([_0x4494ed,_0x2a8faf])=>[_0x4494ed,this['_fixRange'](_0x2a8faf,_0x100dac)]);_0x100dac['markers']=new Map(_0x55a85f);}['_transformMarkers'](_0x2497e5){for(const _0x4e77c5 of this['_markers']['values']()){const _0x435539=_0x4e77c5['getTransformedByOperation'](_0x2497e5),_0x2630ad=_0x41f7a7['_createFromRanges'](_0x435539);_0x4e77c5['start']=_0x2630ad['start'],_0x4e77c5['end']=_0x2630ad['end'];}}['_handleOperation'](_0x2508c2,_0x2bed8f){if('addRoot'!=_0x2508c2['type']&&'detachRoot'!=_0x2508c2['type']){if('insert'==_0x2508c2['type']){const _0x35a366=_0x2508c2['position']['root']['rootName'];this['_diffRoots']['has'](_0x35a366)||(this['_diffRoots']['set'](_0x35a366,Fb(_0x35a366,!0x0)),this['_diffRootsAttributes']['set'](_0x35a366,{}),_0x2bed8f&&this['_idsRoots']['set'](_0x35a366,Fb(_0x35a366,!0x0)));}else{if('addRootAttribute'==_0x2508c2['type']||'removeRootAttribute'==_0x2508c2['type']||'changeRootAttribute'==_0x2508c2['type'])return void this['_handleRootAttributeOperation'](_0x2508c2);'marker'==_0x2508c2['type']&&this['_handleMarkerOperation'](_0x2508c2);}if('marker'!==_0x2508c2['type']){const _0x3c76c7=this['_cloneOperation'](_0x2508c2,this['_diffRoots']);_0x3c76c7['_execute'](),this['_transformMarkers'](_0x3c76c7);}if(_0x2bed8f)switch(_0x2508c2['type']){case'insert':this['_handleInsertOperation'](_0x2508c2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2508c2);break;case'merge':this['_handleMergeOperation'](_0x2508c2);break;case'split':this['_handleSplitOperation'](_0x2508c2);}}else this['_handleRootOperation'](_0x2508c2,_0x2bed8f);}['_cloneOperation'](_0xa4df41,_0x185cee){const _0x3173d2=_0xa4df41['clone']();return _0x3173d2['_authorId']=_0xa4df41['_authorId'],this['_fixOperation'](_0x3173d2,_0x185cee),_0x3173d2;}['_getBaseVids'](_0x2e8cfd){return _0x2e8cfd['map'](_0x5ed5ea=>{const _0x35872c=this['_getVidAttributeName'](_0x5ed5ea);return Number(_0x5ed5ea['item']['getAttribute'](_0x35872c));});}['_generateTape'](_0x1bf75f,_0x170e83){if(_0x1bf75f['is']('element','$text'))_0x170e83['push']({'item':_0x1bf75f,'type':'text'});else{_0x1bf75f['is']('element')&&_0x170e83['push']({'item':_0x1bf75f,'type':'elementStart'});for(const _0x4caf29 of _0x1bf75f['getChildren']())this['_generateTape'](_0x4caf29,_0x170e83);_0x1bf75f['is']('element')&&_0x170e83['push']({'item':_0x1bf75f,'type':'elementEnd'});}return _0x170e83;}['_getState'](){const _0xba534b=new Map(this['_touched']),_0x43a60c=new Map(_0xba534b),_0x87ce1a=new Map(),_0x5adfa5={'insertions':{},'deletions':{}},_0x5d61ed={'insertions':{},'deletions':{}},_0x217cb5=new Map(),_0x55a153=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x55a153['delete']('$graveyard');for(const _0x482d18 of _0x55a153){const _0x422195=this['_diffRoots']['get'](_0x482d18)||Fb(_0x482d18,!0x1),_0x48545c=this['_baseRoots']['get'](_0x482d18)||Fb(_0x482d18,!0x1);_0x422195['isAttached']()||_0x48545c['isAttached']()?(_0x5adfa5['insertions'][_0x482d18]=Bb(_0x422195),_0x5adfa5['deletions'][_0x482d18]=Bb(_0x48545c),this['_copyMarkers'](_0x5adfa5['deletions'][_0x482d18],_0x48545c),this['_copyMarkers'](_0x5adfa5['insertions'][_0x482d18],_0x422195),_0x5d61ed['insertions'][_0x482d18]=this['_generateTape'](this['_idsRoots']['get'](_0x482d18),[]),_0x5d61ed['deletions'][_0x482d18]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x482d18)||Fb(_0x482d18,!0x1),[])):_0x55a153['delete'](_0x482d18);}for(const _0x972157 of _0x55a153){const _0x3dd33e=_0x5d61ed['insertions'][_0x972157];for(const _0x5a5e27 of _0x3dd33e){const _0x556919=this['_getVidAttributeName'](_0x5a5e27),_0x596745=_0x5a5e27['item']['getAttribute'](_0x556919);_0x43a60c['delete'](_0x596745),_0x596745>=this['_startingRevisionId']&&_0x87ce1a['set'](_0x596745,_0xba534b['get'](_0x596745));}}for(const _0x5c93ff of _0x55a153){const _0x5486d5=_0x5d61ed['insertions'][_0x5c93ff],_0x564763=this['_getBaseVids'](_0x5d61ed['deletions'][_0x5c93ff]);let _0x200145=0x0;for(const _0x314191 of _0x5486d5){const _0x369ef2=this['_getVidAttributeName'](_0x314191),_0x3c5ae2=_0x314191['item']['getAttribute'](_0x369ef2);if(!_0x87ce1a['has'](_0x3c5ae2)&&!_0x217cb5['has'](_0x3c5ae2)){if(_0x43a60c['has'](_0x3c5ae2))_0x200145++;else{if(_0x3c5ae2!=_0x564763[_0x200145]){const _0x4bf7fa=_0xba534b['get'](_0x3c5ae2)||_0xba534b['get'](_0x564763[_0x200145]);for(;_0x3c5ae2!=_0x564763[_0x200145];)_0x43a60c['has'](_0x564763[_0x200145])||(_0x217cb5['set'](_0x564763[_0x200145],_0x4bf7fa),_0xba534b['set'](_0x564763[_0x200145],_0x4bf7fa)),_0x200145++;}_0x200145++;}}}}for(const _0xe33707 of _0x55a153){const _0x49d451=_0x5d61ed['insertions'][_0xe33707];for(const _0x308ea1 of _0x49d451){const _0x21c304=this['_getVidAttributeName'](_0x308ea1),_0x5b863f=_0x308ea1['item']['getAttribute'](_0x21c304);if(_0x217cb5['has'](_0x5b863f)){const _0x40cb7a=_0x217cb5['get'](_0x5b863f);_0x43a60c['has'](_0x5b863f)||_0x43a60c['set'](_0x5b863f,{..._0x40cb7a}),_0x87ce1a['set'](_0x5b863f,{..._0x40cb7a});}}}for(const _0x635d48 of _0x43a60c['keys']())_0x635d48>=this['_startingRevisionId']&&_0x43a60c['delete'](_0x635d48);const _0x4f9690=new Map();for(const _0x217b4b of _0x55a153){let _0x1eaa93=_0x5d61ed['insertions'][_0x217b4b];for(const _0x5a8b78 of _0x1eaa93)if(_0x5a8b78['item']['is']('element','tableCell')){const _0xf498c6=this['_getVidAttributeName'](_0x5a8b78),_0x496aff=_0x5a8b78['item']['getAttribute'](_0xf498c6);if(_0x87ce1a['has'](_0x496aff)){const _0x499337=_0x5a8b78['item']['parent']['parent']['getAttribute']('vid_start'),_0x3f5f4c=_0x4f9690['get'](_0x499337)||new Set();_0x3f5f4c['add'](_0x87ce1a['get'](_0x496aff)['userId']),_0x4f9690['set'](_0x499337,_0x3f5f4c);}}_0x1eaa93=_0x5d61ed['deletions'][_0x217b4b];for(const _0x54cd55 of _0x1eaa93)if(_0x54cd55['item']['is']('element','tableCell')){const _0x4aacd9=this['_getVidAttributeName'](_0x54cd55),_0x149713=_0x54cd55['item']['getAttribute'](_0x4aacd9);if(_0x43a60c['has'](_0x149713)){const _0xdcd7a8=_0x54cd55['item']['parent']['parent']['getAttribute']('vid_start'),_0x4083f8=_0x4f9690['get'](_0xdcd7a8)||new Set();_0x4083f8['add'](_0x43a60c['get'](_0x149713)['userId']),_0x4f9690['set'](_0xdcd7a8,_0x4083f8);}}for(const _0x4a1eef of _0x4f9690['keys']())(_0x87ce1a['has'](_0x4a1eef)||_0x43a60c['has'](_0x4a1eef))&&_0x4f9690['delete'](_0x4a1eef);}for(const _0x2617f1 of _0x55a153){const _0x33f75e=_0x5d61ed['insertions'][_0x2617f1];let _0x293cf7=null,_0x3e091e=null;for(const _0x4101ed of _0x33f75e){const _0x2e4cee=this['_getVidAttributeName'](_0x4101ed),_0x229047=_0x4101ed['item']['getAttribute'](_0x2e4cee),_0x4c3c8b=_0x4f9690['get'](_0x229047);_0x4c3c8b&&'elementStart'==_0x4101ed['type']&&(_0x293cf7=Array['from'](_0x4c3c8b)[0x0],_0x3e091e=_0x4101ed['item']['getAttribute']('vid_end')),_0x293cf7&&(_0x43a60c['set'](_0x229047,{'userId':_0x293cf7}),_0x87ce1a['set'](_0x229047,{'userId':_0x293cf7})),_0x229047==_0x3e091e&&(_0x293cf7=null,_0x3e091e=null);}}const _0x49ca55={},_0x4da09c=new Set();for(const _0x1b4c74 of _0x55a153){const _0x37446f=_0x5adfa5['deletions'][_0x1b4c74],_0xa6071b=_0x5adfa5['insertions'][_0x1b4c74];for(const {userId:_0x3e7905}of this['_touchedMarkers']['values']())null!==_0x3e7905&&_0x4da09c['add'](_0x3e7905);for(const {userId:_0x133fe9}of this['_touchedRoots']['values']())null!==_0x133fe9&&_0x4da09c['add'](_0x133fe9);this['_markChanges'](_0xa6071b,_0x5d61ed['insertions'][_0x1b4c74],_0x87ce1a,'insertion',_0x4da09c),this['_markChanges'](_0x37446f,_0x5d61ed['deletions'][_0x1b4c74],_0x43a60c,'deletion',_0x4da09c),_0x49ca55[_0x1b4c74]={'insertions':this['_prepareViewToSave'](_0xa6071b),'deletions':this['_prepareViewToSave'](_0x37446f),'attachChange':this['_touchedRoots']['get'](_0x1b4c74)||null,'attributesBefore':Cr(this['_baseRootsAttributes']['get'](_0x1b4c74))||{},'attributesAfter':Cr(this['_diffRootsAttributes']['get'](_0x1b4c74))};}return{'diffData':_0x49ca55,'authorsIds':Array['from'](_0x4da09c)};}['_processRootBeforeSave'](_0x5bcf08){for(const [,_0x1024a0]of _0x5bcf08['markers']){const _0x3554ce=_0x1024a0['start']['getAncestors']()['filter'](_0x29caed=>'tableCell'==_0x29caed['name']);for(const _0x5595fa of _0x3554ce)0x1==_0x5595fa['childCount']&&_0x5595fa['getChild'](0x0)['is']('element','paragraph')&&_0x5595fa['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2870cb){this['_processRootBeforeSave'](_0x2870cb);const _0x116f7f=this['editor']['data']['toView'](_0x2870cb,{}),_0x335540=Array['from'](_0x116f7f['getChildren']())['map'](_0x172411=>this['_getViewJson'](_0x172411));return JSON['stringify'](_0x335540);}['_getViewJson'](_0x583c64){if(_0x583c64['is']('$text'))return _0x583c64['data'];{const _0x1ead9d=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x212b63=_0x583c64,_0x36d8d5=this['editor']['data']['htmlProcessor']['domConverter'],_0x54d400={'type':_0x1ead9d['_getTypeCharForViewElement'](_0x212b63),'name':_0x212b63['name'],'attributes':Array['from'](_0x212b63['getAttributes']()),'children':Array['from'](_0x212b63['getChildren']())['map'](_0x427633=>this['_getViewJson'](_0x427633))};if(_0x583c64['is']('uiElement')&&'$comment'!=_0x583c64['name']){const _0x29261e=_0x583c64['render'](_0x36d8d5['domDocument'],_0x36d8d5);_0x54d400['children']['push'](_0x29261e['outerHTML']);}else{if(_0x583c64['is']('rawElement')){const _0xf4e28=_0x36d8d5['domDocument']['createElement'](_0x212b63['name']);_0x583c64['render'](_0xf4e28,_0x36d8d5),_0x54d400['children']['push'](_0xf4e28['innerHTML']);}}const _0x3c97be=Array['from'](_0x212b63['getCustomProperties']());_0x3c97be['length']>0x0&&(_0x54d400['customProperties']=_0x3c97be);const _0x4a1cb0=_0x212b63['getFillerOffset']();return null!==_0x4a1cb0&&(_0x54d400['fillerOffset']=_0x4a1cb0),_0x54d400;}}['_markChanges'](_0x2b01ab,_0x325343,_0x41a0b3,_0x51e437,_0x1c234a){let _0x37caa8=null,_0x17ceee=null,_0x1f2c03=0x0;const _0xc1174=this['editor']['model'];for(let _0x8019c=0x0;_0x8019c<_0x325343['length'];_0x8019c++){const _0x1f099c=this['_getVidAttributeName'](_0x325343[_0x8019c]),_0x489df5=_0x325343[_0x8019c]['item']['getAttribute'](_0x1f099c),_0x2f2724=_0x41a0b3['get'](_0x489df5),_0xb65d68=_0x8019c==_0x325343['length']-0x1;(!_0x37caa8&&_0x2f2724&&(_0x37caa8=_0x2f2724,_0x17ceee=_0x325343[_0x8019c]),_0x37caa8&&(!_0x2f2724||_0x2f2724['userId']!=_0x37caa8['userId']))&&(_0x30c30f(_0x2f2724,jb(_0x17ceee,_0x2b01ab,_0xc1174),jb(_0x325343[_0x8019c],_0x2b01ab,_0xc1174)),_0x37caa8=_0x2f2724||null,_0x17ceee=_0x2f2724?_0x325343[_0x8019c]:null),_0x37caa8&&_0xb65d68&&_0x30c30f(_0x2f2724,jb(_0x17ceee,_0x2b01ab,_0xc1174),Hb(_0x325343[_0x8019c],_0x2b01ab,_0xc1174));}function _0x30c30f(_0x48e3ba,_0x30e12a,_0x5650f1){const _0x4a5e8a=_0x37caa8['userId'],_0x36070d='revision:'+_0x51e437+':'+_0x4a5e8a+':'+_0x1f2c03++,_0x4f08ff=_0xc1174['createRange'](_0x30e12a,_0x5650f1);_0x2b01ab['markers']['set'](_0x36070d,_0x4f08ff),null!==_0x4a5e8a&&_0x1c234a['add'](_0x4a5e8a);}}['_getVidAttributeName'](_0x4386cb){switch(_0x4386cb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x34f45e,_0x44e8be){_0x34f45e['baseVersion']=null;for(const _0x2ff8e7 in _0x34f45e){const _0x5dd077=_0x34f45e[_0x2ff8e7];if(_0x5dd077 instanceof _0x551298){const _0x2490f3=_0x44e8be['get'](_0x5dd077['root']['rootName']);_0x34f45e[_0x2ff8e7]=this['_fixPosition'](_0x5dd077,_0x2490f3);}if(_0x5dd077 instanceof _0x41f7a7){const _0x5cafad=_0x44e8be['get'](_0x5dd077['root']['rootName']);_0x34f45e[_0x2ff8e7]=this['_fixRange'](_0x5dd077,_0x5cafad);}'root'===_0x2ff8e7&&(_0x34f45e['root']=_0x44e8be['get'](_0x34f45e['root']['rootName']));}}['_fixRange'](_0x281d58,_0x31193b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x281d58['start'],_0x31193b),this['_fixPosition'](_0x281d58['end'],_0x31193b));}['_fixPosition'](_0xdd5553,_0x379266){return this['editor']['model']['createPositionFromPath'](_0x379266,_0xdd5553['path'],_0xdd5553['stickiness']);}['_handleInsertOperation'](_0x2b5928){const _0x94d01e=this['_idsRoots']['get'](_0x2b5928['position']['root']['rootName']),_0x1a8833=this['_fixPosition'](_0x2b5928['position'],_0x94d01e),_0x3bd3b0=null===_0x2b5928['_authorId']?null:_0x2b5928['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1daf2f=_0x1a8833['parent'],_0x1ae9f2=this['_revisionId'],_0x2f1ab9=[];for(const _0x414cc5 of _0x2b5928['nodes'])if(_0x414cc5['is']('element'))_0x2f1ab9['push'](this['_makeIdsRoot'](_0x414cc5));else{for(let _0xf6ffd=0x0;_0xf6ffd<_0x414cc5['offsetSize'];_0xf6ffd++)_0x2f1ab9['push'](new _0x49cf73('$text',{'vid':this['_revisionId']++}));}const _0x332900=this['_revisionId'];for(let _0x4bf01d=_0x1ae9f2;_0x4bf01d<_0x332900;_0x4bf01d++)this['_touched']['set'](_0x4bf01d,{'userId':_0x3bd3b0});_0x1daf2f['_insertChild'](_0x1a8833['offset'],_0x2f1ab9);}['_handleMoveOperation'](_0xfd7461){(_0xfd7461=this['_cloneOperation'](_0xfd7461,this['_idsRoots']))['_execute']();const _0x475b0c=null===_0xfd7461['_authorId']?null:_0xfd7461['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31c5e6=_0xfd7461['getMovedRangeStart'](),_0x3086f7=_0x31c5e6['parent'],_0x26dd06=_0x31c5e6['offset'];!function _0xdcf349(_0x6e6d80,_0x4fe503,_0x3bcf40,_0x338714){for(let _0x2e0a13=_0x3bcf40;_0x2e0a13<_0x338714;_0x2e0a13++){const _0x2b974b=_0x4fe503['getChild'](_0x2e0a13);_0x2b974b['is']('element','$text')?_0x6e6d80['set'](_0x2b974b['getAttribute']('vid'),{'userId':_0x475b0c}):(_0x6e6d80['set'](_0x2b974b['getAttribute']('vid_start'),{'userId':_0x475b0c}),_0xdcf349(_0x6e6d80,_0x2b974b,0x0,_0x2b974b['childCount']),_0x6e6d80['set'](_0x2b974b['getAttribute']('vid_end'),{'userId':_0x475b0c}));}}(this['_touched'],_0x3086f7,_0x26dd06,_0x26dd06+_0xfd7461['howMany']);}['_handleMergeOperation'](_0x33a402){const _0x11a875=null===(_0x33a402=this['_cloneOperation'](_0x33a402,this['_idsRoots']))['_authorId']?null:_0x33a402['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e80ed=_0x33a402['targetPosition']['parent'],_0x1f763d=_0x33a402['sourcePosition']['parent'],_0x53cacc=_0x5e80ed['getAttribute']('vid_end'),_0x5ec951=_0x1f763d['getAttribute']('vid_start');_0x5e80ed['_setAttribute']('vid_end',_0x1f763d['getAttribute']('vid_end')),_0x1f763d['_setAttribute']('vid_end',_0x53cacc),this['_touched']['set'](_0x5ec951,{'userId':_0x11a875}),this['_touched']['set'](_0x53cacc,{'userId':_0x11a875}),_0x33a402['_execute']();}['_handleSplitOperation'](_0x2c86cf){const _0x14f105=null===(_0x2c86cf=this['_cloneOperation'](_0x2c86cf,this['_idsRoots']))['_authorId']?null:_0x2c86cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x488481=_0x2c86cf['graveyardPosition'],_0x2bcc25=_0x2c86cf['splitPosition']['parent'];_0x2c86cf['_execute']();const _0x160db2=_0x2bcc25['getAttribute']('vid_end'),_0x5297ed=_0x2c86cf['insertionPosition']['nodeAfter'];if(_0x488481){const _0x51d851=_0x5297ed['getAttribute']('vid_end'),_0x88d928=_0x2bcc25['getAttribute']('vid_end');_0x2bcc25['_setAttribute']('vid_end',_0x51d851),_0x5297ed['_setAttribute']('vid_end',_0x88d928),this['_touched']['set'](_0x2bcc25['getAttribute']('vid_end'),{'userId':_0x14f105}),this['_touched']['set'](_0x5297ed['getAttribute']('vid_start'),{'userId':_0x14f105});}else{const _0x2026b6=this['_revisionId']++,_0x343117=this['_revisionId']++;_0x2bcc25['_setAttribute']('vid_end',_0x2026b6),_0x5297ed['_setAttribute']('vid_start',_0x343117),_0x5297ed['_setAttribute']('vid_end',_0x160db2),this['_touched']['set'](_0x2026b6,{'userId':_0x14f105}),this['_touched']['set'](_0x343117,{'userId':_0x14f105});}}['_handleMarkerOperation'](_0x2be7d6){if(!_0x2be7d6['affectsData'])return;const _0x4e72c2=(_0x2be7d6=this['_cloneOperation'](_0x2be7d6,this['_diffRoots']))['oldRange']?_0x2be7d6['oldRange']['root']:null,_0x531c91=_0x2be7d6['newRange']?_0x2be7d6['newRange']['root']:null;_0x4e72c2&&this['_markers']['delete'](_0x2be7d6['name']),_0x531c91&&this['_markers']['set'](_0x2be7d6['name'],_0x2be7d6['newRange']['clone']());const _0x30a714=null===_0x2be7d6['_authorId']?null:_0x2be7d6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20b24e=_0x2be7d6['name'];if(!this['_touchedMarkers']['has'](_0x20b24e))return void this['_touchedMarkers']['set'](_0x20b24e,{'range':_0x2be7d6['oldRange'],'userId':_0x30a714});const _0x94032c=this['_touchedMarkers']['get'](_0x20b24e),_0x47b505=_0x94032c['range'],_0x23cee5=_0x2be7d6['newRange'];null==_0x47b505&&null==_0x23cee5||_0x47b505&&_0x23cee5&&_0x47b505['isEqual'](_0x23cee5)?this['_touchedMarkers']['delete'](_0x2be7d6['name']):_0x94032c['userId']=_0x30a714;}['_handleRootOperation'](_0x272e9a,_0x5521e1){this['_diffRoots']['has'](_0x272e9a['rootName'])?this['_diffRoots']['get'](_0x272e9a['rootName'])['_isAttached']=_0x272e9a['isAdd']:(this['_diffRoots']['set'](_0x272e9a['rootName'],Fb(_0x272e9a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x272e9a['rootName'],{}),_0x5521e1&&this['_idsRoots']['set'](_0x272e9a['rootName'],Fb(_0x272e9a['rootName'],!0x0)));const _0x156cf6=null===_0x272e9a['_authorId']?null:_0x272e9a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x213c53=this['_touchedRoots']['get'](_0x272e9a['rootName']);_0x213c53&&_0x213c53['userId']===_0x156cf6?this['_touchedRoots']['delete'](_0x272e9a['rootName']):this['_touchedRoots']['set'](_0x272e9a['rootName'],{'userId':_0x156cf6,'isAttached':_0x272e9a['isAdd']});}['_handleRootAttributeOperation'](_0xf6e4d){const _0x15f84c=this['_diffRootsAttributes']['get'](_0xf6e4d['root']['rootName']);null===_0xf6e4d['newValue']?delete _0x15f84c[_0xf6e4d['key']]:_0x15f84c[_0xf6e4d['key']]=_0xf6e4d['newValue'];}}function Bb(_0x40e500){const _0x957f2a=Fb(_0x40e500['rootName'],_0x40e500['isAttached']());for(const _0xc272d9 of _0x40e500['getChildren']()){const _0x58e73f=_0xc272d9['_clone'](!0x0);_0x957f2a['_appendChild'](_0x58e73f);}return _0x957f2a;}function Fb(_0x190d98,_0xb622c9=!0x0){const _0x18c788=new _0x2d8c8e();return _0x18c788['rootName']=_0x190d98,_0x18c788['_isAttached']=_0xb622c9,_0x18c788['isAttached']=()=>_0x18c788['_isAttached'],_0x18c788;}function jb(_0x49f2f2,_0x445467,_0x23bf31){const _0x2c9e6c='elementEnd'==_0x49f2f2['type']?_0x23bf31['createPositionAt'](_0x49f2f2['item'],'end'):_0x23bf31['createPositionBefore'](_0x49f2f2['item']);return _0x23bf31['createPositionFromPath'](_0x445467,_0x2c9e6c['path'],_0x2c9e6c['stickiness']);}function Hb(_0x4c0c84,_0x15c0d4,_0x36d8e2){const _0x4dca55='elementStart'==_0x4c0c84['type']?_0x36d8e2['createPositionAt'](_0x4c0c84['item'],0x0):_0x36d8e2['createPositionAfter'](_0x4c0c84['item']);return _0x36d8e2['createPositionFromPath'](_0x15c0d4,_0x4dca55['path'],_0x4dca55['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
Xt(_0x268b55){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2f0411,_0x5c56f8){super(_0x2f0411),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5c56f8),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'](),Ot({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x69b70f=_0x1afd7c=>_0x1afd7c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x69b70f),this['keystrokes']['set']('arrowleft',_0x69b70f),this['keystrokes']['set']('arrowup',_0x69b70f),this['keystrokes']['set']('arrowdown',_0x69b70f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x441b10){this['revisionNameInputView']['fieldView']['element']['value']=_0x441b10['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x44cf6c){const _0x257537=new wt(this['locale'],bt),_0x14d6fc=_0x257537['fieldView'];_0x14d6fc['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4ac64c=Ub(this['locale'],'Name\x20of\x20the\x20revision');return!_0x44cf6c&&(_0x4ac64c+='\x20('+Ub(this['locale'],'optional')+')'),(_0x257537['label']=_0x4ac64c,_0x14d6fc['on']('input',()=>{this['revisionNameInputValue']=_0x14d6fc['element']['value']['trim']();}),_0x257537);}}class RevisionHistoryUI extends _0x4ac504{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker];}['_saveRevisionFormView'];['init'](){const _0x1e075c=this['editor'],_0x232832=_0x1e075c['plugins']['get']('RevisionTracker');_0x1e075c['ui']['componentFactory']['add']('revisionHistory',_0x102fa6=>{const _0x14c3db=st(_0x102fa6),_0x2489af=_0x14c3db['panelView']['children'],_0x557d10=new _0xb67f93(_0x102fa6),_0x44dde0=new _0x3c0063(_0x102fa6),_0x497512=this['_createSaveRevisionButton'](_0x13bcd9),_0x3739e9=new _0x3c0063(_0x102fa6),_0x356404=this['_createOpenRevisionButton'](_0x13bcd9);return _0x14c3db['bind']('isEnabled')['to'](_0x232832,'isReady',_0x232832,'isEnabled',_0x1e075c,'isReadOnly',(_0x113688,_0x4e22ca,_0x3bd71d)=>_0x113688&&_0x4e22ca&&!_0x3bd71d),_0x14c3db['buttonView']['set']({'icon':_0x16c9d6,'label':Ub(_0x102fa6,'Revision\x20history'),'tooltip':!0x0}),_0x497512['set']({'withText':!0x0,'role':'menuitem'}),_0x356404['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x356404,'execute',()=>{_0x14c3db['isOpen']=!0x1,_0x1e075c['editing']['view']['focus']();},{'priority':'low'}),_0x44dde0['children']['add'](_0x497512),_0x3739e9['children']['add'](_0x356404),_0x557d10['role']='menu',_0x557d10['items']['addMany']([_0x44dde0,_0x3739e9]),_0x2489af['add'](_0x557d10),_0x14c3db;}),_0x1e075c['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5859e9=this['editor'],_0x3f9dea=_0x5859e9['locale'],_0x4664c3=_0x5859e9['plugins']['get']('RevisionTracker'),_0x23662c=new rt(_0x3f9dea),_0x8dcbd5=new ct(_0x3f9dea);_0x23662c['bind']('isEnabled')['to'](_0x4664c3,'isReady',_0x4664c3,'isEnabled',_0x5859e9,'isReadOnly',(_0x3bf1d5,_0x78e78d,_0x5a3efb)=>_0x3bf1d5&&_0x78e78d&&!_0x5a3efb),_0x23662c['buttonView']['set']({'icon':_0x16c9d6,'label':Ub(_0x3f9dea,'Revision\x20history')});const _0x3cac34=new lt(_0x3f9dea,_0x23662c),_0x3f3275=this['_createSaveRevisionButton'](ot);_0x3f3275['delegate']('execute')['to'](_0x23662c),_0x3cac34['children']['add'](_0x3f3275),_0x8dcbd5['items']['add'](_0x3cac34);const _0x367b97=new lt(_0x3f9dea,_0x23662c),_0x4fa805=this['_createOpenRevisionButton'](ot);return _0x4fa805['delegate']('execute')['to'](_0x23662c),_0x367b97['children']['add'](_0x4fa805),_0x8dcbd5['items']['add'](_0x367b97),_0x23662c['panelView']['children']['add'](_0x8dcbd5),_0x23662c;}['_createSaveRevisionButton'](_0x410acf){const _0x265c58=this['editor'],_0x1af6df=_0x265c58['plugins']['get']('RevisionTracker'),_0x104894=new _0x410acf(_0x265c58['locale']);return _0x104894['set']({'label':Ub(_0x265c58['locale'],'Save\x20current\x20revision')}),_0x104894['bind']('isEnabled')['to'](_0x1af6df,'isReady',_0x1af6df,'isEnabled',_0x265c58,'isReadOnly',(_0x18cdc0,_0x1ca49e,_0x436d7f)=>_0x18cdc0&&_0x1ca49e&&!_0x436d7f),this['listenTo'](_0x104894,'execute',()=>{this['_showDialog']();}),_0x104894;}['_createOpenRevisionButton'](_0x2c6354){const _0x516516=this['editor'],_0x5cdd55=_0x516516['plugins']['get']('RevisionTracker'),_0x539c2f=new _0x2c6354(_0x516516['locale']);return _0x539c2f['set']({'label':Ub(_0x516516['locale'],'Open\x20revision\x20history')}),_0x539c2f['bind']('isEnabled')['to'](_0x5cdd55,'isReady',_0x516516,'isReadOnly',(_0x2ea1fb,_0x46594e)=>_0x2ea1fb&&!_0x46594e),this['listenTo'](_0x539c2f,'execute',()=>{_0x516516['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x539c2f;}['_showDialog'](){const _0x44cbc1=this['editor'],_0x1430db=_0x44cbc1['locale'],_0x446602=_0x44cbc1['plugins']['get']('Dialog'),_0x25aee0=_0x44cbc1['plugins']['get']('RevisionTracker');function _0x3de093(_0x29795d){_0x44cbc1['config']['get']('revisionHistory.requireRevisionName')&&''===_0x29795d['revisionName']?_0x29795d['revisionNameInputView']['errorText']=Ub(_0x1430db,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x44cbc1['plugins']['get'](RevisionTracker)['saveRevision']({'name':_0x29795d['revisionName']}),_0x446602['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3de093(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x446602['show']({'id':'revisionSave','title':Ub(_0x1430db,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':Ub(_0x44cbc1['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x446602['hide']()},{'label':Ub(_0x44cbc1['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x51039d){_0x51039d['bind']('isEnabled')['to'](_0x25aee0,'isReady',_0x25aee0,'isEnabled',_0x44cbc1,'isReadOnly',(_0x54373f,_0x4eee3d,_0x12d7d9)=>_0x54373f&&_0x4eee3d&&!_0x12d7d9);},'onExecute':()=>_0x3de093(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c159a=this['editor'],_0x3179f2=_0x5c159a['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x3179f2,_0x5c159a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x268b55{['changeId'];['_model'];constructor(_0x35f321,_0x300560){super(_0x35f321),this['_model']=_0x300560,this['changeId']=_0x300560['id'];const _0x21ca4a=this['bindTemplate'],_0x39617f=Ub(_0x35f321,_0x300560['data']['isSuggestion']?'Suggested\x20by':'add'==_0x300560['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x300560['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x21ca4a['to']('type',_0x17a030=>'ck-revision-change__'+_0x17a030)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x39617f}]},{'text':'\x20'+_0x300560['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x266f1a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x266343){super(),this['id']=_0x266343['id']||_0x288d30(),this['author']=_0x266343['author'],this['type']=_0x266343['type'],this['data']=_0x266343['data']||{},this['rootName']=_0x266343['rootName'],this['set']('createdAt',_0x266343['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class RevisionDiff{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x1b34ee,_0x53b4c7){this['newRevisionId']=_0x1b34ee,this['oldRevisionId']=_0x53b4c7,this['changes']=new _0xe4e0d0();}['_setChanges'](_0x3e1db7){for(const _0x89eb45 of _0x3e1db7)this['changes']['add'](_0x89eb45);}}class RevisionViewer extends _0x4ac504{['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[Users,Dt,RevisionsRepository,RevisionHistoryUtils];}constructor(_0x4792f5){super(_0x4792f5),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',(_0x19aff4,_0x4ad203,_0xb4fbb9)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x765f77=>{for(const _0x5a8798 of this['editor']['editing']['view']['document']['roots'])_0xb4fbb9?_0x765f77['removeClass']('ck-editor__editable__overlay',_0x5a8798):_0x765f77['addClass']('ck-editor__editable__overlay',_0x5a8798);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x38a8b6=>null!==_0x38a8b6),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3d8688,_0x2e97dc,_0x3cd228)=>_0x3d8688&&_0x3cd228?_0x2e97dc['changes']['getIndex'](_0x3cd228):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x31133a,_0xe76f60)=>_0x31133a?_0xe76f60['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](Dt);}['init'](){const _0xb6faf2=this['editor'],_0x4d8050=new ShowChangeCommand(_0xb6faf2,{'direction':'backward'}),_0x549d8b=new ShowChangeCommand(_0xb6faf2,{'direction':'forward'});(_0xb6faf2['commands']['add']('showPreviousChange',_0x4d8050),_0xb6faf2['commands']['add']('showNextChange',_0x549d8b),_0xb6faf2['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0xb6faf2)),this['on']('change:numberOfChanges',()=>{_0x4d8050['refresh'](),_0x549d8b['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xb6faf2['enableReadOnlyMode']('revision-viewer'),_0xb6faf2['plugins']['has']('WidgetToolbarRepository'))&&_0xb6faf2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x10ba5d){return await this['_utils']['loadRevisionData'](_0x10ba5d,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x10ba5d);}async['getRevisionRootsAttributes'](_0x3a5442){return await this['_utils']['loadRevisionData'](_0x3a5442,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x3a5442);}async['compare'](_0x3c4217,_0x277f24,_0x311375=!0x1){if(!this['isEnabled'])return;const _0x4239b8=this['diff'],_0x3d250b=this['repository'],_0x7c2094='string'==typeof _0x3c4217?_0x3d250b['getRevision'](_0x3c4217):_0x3c4217,_0x1c1b18='string'==typeof _0x277f24?_0x3d250b['getRevision'](_0x277f24):_0x277f24,_0x54a10f=_0x7c2094['id'],_0x24cd65=_0x1c1b18?_0x1c1b18['id']:null;if(!_0x311375&&this['diff']&&this['diff']['newRevisionId']===_0x54a10f&&this['diff']['oldRevisionId']===_0x24cd65)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new RevisionDiff(_0x54a10f,_0x24cd65);const _0x10d57d=this['_getRevisionsRange'](_0x7c2094,_0x1c1b18,!0x0)['map'](_0x16850e=>this['_utils']['loadRevisionData'](_0x16850e,this['adapter']));return _0x10d57d['push'](new Promise(_0x834575=>{setTimeout(_0x834575,0x14);})),Promise['all'](_0x10d57d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x41565b=this['_getDiff'](_0x54a10f,_0x24cd65);for(const _0x2e381c of _0x41565b['changes'])this['_changeIdToChange']['set'](_0x2e381c['id'],_0x2e381c);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3c82ac=>{for(const _0x158c2e of this['editor']['model']['document']['getRootNames']())_0x3c82ac['detachRoot'](_0x158c2e);for(const _0x3d6744 of Object['keys'](_0x41565b['model'])){const _0x2e63c0=_0x3c82ac['addRoot'](_0x3d6744);for(const _0x3fda3b of Object['keys'](_0x41565b['attributes'][_0x3d6744]))_0x3c82ac['setAttribute'](_0x3fda3b,_0x41565b['attributes'][_0x3d6744][_0x3fda3b],_0x2e63c0);_0x3c82ac['insert'](_0x41565b['model'][_0x3d6744],_0x2e63c0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x41565b['changes'])),this['isReady']=!0x0;})['catch'](_0x966cd4=>{console['error'](_0x966cd4),this['_cleanUp'](),_0x4239b8&&(this['diff']=_0x4239b8),this['isReady']=!0x0;});}['addRevisionData'](_0x328f6e,_0x2706f2){const _0x50175b=this['repository']['createRevision'](_0x328f6e);return _0x50175b['on']('_update',(_0x34f32a,_0x10698e,_0x9eba7b)=>_0x2706f2(_0x10698e,_0x9eba7b,_0x50175b)),this['repository']['addRevision'](_0x50175b),_0x50175b;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x13f003=>{for(const _0xde7105 of this['editor']['model']['document']['getRootNames']())_0x13f003['detachRoot'](_0xde7105);});}['_sortAndFilterDiffChanges'](_0x3b8901){const _0x23a094=[],_0x1a5e63=new Map();for(const _0x134b5f of this['editor']['model']['document']['getRootNames']()){const _0x26e88d=this['editor']['editing']['view']['getDomRoot'](_0x134b5f);if(!_0x26e88d)continue;const _0x3bda07=_0x26e88d['getClientRects']()['item'](0x0);_0x3bda07&&(_0x23a094['push'](_0x134b5f),_0x1a5e63['set'](_0x134b5f,_0x3bda07));}return _0x23a094['sort']((_0x5a437f,_0x8999f9)=>{const _0x6cd8b1=_0x1a5e63['get'](_0x5a437f),_0x46aaf0=_0x1a5e63['get'](_0x8999f9);return _0x6cd8b1['y']-_0x46aaf0['y']||_0x6cd8b1['x']-_0x46aaf0['x'];}),(_0x3b8901=_0x3b8901['filter'](_0x479c52=>_0x23a094['includes'](_0x479c52['rootName'])))['sort']((_0x22b509,_0x28df94)=>_0x23a094['indexOf'](_0x22b509['rootName'])-_0x23a094['indexOf'](_0x28df94['rootName'])),_0x3b8901;}['_makeTape'](_0x2d8644){const _0xf0684d=Array['from'](_0x2d8644['markers'])['filter'](([_0x581641,_0x2c4777])=>_0x581641['startsWith']('revision:')&&!_0x2c4777['isCollapsed']),_0xfcbec1=Array['from'](this['editor']['model']['createRangeIn'](_0x2d8644)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xf0684d['length'])for(const _0x196776 of _0xfcbec1){const [_0x10271c,_0x335865]=_0xf0684d[0x0],[,_0x1f5d3e,_0xc291d8]=_0x10271c['split'](':');if(_0x335865['end']['isEqual'](_0x196776['nextPosition'])&&_0xf0684d['shift'](),(_0x196776['previousPosition']['isEqual'](_0x335865['start'])||_0x196776['previousPosition']['isAfter'](_0x335865['start']))&&('insertion'==_0x1f5d3e?_0x196776['isAdded']={'userId':_0xc291d8}:'deletion'==_0x1f5d3e&&(_0x196776['isRemoved']={'userId':_0xc291d8})),0x0==_0xf0684d['length'])break;}return _0xfcbec1;}['_refreshStartEndIndex'](_0x483ea7){const _0x5bcaab=new Map();for(let _0x3dfdf4=0x0;_0x3dfdf4<_0x483ea7['length'];_0x3dfdf4++)'text'===_0x483ea7[_0x3dfdf4]['type']?(_0x483ea7[_0x3dfdf4]['item']['startIndex']=_0x3dfdf4,_0x483ea7[_0x3dfdf4]['item']['endIndex']=_0x3dfdf4):('elementStart'===_0x483ea7[_0x3dfdf4]['type']?_0x483ea7[_0x3dfdf4]['item']['startIndex']=_0x3dfdf4:'elementEnd'===_0x483ea7[_0x3dfdf4]['type']&&(_0x483ea7[_0x3dfdf4]['item']['endIndex']=_0x3dfdf4),_0x5bcaab['set'](_0x483ea7[_0x3dfdf4]['id'],_0x3dfdf4));for(const _0xf56bb2 of _0x5bcaab['values']())'elementStart'===_0x483ea7[_0xf56bb2]['type']?_0x483ea7[_0xf56bb2]['item']['endIndex']=_0x5bcaab['get'](_0x483ea7[_0xf56bb2]['pairId']):'elementEnd'===_0x483ea7[_0xf56bb2]['type']&&(_0x483ea7[_0xf56bb2]['item']['startIndex']=_0x5bcaab['get'](_0x483ea7[_0xf56bb2]['pairId']));}['_processTape'](_0x2eff76){for(let _0x35449a=0x0;_0x35449a<_0x2eff76['length'];_0x35449a++){if('elementStart'===_0x2eff76[_0x35449a]['type'])_0x2eff76[_0x35449a]['item']['startIndex']=_0x35449a;else{if('elementEnd'===_0x2eff76[_0x35449a]['type']){_0x2eff76[_0x35449a]['item']['endIndex']=_0x35449a;const _0x52f857=_0x2eff76[_0x35449a]['item']['startIndex'];_0x2eff76[_0x52f857]['pairId']=_0x2eff76[_0x35449a]['id'],_0x2eff76[_0x35449a]['pairId']=_0x2eff76[_0x52f857]['id'];}else _0x2eff76[_0x35449a]['item']['startIndex']=_0x35449a,_0x2eff76[_0x35449a]['item']['endIndex']=_0x35449a,_0x2eff76[_0x35449a]['pairId']=null;}_0x2eff76[_0x35449a]['markersStart']||(_0x2eff76[_0x35449a]['markersStart']=[],_0x2eff76[_0x35449a]['markersEnd']=[]);}}['_markInsertions'](_0x2a8d90,_0x3c9c39){const _0x7e0892=_0x2a8d90['filter'](_0x3b97b3=>!_0x3b97b3['isAdded']);for(let _0x4fa53e=0x0;_0x4fa53e<_0x3c9c39['length'];_0x4fa53e++)_0x3c9c39[_0x4fa53e]['isAdded']&&(_0x7e0892[_0x4fa53e]['isAdded']=_0x3c9c39[_0x4fa53e]['isAdded']);}['_getDiff'](_0x1dbf71,_0x492d47=null){const _0x54cb90=this['repository']['getRevision'](_0x1dbf71),_0x289f5d=_0x492d47?this['repository']['getRevision'](_0x492d47):null,_0x28ee7d=this['_getRevisionsRange'](_0x54cb90,_0x289f5d),_0x44ca8e=_0x28ee7d[_0x28ee7d['length']-0x1],_0x34100a=new Map(),_0x4cd30e={'model':{},'attributes':{},'changes':[]},_0x2eb32a=new Set(),_0x3317c5=new Map();for(let _0x11a522=_0x28ee7d['length']-0x1;_0x11a522>=0x0;_0x11a522--){const _0x4c543d=_0x28ee7d[_0x11a522];for(const _0x5aa996 of Object['keys'](_0x4c543d['diffData']))if(_0x4c543d['diffData'][_0x5aa996]['attachChange']){const _0x6698fd=_0x4c543d['diffData'][_0x5aa996]['attachChange'];_0x6698fd['isAttached']?(_0x2eb32a['add'](_0x5aa996),_0x3317c5['has'](_0x5aa996)&&_0x3317c5['get'](_0x5aa996)['userId']==_0x6698fd['userId']?_0x3317c5['delete'](_0x5aa996):_0x3317c5['set'](_0x5aa996,_0x6698fd)):_0x3317c5['has'](_0x5aa996)?(_0x2eb32a['delete'](_0x5aa996),_0x3317c5['delete'](_0x5aa996)):(_0x2eb32a['add'](_0x5aa996),_0x3317c5['set'](_0x5aa996,_0x6698fd));}else _0x2eb32a['add'](_0x5aa996);}for(const _0x4b4eab of _0x2eb32a){const _0xc7a0e2=_0x3317c5['has'](_0x4b4eab)&&!_0x3317c5['get'](_0x4b4eab)['isAttached'];let _0x1ffd78=_0xc7a0e2?_0x28ee7d['length']-0x1:0x0;const _0xb3aea7=_0xc7a0e2?-0x1:0x1;for(;_0x28ee7d[_0x1ffd78];){const _0x2441ca=_0x28ee7d[_0x1ffd78];if(_0x2441ca['diffData'][_0x4b4eab]){const _0x1308b3=_0xc7a0e2?_0x2441ca['diffData'][_0x4b4eab]['attributesBefore']:_0x2441ca['diffData'][_0x4b4eab]['attributesAfter'];_0x4cd30e['attributes'][_0x4b4eab]=_0x1308b3?Cr(_0x1308b3):{};break;}_0x1ffd78+=_0xb3aea7;}}for(const _0x370e4b of _0x28ee7d){_0x370e4b['model']={};for(const _0x3d6837 of _0x370e4b['authors'])_0x34100a['set'](_0x3d6837['id'],_0x3d6837);for(const _0x1e47b8 of _0x2eb32a){const _0x5cf8ba=_0x370e4b['diffData'][_0x1e47b8]?_0x370e4b['diffData'][_0x1e47b8]['insertions']:'[]',_0x2c88b8=_0x370e4b['diffData'][_0x1e47b8]?_0x370e4b['diffData'][_0x1e47b8]['deletions']:'[]';_0x370e4b['model'][_0x1e47b8]={'insertions':this['_utils']['_makeModelFromViewString'](_0x5cf8ba),'deletions':this['_utils']['_makeModelFromViewString'](_0x2c88b8)};}}for(const _0x58a304 of _0x2eb32a){let _0x56ce09=null,_0x21ec49=0x0;const _0x4d10ad=new Map(Array['from'](_0x54cb90['model'][_0x58a304]['insertions']['markers'])['filter'](([_0x1e6b11])=>!_0x1e6b11['startsWith']('revision:')));let _0x42333f=0x0;for(const _0x4e4f30 of _0x28ee7d){const _0x2e3fde=this['_makeTape'](_0x4e4f30['model'][_0x58a304]['insertions']);_0x4e4f30==_0x54cb90?(_0x56ce09=_0x2e3fde,_0x21ec49=_0x56ce09['length'],_0x56ce09['forEach'](_0x199876=>{_0x199876['id']=_0x42333f++;}),this['_processTape'](_0x56ce09)):this['_markInsertions'](_0x56ce09,_0x2e3fde);const _0x51c988=_0x56ce09['filter'](_0x587803=>!_0x587803['isAdded'])['map'](_0x2f9105=>_0x2f9105['id']);let _0x544437=0x0;const _0x1640db=this['_makeTape'](_0x4e4f30['model'][_0x58a304]['deletions']);_0x1640db['forEach'](_0x3cfe58=>{_0x3cfe58['isRemoved']?_0x3cfe58['id']=_0x21ec49++:_0x3cfe58['id']=_0x51c988[_0x544437++];}),this['_processTape'](_0x1640db),this['_setDistance'](_0x56ce09,'isAdded'),this['_setDistance'](_0x1640db,'isRemoved'),_0x4e4f30==_0x54cb90&&this['_markMarkers'](_0x56ce09,_0x4d10ad),_0x56ce09=this['_joinTapes'](_0x56ce09,_0x1640db),this['_refreshStartEndIndex'](_0x56ce09),this['_setDistance'](_0x56ce09,'isRemoved');}_0x56ce09=_0x56ce09['filter'](_0x5f3c14=>!(_0x5f3c14['isAdded']&&_0x5f3c14['isRemoved']));const _0x5bfb4c=new Map(_0x44ca8e['model'][_0x58a304]['deletions']['markers']),_0x5147cf=new Set(_0x4d10ad['keys']());for(const _0x2995b3 of _0x5bfb4c['keys']())_0x5147cf['delete'](_0x2995b3);this['_markSuggestions'](_0x56ce09,_0x5147cf),this['_fixObsoleteTags'](_0x56ce09),_0x56ce09=this['_removeMissingPairs'](_0x56ce09),_0x56ce09=this['_markMismatchedRemovedTags'](_0x56ce09),_0x56ce09=this['_removeUnsupportedChanges'](_0x56ce09);const {root:_0x9ef90d,changes:_0x3cb278}=this['_makeModelFromTape'](_0x56ce09,_0x34100a,_0x58a304);_0x4cd30e['model'][_0x58a304]=_0x9ef90d;const _0x33b13a=_0x3317c5['get'](_0x58a304);if(_0x33b13a){const _0x489cd4=_0x34100a['get'](_0x33b13a['userId']),_0x21eff0=new ChangeItem({'author':_0x489cd4,'type':_0x33b13a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x58a304});_0x3cb278['unshift'](_0x21eff0),_0x4cd30e['attributes'][_0x58a304]['revisionHistoryAttachChange']=_0x21eff0['id'];}_0x4cd30e['changes']=_0x4cd30e['changes']['concat'](_0x3cb278);}return _0x4cd30e;}['_markMarkers'](_0x16dbff,_0x5813c4){for(let _0xe68fee=0x0;_0xe68fee<_0x16dbff['length'];_0xe68fee++)for(const [_0x1a5237,_0xb023a0]of _0x5813c4)!_0xb023a0['isCollapsed']&&_0xb023a0['start']['isEqual'](_0x16dbff[_0xe68fee]['previousPosition'])&&_0x16dbff[_0xe68fee]['markersStart']['push'](_0x1a5237),_0xb023a0['end']['isEqual'](_0x16dbff[_0xe68fee]['nextPosition'])&&_0x16dbff[_0xe68fee]['markersEnd']['push'](_0x1a5237);}['_joinTapes'](_0x5107f0,_0x2cf82c){let _0x1bdbd6=[],_0x3204d2=0x0,_0x473e98=0x0;for(;_0x3204d2<_0x5107f0['length']||_0x473e98<_0x2cf82c['length'];){const _0x24a853=_0x5107f0[_0x3204d2]||{},_0x13cb70=_0x2cf82c[_0x473e98]||{};if(_0x24a853['id']==_0x13cb70['id'])_0x3204d2++,_0x473e98++,_0x1bdbd6['push'](_0x24a853);else{if(_0x13cb70['isRemoved']&&_0x24a853['isAdded']){const {commonTape:_0x1dabaf,iEnd:_0x3b43f5,jEnd:_0x36915d}=this['_threeWayMerge'](_0x5107f0,_0x3204d2,_0x2cf82c,_0x473e98);_0x1bdbd6=_0x1bdbd6['concat'](_0x1dabaf),_0x3204d2=_0x3b43f5,_0x473e98=_0x36915d;}else _0x13cb70['isRemoved']?(_0x473e98++,_0x1bdbd6['push'](_0x13cb70)):(_0x3204d2++,_0x1bdbd6['push'](_0x24a853));}}return _0x1bdbd6;}['_markSuggestions'](_0x509cf0,_0x1130a4){const _0x225125=[];for(let _0x43e051=0x0;_0x43e051<_0x509cf0['length'];_0x43e051++){for(let _0x177e62=0x0;_0x177e62<_0x509cf0[_0x43e051]['markersStart']['length'];_0x177e62++){const _0x337e03=_0x509cf0[_0x43e051]['markersStart'][_0x177e62];if(!_0x1130a4['has'](_0x337e03))continue;const {group:_0x3275c9,type:_0x258a1a,authorId:_0x5f58b7}=_0x479379(_0x337e03);'revision-suggestion'!=_0x3275c9||'insertion'!=_0x258a1a&&'deletion'!=_0x258a1a||(_0x225125['unshift']({'type':_0x258a1a,'name':_0x337e03,'userId':_0x5f58b7}),_0x509cf0[_0x43e051]['markersStart']['splice'](_0x177e62,0x1),_0x177e62--);}_0x5c833e(_0x509cf0[_0x43e051]);for(let _0x52f109=0x0;_0x52f109<_0x509cf0[_0x43e051]['markersEnd']['length'];_0x52f109++){const _0x4d63cb=_0x509cf0[_0x43e051]['markersEnd'][_0x52f109];if(!_0x1130a4['has'](_0x4d63cb))continue;const {group:_0x27eb12,type:_0xac0b76}=_0x479379(_0x4d63cb);if('revision-suggestion'!=_0x27eb12||'insertion'!=_0xac0b76&&'deletion'!=_0xac0b76)continue;_0x509cf0[_0x43e051]['markersEnd']['splice'](_0x52f109,0x1),_0x52f109--;const _0x12cd33=_0x225125['findIndex'](_0x400fac=>_0x400fac['name']==_0x4d63cb);_0x12cd33>-0x1&&_0x225125['splice'](_0x12cd33,0x1);}}function _0x479379(_0x1a6121){const _0x267071=_0x1a6121['split'](':');return{'group':_0x267071[0x0],'type':_0x267071[0x1],'subType':_0x267071['length']>=0x5?_0x267071[0x2]:null,'id':_0x267071['length']<0x5?_0x267071[0x2]:_0x267071[0x3],'authorId':_0x267071['length']<0x5?_0x267071[0x3]:_0x267071[0x4],'markerCount':0x6==_0x267071['length']?_0x267071[0x5]:null};}function _0x5c833e(_0x2178b9){for(let _0x27326e=0x0;_0x27326e<_0x225125['length'];_0x27326e++){if(_0x2178b9['isAdded']&&'insertion'==_0x225125[_0x27326e]['type']&&_0x2178b9['isAdded']['userId']==_0x225125[_0x27326e]['userId'])return _0x2178b9['isAddSuggestion']=_0x225125[_0x27326e],void delete _0x2178b9['isAdded'];if(!_0x2178b9['isAdded']&&!_0x2178b9['isRemoved']&&'deletion'==_0x225125[_0x27326e]['type'])return void(_0x2178b9['isRemoveSuggestion']=_0x225125[_0x27326e]);}}}['_setDistance'](_0x330b76,_0x257df3){let _0x4b7ab8=0x0,_0x58522c=!0x1;const _0x5b926e=new Map();for(const _0x2c760c of _0x330b76)_0x2c760c[_0x257df3]?_0x58522c&&(_0x4b7ab8++,_0x58522c=!0x1):(_0x4b7ab8++,_0x58522c=!0x0),_0x5b926e['set'](_0x2c760c['id'],_0x4b7ab8);for(let _0x38c1ce=0x0;_0x38c1ce<_0x330b76['length'];_0x38c1ce++){if('isRemoved'==_0x257df3&&_0x330b76[_0x38c1ce]['isAdded']||'isAdded'==_0x257df3&&_0x330b76[_0x38c1ce]['isRemoved'])continue;if('text'==_0x330b76[_0x38c1ce]['type']){_0x330b76[_0x38c1ce]['distance']=0x0;continue;}const _0x22e114=_0x5b926e['get'](_0x330b76[_0x38c1ce]['pairId']),_0x341770=_0x5b926e['get'](_0x330b76[_0x38c1ce]['id']);_0x330b76[_0x38c1ce]['distance']=_0x22e114-_0x341770;}}['_getRevisionsRange'](_0x1d2df3,_0x1b2250,_0x2316db=!0x1){const _0x8740f1=[];let _0x5ebe43=this['repository']['getIndex'](_0x1d2df3),_0x70f796=this['repository']['getIndex'](_0x1b2250);for(-0x1==_0x70f796&&(_0x70f796=this['repository']['_revisions']['length'],_0x2316db=!0x1);_0x5ebe43<_0x70f796;)_0x8740f1['push'](this['repository']['getRevision'](_0x5ebe43)),_0x5ebe43++;return _0x2316db&&_0x8740f1['push'](this['repository']['getRevision'](_0x5ebe43)),_0x8740f1;}['_threeWayMerge'](_0x32abc2,_0x2e71da,_0x402abf,_0x4bb0a5){const _0x3e2107=this['editor']['model']['schema'];let _0x1ad023=_0x2e71da;for(;_0x32abc2[_0x1ad023]&&_0x32abc2[_0x1ad023]['isAdded'];)_0x1ad023++;let _0x4c8ed2=_0x4bb0a5;for(;_0x402abf[_0x4c8ed2]&&_0x402abf[_0x4c8ed2]['isRemoved'];)_0x4c8ed2++;_0x4c015c(_0x32abc2,_0x2e71da,_0x1ad023),_0x4c015c(_0x402abf,_0x4bb0a5,_0x4c8ed2);const _0x51703f=_0x402abf['slice'](_0x4bb0a5,_0x4c8ed2)['concat'](_0x32abc2['slice'](_0x2e71da,_0x1ad023));return _0x51703f['sort']((_0x57afb6,_0x3bb69)=>_0x57afb6['side']!=_0x3bb69['side']?_0x57afb6['side']-_0x3bb69['side']:_0x57afb6['level']!=_0x3bb69['level']?_0x57afb6['level']-_0x3bb69['level']:_0x57afb6['distance']!=_0x3bb69['distance']?_0x3bb69['distance']-_0x57afb6['distance']:!!_0x57afb6['isAdded']!=!!_0x3bb69['isAdded']?-0x1==_0x57afb6['side']||0x0==_0x57afb6['side']?_0x57afb6['isAdded']?-0x1:0x1:_0x57afb6['isAdded']?0x1:-0x1:_0x57afb6['index']-_0x3bb69['index']),{'commonTape':_0x51703f,'iEnd':_0x1ad023,'jEnd':_0x4c8ed2};function _0x4c015c(_0x5c0517,_0x173ee9,_0x3dc275){let _0x1ef90c=-0x1,_0x298b66=Number['POSITIVE_INFINITY'],_0x4cbdf4=!0x0;for(let _0xb75e78=_0x173ee9;_0xb75e78<_0x3dc275;_0xb75e78++)if(_0x3e2107['isInline'](_0x5c0517[_0xb75e78]['item'])||(_0x4cbdf4=!0x1),_0x5c0517[_0xb75e78]['item']['startIndex']<_0x173ee9&&(_0x1ef90c=_0xb75e78),_0x5c0517[_0xb75e78]['item']['endIndex']>=_0x3dc275){_0x298b66=_0xb75e78;break;}_0x4cbdf4&&(_0x1ef90c=_0x3dc275-0x1);for(let _0x39b130=_0x173ee9;_0x39b130<_0x3dc275;_0x39b130++)_0x5c0517[_0x39b130]['side']=_0x39b130<=_0x1ef90c?-0x1:_0x39b130<_0x298b66?0x0:0x1,_0x5c0517[_0x39b130]['index']=_0x39b130;let _0x44424d=0x0;for(let _0x53401d=_0x173ee9;_0x53401d<=_0x1ef90c;_0x53401d++)0x0==_0x5c0517[_0x53401d]['distance']?_0x5c0517[_0x53401d]['level']=_0x44424d:(_0x44424d++,_0x5c0517[_0x53401d]['level']=_0x44424d,_0x44424d++);for(let _0x78a8b3=_0x173ee9;_0x78a8b3<_0x3dc275;_0x78a8b3++)0x0==_0x5c0517[_0x78a8b3]['side']&&(_0x5c0517[_0x78a8b3]['level']=_0x44424d);_0x44424d=0x0;for(let _0x2fe4b6=_0x3dc275-0x1;_0x2fe4b6>=_0x298b66;_0x2fe4b6--)0x0==_0x5c0517[_0x2fe4b6]['distance']?_0x5c0517[_0x2fe4b6]['level']=_0x44424d:(_0x44424d--,_0x5c0517[_0x2fe4b6]['level']=_0x44424d,_0x44424d--);}}['_fixObsoleteTags'](_0x3ef8c2){const _0x21226b=new Map(),_0x38c7f3=this['editor']['model']['schema'];for(let _0x516065=0x1;_0x516065<_0x3ef8c2['length'];_0x516065++){let _0x2258d2,_0x53b964,_0x4fabaa;const _0x4c2df3=_0x3ef8c2[_0x516065],_0xdd4f8b=_0x3ef8c2[_0x516065-0x1];if('text'==_0x4c2df3['type'])continue;if(_0x4c2df3['type']!=_0xdd4f8b['type'])continue;if(!_0x38c7f3['isBlock'](_0xdd4f8b['item'])||_0x38c7f3['isLimit'](_0xdd4f8b['item']))continue;if(!_0x38c7f3['isBlock'](_0x4c2df3['item'])||_0x38c7f3['isLimit'](_0x4c2df3['item']))continue;if((_0x3ef8c2[_0x516065]['isAdded']||_0x3ef8c2[_0x516065]['isAddSuggestion'])&&_0x3ef8c2[_0x516065-0x1]['isRemoved'])_0x2258d2=_0x3ef8c2[_0x516065],_0x53b964=_0x3ef8c2[_0x516065-0x1],_0x4fabaa=_0x516065-0x1;else{if(!_0x3ef8c2[_0x516065]['isRemoved']||!_0x3ef8c2[_0x516065-0x1]['isAdded']&&!_0x3ef8c2[_0x516065-0x1]['isAddSuggestion'])continue;_0x2258d2=_0x3ef8c2[_0x516065-0x1],_0x53b964=_0x3ef8c2[_0x516065],_0x4fabaa=_0x516065;}const _0x18ecfd=_0x2258d2['level']==_0x53b964['level'],_0x3b36c2=Math['abs'](_0x2258d2['level'])<Math['abs'](_0x53b964['level'])&&0x0==_0x53b964['distance'];(_0x18ecfd||_0x3b36c2)&&(_0x21226b['set'](_0x53b964['id'],_0x2258d2['id']),_0x3ef8c2['splice'](_0x4fabaa,0x1),_0x516065--,_0x2258d2['isAdded']=!0x1);}for(let _0x53c76b=0x0;_0x53c76b<_0x3ef8c2['length'];_0x53c76b++)_0x21226b['has'](_0x3ef8c2[_0x53c76b]['pairId'])&&(_0x3ef8c2[_0x53c76b]['pairId']=_0x21226b['get'](_0x3ef8c2[_0x53c76b]['pairId']));}['_removeMissingPairs'](_0x5dcc28){const _0x234634=new Set(_0x5dcc28['map'](_0x3b4028=>_0x3b4028['id']));for(let _0x24d2ea=0x0;_0x24d2ea<_0x5dcc28['length'];_0x24d2ea++)_0x234634['has'](_0x5dcc28[_0x24d2ea]['pairId'])||0x0==_0x5dcc28[_0x24d2ea]['distance']||(_0x5dcc28[_0x24d2ea]['isIncorrect']=!0x0);return _0x5dcc28['filter'](_0x41dcc6=>!_0x41dcc6['isIncorrect']);}['_markMismatchedRemovedTags'](_0x49bd58){const _0x3d8dcb=new Set();for(let _0x2e72=0x0;_0x2e72<_0x49bd58['length'];_0x2e72++){if(_0x3d8dcb['has'](_0x49bd58[_0x2e72]['id'])&&_0x49bd58[_0x2e72]['isRemoved']&&(_0x49bd58[_0x2e72]['isIncorrect']=!0x0),_0x49bd58[_0x2e72]['isIncorrect'])continue;if(0x0==_0x49bd58[_0x2e72]['distance'])continue;if('elementStart'!=_0x49bd58[_0x2e72]['type'])continue;if(null==_0x49bd58[_0x2e72]['pairId'])continue;let _0x27a8f2=_0x2e72+0x1,_0x44a93f=0x0;for(;_0x49bd58[_0x27a8f2]['id']!=_0x49bd58[_0x2e72]['pairId'];)'elementStart'==_0x49bd58[_0x27a8f2]['type']?_0x44a93f++:'elementEnd'==_0x49bd58[_0x27a8f2]['type']&&_0x44a93f--,_0x27a8f2++;if(0x0!=_0x44a93f){if(_0x49bd58[_0x2e72]['isRemoved'])_0x49bd58[_0x2e72]['isIncorrect']=!0x0;else{for(;_0x27a8f2!=_0x2e72;)_0x49bd58[_0x27a8f2]['isRemoved']&&0x0!=_0x49bd58[_0x27a8f2]['distance']&&(_0x49bd58[_0x27a8f2]['isIncorrect']=!0x0,_0x3d8dcb['add'](_0x49bd58[_0x27a8f2]['pairId'])),_0x27a8f2--;}}}return _0x49bd58['filter'](_0x431fa7=>!_0x431fa7['isIncorrect']);}['_removeUnsupportedChanges'](_0x4b9194){const _0x3e1d15=this['editor']['model']['schema'];for(let _0x545c41=0x0;_0x545c41<_0x4b9194['length'];_0x545c41++){if(!(_0x4b9194[_0x545c41]['isAdded']||_0x4b9194[_0x545c41]['isAddSuggestion']||_0x4b9194[_0x545c41]['isRemoved']||_0x4b9194[_0x545c41]['isRemoveSuggestion']))continue;if(0x0==_0x4b9194[_0x545c41]['distance'])continue;const _0x6cf26c=_0x4b9194[_0x545c41]['item'];_0x3e1d15['isBlock'](_0x6cf26c)||_0x3e1d15['isLimit'](_0x6cf26c)||(_0x4b9194[_0x545c41]['isAdded']&&delete _0x4b9194[_0x545c41]['isAdded'],_0x4b9194[_0x545c41]['isAddSuggestion']&&delete _0x4b9194[_0x545c41]['isAddSuggestion'],_0x4b9194[_0x545c41]['isRemoveSuggestion']&&delete _0x4b9194[_0x545c41]['isRemoveSuggestion'],_0x4b9194[_0x545c41]['isRemoved']&&(_0x4b9194[_0x545c41]['isIncorrect']=!0x0));}return _0x4b9194['filter'](_0x3b0a39=>!_0x3b0a39['isIncorrect']);}['_makeModelFromTape'](_0xe3684d,_0x54d07e,_0x1ae0a){const _0x27722b=new _0x2d8c8e(),_0x338136=[],_0x2fe124=new Map(),_0x2d928c=this['editor']['model'],_0x38e517=_0x2d928c['schema'],_0x42b8c9=[_0x27722b],_0x2e4f1f={},_0x16b7d2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1f56a1=null;const _0x539fde=[0x0];for(let _0x2d3a55=0x0;_0x2d3a55<_0xe3684d['length'];_0x2d3a55++)if('elementStart'===_0xe3684d[_0x2d3a55]['type']){_0xe3684d[_0x2d3a55]['previousPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde);const _0x5a2ec3=new _0x49cf73(_0xe3684d[_0x2d3a55]['item']['name'],_0xe3684d[_0x2d3a55]['item']['getAttributes']());_0x42b8c9[0x0]['_appendChild'](_0x5a2ec3),_0x539fde['push'](0x0),_0x42b8c9['unshift'](_0x5a2ec3),_0xe3684d[_0x2d3a55]['nextPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde);}else'elementEnd'===_0xe3684d[_0x2d3a55]['type']?(_0x42b8c9['shift'](),_0xe3684d[_0x2d3a55]['previousPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde),_0x539fde['pop'](),_0x539fde[_0x539fde['length']-0x1]++,_0xe3684d[_0x2d3a55]['nextPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde)):(_0xe3684d[_0x2d3a55]['previousPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde),_0x1f56a1?_0x1f56a1['_data']+=_0xe3684d[_0x2d3a55]['item']['data']:_0x1f56a1=new _0x4ed4ec(_0xe3684d[_0x2d3a55]['item']['data'],_0xe3684d[_0x2d3a55]['item']['getAttributes']()),_0xe3684d[_0x2d3a55+0x1]&&'text'===_0xe3684d[_0x2d3a55+0x1]['type']&&_0x169e15(_0x1f56a1,_0xe3684d[_0x2d3a55+0x1]['item'])||(_0x42b8c9[0x0]['_appendChild'](_0x1f56a1),_0x1f56a1=null),_0x539fde[_0x539fde['length']-0x1]+=_0xe3684d[_0x2d3a55]['item']['offsetSize'],_0xe3684d[_0x2d3a55]['nextPosition']=_0x2d928c['createPositionFromPath'](_0x27722b,_0x539fde));for(let _0x8985e7=0x0;_0x8985e7<_0xe3684d['length'];_0x8985e7++){const _0x16da40=_0xe3684d[_0x8985e7]['previousPosition'],_0x5b942f=_0xe3684d[_0x8985e7]['nextPosition'];for(const _0x122e1a of _0xe3684d[_0x8985e7]['markersStart'])_0x2fe124['set'](_0x122e1a,{'start':_0x16da40,'end':null});_0x26abc2('isRemoveSuggestion',_0x8985e7,_0x16da40,_0x5b942f),_0x26abc2('isAddSuggestion',_0x8985e7,_0x16da40,_0x5b942f),_0x26abc2('isRemoved',_0x8985e7,_0x16da40,_0x5b942f),_0x26abc2('isAdded',_0x8985e7,_0x16da40,_0x5b942f);for(const _0x116241 of _0xe3684d[_0x8985e7]['markersEnd']){const _0x582439=_0x2fe124['get'](_0x116241);_0x582439?_0x582439['end']=_0x5b942f:_0x2fe124['set'](_0x116241,{'start':_0x5b942f,'end':_0x5b942f});}}for(const [_0x5073bb,_0x2c1ef3]of _0x2fe124){const _0x14812b=this['editor']['model']['createRange'](_0x2c1ef3['start'],_0x2c1ef3['end']);_0x27722b['markers']['set'](_0x5073bb,_0x14812b);}return _0x338136['sort']((_0x2b88c1,_0x474aab)=>{const _0x19a524=_0x27722b['markers']['get']('revision:'+_0x2b88c1['id']),_0x5e2f2c=_0x27722b['markers']['get']('revision:'+_0x474aab['id']);return _0x19a524['start']['isBefore'](_0x5e2f2c['start'])?-0x1:_0x19a524['start']['isAfter'](_0x5e2f2c['start'])?0x1:_0x19a524['end']['isBefore'](_0x5e2f2c['end'])?-0x1:_0x19a524['end']['isAfter'](_0x5e2f2c['end'])?0x1:'add'===_0x2b88c1['type']?-0x1:0x1;}),{'root':_0x27722b,'changes':_0x338136};function _0x26abc2(_0x209f3c,_0x101d48,_0x4e5097,_0x2eb969){const _0x5b1990=!!_0xe3684d[_0x101d48][_0x209f3c],_0x40d44a=_0x5b1990?_0xe3684d[_0x101d48][_0x209f3c]['userId']:null,_0x31e349=_0x101d48===_0xe3684d['length']-0x1,_0xd6c437=_0x16b7d2[_0x209f3c][0x0],_0x24da17=_0x38e517['isObject'](_0xe3684d[_0x101d48]['item']);!_0x2e4f1f[_0x209f3c]&&_0x5b1990?_0x2e4f1f[_0x209f3c]={'start':_0x4e5097,'tapeItem':_0xe3684d[_0x101d48],'userId':_0x40d44a,'type':_0x209f3c}:_0x2e4f1f[_0x209f3c]&&!_0x5b1990?(_0x2e4f1f[_0x209f3c]['end']=_0x4e5097,_0x10a174(_0x2e4f1f[_0x209f3c]),_0x2e4f1f[_0x209f3c]=null):_0x2e4f1f[_0x209f3c]&&_0x5b1990&&_0x2e4f1f[_0x209f3c]['userId']!==_0x40d44a&&(_0x2e4f1f[_0x209f3c]['end']=_0x4e5097,_0xd6c437&&_0xd6c437['userId']===_0x2e4f1f[_0x209f3c]['userId']||_0x10a174(_0x2e4f1f[_0x209f3c]),_0x2e4f1f[_0x209f3c]={'start':_0x4e5097,'tapeItem':_0xe3684d[_0x101d48],'userId':_0x40d44a,'type':_0x209f3c}),_0x2e4f1f[_0x209f3c]&&_0x24da17&&('elementStart'!==_0xe3684d[_0x101d48]['type']||_0xd6c437&&_0xd6c437['userId']===_0x40d44a||_0x16b7d2[_0x209f3c]['unshift']({'userId':_0x40d44a,'object':_0xe3684d[_0x101d48]['item'],'change':_0x2e4f1f[_0x209f3c]}),'elementEnd'===_0xe3684d[_0x101d48]['type']&&_0xd6c437&&_0xd6c437['object']===_0xe3684d[_0x101d48]['item']&&(_0x16b7d2[_0x209f3c]['shift'](),_0x2e4f1f[_0x209f3c]=_0xd6c437['change'])),_0x2e4f1f[_0x209f3c]&&_0x31e349&&(_0x2e4f1f[_0x209f3c]['end']=_0x2eb969,_0x10a174(_0x2e4f1f[_0x209f3c]),_0x2e4f1f[_0x209f3c]=null);}function _0x10a174({start:_0x993326,end:_0x369713,tapeItem:_0x3eb713,userId:_0x20ddbb,type:_0x3821a5}){const _0x35a513=_0x3eb713['item'],_0x1e7eda=_0x2d928c['schema']['isBlock'](_0x35a513)&&!_0x2d928c['schema']['isLimit'](_0x35a513),_0x1c8a18=_0x993326['nodeAfter']==_0x369713['parent']&&_0x369713['isAtStart'];if(_0x1e7eda&&_0x1c8a18)return;const _0x4696c9=_0x2d928c['createRange'](_0x993326,_0x369713),_0x56f182=_0x54d07e['get'](_0x20ddbb),_0x5a7142=new ChangeItem({'author':_0x56f182,'type':'isAdded'==_0x3821a5||'isAddSuggestion'==_0x3821a5?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3821a5||'isRemoveSuggestion'==_0x3821a5},'createdAt':new Date(),'rootName':_0x1ae0a});_0x338136['push'](_0x5a7142),_0x27722b['markers']['set']('revision:'+_0x5a7142['id'],_0x4696c9);}function _0x169e15(_0x3e9b79,_0x558dd8){const _0x5d2957=_0x3e9b79['getAttributes'](),_0x136f23=_0x558dd8['getAttributes']();for(const _0x122603 of _0x5d2957){if(_0x122603[0x1]!==_0x558dd8['getAttribute'](_0x122603[0x0]))return!0x1;_0x136f23['next']();}return _0x136f23['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x211213=>{const _0x25c9f9=_0x211213['markerName']['split'](':')[0x1],_0x131f41=this['_getChangeFromId'](_0x25c9f9);if(!_0x131f41)return null;const _0x56bd97='add'==_0x131f41['type']?'insertion':'deletion',_0x3507f0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x56bd97];return _0x131f41['data']['isSuggestion']&&_0x3507f0['push']('ck-suggestion-marker-'+_0x56bd97+'-new'),this['activeChange']==_0x131f41&&_0x3507f0['push']('ck-suggestion-marker--active'),{'classes':_0x3507f0,'attributes':{'data-change-id':_0x25c9f9}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x254b37=>{_0x254b37['on']('element:pre',(_0x34b1c9,_0x50db41,_0x27654d)=>{const _0x50cbe7=_0x50db41['viewItem']['getChild'](0x0);if(!_0x50cbe7||!_0x50cbe7['is']('element','code'))return;if(!_0x27654d['consumable']['consume'](_0x50cbe7,{'attributes':['vid_start','vid_end']}))return;const _0x3e9539=_0x50db41['modelRange']['start']['nodeAfter'];_0x27654d['writer']['setAttribute']('vid_start',_0x50cbe7['getAttribute']('vid_start'),_0x3e9539),_0x27654d['writer']['setAttribute']('vid_end',_0x50cbe7['getAttribute']('vid_end'),_0x3e9539);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x591c3b=>{_0x591c3b['on']('element',(_0x19abb6,_0x521eb1,_0x34b8ba)=>{if(!_0x34b8ba['consumable']['consume'](_0x521eb1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x521eb1['modelRange']['isCollapsed'])return;const _0x46e06f=_0x521eb1['modelRange']['start']['nodeAfter'];_0x46e06f['hasAttribute']('vid_start')||_0x46e06f['hasAttribute']('vid')||(_0x34b8ba['writer']['setAttribute']('vid_start',_0x521eb1['viewItem']['getAttribute']('vid_start'),_0x46e06f),_0x34b8ba['writer']['setAttribute']('vid_end',_0x521eb1['viewItem']['getAttribute']('vid_end'),_0x46e06f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x348015=>_0x348015['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x397614,[,_0x14d98a])=>{['vid_start','vid_end','vid']['includes'](_0x14d98a)&&(_0x397614['return']=!0x0,_0x397614['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5cd5a8=>{_0x5cd5a8['on']('attribute:vid',(_0x1c83d7,_0x299541,_0x16886f)=>{if('\x20'!=_0x299541['item']['data']||_0x299541['item']['parent']['maxOffset']>0x1)return;if(!_0x16886f['consumable']['consume'](_0x299541['item'],_0x1c83d7['name']))return;const _0x7ebd46=_0x16886f['writer'],_0x263ac2=_0x16886f['mapper']['toViewRange'](_0x299541['range']);_0x7ebd46['wrap'](_0x263ac2,_0x7ebd46['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3374a7){const _0x149fb2=_0x3374a7['plugins']['get']('RevisionViewer');return(_0x49686b,_0x13294f,_0x4297fb)=>{const _0x3ed389=_0x13294f['markerName']['split'](':')[0x1],_0x2e3e64=_0x149fb2['_getChangeFromId'](_0x3ed389);if(!_0x2e3e64)return null;const _0x4b682b='add'==_0x2e3e64['type']?'split':'merge';if(!_0x4297fb['consumable']['test'](_0x13294f['markerRange'],_0x49686b['name']))return;const _0x7d825b=_0x13294f['markerRange']['getWalker'](),_0x3879de=_0x13294f['markerRange']['start'],_0x5c1a3=_0x3374a7['model']['schema'];let _0x212dbd=null,_0x52af60=null,_0x1e01d1=!0x1,_0x57d52c=!0x1;for(const _0x228f17 of _0x7d825b){const _0xc020ef=_0x228f17['item'];_0x1e01d1=_0x1e01d1||_0x5c1a3['isContent'](_0xc020ef);const _0x57de38=_0x4297fb['mapper']['toViewElement'](_0xc020ef);if(_0x57de38&&_0x57de38['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x228f17['type']&&(_0x5c1a3['isBlock'](_0xc020ef)&&!_0x5c1a3['isLimit'](_0xc020ef)&&(_0xc020ef['nextSibling']||_0x3879de['isAtEnd']?_0x212dbd&&_0x212dbd['parent']==_0xc020ef||(_0x212dbd=_0xc020ef,_0x1769b3(_0x228f17['previousPosition']),_0x57d52c=!0x0):_0x52af60=_0x52af60||_0x228f17['previousPosition']));}function _0x1769b3(_0x24d88d){const _0x302725=_0x4297fb['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b682b}),_0x1e239c=_0x4297fb['mapper']['toViewPosition'](_0x24d88d);_0x2e3e64['data']['isSuggestion']&&_0x4297fb['writer']['addClass']('ck-suggestion-marker-'+_0x4b682b+'-new',_0x302725),_0x149fb2['activeChange']==_0x2e3e64&&_0x4297fb['writer']['addClass']('ck-suggestion-marker--active',_0x302725),_0x4297fb['writer']['insert'](_0x1e239c,_0x302725),_0x4297fb['mapper']['bindElementToMarker'](_0x302725,_0x13294f['markerName']);}_0x1e01d1||_0x57d52c||!_0x52af60||_0x1769b3(_0x52af60);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4c0c6c,_0x19487a,_0x53a886)=>{const _0x3d869c=_0x53a886['mapper']['markerNameToElements'](_0x19487a['markerName']);if(_0x3d869c){for(const _0x9d3ec0 of _0x3d869c)(_0x9d3ec0['hasClass']('ck-suggestion-marker-split')||_0x9d3ec0['hasClass']('ck-suggestion-marker-merge'))&&(_0x53a886['mapper']['unbindElementFromMarkerName'](_0x9d3ec0,_0x19487a['markerName']),_0x53a886['writer']['remove'](_0x9d3ec0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2aff43,_0x364056,_0x47579d)=>{const _0x1f1e75=_0x364056['markerName']['split'](':')[0x1],_0x403580=this['_getChangeFromId'](_0x1f1e75);if(!_0x403580)return null;const _0x1eb2eb='add'==_0x403580['type']?'split':'merge';if(_0x47579d['consumable']['test'](_0x364056['markerRange'],_0x2aff43['name']))for(const _0x3449e3 of _0x364056['markerRange']['getItems']()){if(!_0x3449e3['is']('element','softBreak'))continue;const _0x2d8751=_0x47579d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1eb2eb}),_0x46d82c=_0x47579d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3449e3));_0x403580['data']['isSuggestion']&&_0x47579d['writer']['addClass']('ck-suggestion-marker-'+_0x1eb2eb+'-new',_0x2d8751),this['activeChange']==_0x403580&&_0x47579d['writer']['addClass']('ck-suggestion-marker--active',_0x2d8751),_0x47579d['writer']['insert'](_0x46d82c,_0x2d8751),_0x47579d['mapper']['bindElementToMarker'](_0x2d8751,_0x364056['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xaccb4a=>{for(const _0x11ec4f of this['editor']['model']['document']['getRootNames']()){const _0x5de5cb=this['editor']['model']['document']['getRoot'](_0x11ec4f),_0x372cc6=this['editor']['editing']['view']['document']['getRoot'](_0x11ec4f);if(_0x372cc6){const _0x3f899d=_0x5de5cb['getAttribute']('revisionHistoryAttachChange');if(_0xaccb4a['removeAttribute']('data-change-id',_0x372cc6),_0xaccb4a['removeClass']('ck-revision-history-root-add',_0x372cc6),_0xaccb4a['removeClass']('ck-revision-history-root-remove',_0x372cc6),_0xaccb4a['removeClass']('ck-revision-history-root--active',_0x372cc6),_0x3f899d){const _0x570eb1=this['_getChangeFromId'](_0x3f899d);if(!_0x570eb1)return null;_0xaccb4a['setAttribute']('data-change-id',_0x3f899d,_0x372cc6),_0xaccb4a['addClass']('ck-revision-history-root-'+_0x570eb1['type'],_0x372cc6),this['activeChange']==_0x570eb1&&_0xaccb4a['addClass']('ck-revision-history-root--active',_0x372cc6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4adee1=>'revision-comment:'+_0x4adee1,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x28e025=>'revision-suggestion:'+_0x28e025,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5b140a=>({'name':'suggestion:'+_0x5b140a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5e353f=>{const _0x289b75=_0x5e353f['markerName']['split'](':')[0x1];return'insertion'!=_0x289b75&&'deletion'!=_0x289b75?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x289b75]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',Gb(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',Gb(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x153415,_0x3318c5,_0x214a5a)=>{const _0x56e606=_0x214a5a['mapper']['markerNameToElements'](_0x3318c5['markerName']);if(_0x56e606){for(const _0x78ba74 of _0x56e606)_0x78ba74['is']('uiElement')&&(_0x214a5a['mapper']['unbindElementFromMarkerName'](_0x78ba74,_0x3318c5['markerName']),_0x214a5a['writer']['remove'](_0x78ba74));}},{'priority':'high'});}['_getChangeFromId'](_0x1aed2b){return this['_changeIdToChange']['get'](_0x1aed2b);}['_getViewForChange'](_0x53ab74){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x53ab74),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5491c8,_0x58bb9b,_0x537bcf,_0x11f469)=>{_0x11f469&&this['_balloon']['remove'](_0x11f469),_0x537bcf&&(this['_balloon']['add']({'view':_0x537bcf,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x55e21a=this['editor']['editing'],_0x26c546=this['_getChangeFromId'](_0x537bcf['changeId']);let _0x547233;if(_0x26c546['data']['isOnRoot']){const _0x5a8007=_0x55e21a['view']['getDomRoot'](_0x26c546['rootName']);_0x547233=Array['from'](_0x5a8007['getClientRects']());}else{const _0x3cde9a=this['editor']['model']['markers']['get']('revision:'+_0x537bcf['changeId']);_0x547233=Array['from'](_0x55e21a['mapper']['markerNameToElements'](_0x3cde9a['name']))['map'](_0x414f08=>_0x55e21a['view']['domConverter']['mapViewToDom'](_0x414f08))['map'](_0x567cfd=>Array['from'](_0x567cfd['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x547233[0x0];return _0x547233['find'](_0x5b8663=>_0x5b8663['top']-0x3<=this['_activeViewTarget']['y']&&_0x5b8663['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5b8663['left']-0x3<=this['_activeViewTarget']['x']&&_0x5b8663['right']+0x3>=this['_activeViewTarget']['x'])||_0x547233[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2f284d,_0x396429,_0x569346,_0x33fad5)=>{this['activeView']=_0x569346?this['_getViewForChange'](_0x569346):null,this['editor']['model']['change'](()=>{const _0x2fbe5d=this['editor']['editing'];_0x33fad5&&(_0x33fad5['data']['isOnRoot']?_0x2fbe5d['view']['change'](_0x3e19b6=>{_0x3e19b6['removeClass']('ck-revision-history-root--active',_0x2fbe5d['view']['document']['getRoot'](_0x33fad5['rootName']));}):_0x2fbe5d['reconvertMarker']('revision:'+_0x33fad5['id'])),_0x569346&&(_0x569346['data']['isOnRoot']?_0x2fbe5d['view']['change'](_0x188cba=>{_0x188cba['addClass']('ck-revision-history-root--active',_0x2fbe5d['view']['document']['getRoot'](_0x569346['rootName']));}):_0x2fbe5d['reconvertMarker']('revision:'+_0x569346['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x31c1b0,_0x1667fd)=>{if(this['activeChange'])return;const _0x403a43=this['_findChangeIdFromDomTarget'](_0x1667fd['target']),_0x43f174=this['_changeIdToChange']['get'](_0x403a43);_0x43f174?(this['_activeViewTarget']={'x':_0x1667fd['domEvent']['x'],'y':_0x1667fd['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x43f174)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4070ab,_0x2a4c6a)=>{const _0x563886=this['_findChangeIdFromDomTarget'](_0x2a4c6a['target']),_0x1eb556=this['_changeIdToChange']['get'](_0x563886);_0x1eb556?(this['_activeViewTarget']={'x':_0x2a4c6a['domEvent']['x'],'y':_0x2a4c6a['domEvent']['y']},_0x1eb556===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1eb556):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xe283e1){do{const _0x580eb5=_0xe283e1['getAttribute']('data-change-id');if(_0x580eb5)return _0x580eb5;_0xe283e1=_0xe283e1['parent'];}while(_0xe283e1);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x516495=>{for(const _0x54f484 of this['editor']['model']['markers'])_0x516495['removeMarker'](_0x54f484);});}}function Gb(_0x55e653,_0x2f8b64){return(_0x896bb4,_0x35ec92,_0x40decb)=>{if(!_0x40decb['consumable']['test'](_0x35ec92['markerRange'],_0x896bb4['name']))return;const _0x42e2ef=_0x35ec92['markerRange']['getWalker'](),_0x4cf200=_0x35ec92['markerRange']['start'],_0xcd8b48=_0x55e653['model']['schema'];let _0x2b7004=null,_0x3d3aaa=null,_0x2e18c3=!0x1,_0x31f082=!0x1;for(const _0x5a12b4 of _0x42e2ef){const _0x29794f=_0x5a12b4['item'];_0x2e18c3=_0x2e18c3||_0xcd8b48['isContent'](_0x29794f);const _0x2768a3=_0x40decb['mapper']['toViewElement'](_0x29794f);if(_0x2768a3&&_0x2768a3['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5a12b4['type']&&(_0xcd8b48['isBlock'](_0x29794f)&&!_0xcd8b48['isLimit'](_0x29794f)&&(_0x29794f['nextSibling']||_0x4cf200['isAtEnd']?_0x2b7004&&_0x2b7004['parent']==_0x29794f||(_0x2b7004=_0x29794f,_0xd25aa9(_0x5a12b4['previousPosition']),_0x31f082=!0x0):_0x3d3aaa=_0x3d3aaa||_0x5a12b4['previousPosition']));}function _0xd25aa9(_0x4ce55f){const _0x9f9add=_0x40decb['mapper']['toViewPosition'](_0x4ce55f),_0x36f675=_0x40decb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2f8b64});_0x40decb['writer']['insert'](_0x9f9add,_0x36f675),_0x40decb['mapper']['bindElementToMarker'](_0x36f675,_0x35ec92['markerName']);}_0x2e18c3||_0x31f082||!_0x3d3aaa||_0xd25aa9(_0x3d3aaa);};}class RestoreRevisionCommand extends _0x1110b9{constructor(_0x22c08c){super(_0x22c08c);const _0x1f0081=_0x22c08c['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['listenTo'](_0x1f0081,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1f0081,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2b4786=this['editor'],_0x39af62=_0x2b4786['plugins']['get'](RevisionViewer),_0x3269c5=_0x39af62['isReady']?_0x39af62['diff']['newRevisionId']:null;_0x2b4786['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3269c5);}['refresh'](){const {isReady:_0x410895,isEnabled:_0x5a85f7,repository:_0xb88d8b,diff:_0x4202c2}=this['editor']['plugins']['get'](RevisionViewer),_0x303c0c=_0x4202c2&&_0xb88d8b['getLaterVisibleRevision'](_0x4202c2['newRevisionId']);this['isEnabled']=_0x410895&&_0x5a85f7&&Boolean(_0x303c0c);}}class ShowChangeCommand extends _0x1110b9{['_step'];constructor(_0x2bb827,{direction:_0x2939cb}){super(_0x2bb827);const _0x2901dd=_0x2bb827['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['_step']='forward'===_0x2939cb?0x1:-0x1,this['listenTo'](_0x2901dd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2901dd,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2901dd,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x14fe3d=this['editor'],_0x157086=_0x14fe3d['plugins']['get'](RevisionViewer),{isNavigationMode:_0x16cbba,currentChangeNumber:_0x38c447}=_0x157086;let _0x5b0164;if(_0x157086['activeChange']=_0x16cbba?_0x157086['diff']['changes']['get'](_0x38c447+this['_step']):_0x157086['diff']['changes']['first'],_0x157086['activeChange']['data']['isOnRoot'])_0x5b0164=_0x14fe3d['editing']['view']['getDomRoot'](_0x157086['activeChange']['rootName']);else{const _0x26e614=_0x14fe3d['model']['markers']['get']('revision:'+_0x157086['activeChange']['id']);_0x5b0164=qu(_0x14fe3d['editing'],_0x26e614);}_0xe93d68({'target':_0x5b0164,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x49840f,currentChangeNumber:_0x14016b,numberOfChanges:_0xb6b437,isReady:_0xd7eabb,isEnabled:_0x5ca739}=this['editor']['plugins']['get'](RevisionViewer);this['isEnabled']=!!(_0x5ca739&&_0xd7eabb&&_0xb6b437)&&(!_0x49840f||(0x1===this['_step']?_0x14016b<_0xb6b437-0x1:_0x14016b>0x0));}}class ChangesNavigationView extends _0x268b55{constructor(_0x196311){super(_0x196311);const _0x31f0bb=this['bindTemplate'],_0x1b7d83=new _0x13bcd9(_0x196311),_0x5e3819=new _0x13bcd9(_0x196311);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',(_0x412055,_0x588b0a)=>_0x412055&&_0x588b0a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1c6cbb,_0x5851b5,_0x4f4286,_0x51bd1a)=>{if(!_0x1c6cbb)return Ub(_0x196311,'Loading...');if(!_0x4f4286)return Ub(_0x196311,'No\x20changes');const _0x5b0ac5=Ub(_0x196311,'NUMBER_OF_CHANGES',_0x4f4286);return _0x51bd1a?Ub(_0x196311,'X_OF_Y_CHANGES',[_0x5851b5+0x1,_0x4f4286]):_0x5b0ac5;}),_0x1b7d83['set']({'label':Ub(_0x196311,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x32e715}),_0x5e3819['set']({'label':Ub(_0x196311,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x404565}),_0x1b7d83['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5e3819['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1b7d83['on']('execute',()=>this['fire']('execute','backward')),_0x5e3819['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',_0x31f0bb['if']('_isStatusLabelVisible','ck-hidden',_0x3d4ba5=>!_0x3d4ba5)]},'children':[{'text':_0x31f0bb['to']('isNavigationMode',_0x1bec73=>_0x1bec73?Ub(_0x196311,'EDIT_X_OF_Y_REVISIONS')+':\x20':Ub(_0x196311,'Total')+':\x20')}]},{'text':_0x31f0bb['to']('_statusText')}]},new qt(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1b7d83,_0x5e3819]}]});}}const Zb='ck-editor__editable__loading-overlay';class RevisionViewerLoadingOverlay extends _0x4ac504{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x3a35df=this['editor']['editing']['view'];_0x3a35df['change'](_0x3aad0f=>{for(const _0x5f3c37 of _0x3a35df['document']['roots'])_0x3aad0f['addClass'](Zb,_0x5f3c37);});}['hide'](){const _0x3eb2ef=this['editor']['editing']['view'];_0x3eb2ef['change'](_0x2494cb=>{for(const _0x51bea6 of _0x3eb2ef['document']['roots'])_0x2494cb['removeClass'](Zb,_0x51bea6);});}}class RevisionViewerUI extends _0x4ac504{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer,RevisionViewerLoadingOverlay];}['init'](){const _0xe53c2f=this['editor'],_0x1a76be=_0xe53c2f['plugins']['get'](RevisionViewer),_0x882215=_0xe53c2f['plugins']['get'](RevisionViewerLoadingOverlay);_0xe53c2f['ui']['componentFactory']['add']('exitToEditing',_0x548cab=>{const _0x52b381=new _0x13bcd9(_0x548cab);return _0x52b381['set']({'label':Ub(_0x548cab,'Back\x20to\x20editing'),'icon':_0xcf6dc,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x52b381,'execute',()=>{_0xe53c2f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x52b381;}),_0xe53c2f['ui']['componentFactory']['add']('restoreRevision',_0x4d81a2=>{const _0x5b2376=new _0x13bcd9(_0x4d81a2);return _0x5b2376['set']({'label':Ub(_0x4d81a2,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5b2376['bind']('isEnabled')['to'](_0xe53c2f['commands']['get']('restoreRevision')),this['listenTo'](_0x5b2376,'execute',()=>_0xe53c2f['execute']('restoreRevision')),_0x5b2376;}),_0xe53c2f['ui']['componentFactory']['add']('changesNavigation',_0x324a08=>{const _0x26b2b9=new ChangesNavigationView(_0x324a08),_0x2d186b=_0xe53c2f['commands']['get']('showPreviousChange'),_0x24b7c3=_0xe53c2f['commands']['get']('showNextChange');return _0x26b2b9['bind']('isBackwardNavigationEnabled')['to'](_0x2d186b,'isEnabled'),_0x26b2b9['bind']('isForwardNavigationEnabled')['to'](_0x24b7c3,'isEnabled'),_0x26b2b9['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1a76be),this['listenTo'](_0x26b2b9,'execute',(_0x55493a,_0x234754)=>{_0xe53c2f['execute']('forward'===_0x234754?'showNextChange':'showPreviousChange');}),_0x26b2b9;}),_0x882215['show'](),_0x1a76be['on']('change:isReady',(_0x302ea0,_0x52f4b9,_0x3b8145)=>{_0x3b8145?_0x882215['hide']():_0x882215['show']();});}}class RevisionNameView extends wt{['_resizeObserver']=null;constructor(_0x261567,_0x5e2ae2){super(_0x261567,_0x5e2ae2);const _0x1af0ab=this['bindTemplate'];this['set']({'label':Ub(_0x261567,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=Ub(_0x261567,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1af0ab['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x3af96d(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x2d355a=this['fieldView']['element'];this['_tooltipString']=_0x2d355a['scrollWidth']>_0x2d355a['clientWidth']&&_0x2d355a['value']||'';}}class RevisionAuthorView extends _0x268b55{constructor(_0x38c362,_0xc72470,_0x1c835b){super(_0x38c362);const _0x2139eb=new _0x2b9920();_0x2139eb['set']({'content':_0xf2de5e,'viewBox':'0\x200\x2011\x2010'});const _0x1592a3=['ck','ck-revision-history-sidebar__revision-author'];_0x1c835b&&_0x1592a3['push']('ck-revision-history-sidebar__revision-author_creator');const _0xfa1853=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':Ub(_0x38c362,_0x1c835b?'Revision\x20creator':'Revision\x20author')},'children':[_0x2139eb,_0xc72470['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1592a3},'children':_0xfa1853});}}function Xb(_0x45131b,_0x2c0e4a){const _0x104743=_0x45131b['bindTemplate'],_0x17f8de=_0x45131b['locale'],_0x359770=st(_0x17f8de);_0x359770['panelPosition']='sw';const _0x363287=function(_0x23e051,_0x5bfe6b){const _0x5d86cd=function(_0x392358,_0x16a91c){const _0x13d17d=_0x392358['locale'],_0x5e0e9c={'Compare\x20against\x20selected':Ub(_0x13d17d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':Ub(_0x13d17d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':Ub(_0x13d17d,'Restore\x20this\x20revision')};return _0x16a91c['map'](_0x2c03e3=>{const _0x2f9213=_0x5e0e9c[_0x2c03e3['name']];return _0x2f9213&&_0x2f9213!==_0x2c03e3['name']&&(_0x2c03e3['name']=_0x2f9213),_0x2c03e3;});}(_0x23e051,_0x5bfe6b),_0x28a856=new _0xe4e0d0();for(const _0x30c454 of _0x5d86cd){const _0xf3b3fd={'type':'button','model':new pt({'label':_0x30c454['name'],'class':_0x30c454['class'],'withText':!0x0,'role':'menuitem','_action':_0x30c454['action']})};_0xf3b3fd['model']['bind']('isEnabled')['to'](_0x23e051,'isActionsDropdownOpen',_0x418a99=>'function'!=typeof _0x30c454['isEnabled']||(!_0x418a99||_0x30c454['isEnabled'](_0x23e051))),_0x28a856['add'](_0xf3b3fd);}return _0x28a856;}(_0x45131b,_0x2c0e4a);return _0x45131b['bind']('isActionsDropdownOpen')['to'](_0x359770,'isOpen'),_0x359770['buttonView']['set']({'label':Ub(_0x17f8de,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x44c2a3}),_0x359770['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x104743['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x104743['to'](_0x435145=>_0x435145['stopPropagation']())}}),_0x359770['on']('execute',_0x3faf8c=>{_0x45131b['isReady']&&'function'==typeof _0x3faf8c['source']['_action']&&_0x3faf8c['source']['_action'](_0x45131b);}),gt(_0x359770,_0x363287,{'role':'menu'}),_0x359770['listenTo'](_0x45131b,'change:isActionsDropdownOpen',(_0x39a8c9,_0x45e6a8,_0x4a9890)=>{if(_0x4a9890)for(const _0x2a4ea6 of _0x359770['listView']['items']){const _0x3ed2c6=_0x2a4ea6['children']['first'],_0x333c20=_0x2c0e4a['find'](_0x42fedb=>_0x42fedb['action']===_0x3ed2c6['_action'])['isVisible'];_0x2a4ea6['isVisible']=void 0x0===_0x333c20||_0x333c20(_0x45131b);}}),_0x359770;}class RevisionView extends/* #__PURE__ -- @preserve */
Ku(_0x268b55){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x17e29d,_0x51b3e9,_0x2290f2,_0x144dd9){super(_0x17e29d);const _0x225fca=this['bindTemplate'],_0x477030=function(_0x4bf1aa,_0x55edc6){const _0x5a19ec=Array['from'](_0x55edc6['authors'])['filter'](_0x3650d7=>_0x3650d7!=_0x55edc6['creator']);return _0x55edc6['creator']&&_0x5a19ec['unshift'](_0x55edc6['creator']),_0x5a19ec['map'](_0x44ea99=>new RevisionAuthorView(_0x4bf1aa,_0x44ea99,_0x44ea99==_0x55edc6['creator']));}(_0x17e29d,_0x51b3e9);this['id']=_0x51b3e9['id'],this['_revision']=_0x51b3e9,this['_requireRevisionName']=_0x144dd9,this['bind']('name','createdAt')['to'](_0x51b3e9),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x506f2c=>{return _0x387e63=_0x17e29d['uiLanguage'],(_0x57eb18=_0x506f2c)['toLocaleDateString'](_0x387e63,{'month':'long','day':'numeric'})+',\x20'+_0x57eb18['toLocaleTimeString'](_0x387e63,{'hour':'numeric','minute':'numeric'});var _0x387e63,_0x57eb18;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new RevisionNameView(_0x17e29d,bt),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1809fb=>_0x1809fb||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3c67d9,_0x9eea18)=>_0x3c67d9&&_0x9eea18),this['revisionActionsView']=_0x2290f2&&_0x2290f2['length']?Xb(this,_0x2290f2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x225fca['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x225fca['if']('isEnabled','ck-disabled',_0x411d60=>!_0x411d60),_0x225fca['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x225fca['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x225fca['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':_0x225fca['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':_0x477030}]},this['revisionActionsView']],'on':{'click':_0x225fca['to'](_0x46c741=>{_0x46c741['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x376897=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x376897,'change',()=>{this['_requireRevisionName']&&!_0x376897['value']||this['fire']('setName',{'id':this['id'],'name':_0x376897['value']}),_0x376897['value']||(_0x376897['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function qb(_0x3cae27,_0x35f689){const _0xa89ec5=DateTime['fromJSDate'](_0x3cae27)['setLocale'](_0x35f689),_0x51654f=DateTime['local'](),_0x270d87=_0x51654f['minus']({'days':0x1})['startOf']('day');let _0x5f1865,_0x536a81;return _0xa89ec5['hasSame'](_0x51654f,'day')?(_0x5f1865=_0xa89ec5['startOf']('day')['toJSDate'](),_0x536a81=_0xa89ec5['toRelativeCalendar']()):_0xa89ec5['hasSame'](_0x270d87,'day')?(_0x5f1865=_0x270d87['toJSDate'](),_0x536a81=_0xa89ec5['toRelativeCalendar']()):_0xa89ec5['hasSame'](_0x51654f,'week')?(_0x5f1865=_0xa89ec5['startOf']('week')['toJSDate'](),_0x536a81=_0xa89ec5['weekdayLong']||''):_0xa89ec5['hasSame'](_0x51654f,'year')?(_0x5f1865=_0xa89ec5['startOf']('month')['toJSDate'](),_0x536a81=_0xa89ec5['monthLong']||''):(_0x5f1865=_0xa89ec5['startOf']('year')['toJSDate'](),_0x536a81=String(_0xa89ec5['year'])),{'startDate':_0x5f1865,'localizedPeriodName':_0x536a81};}class RevisionsSidebarTimePeriodView extends _0x268b55{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2d8b9f,_0x28b1e4,_0x1a34b5,_0x485a3d){super(_0x2d8b9f);const _0x169781=qb(_0x28b1e4,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x28b1e4,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1a34b5,this['_requireRevisionName']=_0x485a3d,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':_0x169781}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x56de74){const _0x52c2c7=new RevisionView(this['locale'],_0x56de74,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x52c2c7);}['removeRevision'](_0xc5b3b8){const _0x4bacde=this['revisionViews']['find'](_0x3263b1=>_0x3263b1['id']===_0xc5b3b8['id']);this['revisionViews']['remove'](_0x4bacde);}}class RevisionsSidebarHeaderView extends _0x268b55{constructor(_0x1bd844){super(_0x1bd844);const _0x37379d=new _0x2b9920();_0x37379d['content']=_0x16c9d6,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x37379d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[Ub(_0x1bd844,'Revision\x20history')]}]});}}class RevisionsSidebarView extends _0x268b55{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1313eb,_0x229ae1,_0x364b9d,_0x523eac){super(_0x1313eb);const _0x5b8915=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x229ae1,this['_revisionActions']=_0x364b9d,this['_requireRevisionName']=_0x523eac,this['on']('select',(_0x54146c,_0x11a8c1)=>{this['fire']('revisionSelected',_0x11a8c1);}),this['on']('setName',(_0x2894fe,_0x3b6fb0)=>{this['fire']('revisionSetName',_0x3b6fb0);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new RevisionsSidebarHeaderView(_0x1313eb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5b8915['if']('isEnabled','ck-disabled',_0x748c6e=>!_0x748c6e)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x18844d of this['_revisions'])this['_addRevision'](_0x18844d);this['_revisions']['on']('add',(_0x4da83a,_0x4fdc4d)=>{this['_addRevision'](_0x4fdc4d);}),this['_revisions']['on']('remove',(_0x220c70,_0x8f5648)=>{this['_removeRevision'](_0x8f5648);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3d94aa=>_0x3d94aa['revisionViews']['map'](_0x296168=>_0x296168))['flat']();}['selectRevision'](_0x32667e){for(const _0x3e017f of this['revisionViews'])_0x32667e&&_0x32667e['id']===_0x3e017f['id']?_0x3e017f['select']():_0x3e017f['deselect']();}['highlightRevisions'](_0x3887f6){for(const _0x59602d of this['revisionViews'])_0x3887f6['some'](({id:_0x26f80d})=>_0x26f80d===_0x59602d['id'])?_0x59602d['highlight']():_0x59602d['unhighlight']();}['_addRevision'](_0x558fc3){const _0x5b7634=qb(_0x558fc3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1cadf5=this['timePeriodViews']['get'](0x0);_0x1cadf5&&_0x1cadf5['startDate']['getTime']()===_0x5b7634['getTime']()||(_0x1cadf5=new RevisionsSidebarTimePeriodView(this['locale'],_0x5b7634,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1cadf5)),_0x1cadf5['addRevision'](_0x558fc3);}['_removeRevision'](_0x1a26bc){const _0x15e6f1=qb(_0x1a26bc['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x15e6f1)['removeRevision'](_0x1a26bc);}['_getTimePeriodViewByStartDate'](_0x455f08){return this['timePeriodViews']['find'](_0x562e01=>_0x562e01['startDate']['getTime']()===_0x455f08['getTime']());}}class RevisionsSidebar extends _0x4ac504{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
Wb();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer];}constructor(_0x14e1c4){super(_0x14e1c4),this['_revisionViewer']=_0x14e1c4['plugins']['get'](RevisionViewer),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x48a33d=this['_revisionsRepository']['_revisions'],_0x524092=this['_createRevisionActions'](),_0x441663=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new RevisionsSidebarView(this['editor']['locale'],_0x48a33d,_0x524092,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',(_0x54b104,_0x57e437)=>{_0x57e437['revisionViews']['on']('add',(_0x3ef0b1,_0x14d27a)=>{_0x14d27a['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)),_0x441663['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4df30c=this['_revisionsRepository']['getRevision'](0x0);if(_0x4df30c){const _0x2ceb11=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4df30c['id']);this['_revisionViewer']['compare'](_0x4df30c,_0x2ceb11);}}['_handleRevisionSelected'](_0x218e27,_0xab542a){const _0x38de31=this['_revisionsRepository']['getRevision'](_0xab542a['id']),_0x3f6a6d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x38de31['id']);this['_revisionViewer']['compare'](_0x38de31,_0x3f6a6d);}['_handleRevisionSetName'](_0x22177d,_0x23cc82){this['_revisionsRepository']['getRevision'](_0x23cc82['id'])['setName'](_0x23cc82['name']);}['_handleDiffChange'](_0x467efd,_0x57c04c,_0xb5800e){const _0x234c91=this['_revisionsRepository']['getRevisionsInDiff'](_0xb5800e);_0x234c91['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x234c91),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x234c91[0x0]));}['_createRevisionActions'](){const _0x22ac11=this['editor'],_0x11321a=RevisionsSidebar['availableRevisionActions'],_0x14155d=_0x22ac11['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x14155d['length'])return _0x14155d['map'](_0x34bda3=>{const _0x3b3ca8='string'==typeof _0x34bda3?Object['assign']({},_0x11321a[_0x34bda3]):_0x34bda3;return _0x3b3ca8['action']=_0x3b3ca8['action']['bind'](this,_0x22ac11),_0x3b3ca8['isVisible']&&(_0x3b3ca8['isVisible']=_0x3b3ca8['isVisible']['bind'](this,_0x22ac11)),_0x3b3ca8;});}}function Wb(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x254e48},_0xee20eb)=>{const _0x21c69a=_0x254e48['get'](RevisionViewer),_0x41f31f=_0x21c69a['repository'];let _0x362e2c=_0x21c69a['diff']['newRevisionId'],_0x4e0983=_0xee20eb['id'];_0x41f31f['getIndex'](_0x362e2c)>_0x41f31f['getIndex'](_0x4e0983)&&([_0x362e2c,_0x4e0983]=[_0x4e0983,_0x362e2c]),_0x21c69a['compare'](_0x362e2c,_0x4e0983);},'isVisible':({plugins:_0x59b170},_0x540a33)=>{const _0x516a49=_0x59b170['get'](RevisionViewer);return!(_0x516a49['repository']['getRevisionsInDiff'](_0x516a49['diff'])['length']>0x2)&&!_0x540a33['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5b2efd,{id:_0x5d5a44})=>{_0x5b2efd['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5d5a44);},'isVisible':({plugins:_0xa41031},_0x2fa23d)=>!!_0xa41031['get'](RevisionViewer)['repository']['getLaterVisibleRevision'](_0x2fa23d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5e266b},{id:_0x3b4aba,revisionNameView:_0x3ed2a7})=>{const _0x494103=_0x5e266b['get'](RevisionViewer),_0x3207a5=_0x494103['repository']['getEarlierVisibleRevision'](_0x3b4aba);_0x494103['compare'](_0x3b4aba,_0x3207a5),_0x3ed2a7['focus'](),_0x3ed2a7['fieldView']['select']();}}};}class RevisionViewerEditorUI extends Nt{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2b14b9,_0x251da0){super(_0x2b14b9),this['_view']=_0x251da0,this['_toolbarConfig']=Wt(_0x2b14b9['config']['get']('toolbar')),this['_elementReplacer']=new _0x2dd87d();}get['element'](){return this['view']['element'];}['init'](_0x58d201){const _0xd20356=this['editor'],_0x2f39dc=this['view'],_0x1ad68d=_0xd20356['editing']['view'],_0x14cb20=_0x2f39dc['editable'],_0x2e77c4=_0x1ad68d['document']['getRoot']();_0x14cb20['name']=_0x2e77c4['rootName'],_0x2f39dc['render']();const _0x48f0d1=_0x14cb20['element'];this['setEditableElement'](_0x14cb20['name'],_0x48f0d1),_0x2f39dc['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1ad68d['attachDomRoot'](_0x48f0d1),this['_elementReplacer']['replace'](_0x58d201,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1884c3=this['view'],_0x435e1e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x435e1e['detachDomRoot'](_0x1884c3['editable']['name']),_0x1884c3['destroy']();}['_initToolbar'](){const _0x5109cf=this['view'];_0x5109cf['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5109cf['stickyPanel']['limiterElement']=_0x5109cf['element'],_0x5109cf['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x134a25})=>_0x134a25),_0x5109cf['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5109cf['toolbar']);}}class RevisionViewerEditorUIView extends zt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5bd86c,_0x1e3374,_0x567c8a={}){super(_0x5bd86c),this['stickyPanel']=new Yt(_0x5bd86c),this['toolbar']=new _0x2c1653(_0x5bd86c,{'shouldGroupWhenFull':_0x567c8a['shouldToolbarGroupWhenFull']}),this['_editable']=new Mt(_0x5bd86c,_0x1e3374);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x16b6a1(_0x2f9368){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x2ed1d6,_0x13ccb8){super(_0x13ccb8),this['sourceElement']=_0x2ed1d6,this['model']['document']['createRoot']();const _0x4520a4=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x4520a4);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xb77851,_0xb7b943){const _0x338866=new this(_0xb77851,_0xb7b943);return await _0x338866['initPlugins'](),await _0x338866['ui']['init'](_0xb77851),await _0x338866['data']['init'](_0x338866['config']['get']('initialData')||''),_0x338866['fire']('ready'),_0x338866;}}const zb=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x4ac504{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x189c7f){function _0x4a1397(_0x1769ba){return _0x1769ba['map'](_0x5f28d7=>String['fromCharCode'](_0x5f28d7))['join']('');}super(_0x189c7f),this['result']='end',_0x189c7f[_0x4a1397([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a1397([0x76,0x69,0x65,0x77])][_0x4a1397([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a1397([0x61,0x75,0x74,0x6f]),_0x189c7f[_0x4a1397([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4a1397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a1397([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4a1397([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4a1397([0x6f,0x6b])});}}class RevisionHistory extends _0x4ac504{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker,RevisionHistoryUI];}constructor(_0x4f9011){if(super(_0x4f9011),!this['editor']['config']['get']('revisionHistory'))throw new _0x1976e8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2b0434=>this['_showRevisionViewer']({..._0x2b0434,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1fd31b=>this['_closeRevisionViewer'](_0x1fd31b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x252efb=>this['_restoreRevision'](_0x252efb)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3acd48){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3acd48;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5aaf7f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5aaf7f);}['getRevision'](_0xca4137){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xca4137);}['getRevisions'](_0x1b69fc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1b69fc||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x17b0e6=this['editor'],_0x292053=cd(_0x17b0e6,zb),_0x1040d=_0x17b0e6['plugins']['get']('RevisionTracker'),_0x183a5f=_0x17b0e6['plugins']['get']('Users')['users'];return _0x292053['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x292053['lazyRoots'],(_0x292053['plugins']['push'](RevisionViewerIntegration,RevisionViewer,RevisionViewerUI,class RevisionViewerInit extends _0x4ac504{static get['requires'](){return[RevisionViewer,'Users'];}['init'](){const _0x1df43d=this['editor']['plugins']['get']('Users');for(const _0x3c3a1f of _0x183a5f)_0x3c3a1f['isAnonymous']||_0x1df43d['getUser'](_0x3c3a1f['id'])||_0x1df43d['addUser'](_0x3c3a1f);const _0x1062c7=_0x1040d['repository']['getRevisions']();let _0x188ccf=null;const _0x3859ed=this['editor']['plugins']['get']('RevisionViewer');_0x3859ed['adapter']=_0x1040d['adapter'],_0x3859ed['bind']('isEnabled')['to'](_0x1040d),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x17b0e6,'isReadOnly',_0x338ee3=>!_0x338ee3);for(const _0x1aa0b8 of _0x1062c7){const _0x3b209a=null===_0x1aa0b8['creator'];if(_0x3b209a&&_0x1aa0b8['toVersion']===_0x1aa0b8['fromVersion'])continue;const _0x4c626e=_0x1aa0b8['toJSON']();_0x3859ed['addRevisionData'](_0x4c626e,(_0x1040f1,_0x355804,_0x40e909)=>{if(_0x3b209a){if(_0x188ccf)_0x188ccf['_update'](_0x1040f1,_0x355804);else{if(!_0x355804){const _0x5208e3=_0x40e909['toJSON']();_0x5208e3['id']=_0x288d30(),_0x1040d['saveRevision'](_0x5208e3,_0x40e909['toVersion'])['then'](_0x38683f=>{_0x188ccf=_0x38683f;});}}}else _0x1aa0b8['_update'](_0x1040f1,_0x355804);});}}},RevisionsSidebar),_0x292053);}['_enhanceShowRevisionViewerCallback'](){const _0x47ddd9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xc51fd3=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x396382=this['editor']['plugins']['get']('Autosave');await _0x396382['save']();}else await _0xc51fd3['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x527ff0=this['editor']['plugins']['get']('Dialog');_0x527ff0['isOpen']&&_0x527ff0['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x2b5158=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x588823 of _0x2b5158)_0x588823['class']=_0x588823['class']?_0x588823['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x28c7fa=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x28c7fa&&_0x28c7fa['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x35a8c4=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x35a8c4&&_0x35a8c4['setAttribute']('tabindex','-1');}}const _0x15b98f=this['_getRevisionViewerEditorConfig']();return _0x47ddd9(_0x15b98f)['then'](_0x5882fe=>{return(this['_viewerEditor']=_0x5882fe,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'),_0x5882fe);})['catch'](_0x498b3b=>(console['error'](_0x498b3b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x50a2af=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 _0x5df8e5=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x169ad9 of _0x5df8e5)_0x169ad9['class']='ck-tab-panel_disabled'===_0x169ad9['class']?'':_0x169ad9['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x47084c=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x47084c&&_0x47084c['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x3bcb1a=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x3bcb1a&&_0x3bcb1a['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x50a2af(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2a78cc=this['editor']['plugins']['get']('Annotations');_0x2a78cc['refreshVisibility'](),_0x2a78cc['refreshPositioning']();}});});}['_showRevisionViewer'](_0x3fa0bd){const _0x5bc8c0=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x350ba2=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3ecbd6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x3ecbd6,_0x3fa0bd)['then'](_0x498b45=>(_0x350ba2['style']['display']='block',_0x5bc8c0['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x498b45));}['_closeRevisionViewer'](_0x5d147d){const _0x5708c6=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5708c6['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x5d147d['destroy']();}async['_restoreRevision'](_0x1e83fc){const _0x462e70=this['editor'],_0x4b2eec=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x232c05=_0x462e70['plugins']['get']('RevisionTracker'),_0xc0de54=_0x462e70['plugins']['get']('RevisionHistoryUtils'),_0x4074c7=_0x4b2eec['repository']['getRevision'](_0x1e83fc);let _0x35b7ec,_0x261556,_0x454fbf;try{await _0xc0de54['loadRevisionData'](_0x4074c7,this['adapter']),_0x35b7ec=_0xc0de54['getRevisionDocumentData'](_0x4074c7),_0x261556=_0xc0de54['getRevisionRootsAttributes'](_0x4074c7);}catch(_0x31a379){return void console['error'](_0x31a379);}_0x462e70['model']['change'](_0x24d07b=>{for(const _0x24b218 of Array['from'](_0x462e70['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x24d07b['removeMarker'](_0x24b218);}),_0x4b2eec['isReady']=!0x1,_0x462e70['model']['enqueueChange'](_0x3027a9=>{_0x3027a9['setSelection'](null),_0x3027a9['removeSelectionAttribute'](_0x462e70['model']['document']['selection']['getAttributeKeys']());const _0xafc382=Object['keys'](_0x35b7ec);for(const _0x344bdf of _0x462e70['model']['document']['roots'])'$graveyard'!=_0x344bdf['rootName']&&_0x344bdf['isAttached']()&&!_0xafc382['includes'](_0x344bdf['rootName'])&&_0x3027a9['detachRoot'](_0x344bdf);for(const _0x23d329 of _0xafc382){let _0xb0f85c=_0x462e70['model']['document']['getRoot'](_0x23d329);_0xb0f85c&&_0xb0f85c['isAttached']()||(_0xb0f85c=_0x3027a9['addRoot'](_0x23d329));const _0x4567e0=_0x261556[_0x23d329],_0x37e4e8=Object['keys'](_0x4567e0),_0x3a74d3=_0x35b7ec[_0x23d329];for(const _0x4d4281 of _0xb0f85c['getAttributeKeys']())_0x37e4e8['includes'](_0x4d4281)||_0x3027a9['removeAttribute'](_0x4d4281,_0xb0f85c);for(const _0x1026a6 of _0x37e4e8)_0x3027a9['setAttribute'](_0x1026a6,_0x261556[_0x23d329][_0x1026a6],_0xb0f85c);_0x3027a9['remove'](_0x3027a9['createRangeIn'](_0xb0f85c)),_0x3027a9['insert'](_0x462e70['data']['parse'](_0x3a74d3,_0xb0f85c),_0xb0f85c,0x0);}});const _0x50f390=Ub(_0x462e70['locale'],'Restored');if(_0x4074c7['name'])_0x454fbf=-0x1==_0x4074c7['name']['indexOf'](_0x50f390)?_0x50f390+':\x20'+_0x4074c7['name']:_0x4074c7['name'];else _0x454fbf=_0x50f390+':\x20'+(_0x4074c7['createdAt']['toLocaleDateString'](_0x462e70['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4074c7['createdAt']['toLocaleTimeString'](_0x462e70['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x232c05['saveRevision']({'name':_0x454fbf}),_0x4b2eec['isReady']=!0x0,_0x462e70['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class SlashCommandConfig extends _0x4ac504{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43d2df){super(_0x43d2df),this['_allowedCommands']=null;}['afterInit'](){const _0x3b0e88=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x39d3ad=function(_0x5878b7){let _0x208adc=['heading4','heading5','heading6'];if(_0x5878b7){const _0x5a8402=_0x5878b7['map'](_0x40698d=>_0x40698d['model']);_0x208adc=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x4cd668=>!_0x5a8402['includes'](_0x4cd668));}return _0x208adc;}(this['editor']['config']['get']('heading.options')),_0x40031d=this['getDefaultCommands']()['filter'](_0x42b5b3=>!_0x39d3ad['includes'](_0x42b5b3['id']));let _0x2b5f97=_0x40031d['filter'](_0x10877=>!_0x3b0e88['includes'](_0x10877['commandName']));const _0x42207a=this['editor']['config']['get']('slashCommand.extraCommands');_0x42207a&&_0x42207a['length']&&(_0x2b5f97=_0x2b5f97['concat'](_0x42207a));const _0x5daf25=this['editor']['config']['get']('template.definitions');_0x5daf25&&_0x5daf25['length']&&(_0x2b5f97=_0x2b5f97['concat'](function(_0x3c23e9){return _0x3c23e9['map'](_0x4045ec=>{const {title:_0x5c9ef4,icon:_0x418def,description:_0x555471,data:_0x378033}=_0x4045ec,_0x109281={'id':Kb(_0x5c9ef4,'template'),'commandName':'insertTemplate','execute':_0x489e1e=>{_0x489e1e['execute']('insertTemplate',_0x378033);},'description':_0x555471,'icon':_0x418def,'title':_0x5c9ef4};return _0x418def&&(_0x109281['isIconColorInherited']=!0x1),_0x109281;});}(_0x5daf25)));const _0x31c080=this['editor']['config']['get']('style.definitions');_0x31c080&&_0x31c080['length']&&(_0x2b5f97=_0x2b5f97['concat'](function(_0x3a8d20){return _0x3a8d20['map'](_0x5b599f=>{const _0x2c0558={'id':Kb(_0x5b599f['name'],'style'),'commandName':'style','execute':_0x11e896=>{_0x11e896['execute']('style',{'styleName':_0x5b599f['name']});},'isEnabled':_0x47e917=>{const _0x421bff=_0x47e917['commands']['get']('style');return _0x421bff['isEnabled']&&_0x421bff['enabledStyles']['includes'](_0x5b599f['name']);},'title':_0x5b599f['name']};return _0x2c0558;});}(_0x31c080)));const _0x59fc93=_0x2b5f97['filter'](_0x231351=>!_0x231351['commandName']||void 0x0!==this['editor']['commands']['get'](_0x231351['commandName'])),_0x1c4f71=[];for(const _0x3c61a6 of _0x59fc93)_0x1c4f71['push']({'id':_0x3c61a6['id'],'commandName':_0x3c61a6['commandName'],'title':'function'==typeof _0x3c61a6['title']?_0x3c61a6['title'](this['editor']):_0x3c61a6['title'],'description':_0x3c61a6['description'],'icon':_0x3c61a6['icon'],'isIconColorInherited':_0x3c61a6['isIconColorInherited'],'aliases':_0x3c61a6['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x3c61a6),'execute':()=>this['_proxyExecute'](_0x3c61a6)});this['_allowedCommands']=_0x1c4f71['sort'](Yb),async function(_0xa9b113){const _0x5885b3=_0x2e58fb([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]),_0x482afb=0x305505ed,_0x287792=0x30528f85^_0x482afb,_0x6d5c6c=window[_0x2e58fb([0x44,0x61,0x74,0x65])][_0x2e58fb([0x6e,0x6f,0x77])](),_0x114641=_0xa9b113[_0x2e58fb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x244b7f=new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16b89f=>{_0x114641[_0x2e58fb([0x6f,0x6e,0x63,0x65])](_0x2e58fb([0x72,0x65,0x61,0x64,0x79]),_0x16b89f);}),_0x37816f={[_0x2e58fb([0x6b,0x74,0x79])]:_0x2e58fb([0x45,0x43]),[_0x2e58fb([0x75,0x73,0x65])]:_0x2e58fb([0x73,0x69,0x67]),[_0x2e58fb([0x63,0x72,0x76])]:_0x2e58fb([0x50,0x2d,0x32,0x35,0x36]),[_0x2e58fb([0x78])]:_0x2e58fb([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]),[_0x2e58fb([0x79])]:_0x2e58fb([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]),[_0x2e58fb([0x61,0x6c,0x67])]:_0x2e58fb([0x45,0x53,0x32,0x35,0x36])},_0x319540=_0x114641[_0x2e58fb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e58fb([0x67,0x65,0x74])](_0x2e58fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x305c35(){let _0xbb9584,_0x1798bb=null,_0x142acc=null;try{if(_0x319540==_0x2e58fb([0x47,0x50,0x4c]))return _0x2e58fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbb9584=_0xfae7f1(),!_0xbb9584)return _0x2e58fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbb9584[_0x2e58fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x142acc=_0xe7efb7(_0xbb9584[_0x2e58fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbb9584[_0x2e58fb([0x6a,0x74,0x69])])),await _0x46f6d0()?_0x356e3e()?_0x161fa7()?_0x2e58fb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f2a29()?(_0xbb9584[_0x2e58fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e58fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1798bb=_0x326acc(_0x2e58fb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x231d57()):_0x2e58fb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e58fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e58fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e58fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x161fa7(){const _0x262d05=[_0x2e58fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e58fb([0x74,0x72,0x69,0x61,0x6c])][_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb9584[_0x2e58fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6d5c6c/0x3e8:0xe10*_0x287792;return _0xbb9584[_0x2e58fb([0x65,0x78,0x70])]<_0x262d05;}function _0x356e3e(){const _0x439ce6=_0xbb9584[_0x2e58fb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x439ce6&&(!!_0x439ce6[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e58fb([0x2a]))||(!!_0x439ce6[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e58fb([0x53,0x43]))||(!!_0x439ce6[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e58fb([0x50,0x50]))||!(!_0x439ce6[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e58fb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3ffdf5()))));}function _0x2f2a29(){const _0x430d76=_0xbb9584[_0x2e58fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x430d76||0x0==_0x430d76[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19be78}=new URL(window[_0x2e58fb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x430d76[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19be78))return!0x0;const _0x2712fe=_0x19be78[_0x2e58fb([0x73,0x70,0x6c,0x69,0x74])](_0x2e58fb([0x2e]));return _0x430d76[_0x2e58fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c4e37=>_0x3c4e37[_0x2e58fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e58fb([0x2a])))[_0x2e58fb([0x6d,0x61,0x70])](_0x4f3152=>_0x4f3152[_0x2e58fb([0x73,0x70,0x6c,0x69,0x74])](_0x2e58fb([0x2e])))[_0x2e58fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b7a20=>_0x1b7a20[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2712fe[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e58fb([0x6d,0x61,0x70])](_0x35913e=>Array(_0x2712fe[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35913e[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e58fb([0x66,0x69,0x6c,0x6c])](_0x35913e[0x0]===_0x2e58fb([0x2a])?_0x2e58fb([0x2a]):'')[_0x2e58fb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35913e))[_0x2e58fb([0x73,0x6f,0x6d,0x65])](_0x572088=>_0x2712fe[_0x2e58fb([0x65,0x76,0x65,0x72,0x79])]((_0x2983de,_0xef4842)=>_0x572088[_0xef4842]===_0x2983de||_0x572088[_0xef4842]===_0x2e58fb([0x2a])));}function _0x231d57(){return _0x1798bb&&_0x142acc?new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32e893,_0x5bd234)=>{_0x1798bb[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x32e893,_0x5bd234),_0x142acc[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x2fd681=>{_0x2fd681!=_0x2e58fb([0x56,0x61,0x6c,0x69,0x64])&&_0x32e893(_0x2fd681);},_0x5bd234);}):_0x1798bb||_0x142acc||_0x2e58fb([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe7efb7(_0x2ea579,_0x35305c){return new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eb322=>{if(_0x33108b())return _0x3eb322(_0x2e58fb([0x56,0x61,0x6c,0x69,0x64]));_0x172a20(),_0x114641[_0x2e58fb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e58fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a836d=!0x1;const _0x2d28af=_0x288d30();function _0x4b835a(_0x2275fe){return!!_0x2275fe&&(typeof _0x2275fe===_0x2e58fb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2275fe===_0x2e58fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2275fe[_0x2e58fb([0x74,0x68,0x65,0x6e])]===_0x2e58fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2275fe[_0x2e58fb([0x63,0x61,0x74,0x63,0x68])]===_0x2e58fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x234e26(_0x267a93){_0x133b96(_0x267a93)[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x5eb3a7=>{if(!_0x5eb3a7||_0x5eb3a7[_0x2e58fb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e58fb([0x6f,0x6b]))return _0x2e58fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51af60(_0x10a08e(_0x2d28af+_0x35305c))!=_0x5eb3a7[_0x2e58fb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e58fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e58fb([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x19827c=>(_0x312aa0(),_0x19827c),()=>{const _0x12a3e2=_0x3e8bf5();return null==_0x12a3e2?(_0x312aa0(),_0x2e58fb([0x56,0x61,0x6c,0x69,0x64])):_0x2e58fb(_0x6d5c6c-_0x12a3e2>(0x145981ed^_0x482afb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x3eb322)[_0x2e58fb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3eb322(_0x2e58fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x338a7a=0x3063eb6d^_0x482afb;function _0x312aa0(){const _0x2bebba=_0x2e58fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x51af60(_0x10a08e(_0x2ea579)),_0x10bbb2=_0x1cc8f3(_0x51af60(window[_0x2e58fb([0x4d,0x61,0x74,0x68])][_0x2e58fb([0x63,0x65,0x69,0x6c])](_0x6d5c6c/_0x338a7a)));window[_0x2e58fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e58fb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bebba,_0x10bbb2);}function _0x3e8bf5(){const _0x4177dc=_0x2e58fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x51af60(_0x10a08e(_0x2ea579)),_0x404aba=window[_0x2e58fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e58fb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4177dc);return _0x404aba?window[_0x2e58fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cc8f3(_0x404aba),0x10)*_0x338a7a:null;}function _0x133b96(_0x443ca6){return new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a2ce,_0x2e4f4a)=>{_0x443ca6[_0x2e58fb([0x74,0x68,0x65,0x6e])](_0x47a2ce,_0x2e4f4a),window[_0x2e58fb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e4f4a,0x3054d12d^_0x482afb);});}}_0x114641[_0x2e58fb([0x6f,0x6e])](_0x2e58fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dff65,_0x74369a)=>{if(_0x74369a[0x0]!=_0x2ea579)return _0x3eb322(_0x2e58fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x74369a[0x1]={..._0x74369a[0x1],[_0x2e58fb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d28af};},{[_0x2e58fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e58fb([0x68,0x69,0x67,0x68])}),_0x114641[_0x2e58fb([0x6f,0x6e])](_0x2e58fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x279165=>{_0x4b835a(_0x279165[_0x2e58fb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a836d=!0x0,_0x234e26(_0x279165[_0x2e58fb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e58fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e58fb([0x6c,0x6f,0x77])}),_0x244b7f[_0x2e58fb([0x74,0x68,0x65,0x6e])](()=>{_0x3a836d||_0x3eb322(_0x2e58fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33108b(){return _0x114641[_0x2e58fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e58fb([0x76,0x69,0x65,0x77])][_0x2e58fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e58fb([0x61,0x75,0x74,0x6f]);}function _0x172a20(){_0x114641[_0x2e58fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e58fb([0x76,0x69,0x65,0x77])][_0x2e58fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e58fb([0x61,0x75,0x74,0x6f]);}}function _0x326acc(_0x5c700c){const _0x59d011=[new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1430ae=>setTimeout(_0x1430ae,0x305c3b21^_0x482afb)),_0x244b7f[_0x2e58fb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d39eb=>{let _0x186dee=0x0;_0x114641[_0x2e58fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e58fb([0x6f,0x6e])](_0x2e58fb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9da315,_0x2fec60)=>{_0x2fec60[0x0][_0x2e58fb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x186dee++,_0x186dee==(0x30550005^_0x482afb)&&(_0x1d39eb(),_0x9da315[_0x2e58fb([0x6f,0x66,0x66])]());});}))];return window[_0x2e58fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e58fb([0x72,0x61,0x63,0x65])](_0x59d011)[_0x2e58fb([0x74,0x68,0x65,0x6e])](()=>_0x5c700c);}async function _0x9d7edc(){await _0x244b7f,_0x114641[_0x2e58fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e58fb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x384dd6,_0x114641[_0x2e58fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e58fb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x384dd6,_0x114641[_0x2e58fb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e58fb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ffdf5(){return window[_0x2e58fb([0x67,0x6c,0x6f,0x62])]&&window[_0x2e58fb([0x67,0x6c,0x6f,0x62])][_0x2e58fb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2f0c02(_0x16e82f){const _0x1a621b=_0x390fd0();_0x114641[_0x1a621b]=_0x2e58fb([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x16e82f,_0x16e82f!=_0x2e58fb([0x56,0x61,0x6c,0x69,0x64])&&_0x9d7edc();}function _0x390fd0(){const _0x5525e6=window[_0x2e58fb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e58fb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e58fb([0x6e,0x6f,0x77])]())[_0x2e58fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e58fb([0x2e]),'');let _0x2fe602=_0x2e58fb([0x75]);for(let _0x4e7dd7=0x0;_0x4e7dd7<_0x5525e6[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e7dd7+=0x2){let _0x511227=window[_0x2e58fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5525e6[_0x2e58fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e7dd7,_0x4e7dd7+0x2));_0x511227>=_0x5885b3[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x511227-=_0x5885b3[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fe602+=_0x5885b3[_0x511227];}return _0x2fe602;}function _0xfae7f1(){const _0x4e4a62=_0x319540[_0x2e58fb([0x73,0x70,0x6c,0x69,0x74])](_0x2e58fb([0x2e]));if(0x3!=_0x4e4a62[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d9399(_0x4e4a62[0x1]);function _0x5d9399(_0x4d91e5){const _0x237e71=_0xda7886(_0x4d91e5);return _0x237e71&&_0xb044a3()?_0x237e71:null;function _0xb044a3(){const _0x1e2b82=_0x237e71[_0x2e58fb([0x6a,0x74,0x69])],_0x15e93d=window[_0x2e58fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2b82[_0x2e58fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e2b82[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf1cea5={..._0x237e71,[_0x2e58fb([0x6a,0x74,0x69])]:_0x1e2b82[_0x2e58fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e2b82[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf1cea5[_0x2e58fb([0x76,0x63])],_0x10a08e(_0xf1cea5)==_0x15e93d;}}}async function _0x46f6d0(){let _0x1f79c6=!0x0;try{const _0x230abe=_0x319540[_0x2e58fb([0x73,0x70,0x6c,0x69,0x74])](_0x2e58fb([0x2e])),[_0x55a2c4,_0x306944,_0x3b715c]=_0x230abe;return _0x59e861(_0x55a2c4),await _0x2cea93(_0x55a2c4,_0x306944,_0x3b715c),_0x1f79c6;}catch{return!0x1;}function _0x59e861(_0x2852de){const _0x579df6=_0xda7886(_0x2852de);_0x579df6&&_0x579df6[_0x2e58fb([0x61,0x6c,0x67])]==_0x2e58fb([0x45,0x53,0x32,0x35,0x36])||(_0x1f79c6=!0x1);}async function _0x2cea93(_0x38b345,_0x564b66,_0x317ac5){const _0x28a2f5=window[_0x2e58fb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e58fb([0x66,0x72,0x6f,0x6d])](_0x5378ec(_0x317ac5),_0x50ff11=>_0x50ff11[_0x2e58fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cc140=new window[(_0x2e58fb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e58fb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38b345+_0x2e58fb([0x2e])+_0x564b66),_0x2249fc=window[_0x2e58fb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e58fb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2249fc)return;const _0x3d91d5=await _0x2249fc[_0x2e58fb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e58fb([0x6a,0x77,0x6b]),_0x37816f,{[_0x2e58fb([0x6e,0x61,0x6d,0x65])]:_0x2e58fb([0x45,0x43,0x44,0x53,0x41]),[_0x2e58fb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e58fb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e58fb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2249fc[_0x2e58fb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e58fb([0x6e,0x61,0x6d,0x65])]:_0x2e58fb([0x45,0x43,0x44,0x53,0x41]),[_0x2e58fb([0x68,0x61,0x73,0x68])]:{[_0x2e58fb([0x6e,0x61,0x6d,0x65])]:_0x2e58fb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d91d5,_0x28a2f5,_0x2cc140)||(_0x1f79c6=!0x1);}}function _0xda7886(_0xbc894){return _0xbc894[_0x2e58fb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e58fb([0x65,0x79]))?JSON[_0x2e58fb([0x70,0x61,0x72,0x73,0x65])](_0x5378ec(_0xbc894)):null;}function _0x5378ec(_0x11c7d3){return window[_0x2e58fb([0x61,0x74,0x6f,0x62])](_0x11c7d3[_0x2e58fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e58fb([0x2b]))[_0x2e58fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e58fb([0x2f])));}function _0x10a08e(_0x56d184){let _0x4de37b=0x1505;function _0x3d4cee(_0xa5dd4){for(let _0x5f5b63=0x0;_0x5f5b63<_0xa5dd4[_0x2e58fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f5b63++){const _0xf0f43a=_0xa5dd4[_0x2e58fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f5b63);_0x4de37b=(_0x4de37b<<0x5)+_0x4de37b+_0xf0f43a,_0x4de37b&=_0x4de37b;}}function _0x5f0e35(_0x23da23){Array[_0x2e58fb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23da23)?_0x23da23[_0x2e58fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f0e35):_0x23da23&&typeof _0x23da23==_0x2e58fb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e58fb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23da23)[_0x2e58fb([0x73,0x6f,0x72,0x74])]()[_0x2e58fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4055b7,_0x43c592])=>{_0x3d4cee(_0x4055b7),_0x5f0e35(_0x43c592);}):_0x3d4cee(window[_0x2e58fb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23da23));}return _0x5f0e35(_0x56d184),_0x4de37b>>>0x0;}function _0x51af60(_0xa54791){return _0xa54791[_0x2e58fb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e58fb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e58fb([0x30]));}function _0x1cc8f3(_0x2796b6){return _0x2796b6[_0x2e58fb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e58fb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e58fb([0x6a,0x6f,0x69,0x6e])]('');}function _0x384dd6(){}function _0x2e58fb(_0x39b92a){return _0x39b92a['map'](_0xe0dbba=>String['fromCharCode'](_0xe0dbba))['join']('');}_0x2f0c02(await _0x305c35());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x3c1aed=_0x1b9e95=>function(_0x5776f5,_0x429890){const t=_0x5776f5['t'],_0x31ba7c=_0x5776f5['t'];switch(_0x429890){case'AI\x20Assistant':return _0x31ba7c('AI\x20Assistant');case'Block\x20quote':return _0x31ba7c('Block\x20quote');case'Bulleted\x20list':return _0x31ba7c('Bulleted\x20list');case'Insert\x20code\x20block':return _0x31ba7c('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x31ba7c('Open\x20file\x20manager');case'Insert\x20image':return _0x31ba7c('Insert\x20image');case'Heading\x201':return _0x31ba7c('Heading\x201');case'Heading\x202':return _0x31ba7c('Heading\x202');case'Heading\x203':return _0x31ba7c('Heading\x203');case'Heading\x204':return _0x31ba7c('Heading\x204');case'Heading\x205':return _0x31ba7c('Heading\x205');case'Heading\x206':return _0x31ba7c('Heading\x206');case'Horizontal\x20line':return _0x31ba7c('Horizontal\x20line');case'Insert\x20HTML':return _0x31ba7c('Insert\x20HTML');case'Increase\x20indent':return _0x31ba7c('Increase\x20indent');case'Insert\x20table':return _0x31ba7c('Insert\x20table');case'Table\x20of\x20contents':return _0x31ba7c('Table\x20of\x20contents');case'Numbered\x20list':return _0x31ba7c('Numbered\x20list');case'Decrease\x20indent':return _0x31ba7c('Decrease\x20indent');case'Paragraph':return _0x31ba7c('Paragraph');case'To-do\x20list':return _0x31ba7c('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 _0x429890;}}(this['editor']['locale'],_0x1b9e95);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x40013a,'title':_0x3c1aed('AI\x20Assistant'),'description':_0x3c1aed('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x525fef=>{setTimeout(()=>_0x525fef['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x281d1f,'title':_0x3c1aed('Block\x20quote'),'description':_0x3c1aed('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x2a86ab,'title':_0x3c1aed('Bulleted\x20list'),'description':_0x3c1aed('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x34c034,'title':_0x3c1aed('Insert\x20code\x20block'),'description':_0x3c1aed('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x3eb834,'title':_0x3c1aed('Open\x20file\x20manager'),'description':_0x3c1aed('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x3eb834,'title':_0x3c1aed('Insert\x20image'),'description':_0x3c1aed('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x44ae95,'title':_0x3c1aed('Emoji'),'description':_0x3c1aed('Insert\x20an\x20emoji'),'execute':_0x4aff51=>{setTimeout(()=>_0x4aff51['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x284469,'title':_0x3c1aed('Heading\x201'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x201'),'execute':_0x42fd5b=>{_0x42fd5b['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x4c45df,'title':_0x3c1aed('Heading\x202'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x202'),'execute':_0x3e9ffd=>{_0x3e9ffd['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x1652aa,'title':_0x3c1aed('Heading\x203'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x203'),'execute':_0x569475=>{_0x569475['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x21eec3,'title':_0x3c1aed('Heading\x204'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x204'),'execute':_0xca3a82=>{_0xca3a82['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x2295e1,'title':_0x3c1aed('Heading\x205'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x205'),'execute':_0x40347a=>{_0x40347a['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x77b65d,'title':_0x3c1aed('Heading\x206'),'description':_0x3c1aed('Create\x20a\x20heading\x20level\x206'),'execute':_0x129c54=>{_0x129c54['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x4f6024,'title':_0x3c1aed('Horizontal\x20line'),'description':_0x3c1aed('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x1ff5e8,'title':_0x3c1aed('Insert\x20HTML'),'description':_0x3c1aed('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x4eebc6,'title':_0x3c1aed('Increase\x20indent'),'description':_0x3c1aed('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x3c1aed('Insert\x20Mermaid\x20diagram'),'description':_0x3c1aed('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x1aa250,'title':_0x3c1aed('Insert\x20table'),'description':_0x3c1aed('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x298ad3,'title':_0x3c1aed('Table\x20of\x20contents'),'description':_0x3c1aed('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x159f89,'title':_0x3c1aed('Numbered\x20list'),'description':_0x3c1aed('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0xb6624e,'title':_0x3c1aed('Decrease\x20indent'),'description':_0x3c1aed('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x3274d4,'title':_0x3c1aed('Paragraph'),'description':_0x3c1aed('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x33c115,'title':_0x3c1aed('To-do\x20list'),'description':_0x3c1aed('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x304f3a,'title':_0x3c1aed('Footnote'),'description':_0x3c1aed('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x33d814){return _0x33d814['isEnabled']?_0x33d814['isEnabled'](this['editor']):!_0x33d814['commandName']||this['editor']['commands']['get'](_0x33d814['commandName'])['isEnabled'];}['_proxyExecute'](_0x5f4328){if(_0x5f4328['execute'])_0x5f4328['execute'](this['editor']);else{if(!_0x5f4328['commandName'])throw new _0x1976e8('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x5f4328});this['editor']['execute'](_0x5f4328['commandName']);}}}function Yb(_0x18b56f,_0x46986b){return _0x18b56f['title']<_0x46986b['title']?-0x1:_0x18b56f['title']>_0x46986b['title']?0x1:0x0;}function Kb(_0x5201a0,_0x18975c){return _0x18975c+'-'+_0x5201a0['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x4ac504{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0x16a370){const _0xe3b450=_0x16a370&&_0x16a370['toLowerCase']();let _0x3e38a7=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x3e38a7=_0x3e38a7['filter'](_0x4f489c=>_0x4f489c['isEnabled']()),_0xe3b450){const _0x2aebaf=[],_0x52a534=[],_0x4b0201=[],_0x1e2af4=[];for(const _0x3ffc87 of _0x3e38a7)_0x3ffc87['id']['toLowerCase']()['includes'](_0xe3b450)?_0x2aebaf['push'](_0x3ffc87):_0x3ffc87['title']['toLowerCase']()['includes'](_0xe3b450)?_0x52a534['push'](_0x3ffc87):_0x3ffc87['aliases']&&_0x3ffc87['aliases']['some'](_0x5bdb2e=>_0x5bdb2e['toLowerCase']()['includes'](_0xe3b450))?_0x4b0201['push'](_0x3ffc87):_0x3ffc87['description']&&_0x3ffc87['description']['toLowerCase']()['includes'](_0xe3b450)&&_0x1e2af4['push'](_0x3ffc87);_0x3e38a7=_0x2aebaf['concat'](_0x52a534,_0x4b0201,_0x1e2af4);}return _0x3e38a7;}}class SlashCommandButtonView extends _0x13bcd9{constructor(_0xc473f6,_0x3082e7){super(_0xc473f6),this['textPartView']=this['_createTextPartView'](_0xc473f6,_0x3082e7),void 0x0!==_0x3082e7['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x3082e7['isIconColorInherited']),this['set']({'icon':_0x3082e7['icon']||_0x411b78,'withText':!0x0,'label':_0x3082e7['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x3a2042,_0x403141){const _0x37c5d8=new _0x268b55(_0x3a2042);return _0x37c5d8['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x403141['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x403141['description']}]}]:[this['labelView']]}),_0x37c5d8;}}class SlashCommandUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x17f29f){super(_0x17f29f),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5eaf52=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40e8cf;for(const _0x8b2fad in _0x5eaf52){const _0x2381d0=_0x8b2fad,_0x547fc1=_0x5eaf52[_0x2381d0];if('slashCommandLicenseKeyValid'==_0x547fc1||'slashCommandLicenseKeyInvalid'==_0x547fc1||'slashCommandLicenseKeyExpired'==_0x547fc1||'slashCommandLicenseKeyDomainLimit'==_0x547fc1||'slashCommandLicenseKeyNotAllowed'==_0x547fc1||'slashCommandLicenseKeyEvaluationLimit'==_0x547fc1||'slashCommandLicenseKeyUsageLimit'==_0x547fc1){delete _0x5eaf52[_0x2381d0],_0x40e8cf=_0x547fc1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x40e8cf&&_0x5eaf52['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x1f09e9=this['editor'],_0x363ad9=this['editor']['plugins']['get']('SlashCommandEditing'),_0x4220f9=_0x1f09e9['config']['get']('mention.feeds');_0x4220f9['push']({'marker':'/','feed':_0x1b80fc=>_0x363ad9['getMatchingCommands'](_0x1b80fc),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x1f09e9['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x1f09e9['config']['set']('mention.feeds',_0x4220f9);}['_overrideMentionExecuteListener'](){const _0x4cf9b4=this['editor'];_0x4cf9b4['commands']['get']('mention')['on']('execute',(_0x583c14,_0x455610)=>{const _0x490408=_0x455610[0x0],_0x46cb5a=_0x4cf9b4['model'];'/'===_0x490408['marker']&&_0x46cb5a['change'](_0x444ac0=>{_0x444ac0['remove'](_0x490408['range']),_0x490408['mention']['execute'](),_0x583c14['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x387151){const _0x264819=this['editor']['locale'],_0x565c95=new SlashCommandButtonView(_0x264819,_0x387151);return _0x565c95['render'](),_0x565c95['element'];}}class SlashCommand extends _0x4ac504{static get['requires'](){return['Mention',SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Jb(_0x2e6b67,_0x2b9fb3){const t=_0x2e6b67['t'];switch(_0x2b9fb3){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 _0x2b9fb3;}}function ty(_0x248512){const _0xf0ea39=_0x248512['editing']['view']['document']['roots'],_0x148420=_0xf0ea39['length'];if(0x0===_0x148420)throw new _0x1976e8('source-editing-enhanced-editor-no-root',_0x248512);if(0x1===_0x148420)return _0xf0ea39['first']['rootName'];return Array['from'](_0x248512['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function ey(_0x2fed39){return iy(_0x2fed39['replace'](/^[\n\s]*/g,''))?_0x2fed39['replace'](/\s+/g,''):_0x2fed39;}function iy(_0x166b45){return _0x166b45['startsWith']('<');}let sy=[],ny=[];function ry(_0x50f41e){if(_0x50f41e<0x300)return!0x1;for(let _0x4e80ce=0x0,_0x4c513c=sy['length'];;){let _0x38b8ed=_0x4e80ce+_0x4c513c>>0x1;if(_0x50f41e<sy[_0x38b8ed])_0x4c513c=_0x38b8ed;else{if(!(_0x50f41e>=ny[_0x38b8ed]))return!0x0;_0x4e80ce=_0x38b8ed+0x1;}if(_0x4e80ce==_0x4c513c)return!0x1;}}function oy(_0x6d61bf){return _0x6d61bf>=0x1f1e6&&_0x6d61bf<=0x1f1ff;}((()=>{let _0x3221ae='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'](_0x4bfc4e=>_0x4bfc4e?parseInt(_0x4bfc4e,0x24):0x1);for(let _0x4e7ae1=0x0,_0x3f5fb8=0x0;_0x4e7ae1<_0x3221ae['length'];_0x4e7ae1++)(_0x4e7ae1%0x2?ny:sy)['push'](_0x3f5fb8+=_0x3221ae[_0x4e7ae1]);})());function ay(_0x50e43c,_0x1f8d6c,_0x1bb069=!0x0,_0x658a7=!0x0){return(_0x1bb069?cy:ly)(_0x50e43c,_0x1f8d6c,_0x658a7);}function cy(_0x12932e,_0x26ef76,_0x533220){if(_0x26ef76==_0x12932e['length'])return _0x26ef76;_0x26ef76&&uy(_0x12932e['charCodeAt'](_0x26ef76))&&dy(_0x12932e['charCodeAt'](_0x26ef76-0x1))&&_0x26ef76--;let _0x31c97d=hy(_0x12932e,_0x26ef76);for(_0x26ef76+=fy(_0x31c97d);_0x26ef76<_0x12932e['length'];){let _0x481f10=hy(_0x12932e,_0x26ef76);if(0x200d==_0x31c97d||0x200d==_0x481f10||_0x533220&&ry(_0x481f10))_0x26ef76+=fy(_0x481f10),_0x31c97d=_0x481f10;else{if(!oy(_0x481f10))break;{let _0x57daad=0x0,_0x466c37=_0x26ef76-0x2;for(;_0x466c37>=0x0&&oy(hy(_0x12932e,_0x466c37));)_0x57daad++,_0x466c37-=0x2;if(_0x57daad%0x2==0x0)break;_0x26ef76+=0x2;}}}return _0x26ef76;}function ly(_0x1d0df7,_0x1fd692,_0x60d7b8){for(;_0x1fd692>0x0;){let _0x4d3b2c=cy(_0x1d0df7,_0x1fd692-0x2,_0x60d7b8);if(_0x4d3b2c<_0x1fd692)return _0x4d3b2c;_0x1fd692--;}return 0x0;}function hy(_0x15cce4,_0x5f489e){let _0x3b8c24=_0x15cce4['charCodeAt'](_0x5f489e);if(!dy(_0x3b8c24)||_0x5f489e+0x1==_0x15cce4['length'])return _0x3b8c24;let _0x243f15=_0x15cce4['charCodeAt'](_0x5f489e+0x1);return uy(_0x243f15)?_0x243f15-0xdc00+(_0x3b8c24-0xd800<<0xa)+0x10000:_0x3b8c24;}function uy(_0x5d49f6){return _0x5d49f6>=0xdc00&&_0x5d49f6<0xe000;}function dy(_0x10010c){return _0x10010c>=0xd800&&_0x10010c<0xdc00;}function fy(_0x21b68d){return _0x21b68d<0x10000?0x1:0x2;}class Text{['lineAt'](_0x290b4e){if(_0x290b4e<0x0||_0x290b4e>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x290b4e+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x290b4e,!0x1,0x1,0x0);}['line'](_0x32cc4a){if(_0x32cc4a<0x1||_0x32cc4a>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x32cc4a+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x32cc4a,!0x0,0x1,0x0);}['replace'](_0x44d3f5,_0x3b50d9,_0x58ea50){[_0x44d3f5,_0x3b50d9]=Oy(this,_0x44d3f5,_0x3b50d9);let _0x579b16=[];return this['decompose'](0x0,_0x44d3f5,_0x579b16,0x2),_0x58ea50['length']&&_0x58ea50['decompose'](0x0,_0x58ea50['length'],_0x579b16,0x3),this['decompose'](_0x3b50d9,this['length'],_0x579b16,0x1),TextNode['from'](_0x579b16,this['length']-(_0x3b50d9-_0x44d3f5)+_0x58ea50['length']);}['append'](_0x29d857){return this['replace'](this['length'],this['length'],_0x29d857);}['slice'](_0xa86cb7,_0xd0616b=this['length']){[_0xa86cb7,_0xd0616b]=Oy(this,_0xa86cb7,_0xd0616b);let _0x368d4e=[];return this['decompose'](_0xa86cb7,_0xd0616b,_0x368d4e,0x0),TextNode['from'](_0x368d4e,_0xd0616b-_0xa86cb7);}['eq'](_0x510aee){if(_0x510aee==this)return!0x0;if(_0x510aee['length']!=this['length']||_0x510aee['lines']!=this['lines'])return!0x1;let _0x42ff9e=this['scanIdentical'](_0x510aee,0x1),_0x48be8c=this['length']-this['scanIdentical'](_0x510aee,-0x1),_0x54c9ce=new RawTextCursor(this),_0x3bdccd=new RawTextCursor(_0x510aee);for(let _0x1d7527=_0x42ff9e,_0x573b7b=_0x42ff9e;;){if(_0x54c9ce['next'](_0x1d7527),_0x3bdccd['next'](_0x1d7527),_0x1d7527=0x0,_0x54c9ce['lineBreak']!=_0x3bdccd['lineBreak']||_0x54c9ce['done']!=_0x3bdccd['done']||_0x54c9ce['value']!=_0x3bdccd['value'])return!0x1;if(_0x573b7b+=_0x54c9ce['value']['length'],_0x54c9ce['done']||_0x573b7b>=_0x48be8c)return!0x0;}}['iter'](_0x111a04=0x1){return new RawTextCursor(this,_0x111a04);}['iterRange'](_0x28de9c,_0x17577f=this['length']){return new PartialTextCursor(this,_0x28de9c,_0x17577f);}['iterLines'](_0x3c3195,_0x3fcbb4){let _0x22397d;if(null==_0x3c3195)_0x22397d=this['iter']();else{null==_0x3fcbb4&&(_0x3fcbb4=this['lines']+0x1);let _0x9555c9=this['line'](_0x3c3195)['from'];_0x22397d=this['iterRange'](_0x9555c9,Math['max'](_0x9555c9,_0x3fcbb4==this['lines']+0x1?this['length']:_0x3fcbb4<=0x1?0x0:this['line'](_0x3fcbb4-0x1)['to']));}return new LineCursor(_0x22397d);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x401032=[];return this['flatten'](_0x401032),_0x401032;}constructor(){}static['of'](_0x3aa084){if(0x0==_0x3aa084['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x3aa084['length']||_0x3aa084[0x0]?_0x3aa084['length']<=0x20?new TextLeaf(_0x3aa084):TextNode['from'](TextLeaf['split'](_0x3aa084,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x28ad7f,_0x5193a8=function(_0x1cca36){let _0x1af10d=-0x1;for(let _0x2777fc of _0x1cca36)_0x1af10d+=_0x2777fc['length']+0x1;return _0x1af10d;}(_0x28ad7f)){super(),this['text']=_0x28ad7f,this['length']=_0x5193a8;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x3b1d3f,_0x23aa3b,_0xa69b8,_0x19e156){for(let _0x27f67a=0x0;;_0x27f67a++){let _0x9259b=this['text'][_0x27f67a],_0x792f=_0x19e156+_0x9259b['length'];if((_0x23aa3b?_0xa69b8:_0x792f)>=_0x3b1d3f)return new py(_0x19e156,_0x792f,_0xa69b8,_0x9259b);_0x19e156=_0x792f+0x1,_0xa69b8++;}}['decompose'](_0x457039,_0x132f79,_0x46ecac,_0x81dbd6){let _0x54d9fc=_0x457039<=0x0&&_0x132f79>=this['length']?this:new TextLeaf(gy(this['text'],_0x457039,_0x132f79),Math['min'](_0x132f79,this['length'])-Math['max'](0x0,_0x457039));if(0x1&_0x81dbd6){let _0x4ec8a4=_0x46ecac['pop'](),_0x9588f5=my(_0x54d9fc['text'],_0x4ec8a4['text']['slice'](),0x0,_0x54d9fc['length']);if(_0x9588f5['length']<=0x20)_0x46ecac['push'](new TextLeaf(_0x9588f5,_0x4ec8a4['length']+_0x54d9fc['length']));else{let _0x408953=_0x9588f5['length']>>0x1;_0x46ecac['push'](new TextLeaf(_0x9588f5['slice'](0x0,_0x408953)),new TextLeaf(_0x9588f5['slice'](_0x408953)));}}else _0x46ecac['push'](_0x54d9fc);}['replace'](_0x50b8ca,_0x2c9389,_0xefe04c){if(!(_0xefe04c instanceof TextLeaf))return super['replace'](_0x50b8ca,_0x2c9389,_0xefe04c);[_0x50b8ca,_0x2c9389]=Oy(this,_0x50b8ca,_0x2c9389);let _0x41ec2f=my(this['text'],my(_0xefe04c['text'],gy(this['text'],0x0,_0x50b8ca)),_0x2c9389),_0x2df5be=this['length']+_0xefe04c['length']-(_0x2c9389-_0x50b8ca);return _0x41ec2f['length']<=0x20?new TextLeaf(_0x41ec2f,_0x2df5be):TextNode['from'](TextLeaf['split'](_0x41ec2f,[]),_0x2df5be);}['sliceString'](_0x2d706b,_0x322eab=this['length'],_0x58904f='\x0a'){[_0x2d706b,_0x322eab]=Oy(this,_0x2d706b,_0x322eab);let _0x321f6e='';for(let _0x4b2da7=0x0,_0x4c5198=0x0;_0x4b2da7<=_0x322eab&&_0x4c5198<this['text']['length'];_0x4c5198++){let _0x749914=this['text'][_0x4c5198],_0x426be8=_0x4b2da7+_0x749914['length'];_0x4b2da7>_0x2d706b&&_0x4c5198&&(_0x321f6e+=_0x58904f),_0x2d706b<_0x426be8&&_0x322eab>_0x4b2da7&&(_0x321f6e+=_0x749914['slice'](Math['max'](0x0,_0x2d706b-_0x4b2da7),_0x322eab-_0x4b2da7)),_0x4b2da7=_0x426be8+0x1;}return _0x321f6e;}['flatten'](_0x3c1c9c){for(let _0x523511 of this['text'])_0x3c1c9c['push'](_0x523511);}['scanIdentical'](){return 0x0;}static['split'](_0x5cdb59,_0x51bdde){let _0x2e1cfa=[],_0x46a671=-0x1;for(let _0x1ff4c2 of _0x5cdb59)_0x2e1cfa['push'](_0x1ff4c2),_0x46a671+=_0x1ff4c2['length']+0x1,0x20==_0x2e1cfa['length']&&(_0x51bdde['push'](new TextLeaf(_0x2e1cfa,_0x46a671)),_0x2e1cfa=[],_0x46a671=-0x1);return _0x46a671>-0x1&&_0x51bdde['push'](new TextLeaf(_0x2e1cfa,_0x46a671)),_0x51bdde;}}class TextNode extends Text{constructor(_0x12eedb,_0x36b202){super(),this['children']=_0x12eedb,this['length']=_0x36b202,this['lines']=0x0;for(let _0x243f1e of _0x12eedb)this['lines']+=_0x243f1e['lines'];}['lineInner'](_0x20006c,_0x2a6ae5,_0x5cf5f8,_0x3049cb){for(let _0x55778c=0x0;;_0x55778c++){let _0xb46f45=this['children'][_0x55778c],_0x212127=_0x3049cb+_0xb46f45['length'],_0x129207=_0x5cf5f8+_0xb46f45['lines']-0x1;if((_0x2a6ae5?_0x129207:_0x212127)>=_0x20006c)return _0xb46f45['lineInner'](_0x20006c,_0x2a6ae5,_0x5cf5f8,_0x3049cb);_0x3049cb=_0x212127+0x1,_0x5cf5f8=_0x129207+0x1;}}['decompose'](_0x459a23,_0x37f468,_0xbb88eb,_0xb17efa){for(let _0xba9acb=0x0,_0x46fcd9=0x0;_0x46fcd9<=_0x37f468&&_0xba9acb<this['children']['length'];_0xba9acb++){let _0x2018d1=this['children'][_0xba9acb],_0x152932=_0x46fcd9+_0x2018d1['length'];if(_0x459a23<=_0x152932&&_0x37f468>=_0x46fcd9){let _0x207daa=_0xb17efa&((_0x46fcd9<=_0x459a23?0x1:0x0)|(_0x152932>=_0x37f468?0x2:0x0));_0x46fcd9>=_0x459a23&&_0x152932<=_0x37f468&&!_0x207daa?_0xbb88eb['push'](_0x2018d1):_0x2018d1['decompose'](_0x459a23-_0x46fcd9,_0x37f468-_0x46fcd9,_0xbb88eb,_0x207daa);}_0x46fcd9=_0x152932+0x1;}}['replace'](_0x36caef,_0x2a49f8,_0xdf4f6a){if([_0x36caef,_0x2a49f8]=Oy(this,_0x36caef,_0x2a49f8),_0xdf4f6a['lines']<this['lines'])for(let _0x5c553c=0x0,_0x1fe813=0x0;_0x5c553c<this['children']['length'];_0x5c553c++){let _0x56d2e5=this['children'][_0x5c553c],_0x5eb180=_0x1fe813+_0x56d2e5['length'];if(_0x36caef>=_0x1fe813&&_0x2a49f8<=_0x5eb180){let _0x6639b=_0x56d2e5['replace'](_0x36caef-_0x1fe813,_0x2a49f8-_0x1fe813,_0xdf4f6a),_0x35fcaf=this['lines']-_0x56d2e5['lines']+_0x6639b['lines'];if(_0x6639b['lines']<_0x35fcaf>>0x4&&_0x6639b['lines']>_0x35fcaf>>0x6){let _0x1c124b=this['children']['slice']();return _0x1c124b[_0x5c553c]=_0x6639b,new TextNode(_0x1c124b,this['length']-(_0x2a49f8-_0x36caef)+_0xdf4f6a['length']);}return super['replace'](_0x1fe813,_0x5eb180,_0x6639b);}_0x1fe813=_0x5eb180+0x1;}return super['replace'](_0x36caef,_0x2a49f8,_0xdf4f6a);}['sliceString'](_0x21a7f5,_0x331ddb=this['length'],_0x2d0669='\x0a'){[_0x21a7f5,_0x331ddb]=Oy(this,_0x21a7f5,_0x331ddb);let _0x52ed90='';for(let _0x2da65c=0x0,_0x16070d=0x0;_0x2da65c<this['children']['length']&&_0x16070d<=_0x331ddb;_0x2da65c++){let _0x215351=this['children'][_0x2da65c],_0x1051e7=_0x16070d+_0x215351['length'];_0x16070d>_0x21a7f5&&_0x2da65c&&(_0x52ed90+=_0x2d0669),_0x21a7f5<_0x1051e7&&_0x331ddb>_0x16070d&&(_0x52ed90+=_0x215351['sliceString'](_0x21a7f5-_0x16070d,_0x331ddb-_0x16070d,_0x2d0669)),_0x16070d=_0x1051e7+0x1;}return _0x52ed90;}['flatten'](_0x38f68d){for(let _0x771b2d of this['children'])_0x771b2d['flatten'](_0x38f68d);}['scanIdentical'](_0x56065f,_0x17d937){if(!(_0x56065f instanceof TextNode))return 0x0;let _0x405ae2=0x0,[_0xe2adad,_0xcfa0c6,_0x59d0f0,_0x3988a6]=_0x17d937>0x0?[0x0,0x0,this['children']['length'],_0x56065f['children']['length']]:[this['children']['length']-0x1,_0x56065f['children']['length']-0x1,-0x1,-0x1];for(;;_0xe2adad+=_0x17d937,_0xcfa0c6+=_0x17d937){if(_0xe2adad==_0x59d0f0||_0xcfa0c6==_0x3988a6)return _0x405ae2;let _0xccdee7=this['children'][_0xe2adad],_0x4a6dcb=_0x56065f['children'][_0xcfa0c6];if(_0xccdee7!=_0x4a6dcb)return _0x405ae2+_0xccdee7['scanIdentical'](_0x4a6dcb,_0x17d937);_0x405ae2+=_0xccdee7['length']+0x1;}}static['from'](_0x3a555e,_0x5e698d=_0x3a555e['reduce']((_0x496912,_0x2f4f8f)=>_0x496912+_0x2f4f8f['length']+0x1,-0x1)){let _0x21f4a0=0x0;for(let _0x152acd of _0x3a555e)_0x21f4a0+=_0x152acd['lines'];if(_0x21f4a0<0x20){let _0x49dc33=[];for(let _0x359dfb of _0x3a555e)_0x359dfb['flatten'](_0x49dc33);return new TextLeaf(_0x49dc33,_0x5e698d);}let _0x208742=Math['max'](0x20,_0x21f4a0>>0x5),_0xb6e83e=_0x208742<<0x1,_0x2a2e87=_0x208742>>0x1,_0x28e1bc=[],_0x46719a=0x0,_0x113f28=-0x1,_0x12aafe=[];function _0x4ce27d(_0x13aae1){let _0x503f27;if(_0x13aae1['lines']>_0xb6e83e&&_0x13aae1 instanceof TextNode){for(let _0x13c001 of _0x13aae1['children'])_0x4ce27d(_0x13c001);}else _0x13aae1['lines']>_0x2a2e87&&(_0x46719a>_0x2a2e87||!_0x46719a)?(_0x3de1d7(),_0x28e1bc['push'](_0x13aae1)):_0x13aae1 instanceof TextLeaf&&_0x46719a&&(_0x503f27=_0x12aafe[_0x12aafe['length']-0x1])instanceof TextLeaf&&_0x13aae1['lines']+_0x503f27['lines']<=0x20?(_0x46719a+=_0x13aae1['lines'],_0x113f28+=_0x13aae1['length']+0x1,_0x12aafe[_0x12aafe['length']-0x1]=new TextLeaf(_0x503f27['text']['concat'](_0x13aae1['text']),_0x503f27['length']+0x1+_0x13aae1['length'])):(_0x46719a+_0x13aae1['lines']>_0x208742&&_0x3de1d7(),_0x46719a+=_0x13aae1['lines'],_0x113f28+=_0x13aae1['length']+0x1,_0x12aafe['push'](_0x13aae1));}function _0x3de1d7(){0x0!=_0x46719a&&(_0x28e1bc['push'](0x1==_0x12aafe['length']?_0x12aafe[0x0]:TextNode['from'](_0x12aafe,_0x113f28)),_0x113f28=-0x1,_0x46719a=_0x12aafe['length']=0x0);}for(let _0x1cca46 of _0x3a555e)_0x4ce27d(_0x1cca46);return _0x3de1d7(),0x1==_0x28e1bc['length']?_0x28e1bc[0x0]:new TextNode(_0x28e1bc,_0x5e698d);}}function my(_0x1b6150,_0xef8597,_0x3f4502=0x0,_0x5cab8f=0x3b9aca00){for(let _0x36f598=0x0,_0x59b553=0x0,_0x1e1cfe=!0x0;_0x59b553<_0x1b6150['length']&&_0x36f598<=_0x5cab8f;_0x59b553++){let _0x2e9d0c=_0x1b6150[_0x59b553],_0x33a56e=_0x36f598+_0x2e9d0c['length'];_0x33a56e>=_0x3f4502&&(_0x33a56e>_0x5cab8f&&(_0x2e9d0c=_0x2e9d0c['slice'](0x0,_0x5cab8f-_0x36f598)),_0x36f598<_0x3f4502&&(_0x2e9d0c=_0x2e9d0c['slice'](_0x3f4502-_0x36f598)),_0x1e1cfe?(_0xef8597[_0xef8597['length']-0x1]+=_0x2e9d0c,_0x1e1cfe=!0x1):_0xef8597['push'](_0x2e9d0c)),_0x36f598=_0x33a56e+0x1;}return _0xef8597;}function gy(_0x1a3b92,_0x49404e,_0x63ef53){return my(_0x1a3b92,[''],_0x49404e,_0x63ef53);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x3f31a7,_0x9de441=0x1){this['dir']=_0x9de441,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x3f31a7],this['offsets']=[_0x9de441>0x0?0x1:(_0x3f31a7 instanceof TextLeaf?_0x3f31a7['text']['length']:_0x3f31a7['children']['length'])<<0x1];}['nextInner'](_0x1afda9,_0x4002d2){for(this['done']=this['lineBreak']=!0x1;;){let _0x4b97bd=this['nodes']['length']-0x1,_0xdfc524=this['nodes'][_0x4b97bd],_0x16536f=this['offsets'][_0x4b97bd],_0x47ae95=_0x16536f>>0x1,_0x2e6549=_0xdfc524 instanceof TextLeaf?_0xdfc524['text']['length']:_0xdfc524['children']['length'];if(_0x47ae95==(_0x4002d2>0x0?_0x2e6549:0x0)){if(0x0==_0x4b97bd)return this['done']=!0x0,this['value']='',this;_0x4002d2>0x0&&this['offsets'][_0x4b97bd-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x16536f)==(_0x4002d2>0x0?0x0:0x1)){if(this['offsets'][_0x4b97bd]+=_0x4002d2,0x0==_0x1afda9)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x1afda9--;}else{if(_0xdfc524 instanceof TextLeaf){let _0x5f2445=_0xdfc524['text'][_0x47ae95+(_0x4002d2<0x0?-0x1:0x0)];if(this['offsets'][_0x4b97bd]+=_0x4002d2,_0x5f2445['length']>Math['max'](0x0,_0x1afda9))return this['value']=0x0==_0x1afda9?_0x5f2445:_0x4002d2>0x0?_0x5f2445['slice'](_0x1afda9):_0x5f2445['slice'](0x0,_0x5f2445['length']-_0x1afda9),this;_0x1afda9-=_0x5f2445['length'];}else{let _0x182932=_0xdfc524['children'][_0x47ae95+(_0x4002d2<0x0?-0x1:0x0)];_0x1afda9>_0x182932['length']?(_0x1afda9-=_0x182932['length'],this['offsets'][_0x4b97bd]+=_0x4002d2):(_0x4002d2<0x0&&this['offsets'][_0x4b97bd]--,this['nodes']['push'](_0x182932),this['offsets']['push'](_0x4002d2>0x0?0x1:(_0x182932 instanceof TextLeaf?_0x182932['text']['length']:_0x182932['children']['length'])<<0x1));}}}}}['next'](_0x55f7dc=0x0){return _0x55f7dc<0x0&&(this['nextInner'](-_0x55f7dc,-this['dir']),_0x55f7dc=this['value']['length']),this['nextInner'](_0x55f7dc,this['dir']);}}class PartialTextCursor{constructor(_0xe9c8c1,_0x5a14b3,_0x1d92f1){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0xe9c8c1,_0x5a14b3>_0x1d92f1?-0x1:0x1),this['pos']=_0x5a14b3>_0x1d92f1?_0xe9c8c1['length']:0x0,this['from']=Math['min'](_0x5a14b3,_0x1d92f1),this['to']=Math['max'](_0x5a14b3,_0x1d92f1);}['nextInner'](_0x2a0ccb,_0x51f38c){if(_0x51f38c<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x2a0ccb+=Math['max'](0x0,_0x51f38c<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x221d34=_0x51f38c<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x2a0ccb>_0x221d34&&(_0x2a0ccb=_0x221d34),_0x221d34-=_0x2a0ccb;let {value:_0x2071fc}=this['cursor']['next'](_0x2a0ccb);return this['pos']+=(_0x2071fc['length']+_0x2a0ccb)*_0x51f38c,this['value']=_0x2071fc['length']<=_0x221d34?_0x2071fc:_0x51f38c<0x0?_0x2071fc['slice'](_0x2071fc['length']-_0x221d34):_0x2071fc['slice'](0x0,_0x221d34),this['done']=!this['value'],this;}['next'](_0x18899e=0x0){return _0x18899e<0x0?_0x18899e=Math['max'](_0x18899e,this['from']-this['pos']):_0x18899e>0x0&&(_0x18899e=Math['min'](_0x18899e,this['to']-this['pos'])),this['nextInner'](_0x18899e,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class LineCursor{constructor(_0x267521){this['inner']=_0x267521,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x28649d=0x0){let {done:_0x55e90e,lineBreak:_0x430755,value:_0x3e705b}=this['inner']['next'](_0x28649d);return _0x55e90e&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x55e90e?(this['done']=!0x0,this['value']=''):_0x430755?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x3e705b,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']]=LineCursor['prototype'][Symbol['iterator']]=function(){return this;});let py=class Line{constructor(_0x1b1a6e,_0x588492,_0x5bc80b,_0x3df225){this['from']=_0x1b1a6e,this['to']=_0x588492,this['number']=_0x5bc80b,this['text']=_0x3df225;}get['length'](){return this['to']-this['from'];}};function Oy(_0x501881,_0x2053e,_0x5d7234){return[_0x2053e=Math['max'](0x0,Math['min'](_0x501881['length'],_0x2053e)),Math['max'](_0x2053e,Math['min'](_0x501881['length'],_0x5d7234))];}function wy(_0x2b5fea,_0x1c7844,_0x2416c5=!0x0,_0x5c1cf1=!0x0){return ay(_0x2b5fea,_0x1c7844,_0x2416c5,_0x5c1cf1);}function by(_0x2b9027,_0x280970){let _0x45c85d=_0x2b9027['charCodeAt'](_0x280970);if(!(_0x23968d=_0x45c85d,_0x23968d>=0xd800&&_0x23968d<0xdc00&&_0x280970+0x1!=_0x2b9027['length']))return _0x45c85d;var _0x23968d;let _0x1e06a9=_0x2b9027['charCodeAt'](_0x280970+0x1);return function(_0x1a3f10){return _0x1a3f10>=0xdc00&&_0x1a3f10<0xe000;}(_0x1e06a9)?_0x1e06a9-0xdc00+(_0x45c85d-0xd800<<0xa)+0x10000:_0x45c85d;}function yy(_0x522278){return _0x522278<=0xffff?String['fromCharCode'](_0x522278):(_0x522278-=0x10000,String['fromCharCode'](0xd800+(_0x522278>>0xa),0xdc00+(0x3ff&_0x522278)));}function _y(_0x1c44e5){return _0x1c44e5<0x10000?0x1:0x2;}const vy=/\r\n?|\n/;var Ty=function(_0xecc507){return _0xecc507[_0xecc507['Simple']=0x0]='Simple',_0xecc507[_0xecc507['TrackDel']=0x1]='TrackDel',_0xecc507[_0xecc507['TrackBefore']=0x2]='TrackBefore',_0xecc507[_0xecc507['TrackAfter']=0x3]='TrackAfter',_0xecc507;}(Ty||(Ty={}));class ChangeDesc{constructor(_0x4a3a43){this['sections']=_0x4a3a43;}get['length'](){let _0x47eafb=0x0;for(let _0x190fa8=0x0;_0x190fa8<this['sections']['length'];_0x190fa8+=0x2)_0x47eafb+=this['sections'][_0x190fa8];return _0x47eafb;}get['newLength'](){let _0x2847ba=0x0;for(let _0x4f4079=0x0;_0x4f4079<this['sections']['length'];_0x4f4079+=0x2){let _0x44812b=this['sections'][_0x4f4079+0x1];_0x2847ba+=_0x44812b<0x0?this['sections'][_0x4f4079]:_0x44812b;}return _0x2847ba;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0xedccc6){for(let _0x2647ed=0x0,_0x46141c=0x0,_0x27346b=0x0;_0x2647ed<this['sections']['length'];){let _0x5166be=this['sections'][_0x2647ed++],_0x381aab=this['sections'][_0x2647ed++];_0x381aab<0x0?(_0xedccc6(_0x46141c,_0x27346b,_0x5166be),_0x27346b+=_0x5166be):_0x27346b+=_0x381aab,_0x46141c+=_0x5166be;}}['iterChangedRanges'](_0x5a9959,_0x30a4b9=!0x1){Sy(this,_0x5a9959,_0x30a4b9);}get['invertedDesc'](){let _0x2a42ff=[];for(let _0x1b46ca=0x0;_0x1b46ca<this['sections']['length'];){let _0x564354=this['sections'][_0x1b46ca++],_0x38b5a9=this['sections'][_0x1b46ca++];_0x38b5a9<0x0?_0x2a42ff['push'](_0x564354,_0x38b5a9):_0x2a42ff['push'](_0x38b5a9,_0x564354);}return new ChangeDesc(_0x2a42ff);}['composeDesc'](_0x5c8ffa){return this['empty']?_0x5c8ffa:_0x5c8ffa['empty']?this:Cy(this,_0x5c8ffa);}['mapDesc'](_0x3a03dd,_0x107a6f=!0x1){return _0x3a03dd['empty']?this:Iy(this,_0x3a03dd,_0x107a6f);}['mapPos'](_0x1decc9,_0x306657=-0x1,_0x2ce0ed=Ty['Simple']){let _0x25571a=0x0,_0x57c21c=0x0;for(let _0x266595=0x0;_0x266595<this['sections']['length'];){let _0xf57e6c=this['sections'][_0x266595++],_0x204aa2=this['sections'][_0x266595++],_0x3ca087=_0x25571a+_0xf57e6c;if(_0x204aa2<0x0){if(_0x3ca087>_0x1decc9)return _0x57c21c+(_0x1decc9-_0x25571a);_0x57c21c+=_0xf57e6c;}else{if(_0x2ce0ed!=Ty['Simple']&&_0x3ca087>=_0x1decc9&&(_0x2ce0ed==Ty['TrackDel']&&_0x25571a<_0x1decc9&&_0x3ca087>_0x1decc9||_0x2ce0ed==Ty['TrackBefore']&&_0x25571a<_0x1decc9||_0x2ce0ed==Ty['TrackAfter']&&_0x3ca087>_0x1decc9))return null;if(_0x3ca087>_0x1decc9||_0x3ca087==_0x1decc9&&_0x306657<0x0&&!_0xf57e6c)return _0x1decc9==_0x25571a||_0x306657<0x0?_0x57c21c:_0x57c21c+_0x204aa2;_0x57c21c+=_0x204aa2;}_0x25571a=_0x3ca087;}if(_0x1decc9>_0x25571a)throw new RangeError('Position\x20'+_0x1decc9+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x25571a);return _0x57c21c;}['touchesRange'](_0x3bccdd,_0x290b7e=_0x3bccdd){for(let _0x4b4eed=0x0,_0xf62837=0x0;_0x4b4eed<this['sections']['length']&&_0xf62837<=_0x290b7e;){let _0x1a7bcb=_0xf62837+this['sections'][_0x4b4eed++];if(this['sections'][_0x4b4eed++]>=0x0&&_0xf62837<=_0x290b7e&&_0x1a7bcb>=_0x3bccdd)return!(_0xf62837<_0x3bccdd&&_0x1a7bcb>_0x290b7e)||'cover';_0xf62837=_0x1a7bcb;}return!0x1;}['toString'](){let _0x546f62='';for(let _0x5b28c3=0x0;_0x5b28c3<this['sections']['length'];){let _0x4dd4c6=this['sections'][_0x5b28c3++],_0x2975f7=this['sections'][_0x5b28c3++];_0x546f62+=(_0x546f62?'\x20':'')+_0x4dd4c6+(_0x2975f7>=0x0?':'+_0x2975f7:'');}return _0x546f62;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x13d839){if(!Array['isArray'](_0x13d839)||_0x13d839['length']%0x2||_0x13d839['some'](_0x2eac62=>'number'!=typeof _0x2eac62))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0x13d839);}static['create'](_0x170297){return new ChangeDesc(_0x170297);}}class ChangeSet extends ChangeDesc{constructor(_0x3da11f,_0x218405){super(_0x3da11f),this['inserted']=_0x218405;}['apply'](_0x5515a6){if(this['length']!=_0x5515a6['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return Sy(this,(_0x353a56,_0x17f180,_0xf5af0b,_0x31e23e,_0x4d3a40)=>_0x5515a6=_0x5515a6['replace'](_0xf5af0b,_0xf5af0b+(_0x17f180-_0x353a56),_0x4d3a40),!0x1),_0x5515a6;}['mapDesc'](_0x2c1018,_0x2a12f1=!0x1){return Iy(this,_0x2c1018,_0x2a12f1,!0x0);}['invert'](_0x383f26){let _0x2e929b=this['sections']['slice'](),_0xb695a5=[];for(let _0x33cc08=0x0,_0x453e54=0x0;_0x33cc08<_0x2e929b['length'];_0x33cc08+=0x2){let _0x23bba5=_0x2e929b[_0x33cc08],_0x472483=_0x2e929b[_0x33cc08+0x1];if(_0x472483>=0x0){_0x2e929b[_0x33cc08]=_0x472483,_0x2e929b[_0x33cc08+0x1]=_0x23bba5;let _0xaab652=_0x33cc08>>0x1;for(;_0xb695a5['length']<_0xaab652;)_0xb695a5['push'](Text['empty']);_0xb695a5['push'](_0x23bba5?_0x383f26['slice'](_0x453e54,_0x453e54+_0x23bba5):Text['empty']);}_0x453e54+=_0x23bba5;}return new ChangeSet(_0x2e929b,_0xb695a5);}['compose'](_0x3ed1b0){return this['empty']?_0x3ed1b0:_0x3ed1b0['empty']?this:Cy(this,_0x3ed1b0,!0x0);}['map'](_0x5686bb,_0x38c67c=!0x1){return _0x5686bb['empty']?this:Iy(this,_0x5686bb,_0x38c67c,!0x0);}['iterChanges'](_0x461bc9,_0x2347ee=!0x1){Sy(this,_0x461bc9,_0x2347ee);}get['desc'](){return ChangeDesc['create'](this['sections']);}['filter'](_0x2eeb9f){let _0x514160=[],_0x217f94=[],_0x1d2327=[],_0x1b83dc=new SectionIter(this);t:for(let _0x1bba78=0x0,_0x477d83=0x0;;){let _0x30a994=_0x1bba78==_0x2eeb9f['length']?0x3b9aca00:_0x2eeb9f[_0x1bba78++];for(;_0x477d83<_0x30a994||_0x477d83==_0x30a994&&0x0==_0x1b83dc['len'];){if(_0x1b83dc['done'])break t;let _0x2c74c2=Math['min'](_0x1b83dc['len'],_0x30a994-_0x477d83);Ey(_0x1d2327,_0x2c74c2,-0x1);let _0x16084=-0x1==_0x1b83dc['ins']?-0x1:0x0==_0x1b83dc['off']?_0x1b83dc['ins']:0x0;Ey(_0x514160,_0x2c74c2,_0x16084),_0x16084>0x0&&Ay(_0x217f94,_0x514160,_0x1b83dc['text']),_0x1b83dc['forward'](_0x2c74c2),_0x477d83+=_0x2c74c2;}let _0x19f118=_0x2eeb9f[_0x1bba78++];for(;_0x477d83<_0x19f118;){if(_0x1b83dc['done'])break t;let _0x5371f9=Math['min'](_0x1b83dc['len'],_0x19f118-_0x477d83);Ey(_0x514160,_0x5371f9,-0x1),Ey(_0x1d2327,_0x5371f9,-0x1==_0x1b83dc['ins']?-0x1:0x0==_0x1b83dc['off']?_0x1b83dc['ins']:0x0),_0x1b83dc['forward'](_0x5371f9),_0x477d83+=_0x5371f9;}}return{'changes':new ChangeSet(_0x514160,_0x217f94),'filtered':ChangeDesc['create'](_0x1d2327)};}['toJSON'](){let _0x326b9d=[];for(let _0x448f89=0x0;_0x448f89<this['sections']['length'];_0x448f89+=0x2){let _0x51d9d4=this['sections'][_0x448f89],_0x5f0648=this['sections'][_0x448f89+0x1];_0x5f0648<0x0?_0x326b9d['push'](_0x51d9d4):0x0==_0x5f0648?_0x326b9d['push']([_0x51d9d4]):_0x326b9d['push']([_0x51d9d4]['concat'](this['inserted'][_0x448f89>>0x1]['toJSON']()));}return _0x326b9d;}static['of'](_0x2c5390,_0x70caf2,_0x289ea1){let _0x5578fd=[],_0x30d372=[],_0x96d16f=0x0,_0x22129a=null;function _0x2f0cdb(_0xee4e37=!0x1){if(!_0xee4e37&&!_0x5578fd['length'])return;_0x96d16f<_0x70caf2&&Ey(_0x5578fd,_0x70caf2-_0x96d16f,-0x1);let _0x382a9d=new ChangeSet(_0x5578fd,_0x30d372);_0x22129a=_0x22129a?_0x22129a['compose'](_0x382a9d['map'](_0x22129a)):_0x382a9d,_0x5578fd=[],_0x30d372=[],_0x96d16f=0x0;}return function _0xcc3ae2(_0x5523b6){if(Array['isArray'](_0x5523b6)){for(let _0x59d05e of _0x5523b6)_0xcc3ae2(_0x59d05e);}else{if(_0x5523b6 instanceof ChangeSet){if(_0x5523b6['length']!=_0x70caf2)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x5523b6['length']+',\x20expected\x20'+_0x70caf2+')');_0x2f0cdb(),_0x22129a=_0x22129a?_0x22129a['compose'](_0x5523b6['map'](_0x22129a)):_0x5523b6;}else{let {from:_0xdfeddf,to:_0x1c4417=_0xdfeddf,insert:_0x2eda5a}=_0x5523b6;if(_0xdfeddf>_0x1c4417||_0xdfeddf<0x0||_0x1c4417>_0x70caf2)throw new RangeError('Invalid\x20change\x20range\x20'+_0xdfeddf+'\x20to\x20'+_0x1c4417+'\x20(in\x20doc\x20of\x20length\x20'+_0x70caf2+')');let _0x11c816=_0x2eda5a?'string'==typeof _0x2eda5a?Text['of'](_0x2eda5a['split'](_0x289ea1||vy)):_0x2eda5a:Text['empty'],_0x117798=_0x11c816['length'];if(_0xdfeddf==_0x1c4417&&0x0==_0x117798)return;_0xdfeddf<_0x96d16f&&_0x2f0cdb(),_0xdfeddf>_0x96d16f&&Ey(_0x5578fd,_0xdfeddf-_0x96d16f,-0x1),Ey(_0x5578fd,_0x1c4417-_0xdfeddf,_0x117798),Ay(_0x30d372,_0x5578fd,_0x11c816),_0x96d16f=_0x1c4417;}}}(_0x2c5390),_0x2f0cdb(!_0x22129a),_0x22129a;}static['empty'](_0x253a2b){return new ChangeSet(_0x253a2b?[_0x253a2b,-0x1]:[],[]);}static['fromJSON'](_0x433bb3){if(!Array['isArray'](_0x433bb3))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x7aa6a5=[],_0x4ffc97=[];for(let _0x3130f9=0x0;_0x3130f9<_0x433bb3['length'];_0x3130f9++){let _0x330248=_0x433bb3[_0x3130f9];if('number'==typeof _0x330248)_0x7aa6a5['push'](_0x330248,-0x1);else{if(!Array['isArray'](_0x330248)||'number'!=typeof _0x330248[0x0]||_0x330248['some']((_0x15ea20,_0x2d0d5a)=>_0x2d0d5a&&'string'!=typeof _0x15ea20))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x330248['length'])_0x7aa6a5['push'](_0x330248[0x0],0x0);else{for(;_0x4ffc97['length']<_0x3130f9;)_0x4ffc97['push'](Text['empty']);_0x4ffc97[_0x3130f9]=Text['of'](_0x330248['slice'](0x1)),_0x7aa6a5['push'](_0x330248[0x0],_0x4ffc97[_0x3130f9]['length']);}}}return new ChangeSet(_0x7aa6a5,_0x4ffc97);}static['createSet'](_0x15ea15,_0x4257e4){return new ChangeSet(_0x15ea15,_0x4257e4);}}function Ey(_0x367914,_0x2f9d97,_0x1ad036,_0x6c8830=!0x1){if(0x0==_0x2f9d97&&_0x1ad036<=0x0)return;let _0x3e466f=_0x367914['length']-0x2;_0x3e466f>=0x0&&_0x1ad036<=0x0&&_0x1ad036==_0x367914[_0x3e466f+0x1]?_0x367914[_0x3e466f]+=_0x2f9d97:_0x3e466f>=0x0&&0x0==_0x2f9d97&&0x0==_0x367914[_0x3e466f]?_0x367914[_0x3e466f+0x1]+=_0x1ad036:_0x6c8830?(_0x367914[_0x3e466f]+=_0x2f9d97,_0x367914[_0x3e466f+0x1]+=_0x1ad036):_0x367914['push'](_0x2f9d97,_0x1ad036);}function Ay(_0x253f41,_0x56b42d,_0x47f5a8){if(0x0==_0x47f5a8['length'])return;let _0x2a4d41=_0x56b42d['length']-0x2>>0x1;if(_0x2a4d41<_0x253f41['length'])_0x253f41[_0x253f41['length']-0x1]=_0x253f41[_0x253f41['length']-0x1]['append'](_0x47f5a8);else{for(;_0x253f41['length']<_0x2a4d41;)_0x253f41['push'](Text['empty']);_0x253f41['push'](_0x47f5a8);}}function Sy(_0x527550,_0x54cafe,_0x42f290){let _0x3bdc74=_0x527550['inserted'];for(let _0x15d484=0x0,_0x1ef7c4=0x0,_0x535332=0x0;_0x535332<_0x527550['sections']['length'];){let _0x4d1915=_0x527550['sections'][_0x535332++],_0x150c29=_0x527550['sections'][_0x535332++];if(_0x150c29<0x0)_0x15d484+=_0x4d1915,_0x1ef7c4+=_0x4d1915;else{let _0x5bb51d=_0x15d484,_0x48cd62=_0x1ef7c4,_0x451b5b=Text['empty'];for(;_0x5bb51d+=_0x4d1915,_0x48cd62+=_0x150c29,_0x150c29&&_0x3bdc74&&(_0x451b5b=_0x451b5b['append'](_0x3bdc74[_0x535332-0x2>>0x1])),!(_0x42f290||_0x535332==_0x527550['sections']['length']||_0x527550['sections'][_0x535332+0x1]<0x0);)_0x4d1915=_0x527550['sections'][_0x535332++],_0x150c29=_0x527550['sections'][_0x535332++];_0x54cafe(_0x15d484,_0x5bb51d,_0x1ef7c4,_0x48cd62,_0x451b5b),_0x15d484=_0x5bb51d,_0x1ef7c4=_0x48cd62;}}}function Iy(_0x3d9adc,_0x5eacb3,_0x2787e2,_0x50bca7=!0x1){let _0x4ee732=[],_0x201bc4=_0x50bca7?[]:null,_0xdd6fa9=new SectionIter(_0x3d9adc),_0x455f92=new SectionIter(_0x5eacb3);for(let _0x1f7010=-0x1;;){if(_0xdd6fa9['done']&&_0x455f92['len']||_0x455f92['done']&&_0xdd6fa9['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0xdd6fa9['ins']&&-0x1==_0x455f92['ins']){let _0x46ba04=Math['min'](_0xdd6fa9['len'],_0x455f92['len']);Ey(_0x4ee732,_0x46ba04,-0x1),_0xdd6fa9['forward'](_0x46ba04),_0x455f92['forward'](_0x46ba04);}else{if(_0x455f92['ins']>=0x0&&(_0xdd6fa9['ins']<0x0||_0x1f7010==_0xdd6fa9['i']||0x0==_0xdd6fa9['off']&&(_0x455f92['len']<_0xdd6fa9['len']||_0x455f92['len']==_0xdd6fa9['len']&&!_0x2787e2))){let _0x23d892=_0x455f92['len'];for(Ey(_0x4ee732,_0x455f92['ins'],-0x1);_0x23d892;){let _0x2d53c3=Math['min'](_0xdd6fa9['len'],_0x23d892);_0xdd6fa9['ins']>=0x0&&_0x1f7010<_0xdd6fa9['i']&&_0xdd6fa9['len']<=_0x2d53c3&&(Ey(_0x4ee732,0x0,_0xdd6fa9['ins']),_0x201bc4&&Ay(_0x201bc4,_0x4ee732,_0xdd6fa9['text']),_0x1f7010=_0xdd6fa9['i']),_0xdd6fa9['forward'](_0x2d53c3),_0x23d892-=_0x2d53c3;}_0x455f92['next']();}else{if(!(_0xdd6fa9['ins']>=0x0)){if(_0xdd6fa9['done']&&_0x455f92['done'])return _0x201bc4?ChangeSet['createSet'](_0x4ee732,_0x201bc4):ChangeDesc['create'](_0x4ee732);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x3fc50c=0x0,_0x130644=_0xdd6fa9['len'];for(;_0x130644;)if(-0x1==_0x455f92['ins']){let _0x50e40e=Math['min'](_0x130644,_0x455f92['len']);_0x3fc50c+=_0x50e40e,_0x130644-=_0x50e40e,_0x455f92['forward'](_0x50e40e);}else{if(!(0x0==_0x455f92['ins']&&_0x455f92['len']<_0x130644))break;_0x130644-=_0x455f92['len'],_0x455f92['next']();}Ey(_0x4ee732,_0x3fc50c,_0x1f7010<_0xdd6fa9['i']?_0xdd6fa9['ins']:0x0),_0x201bc4&&_0x1f7010<_0xdd6fa9['i']&&Ay(_0x201bc4,_0x4ee732,_0xdd6fa9['text']),_0x1f7010=_0xdd6fa9['i'],_0xdd6fa9['forward'](_0xdd6fa9['len']-_0x130644);}}}}}function Cy(_0x5e5dbf,_0xa9611d,_0x4da8eb=!0x1){let _0x5d29b8=[],_0x3d1cb4=_0x4da8eb?[]:null,_0x16c717=new SectionIter(_0x5e5dbf),_0x3fe611=new SectionIter(_0xa9611d);for(let _0x3dc7ef=!0x1;;){if(_0x16c717['done']&&_0x3fe611['done'])return _0x3d1cb4?ChangeSet['createSet'](_0x5d29b8,_0x3d1cb4):ChangeDesc['create'](_0x5d29b8);if(0x0==_0x16c717['ins'])Ey(_0x5d29b8,_0x16c717['len'],0x0,_0x3dc7ef),_0x16c717['next']();else{if(0x0!=_0x3fe611['len']||_0x3fe611['done']){if(_0x16c717['done']||_0x3fe611['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x179743=Math['min'](_0x16c717['len2'],_0x3fe611['len']),_0x33b951=_0x5d29b8['length'];if(-0x1==_0x16c717['ins']){let _0x377d07=-0x1==_0x3fe611['ins']?-0x1:_0x3fe611['off']?0x0:_0x3fe611['ins'];Ey(_0x5d29b8,_0x179743,_0x377d07,_0x3dc7ef),_0x3d1cb4&&_0x377d07&&Ay(_0x3d1cb4,_0x5d29b8,_0x3fe611['text']);}else-0x1==_0x3fe611['ins']?(Ey(_0x5d29b8,_0x16c717['off']?0x0:_0x16c717['len'],_0x179743,_0x3dc7ef),_0x3d1cb4&&Ay(_0x3d1cb4,_0x5d29b8,_0x16c717['textBit'](_0x179743))):(Ey(_0x5d29b8,_0x16c717['off']?0x0:_0x16c717['len'],_0x3fe611['off']?0x0:_0x3fe611['ins'],_0x3dc7ef),_0x3d1cb4&&!_0x3fe611['off']&&Ay(_0x3d1cb4,_0x5d29b8,_0x3fe611['text']));_0x3dc7ef=(_0x16c717['ins']>_0x179743||_0x3fe611['ins']>=0x0&&_0x3fe611['len']>_0x179743)&&(_0x3dc7ef||_0x5d29b8['length']>_0x33b951),_0x16c717['forward2'](_0x179743),_0x3fe611['forward'](_0x179743);}}else Ey(_0x5d29b8,0x0,_0x3fe611['ins'],_0x3dc7ef),_0x3d1cb4&&Ay(_0x3d1cb4,_0x5d29b8,_0x3fe611['text']),_0x3fe611['next']();}}}class SectionIter{constructor(_0x165246){this['set']=_0x165246,this['i']=0x0,this['next']();}['next'](){let {sections:_0x2563b5}=this['set'];this['i']<_0x2563b5['length']?(this['len']=_0x2563b5[this['i']++],this['ins']=_0x2563b5[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:_0x498d87}=this['set'],_0x6f49da=this['i']-0x2>>0x1;return _0x6f49da>=_0x498d87['length']?Text['empty']:_0x498d87[_0x6f49da];}['textBit'](_0x4f9313){let {inserted:_0x1eebf1}=this['set'],_0x51b9b8=this['i']-0x2>>0x1;return _0x51b9b8>=_0x1eebf1['length']&&!_0x4f9313?Text['empty']:_0x1eebf1[_0x51b9b8]['slice'](this['off'],null==_0x4f9313?void 0x0:this['off']+_0x4f9313);}['forward'](_0x1a0825){_0x1a0825==this['len']?this['next']():(this['len']-=_0x1a0825,this['off']+=_0x1a0825);}['forward2'](_0x5b2745){-0x1==this['ins']?this['forward'](_0x5b2745):_0x5b2745==this['ins']?this['next']():(this['ins']-=_0x5b2745,this['off']+=_0x5b2745);}}class SelectionRange{constructor(_0x3ba429,_0x35477c,_0x1c2459){this['from']=_0x3ba429,this['to']=_0x35477c,this['flags']=_0x1c2459;}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 _0x176662=0x7&this['flags'];return 0x7==_0x176662?null:_0x176662;}get['goalColumn'](){let _0x7676bd=this['flags']>>0x6;return 0xffffff==_0x7676bd?void 0x0:_0x7676bd;}['map'](_0x3745d7,_0x593a52=-0x1){let _0x34a944,_0x57774b;return this['empty']?_0x34a944=_0x57774b=_0x3745d7['mapPos'](this['from'],_0x593a52):(_0x34a944=_0x3745d7['mapPos'](this['from'],0x1),_0x57774b=_0x3745d7['mapPos'](this['to'],-0x1)),_0x34a944==this['from']&&_0x57774b==this['to']?this:new SelectionRange(_0x34a944,_0x57774b,this['flags']);}['extend'](_0x23a16e,_0x37b8c2=_0x23a16e){if(_0x23a16e<=this['anchor']&&_0x37b8c2>=this['anchor'])return EditorSelection['range'](_0x23a16e,_0x37b8c2);let _0x3b2e6c=Math['abs'](_0x23a16e-this['anchor'])>Math['abs'](_0x37b8c2-this['anchor'])?_0x23a16e:_0x37b8c2;return EditorSelection['range'](this['anchor'],_0x3b2e6c);}['eq'](_0x39eabe,_0xac2e09=!0x1){return!(this['anchor']!=_0x39eabe['anchor']||this['head']!=_0x39eabe['head']||_0xac2e09&&this['empty']&&this['assoc']!=_0x39eabe['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x727bc5){if(!_0x727bc5||'number'!=typeof _0x727bc5['anchor']||'number'!=typeof _0x727bc5['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x727bc5['anchor'],_0x727bc5['head']);}static['create'](_0x11da24,_0x5df051,_0x4ba46f){return new SelectionRange(_0x11da24,_0x5df051,_0x4ba46f);}}class EditorSelection{constructor(_0x196f92,_0x6be586){this['ranges']=_0x196f92,this['mainIndex']=_0x6be586;}['map'](_0x34dc19,_0x2dc960=-0x1){return _0x34dc19['empty']?this:EditorSelection['create'](this['ranges']['map'](_0xfd77aa=>_0xfd77aa['map'](_0x34dc19,_0x2dc960)),this['mainIndex']);}['eq'](_0x38964a,_0x5704fe=!0x1){if(this['ranges']['length']!=_0x38964a['ranges']['length']||this['mainIndex']!=_0x38964a['mainIndex'])return!0x1;for(let _0x574295=0x0;_0x574295<this['ranges']['length'];_0x574295++)if(!this['ranges'][_0x574295]['eq'](_0x38964a['ranges'][_0x574295],_0x5704fe))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x3c7a20,_0x2048f5=!0x0){return EditorSelection['create']([_0x3c7a20]['concat'](this['ranges']),_0x2048f5?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x28aff2,_0x5bab9c=this['mainIndex']){let _0x3e8c6f=this['ranges']['slice']();return _0x3e8c6f[_0x5bab9c]=_0x28aff2,EditorSelection['create'](_0x3e8c6f,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x76fab3=>_0x76fab3['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0xd4bca8){if(!_0xd4bca8||!Array['isArray'](_0xd4bca8['ranges'])||'number'!=typeof _0xd4bca8['main']||_0xd4bca8['main']>=_0xd4bca8['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0xd4bca8['ranges']['map'](_0x5e712d=>SelectionRange['fromJSON'](_0x5e712d)),_0xd4bca8['main']);}static['single'](_0x3c99f3,_0x5238aa=_0x3c99f3){return new EditorSelection([EditorSelection['range'](_0x3c99f3,_0x5238aa)],0x0);}static['create'](_0x8df496,_0x5bcb7f=0x0){if(0x0==_0x8df496['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0xeb1129=0x0,_0x58253e=0x0;_0x58253e<_0x8df496['length'];_0x58253e++){let _0x4e20d9=_0x8df496[_0x58253e];if(_0x4e20d9['empty']?_0x4e20d9['from']<=_0xeb1129:_0x4e20d9['from']<_0xeb1129)return EditorSelection['normalized'](_0x8df496['slice'](),_0x5bcb7f);_0xeb1129=_0x4e20d9['to'];}return new EditorSelection(_0x8df496,_0x5bcb7f);}static['cursor'](_0x501d18,_0x4eaeef=0x0,_0xba9b20,_0x197d09){return SelectionRange['create'](_0x501d18,_0x501d18,(0x0==_0x4eaeef?0x0:_0x4eaeef<0x0?0x8:0x10)|(null==_0xba9b20?0x7:Math['min'](0x6,_0xba9b20))|(null!=_0x197d09?_0x197d09:0xffffff)<<0x6);}static['range'](_0x371240,_0x1c7342,_0x90d169,_0x30268d){let _0x4bd29b=(null!=_0x90d169?_0x90d169:0xffffff)<<0x6|(null==_0x30268d?0x7:Math['min'](0x6,_0x30268d));return _0x1c7342<_0x371240?SelectionRange['create'](_0x1c7342,_0x371240,0x30|_0x4bd29b):SelectionRange['create'](_0x371240,_0x1c7342,(_0x1c7342>_0x371240?0x8:0x0)|_0x4bd29b);}static['normalized'](_0x3c967e,_0x3518e6=0x0){let _0x37c682=_0x3c967e[_0x3518e6];_0x3c967e['sort']((_0xf040cd,_0x3ec2aa)=>_0xf040cd['from']-_0x3ec2aa['from']),_0x3518e6=_0x3c967e['indexOf'](_0x37c682);for(let _0x274c3e=0x1;_0x274c3e<_0x3c967e['length'];_0x274c3e++){let _0x4e74a3=_0x3c967e[_0x274c3e],_0x52e0e6=_0x3c967e[_0x274c3e-0x1];if(_0x4e74a3['empty']?_0x4e74a3['from']<=_0x52e0e6['to']:_0x4e74a3['from']<_0x52e0e6['to']){let _0x399556=_0x52e0e6['from'],_0x58c6b8=Math['max'](_0x4e74a3['to'],_0x52e0e6['to']);_0x274c3e<=_0x3518e6&&_0x3518e6--,_0x3c967e['splice'](--_0x274c3e,0x2,_0x4e74a3['anchor']>_0x4e74a3['head']?EditorSelection['range'](_0x58c6b8,_0x399556):EditorSelection['range'](_0x399556,_0x58c6b8));}}return new EditorSelection(_0x3c967e,_0x3518e6);}}function ky(_0x589c2c,_0x5675f8){for(let _0x274039 of _0x589c2c['ranges'])if(_0x274039['to']>_0x5675f8)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let xy=0x0;class Facet{constructor(_0x5e16cb,_0x36170f,_0x287ba1,_0x5162c9,_0x41ff72){this['combine']=_0x5e16cb,this['compareInput']=_0x36170f,this['compare']=_0x287ba1,this['isStatic']=_0x5162c9,this['id']=xy++,this['default']=_0x5e16cb([]),this['extensions']='function'==typeof _0x41ff72?_0x41ff72(this):_0x41ff72;}get['reader'](){return this;}static['define'](_0x560d40={}){return new Facet(_0x560d40['combine']||(_0x23c3c4=>_0x23c3c4),_0x560d40['compareInput']||((_0x427e00,_0x4d6d02)=>_0x427e00===_0x4d6d02),_0x560d40['compare']||(_0x560d40['combine']?(_0x13c802,_0x4a35c9)=>_0x13c802===_0x4a35c9:Ry),!!_0x560d40['static'],_0x560d40['enables']);}['of'](_0x7923b3){return new FacetProvider([],this,0x0,_0x7923b3);}['compute'](_0x1e0992,_0x1d7dc8){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x1e0992,this,0x1,_0x1d7dc8);}['computeN'](_0x5b96d6,_0x2509e5){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x5b96d6,this,0x2,_0x2509e5);}['from'](_0x569365,_0x49f9a5){return _0x49f9a5||(_0x49f9a5=_0x10075e=>_0x10075e),this['compute']([_0x569365],_0x20c19f=>_0x49f9a5(_0x20c19f['field'](_0x569365)));}}function Ry(_0x12a1b9,_0x203c20){return _0x12a1b9==_0x203c20||_0x12a1b9['length']==_0x203c20['length']&&_0x12a1b9['every']((_0x1ab6a4,_0xaa35e3)=>_0x1ab6a4===_0x203c20[_0xaa35e3]);}class FacetProvider{constructor(_0x58cfd5,_0x588c30,_0x1d10fb,_0x4230b1){this['dependencies']=_0x58cfd5,this['facet']=_0x588c30,this['type']=_0x1d10fb,this['value']=_0x4230b1,this['id']=xy++;}['dynamicSlot'](_0x35b14f){var _0x31f8b9;let _0x23ece4=this['value'],_0x598894=this['facet']['compareInput'],_0x580419=this['id'],_0x5982db=_0x35b14f[_0x580419]>>0x1,_0x5233b6=0x2==this['type'],_0x19b4dc=!0x1,_0x2963aa=!0x1,_0x2fd3bf=[];for(let _0x550d11 of this['dependencies'])'doc'==_0x550d11?_0x19b4dc=!0x0:'selection'==_0x550d11?_0x2963aa=!0x0:0x1&(null!==(_0x31f8b9=_0x35b14f[_0x550d11['id']])&&void 0x0!==_0x31f8b9?_0x31f8b9:0x1)||_0x2fd3bf['push'](_0x35b14f[_0x550d11['id']]);return{'create':_0x1f3204=>(_0x1f3204['values'][_0x5982db]=_0x23ece4(_0x1f3204),0x1),'update'(_0x11009e,_0x2e2e78){if(_0x19b4dc&&_0x2e2e78['docChanged']||_0x2963aa&&(_0x2e2e78['docChanged']||_0x2e2e78['selection'])||My(_0x11009e,_0x2fd3bf)){let _0x8973b3=_0x23ece4(_0x11009e);if(_0x5233b6?!Py(_0x8973b3,_0x11009e['values'][_0x5982db],_0x598894):!_0x598894(_0x8973b3,_0x11009e['values'][_0x5982db]))return _0x11009e['values'][_0x5982db]=_0x8973b3,0x1;}return 0x0;},'reconfigure':(_0x5e1579,_0x459fea)=>{let _0x55e534,_0x9d51f4=_0x459fea['config']['address'][_0x580419];if(null!=_0x9d51f4){let _0x4b594c=jy(_0x459fea,_0x9d51f4);if(this['dependencies']['every'](_0x5e092e=>_0x5e092e instanceof Facet?_0x459fea['facet'](_0x5e092e)===_0x5e1579['facet'](_0x5e092e):!(_0x5e092e instanceof StateField)||_0x459fea['field'](_0x5e092e,!0x1)==_0x5e1579['field'](_0x5e092e,!0x1))||(_0x5233b6?Py(_0x55e534=_0x23ece4(_0x5e1579),_0x4b594c,_0x598894):_0x598894(_0x55e534=_0x23ece4(_0x5e1579),_0x4b594c)))return _0x5e1579['values'][_0x5982db]=_0x4b594c,0x0;}else _0x55e534=_0x23ece4(_0x5e1579);return _0x5e1579['values'][_0x5982db]=_0x55e534,0x1;}};}}function Py(_0x21863c,_0x4f0f00,_0x568a1c){if(_0x21863c['length']!=_0x4f0f00['length'])return!0x1;for(let _0x53e03c=0x0;_0x53e03c<_0x21863c['length'];_0x53e03c++)if(!_0x568a1c(_0x21863c[_0x53e03c],_0x4f0f00[_0x53e03c]))return!0x1;return!0x0;}function My(_0x555cf1,_0x599260){let _0x5c4ff5=!0x1;for(let _0x2bcc2f of _0x599260)0x1&Fy(_0x555cf1,_0x2bcc2f)&&(_0x5c4ff5=!0x0);return _0x5c4ff5;}function Ny(_0x36bb7f,_0x35522c,_0x5ee4df){let _0x3d392a=_0x5ee4df['map'](_0x365c0a=>_0x36bb7f[_0x365c0a['id']]),_0x1d40c0=_0x5ee4df['map'](_0x312245=>_0x312245['type']),_0x5a2ca3=_0x3d392a['filter'](_0x128677=>!(0x1&_0x128677)),_0x57c748=_0x36bb7f[_0x35522c['id']]>>0x1;function _0x389417(_0x3bf6f2){let _0x54d939=[];for(let _0x4fd2f9=0x0;_0x4fd2f9<_0x3d392a['length'];_0x4fd2f9++){let _0xde62a0=jy(_0x3bf6f2,_0x3d392a[_0x4fd2f9]);if(0x2==_0x1d40c0[_0x4fd2f9]){for(let _0x34120c of _0xde62a0)_0x54d939['push'](_0x34120c);}else _0x54d939['push'](_0xde62a0);}return _0x35522c['combine'](_0x54d939);}return{'create'(_0x4cbdee){for(let _0x521112 of _0x3d392a)Fy(_0x4cbdee,_0x521112);return _0x4cbdee['values'][_0x57c748]=_0x389417(_0x4cbdee),0x1;},'update'(_0x3af22e,_0x191ec1){if(!My(_0x3af22e,_0x5a2ca3))return 0x0;let _0x5c8e1e=_0x389417(_0x3af22e);return _0x35522c['compare'](_0x5c8e1e,_0x3af22e['values'][_0x57c748])?0x0:(_0x3af22e['values'][_0x57c748]=_0x5c8e1e,0x1);},'reconfigure'(_0x191102,_0x1c3f09){let _0x58b2df=My(_0x191102,_0x3d392a),_0x586a01=_0x1c3f09['config']['facets'][_0x35522c['id']],_0x27aea9=_0x1c3f09['facet'](_0x35522c);if(_0x586a01&&!_0x58b2df&&Ry(_0x5ee4df,_0x586a01))return _0x191102['values'][_0x57c748]=_0x27aea9,0x0;let _0x280cfa=_0x389417(_0x191102);return _0x35522c['compare'](_0x280cfa,_0x27aea9)?(_0x191102['values'][_0x57c748]=_0x27aea9,0x0):(_0x191102['values'][_0x57c748]=_0x280cfa,0x1);}};}const Ly=Facet['define']({'static':!0x0});class StateField{constructor(_0x51d03a,_0x100568,_0x212e6c,_0x18b5af,_0x37ec11){this['id']=_0x51d03a,this['createF']=_0x100568,this['updateF']=_0x212e6c,this['compareF']=_0x18b5af,this['spec']=_0x37ec11,this['provides']=void 0x0;}static['define'](_0x1f8925){let _0x330b84=new StateField(xy++,_0x1f8925['create'],_0x1f8925['update'],_0x1f8925['compare']||((_0x4ae084,_0x3e5c64)=>_0x4ae084===_0x3e5c64),_0x1f8925);return _0x1f8925['provide']&&(_0x330b84['provides']=_0x1f8925['provide'](_0x330b84)),_0x330b84;}['create'](_0x2ba3be){let _0x1ff6d5=_0x2ba3be['facet'](Ly)['find'](_0x29ae35=>_0x29ae35['field']==this);return((null==_0x1ff6d5?void 0x0:_0x1ff6d5['create'])||this['createF'])(_0x2ba3be);}['slot'](_0x52ce14){let _0x14efd9=_0x52ce14[this['id']]>>0x1;return{'create':_0x405430=>(_0x405430['values'][_0x14efd9]=this['create'](_0x405430),0x1),'update':(_0x177add,_0x2d1774)=>{let _0x20c8c7=_0x177add['values'][_0x14efd9],_0xef7860=this['updateF'](_0x20c8c7,_0x2d1774);return this['compareF'](_0x20c8c7,_0xef7860)?0x0:(_0x177add['values'][_0x14efd9]=_0xef7860,0x1);},'reconfigure':(_0x319025,_0x126a20)=>{let _0x4e7f88,_0x315a1e=_0x319025['facet'](Ly),_0x4543c7=_0x126a20['facet'](Ly);return(_0x4e7f88=_0x315a1e['find'](_0x3ee5a0=>_0x3ee5a0['field']==this))&&_0x4e7f88!=_0x4543c7['find'](_0x36eb0a=>_0x36eb0a['field']==this)?(_0x319025['values'][_0x14efd9]=_0x4e7f88['create'](_0x319025),0x1):null!=_0x126a20['config']['address'][this['id']]?(_0x319025['values'][_0x14efd9]=_0x126a20['field'](this),0x0):(_0x319025['values'][_0x14efd9]=this['create'](_0x319025),0x1);}};}['init'](_0xce184){return[this,Ly['of']({'field':this,'create':_0xce184})];}get['extension'](){return this;}}const Dy=0x4,Qy=0x3,$y=0x2,Vy=0x1;function Uy(_0x1e17e7){return _0x22ed85=>new PrecExtension(_0x22ed85,_0x1e17e7);}const By={'highest':Uy(0x0),'high':Uy(Vy),'default':Uy($y),'low':Uy(Qy),'lowest':Uy(Dy)};class PrecExtension{constructor(_0x2f5b57,_0x434dc9){this['inner']=_0x2f5b57,this['prec']=_0x434dc9;}}class Compartment{['of'](_0x906aab){return new CompartmentInstance(this,_0x906aab);}['reconfigure'](_0x3ab3be){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x3ab3be});}['get'](_0x2cf86f){return _0x2cf86f['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x1d3834,_0xa0ea10){this['compartment']=_0x1d3834,this['inner']=_0xa0ea10;}}class Configuration{constructor(_0x371aa6,_0x30ce41,_0x51e8d7,_0x1ad8a7,_0xae06e,_0x5b2259){for(this['base']=_0x371aa6,this['compartments']=_0x30ce41,this['dynamicSlots']=_0x51e8d7,this['address']=_0x1ad8a7,this['staticValues']=_0xae06e,this['facets']=_0x5b2259,this['statusTemplate']=[];this['statusTemplate']['length']<_0x51e8d7['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x362642){let _0x6844a3=this['address'][_0x362642['id']];return null==_0x6844a3?_0x362642['default']:this['staticValues'][_0x6844a3>>0x1];}static['resolve'](_0x256411,_0x36cb29,_0x1bb5e8){let _0x22fe76=[],_0x1f7e74=Object['create'](null),_0x1ada98=new Map();for(let _0x1ee104 of function(_0x44c5fb,_0xf42994,_0x55724e){let _0x16161e=[[],[],[],[],[]],_0x117ff8=new Map();function _0x409311(_0x3740db,_0x239b48){let _0x22fd62=_0x117ff8['get'](_0x3740db);if(null!=_0x22fd62){if(_0x22fd62<=_0x239b48)return;let _0xe6b6c4=_0x16161e[_0x22fd62]['indexOf'](_0x3740db);_0xe6b6c4>-0x1&&_0x16161e[_0x22fd62]['splice'](_0xe6b6c4,0x1),_0x3740db instanceof CompartmentInstance&&_0x55724e['delete'](_0x3740db['compartment']);}if(_0x117ff8['set'](_0x3740db,_0x239b48),Array['isArray'](_0x3740db)){for(let _0xcecad6 of _0x3740db)_0x409311(_0xcecad6,_0x239b48);}else{if(_0x3740db instanceof CompartmentInstance){if(_0x55724e['has'](_0x3740db['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x4c9c44=_0xf42994['get'](_0x3740db['compartment'])||_0x3740db['inner'];_0x55724e['set'](_0x3740db['compartment'],_0x4c9c44),_0x409311(_0x4c9c44,_0x239b48);}else{if(_0x3740db instanceof PrecExtension)_0x409311(_0x3740db['inner'],_0x3740db['prec']);else{if(_0x3740db instanceof StateField)_0x16161e[_0x239b48]['push'](_0x3740db),_0x3740db['provides']&&_0x409311(_0x3740db['provides'],_0x239b48);else{if(_0x3740db instanceof FacetProvider)_0x16161e[_0x239b48]['push'](_0x3740db),_0x3740db['facet']['extensions']&&_0x409311(_0x3740db['facet']['extensions'],$y);else{let _0x3f5ff7=_0x3740db['extension'];if(!_0x3f5ff7)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x3740db+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x409311(_0x3f5ff7,_0x239b48);}}}}}}return _0x409311(_0x44c5fb,$y),_0x16161e['reduce']((_0x23db91,_0x17dbf4)=>_0x23db91['concat'](_0x17dbf4));}(_0x256411,_0x36cb29,_0x1ada98))_0x1ee104 instanceof StateField?_0x22fe76['push'](_0x1ee104):(_0x1f7e74[_0x1ee104['facet']['id']]||(_0x1f7e74[_0x1ee104['facet']['id']]=[]))['push'](_0x1ee104);let _0xdbf934=Object['create'](null),_0x5203fa=[],_0x845709=[];for(let _0x25e006 of _0x22fe76)_0xdbf934[_0x25e006['id']]=_0x845709['length']<<0x1,_0x845709['push'](_0x10a7f7=>_0x25e006['slot'](_0x10a7f7));let _0x331ca1=null==_0x1bb5e8?void 0x0:_0x1bb5e8['config']['facets'];for(let _0x330aad in _0x1f7e74){let _0x47af84=_0x1f7e74[_0x330aad],_0x21cf64=_0x47af84[0x0]['facet'],_0x3a6b96=_0x331ca1&&_0x331ca1[_0x330aad]||[];if(_0x47af84['every'](_0x4216ee=>0x0==_0x4216ee['type'])){if(_0xdbf934[_0x21cf64['id']]=_0x5203fa['length']<<0x1|0x1,Ry(_0x3a6b96,_0x47af84))_0x5203fa['push'](_0x1bb5e8['facet'](_0x21cf64));else{let _0x576490=_0x21cf64['combine'](_0x47af84['map'](_0x2f46c8=>_0x2f46c8['value']));_0x5203fa['push'](_0x1bb5e8&&_0x21cf64['compare'](_0x576490,_0x1bb5e8['facet'](_0x21cf64))?_0x1bb5e8['facet'](_0x21cf64):_0x576490);}}else{for(let _0x146a48 of _0x47af84)0x0==_0x146a48['type']?(_0xdbf934[_0x146a48['id']]=_0x5203fa['length']<<0x1|0x1,_0x5203fa['push'](_0x146a48['value'])):(_0xdbf934[_0x146a48['id']]=_0x845709['length']<<0x1,_0x845709['push'](_0x1ba23e=>_0x146a48['dynamicSlot'](_0x1ba23e)));_0xdbf934[_0x21cf64['id']]=_0x845709['length']<<0x1,_0x845709['push'](_0x228e65=>Ny(_0x228e65,_0x21cf64,_0x47af84));}}let _0x2df012=_0x845709['map'](_0x2a193d=>_0x2a193d(_0xdbf934));return new Configuration(_0x256411,_0x1ada98,_0x2df012,_0xdbf934,_0x5203fa,_0x1f7e74);}}function Fy(_0x254c0d,_0x41da15){if(0x1&_0x41da15)return 0x2;let _0x4cb59e=_0x41da15>>0x1,_0x2598f0=_0x254c0d['status'][_0x4cb59e];if(0x4==_0x2598f0)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x2598f0)return _0x2598f0;_0x254c0d['status'][_0x4cb59e]=0x4;let _0x2a37c1=_0x254c0d['computeSlot'](_0x254c0d,_0x254c0d['config']['dynamicSlots'][_0x4cb59e]);return _0x254c0d['status'][_0x4cb59e]=0x2|_0x2a37c1;}function jy(_0xd2590e,_0x3fe330){return 0x1&_0x3fe330?_0xd2590e['config']['staticValues'][_0x3fe330>>0x1]:_0xd2590e['values'][_0x3fe330>>0x1];}const Hy=Facet['define'](),Gy=Facet['define']({'combine':_0x5f194b=>_0x5f194b['some'](_0x10f64d=>_0x10f64d),'static':!0x0}),Zy=Facet['define']({'combine':_0x467bc8=>_0x467bc8['length']?_0x467bc8[0x0]:void 0x0,'static':!0x0}),Xy=Facet['define'](),qy=Facet['define'](),Wy=Facet['define'](),zy=Facet['define']({'combine':_0x371df3=>!!_0x371df3['length']&&_0x371df3[0x0]});class Annotation{constructor(_0x5a089f,_0x2b29fc){this['type']=_0x5a089f,this['value']=_0x2b29fc;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x3f413f){return new Annotation(this,_0x3f413f);}}class StateEffectType{constructor(_0x46f457){this['map']=_0x46f457;}['of'](_0x130569){return new StateEffect(this,_0x130569);}}class StateEffect{constructor(_0x58893f,_0x3a3b61){this['type']=_0x58893f,this['value']=_0x3a3b61;}['map'](_0x31cff3){let _0x13a5bf=this['type']['map'](this['value'],_0x31cff3);return void 0x0===_0x13a5bf?void 0x0:_0x13a5bf==this['value']?this:new StateEffect(this['type'],_0x13a5bf);}['is'](_0x4f2753){return this['type']==_0x4f2753;}static['define'](_0x523d31={}){return new StateEffectType(_0x523d31['map']||(_0x7c83b1=>_0x7c83b1));}static['mapEffects'](_0x4700fb,_0x3344ab){if(!_0x4700fb['length'])return _0x4700fb;let _0x2a02cc=[];for(let _0x38baf9 of _0x4700fb){let _0x1666fa=_0x38baf9['map'](_0x3344ab);_0x1666fa&&_0x2a02cc['push'](_0x1666fa);}return _0x2a02cc;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x328ca2,_0x4871cb,_0x24d4ec,_0x143c07,_0x1ac4c8,_0x5ac05b){this['startState']=_0x328ca2,this['changes']=_0x4871cb,this['selection']=_0x24d4ec,this['effects']=_0x143c07,this['annotations']=_0x1ac4c8,this['scrollIntoView']=_0x5ac05b,this['_doc']=null,this['_state']=null,_0x24d4ec&&ky(_0x24d4ec,_0x4871cb['newLength']),_0x1ac4c8['some'](_0x440b9c=>_0x440b9c['type']==Transaction['time'])||(this['annotations']=_0x1ac4c8['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x32f3bf,_0x6f90f9,_0x5d2d41,_0x3c9fa1,_0xfa2d0b,_0x342c30){return new Transaction(_0x32f3bf,_0x6f90f9,_0x5d2d41,_0x3c9fa1,_0xfa2d0b,_0x342c30);}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'](_0x16526b){for(let _0x4095d0 of this['annotations'])if(_0x4095d0['type']==_0x16526b)return _0x4095d0['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x4609d3){let _0x583564=this['annotation'](Transaction['userEvent']);return!(!_0x583564||!(_0x583564==_0x4609d3||_0x583564['length']>_0x4609d3['length']&&_0x583564['slice'](0x0,_0x4609d3['length'])==_0x4609d3&&'.'==_0x583564[_0x4609d3['length']]));}}function Yy(_0x1a2a3b,_0x1525b3){let _0x2208df=[];for(let _0x58e57e=0x0,_0x499a6f=0x0;;){let _0x1d90ab,_0x34c714;if(_0x58e57e<_0x1a2a3b['length']&&(_0x499a6f==_0x1525b3['length']||_0x1525b3[_0x499a6f]>=_0x1a2a3b[_0x58e57e]))_0x1d90ab=_0x1a2a3b[_0x58e57e++],_0x34c714=_0x1a2a3b[_0x58e57e++];else{if(!(_0x499a6f<_0x1525b3['length']))return _0x2208df;_0x1d90ab=_0x1525b3[_0x499a6f++],_0x34c714=_0x1525b3[_0x499a6f++];}!_0x2208df['length']||_0x2208df[_0x2208df['length']-0x1]<_0x1d90ab?_0x2208df['push'](_0x1d90ab,_0x34c714):_0x2208df[_0x2208df['length']-0x1]<_0x34c714&&(_0x2208df[_0x2208df['length']-0x1]=_0x34c714);}}function Ky(_0x5e62eb,_0x593417,_0x4f7153){var _0x546cb3;let _0x1f93bf,_0x3639f4,_0x355ff5;return _0x4f7153?(_0x1f93bf=_0x593417['changes'],_0x3639f4=ChangeSet['empty'](_0x593417['changes']['length']),_0x355ff5=_0x5e62eb['changes']['compose'](_0x593417['changes'])):(_0x1f93bf=_0x593417['changes']['map'](_0x5e62eb['changes']),_0x3639f4=_0x5e62eb['changes']['mapDesc'](_0x593417['changes'],!0x0),_0x355ff5=_0x5e62eb['changes']['compose'](_0x1f93bf)),{'changes':_0x355ff5,'selection':_0x593417['selection']?_0x593417['selection']['map'](_0x3639f4):null===(_0x546cb3=_0x5e62eb['selection'])||void 0x0===_0x546cb3?void 0x0:_0x546cb3['map'](_0x1f93bf),'effects':StateEffect['mapEffects'](_0x5e62eb['effects'],_0x1f93bf)['concat'](StateEffect['mapEffects'](_0x593417['effects'],_0x3639f4)),'annotations':_0x5e62eb['annotations']['length']?_0x5e62eb['annotations']['concat'](_0x593417['annotations']):_0x593417['annotations'],'scrollIntoView':_0x5e62eb['scrollIntoView']||_0x593417['scrollIntoView']};}function Jy(_0x1cca84,_0x26360f,_0x7ca945){let _0x46a6e3=_0x26360f['selection'],_0x481960=i_(_0x26360f['annotations']);return _0x26360f['userEvent']&&(_0x481960=_0x481960['concat'](Transaction['userEvent']['of'](_0x26360f['userEvent']))),{'changes':_0x26360f['changes']instanceof ChangeSet?_0x26360f['changes']:ChangeSet['of'](_0x26360f['changes']||[],_0x7ca945,_0x1cca84['facet'](Zy)),'selection':_0x46a6e3&&(_0x46a6e3 instanceof EditorSelection?_0x46a6e3:EditorSelection['single'](_0x46a6e3['anchor'],_0x46a6e3['head'])),'effects':i_(_0x26360f['effects']),'annotations':_0x481960,'scrollIntoView':!!_0x26360f['scrollIntoView']};}function t_(_0x57fa47,_0xe823e3,_0x54fa63){let _0xec007b=Jy(_0x57fa47,_0xe823e3['length']?_0xe823e3[0x0]:{},_0x57fa47['doc']['length']);_0xe823e3['length']&&!0x1===_0xe823e3[0x0]['filter']&&(_0x54fa63=!0x1);for(let _0x29e0eb=0x1;_0x29e0eb<_0xe823e3['length'];_0x29e0eb++){!0x1===_0xe823e3[_0x29e0eb]['filter']&&(_0x54fa63=!0x1);let _0x357c81=!!_0xe823e3[_0x29e0eb]['sequential'];_0xec007b=Ky(_0xec007b,Jy(_0x57fa47,_0xe823e3[_0x29e0eb],_0x357c81?_0xec007b['changes']['newLength']:_0x57fa47['doc']['length']),_0x357c81);}let _0x535abb=Transaction['create'](_0x57fa47,_0xec007b['changes'],_0xec007b['selection'],_0xec007b['effects'],_0xec007b['annotations'],_0xec007b['scrollIntoView']);return function(_0x457e70){let _0x4cfa39=_0x457e70['startState'],_0x1d4ff9=_0x4cfa39['facet'](Wy),_0x1f13eb=_0x457e70;for(let _0x1135c5=_0x1d4ff9['length']-0x1;_0x1135c5>=0x0;_0x1135c5--){let _0x35ba3e=_0x1d4ff9[_0x1135c5](_0x457e70);_0x35ba3e&&Object['keys'](_0x35ba3e)['length']&&(_0x1f13eb=Ky(_0x1f13eb,Jy(_0x4cfa39,_0x35ba3e,_0x457e70['changes']['newLength']),!0x0));}return _0x1f13eb==_0x457e70?_0x457e70:Transaction['create'](_0x4cfa39,_0x457e70['changes'],_0x457e70['selection'],_0x1f13eb['effects'],_0x1f13eb['annotations'],_0x1f13eb['scrollIntoView']);}(_0x54fa63?function(_0x4c3d0d){let _0x4f2a56=_0x4c3d0d['startState'],_0x1604ec=!0x0;for(let _0x63c664 of _0x4f2a56['facet'](Xy)){let _0x2ad457=_0x63c664(_0x4c3d0d);if(!0x1===_0x2ad457){_0x1604ec=!0x1;break;}Array['isArray'](_0x2ad457)&&(_0x1604ec=!0x0===_0x1604ec?_0x2ad457:Yy(_0x1604ec,_0x2ad457));}if(!0x0!==_0x1604ec){let _0x436a19,_0x3d2c8e;if(!0x1===_0x1604ec)_0x3d2c8e=_0x4c3d0d['changes']['invertedDesc'],_0x436a19=ChangeSet['empty'](_0x4f2a56['doc']['length']);else{let _0x586ab0=_0x4c3d0d['changes']['filter'](_0x1604ec);_0x436a19=_0x586ab0['changes'],_0x3d2c8e=_0x586ab0['filtered']['mapDesc'](_0x586ab0['changes'])['invertedDesc'];}_0x4c3d0d=Transaction['create'](_0x4f2a56,_0x436a19,_0x4c3d0d['selection']&&_0x4c3d0d['selection']['map'](_0x3d2c8e),StateEffect['mapEffects'](_0x4c3d0d['effects'],_0x3d2c8e),_0x4c3d0d['annotations'],_0x4c3d0d['scrollIntoView']);}let _0x4ed33f=_0x4f2a56['facet'](qy);for(let _0x438dce=_0x4ed33f['length']-0x1;_0x438dce>=0x0;_0x438dce--){let _0x314280=_0x4ed33f[_0x438dce](_0x4c3d0d);_0x4c3d0d=_0x314280 instanceof Transaction?_0x314280:Array['isArray'](_0x314280)&&0x1==_0x314280['length']&&_0x314280[0x0]instanceof Transaction?_0x314280[0x0]:t_(_0x4f2a56,i_(_0x314280),!0x1);}return _0x4c3d0d;}(_0x535abb):_0x535abb);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const e_=[];function i_(_0x2dbcec){return null==_0x2dbcec?e_:Array['isArray'](_0x2dbcec)?_0x2dbcec:[_0x2dbcec];}var s_=function(_0x1c713e){return _0x1c713e[_0x1c713e['Word']=0x0]='Word',_0x1c713e[_0x1c713e['Space']=0x1]='Space',_0x1c713e[_0x1c713e['Other']=0x2]='Other',_0x1c713e;}(s_||(s_={}));const n_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let r_;try{r_=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x97d6b6){}function o_(_0x479551){return _0xffbe9c=>{if(!/\S/['test'](_0xffbe9c))return s_['Space'];if(function(_0x2ed401){if(r_)return r_['test'](_0x2ed401);for(let _0x7070bd=0x0;_0x7070bd<_0x2ed401['length'];_0x7070bd++){let _0xa52e1d=_0x2ed401[_0x7070bd];if(/\w/['test'](_0xa52e1d)||_0xa52e1d>'\u0080'&&(_0xa52e1d['toUpperCase']()!=_0xa52e1d['toLowerCase']()||n_['test'](_0xa52e1d)))return!0x0;}return!0x1;}(_0xffbe9c))return s_['Word'];for(let _0xd2211e=0x0;_0xd2211e<_0x479551['length'];_0xd2211e++)if(_0xffbe9c['indexOf'](_0x479551[_0xd2211e])>-0x1)return s_['Word'];return s_['Other'];};}class EditorState{constructor(_0x5e8586,_0x3eee8d,_0x33ba73,_0x30f85f,_0x2589a3,_0x1e9dcc){this['config']=_0x5e8586,this['doc']=_0x3eee8d,this['selection']=_0x33ba73,this['values']=_0x30f85f,this['status']=_0x5e8586['statusTemplate']['slice'](),this['computeSlot']=_0x2589a3,_0x1e9dcc&&(_0x1e9dcc['_state']=this);for(let _0x3f9477=0x0;_0x3f9477<this['config']['dynamicSlots']['length'];_0x3f9477++)Fy(this,_0x3f9477<<0x1);this['computeSlot']=null;}['field'](_0x5029cc,_0x62734c=!0x0){let _0x3039df=this['config']['address'][_0x5029cc['id']];if(null!=_0x3039df)return Fy(this,_0x3039df),jy(this,_0x3039df);if(_0x62734c)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x3d4073){return t_(this,_0x3d4073,!0x0);}['applyTransaction'](_0x3df8c8){let _0x38d3c3,_0x428051=this['config'],{base:_0x126357,compartments:_0x3b016a}=_0x428051;for(let _0x280d15 of _0x3df8c8['effects'])_0x280d15['is'](Compartment['reconfigure'])?(_0x428051&&(_0x3b016a=new Map(),_0x428051['compartments']['forEach']((_0x21003a,_0x4395f2)=>_0x3b016a['set'](_0x4395f2,_0x21003a)),_0x428051=null),_0x3b016a['set'](_0x280d15['value']['compartment'],_0x280d15['value']['extension'])):_0x280d15['is'](StateEffect['reconfigure'])?(_0x428051=null,_0x126357=_0x280d15['value']):_0x280d15['is'](StateEffect['appendConfig'])&&(_0x428051=null,_0x126357=i_(_0x126357)['concat'](_0x280d15['value']));if(_0x428051)_0x38d3c3=_0x3df8c8['startState']['values']['slice']();else _0x428051=Configuration['resolve'](_0x126357,_0x3b016a,this),_0x38d3c3=new EditorState(_0x428051,this['doc'],this['selection'],_0x428051['dynamicSlots']['map'](()=>null),(_0x24ddde,_0x56443c)=>_0x56443c['reconfigure'](_0x24ddde,this),null)['values'];let _0x407ce8=_0x3df8c8['startState']['facet'](Gy)?_0x3df8c8['newSelection']:_0x3df8c8['newSelection']['asSingle']();new EditorState(_0x428051,_0x3df8c8['newDoc'],_0x407ce8,_0x38d3c3,(_0x3bc67f,_0x48bae6)=>_0x48bae6['update'](_0x3bc67f,_0x3df8c8),_0x3df8c8);}['replaceSelection'](_0x1af377){return'string'==typeof _0x1af377&&(_0x1af377=this['toText'](_0x1af377)),this['changeByRange'](_0x1d4e9c=>({'changes':{'from':_0x1d4e9c['from'],'to':_0x1d4e9c['to'],'insert':_0x1af377},'range':EditorSelection['cursor'](_0x1d4e9c['from']+_0x1af377['length'])}));}['changeByRange'](_0x27386f){let _0x5cac5c=this['selection'],_0x2c8c1f=_0x27386f(_0x5cac5c['ranges'][0x0]),_0x22fdb9=this['changes'](_0x2c8c1f['changes']),_0x5b5649=[_0x2c8c1f['range']],_0x66d948=i_(_0x2c8c1f['effects']);for(let _0x25d277=0x1;_0x25d277<_0x5cac5c['ranges']['length'];_0x25d277++){let _0x1e906f=_0x27386f(_0x5cac5c['ranges'][_0x25d277]),_0x5918f9=this['changes'](_0x1e906f['changes']),_0x524ac4=_0x5918f9['map'](_0x22fdb9);for(let _0x278467=0x0;_0x278467<_0x25d277;_0x278467++)_0x5b5649[_0x278467]=_0x5b5649[_0x278467]['map'](_0x524ac4);let _0xd38546=_0x22fdb9['mapDesc'](_0x5918f9,!0x0);_0x5b5649['push'](_0x1e906f['range']['map'](_0xd38546)),_0x22fdb9=_0x22fdb9['compose'](_0x524ac4),_0x66d948=StateEffect['mapEffects'](_0x66d948,_0x524ac4)['concat'](StateEffect['mapEffects'](i_(_0x1e906f['effects']),_0xd38546));}return{'changes':_0x22fdb9,'selection':EditorSelection['create'](_0x5b5649,_0x5cac5c['mainIndex']),'effects':_0x66d948};}['changes'](_0x2dfe19=[]){return _0x2dfe19 instanceof ChangeSet?_0x2dfe19:ChangeSet['of'](_0x2dfe19,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x384665){return Text['of'](_0x384665['split'](this['facet'](EditorState['lineSeparator'])||vy));}['sliceDoc'](_0x44979d=0x0,_0x403aec=this['doc']['length']){return this['doc']['sliceString'](_0x44979d,_0x403aec,this['lineBreak']);}['facet'](_0x59bab7){let _0x6a1b83=this['config']['address'][_0x59bab7['id']];return null==_0x6a1b83?_0x59bab7['default']:(Fy(this,_0x6a1b83),jy(this,_0x6a1b83));}['toJSON'](_0x5d2646){let _0xb948e2={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x5d2646)for(let _0x494775 in _0x5d2646){let _0x58eb6a=_0x5d2646[_0x494775];_0x58eb6a instanceof StateField&&null!=this['config']['address'][_0x58eb6a['id']]&&(_0xb948e2[_0x494775]=_0x58eb6a['spec']['toJSON'](this['field'](_0x5d2646[_0x494775]),this));}return _0xb948e2;}static['fromJSON'](_0x38e678,_0x367999={},_0x1a23b3){if(!_0x38e678||'string'!=typeof _0x38e678['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x5ef1ca=[];if(_0x1a23b3){for(let _0x8fc0ec in _0x1a23b3)if(Object['prototype']['hasOwnProperty']['call'](_0x38e678,_0x8fc0ec)){let _0x5590a2=_0x1a23b3[_0x8fc0ec],_0x268024=_0x38e678[_0x8fc0ec];_0x5ef1ca['push'](_0x5590a2['init'](_0x503078=>_0x5590a2['spec']['fromJSON'](_0x268024,_0x503078)));}}return EditorState['create']({'doc':_0x38e678['doc'],'selection':EditorSelection['fromJSON'](_0x38e678['selection']),'extensions':_0x367999['extensions']?_0x5ef1ca['concat']([_0x367999['extensions']]):_0x5ef1ca});}static['create'](_0x35b1f3={}){let _0x2e3209=Configuration['resolve'](_0x35b1f3['extensions']||[],new Map()),_0x23cfb3=_0x35b1f3['doc']instanceof Text?_0x35b1f3['doc']:Text['of']((_0x35b1f3['doc']||'')['split'](_0x2e3209['staticFacet'](EditorState['lineSeparator'])||vy)),_0x24b54c=_0x35b1f3['selection']?_0x35b1f3['selection']instanceof EditorSelection?_0x35b1f3['selection']:EditorSelection['single'](_0x35b1f3['selection']['anchor'],_0x35b1f3['selection']['head']):EditorSelection['single'](0x0);return ky(_0x24b54c,_0x23cfb3['length']),_0x2e3209['staticFacet'](Gy)||(_0x24b54c=_0x24b54c['asSingle']()),new EditorState(_0x2e3209,_0x23cfb3,_0x24b54c,_0x2e3209['dynamicSlots']['map'](()=>null),(_0x9046ba,_0x22ee9d)=>_0x22ee9d['create'](_0x9046ba),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](zy);}['phrase'](_0x29a42d,..._0x2893c5){for(let _0x45f150 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x45f150,_0x29a42d)){_0x29a42d=_0x45f150[_0x29a42d];break;}return _0x2893c5['length']&&(_0x29a42d=_0x29a42d['replace'](/\$(\$|\d*)/g,(_0x3997f6,_0x3a0358)=>{if('$'==_0x3a0358)return'$';let _0x554e1e=+(_0x3a0358||0x1);return!_0x554e1e||_0x554e1e>_0x2893c5['length']?_0x3997f6:_0x2893c5[_0x554e1e-0x1];})),_0x29a42d;}['languageDataAt'](_0x556bd6,_0x41ce3a,_0x189e76=-0x1){let _0xd4e804=[];for(let _0x30230d of this['facet'](Hy))for(let _0x58e9e9 of _0x30230d(this,_0x41ce3a,_0x189e76))Object['prototype']['hasOwnProperty']['call'](_0x58e9e9,_0x556bd6)&&_0xd4e804['push'](_0x58e9e9[_0x556bd6]);return _0xd4e804;}['charCategorizer'](_0x53907e){return o_(this['languageDataAt']('wordChars',_0x53907e)['join'](''));}['wordAt'](_0x1bfa6f){let {text:_0x1caca9,from:_0xfb9a64,length:_0x23d89f}=this['doc']['lineAt'](_0x1bfa6f),_0x89b0a9=this['charCategorizer'](_0x1bfa6f),_0x552332=_0x1bfa6f-_0xfb9a64,_0x11e618=_0x1bfa6f-_0xfb9a64;for(;_0x552332>0x0;){let _0x189f88=wy(_0x1caca9,_0x552332,!0x1);if(_0x89b0a9(_0x1caca9['slice'](_0x189f88,_0x552332))!=s_['Word'])break;_0x552332=_0x189f88;}for(;_0x11e618<_0x23d89f;){let _0x5d1eee=wy(_0x1caca9,_0x11e618);if(_0x89b0a9(_0x1caca9['slice'](_0x11e618,_0x5d1eee))!=s_['Word'])break;_0x11e618=_0x5d1eee;}return _0x552332==_0x11e618?null:EditorSelection['range'](_0x552332+_0xfb9a64,_0x11e618+_0xfb9a64);}}function a_(_0x51906a,_0x23216a,_0x460277={}){let _0x30a770={};for(let _0x93f7f of _0x51906a)for(let _0x31a3a0 of Object['keys'](_0x93f7f)){let _0x30c217=_0x93f7f[_0x31a3a0],_0x52528c=_0x30a770[_0x31a3a0];if(void 0x0===_0x52528c)_0x30a770[_0x31a3a0]=_0x30c217;else{if(_0x52528c===_0x30c217||void 0x0===_0x30c217);else{if(!Object['hasOwnProperty']['call'](_0x460277,_0x31a3a0))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x31a3a0);_0x30a770[_0x31a3a0]=_0x460277[_0x31a3a0](_0x52528c,_0x30c217);}}}for(let _0x1b8173 in _0x23216a)void 0x0===_0x30a770[_0x1b8173]&&(_0x30a770[_0x1b8173]=_0x23216a[_0x1b8173]);return _0x30a770;}EditorState['allowMultipleSelections']=Gy,EditorState['tabSize']=Facet['define']({'combine':_0x22f83c=>_0x22f83c['length']?_0x22f83c[0x0]:0x4}),EditorState['lineSeparator']=Zy,EditorState['readOnly']=zy,EditorState['phrases']=Facet['define']({'compare'(_0x3d45fb,_0x361e92){let _0x29ba41=Object['keys'](_0x3d45fb),_0x5c1324=Object['keys'](_0x361e92);return _0x29ba41['length']==_0x5c1324['length']&&_0x29ba41['every'](_0xc327d9=>_0x3d45fb[_0xc327d9]==_0x361e92[_0xc327d9]);}}),EditorState['languageData']=Hy,EditorState['changeFilter']=Xy,EditorState['transactionFilter']=qy,EditorState['transactionExtender']=Wy,Compartment['reconfigure']=StateEffect['define']();class RangeValue{['eq'](_0x117876){return this==_0x117876;}['range'](_0x38214d,_0x3ab0be=_0x38214d){return c_['create'](_0x38214d,_0x3ab0be,this);}}RangeValue['prototype']['startSide']=RangeValue['prototype']['endSide']=0x0,RangeValue['prototype']['point']=!0x1,RangeValue['prototype']['mapMode']=Ty['TrackDel'];let c_=class Range{constructor(_0x158de2,_0x1761fe,_0xa18cfb){this['from']=_0x158de2,this['to']=_0x1761fe,this['value']=_0xa18cfb;}static['create'](_0x260227,_0x26bab7,_0x4ac034){return new Range(_0x260227,_0x26bab7,_0x4ac034);}};function l_(_0x586c62,_0x2688b4){return _0x586c62['from']-_0x2688b4['from']||_0x586c62['value']['startSide']-_0x2688b4['value']['startSide'];}class Chunk{constructor(_0x41c997,_0xd9f2b5,_0x499935,_0x4f7639){this['from']=_0x41c997,this['to']=_0xd9f2b5,this['value']=_0x499935,this['maxPoint']=_0x4f7639;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x3583f0,_0x19c946,_0x1f4b4a,_0x518aeb=0x0){let _0x2e2c8e=_0x1f4b4a?this['to']:this['from'];for(let _0x5d7bb9=_0x518aeb,_0x1df246=_0x2e2c8e['length'];;){if(_0x5d7bb9==_0x1df246)return _0x5d7bb9;let _0xb4b303=_0x5d7bb9+_0x1df246>>0x1,_0x24c659=_0x2e2c8e[_0xb4b303]-_0x3583f0||(_0x1f4b4a?this['value'][_0xb4b303]['endSide']:this['value'][_0xb4b303]['startSide'])-_0x19c946;if(_0xb4b303==_0x5d7bb9)return _0x24c659>=0x0?_0x5d7bb9:_0x1df246;_0x24c659>=0x0?_0x1df246=_0xb4b303:_0x5d7bb9=_0xb4b303+0x1;}}['between'](_0x3c83ff,_0x3b1e0f,_0x3d2510,_0x4072a3){for(let _0x193434=this['findIndex'](_0x3b1e0f,-0x3b9aca00,!0x0),_0x3ac55c=this['findIndex'](_0x3d2510,0x3b9aca00,!0x1,_0x193434);_0x193434<_0x3ac55c;_0x193434++)if(!0x1===_0x4072a3(this['from'][_0x193434]+_0x3c83ff,this['to'][_0x193434]+_0x3c83ff,this['value'][_0x193434]))return!0x1;}['map'](_0x216cb1,_0x517408){let _0x2e9f3a=[],_0x1e3514=[],_0x148e93=[],_0x7b96a=-0x1,_0x3bd1c4=-0x1;for(let _0x1f1e44=0x0;_0x1f1e44<this['value']['length'];_0x1f1e44++){let _0x3fc080,_0x4f8afd,_0x4648a8=this['value'][_0x1f1e44],_0x4d5d30=this['from'][_0x1f1e44]+_0x216cb1,_0xc0a191=this['to'][_0x1f1e44]+_0x216cb1;if(_0x4d5d30==_0xc0a191){let _0x26b31a=_0x517408['mapPos'](_0x4d5d30,_0x4648a8['startSide'],_0x4648a8['mapMode']);if(null==_0x26b31a)continue;if(_0x3fc080=_0x4f8afd=_0x26b31a,_0x4648a8['startSide']!=_0x4648a8['endSide']&&(_0x4f8afd=_0x517408['mapPos'](_0x4d5d30,_0x4648a8['endSide']),_0x4f8afd<_0x3fc080))continue;}else{if(_0x3fc080=_0x517408['mapPos'](_0x4d5d30,_0x4648a8['startSide']),_0x4f8afd=_0x517408['mapPos'](_0xc0a191,_0x4648a8['endSide']),_0x3fc080>_0x4f8afd||_0x3fc080==_0x4f8afd&&_0x4648a8['startSide']>0x0&&_0x4648a8['endSide']<=0x0)continue;}(_0x4f8afd-_0x3fc080||_0x4648a8['endSide']-_0x4648a8['startSide'])<0x0||(_0x7b96a<0x0&&(_0x7b96a=_0x3fc080),_0x4648a8['point']&&(_0x3bd1c4=Math['max'](_0x3bd1c4,_0x4f8afd-_0x3fc080)),_0x2e9f3a['push'](_0x4648a8),_0x1e3514['push'](_0x3fc080-_0x7b96a),_0x148e93['push'](_0x4f8afd-_0x7b96a));}return{'mapped':_0x2e9f3a['length']?new Chunk(_0x1e3514,_0x148e93,_0x2e9f3a,_0x3bd1c4):null,'pos':_0x7b96a};}}class RangeSet{constructor(_0x369e86,_0x137273,_0x3442ac,_0x1115e0){this['chunkPos']=_0x369e86,this['chunk']=_0x137273,this['nextLayer']=_0x3442ac,this['maxPoint']=_0x1115e0;}static['create'](_0x214e47,_0x5ca256,_0x29f1cc,_0x59c2bf){return new RangeSet(_0x214e47,_0x5ca256,_0x29f1cc,_0x59c2bf);}get['length'](){let _0xe3b6c5=this['chunk']['length']-0x1;return _0xe3b6c5<0x0?0x0:Math['max'](this['chunkEnd'](_0xe3b6c5),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x44d27c=this['nextLayer']['size'];for(let _0x6f55d5 of this['chunk'])_0x44d27c+=_0x6f55d5['value']['length'];return _0x44d27c;}['chunkEnd'](_0x5288d5){return this['chunkPos'][_0x5288d5]+this['chunk'][_0x5288d5]['length'];}['update'](_0x35ae89){let {add:_0x520441=[],sort:_0x501d53=!0x1,filterFrom:_0x2938de=0x0,filterTo:_0x151eda=this['length']}=_0x35ae89,_0x55e6d9=_0x35ae89['filter'];if(0x0==_0x520441['length']&&!_0x55e6d9)return this;if(_0x501d53&&(_0x520441=_0x520441['slice']()['sort'](l_)),this['isEmpty'])return _0x520441['length']?RangeSet['of'](_0x520441):this;let _0x43bd3e=new LayerCursor(this,null,-0x1)['goto'](0x0),_0xfdd42=0x0,_0x215fd4=[],_0x390639=new RangeSetBuilder();for(;_0x43bd3e['value']||_0xfdd42<_0x520441['length'];)if(_0xfdd42<_0x520441['length']&&(_0x43bd3e['from']-_0x520441[_0xfdd42]['from']||_0x43bd3e['startSide']-_0x520441[_0xfdd42]['value']['startSide'])>=0x0){let _0x35039b=_0x520441[_0xfdd42++];_0x390639['addInner'](_0x35039b['from'],_0x35039b['to'],_0x35039b['value'])||_0x215fd4['push'](_0x35039b);}else 0x1==_0x43bd3e['rangeIndex']&&_0x43bd3e['chunkIndex']<this['chunk']['length']&&(_0xfdd42==_0x520441['length']||this['chunkEnd'](_0x43bd3e['chunkIndex'])<_0x520441[_0xfdd42]['from'])&&(!_0x55e6d9||_0x2938de>this['chunkEnd'](_0x43bd3e['chunkIndex'])||_0x151eda<this['chunkPos'][_0x43bd3e['chunkIndex']])&&_0x390639['addChunk'](this['chunkPos'][_0x43bd3e['chunkIndex']],this['chunk'][_0x43bd3e['chunkIndex']])?_0x43bd3e['nextChunk']():((!_0x55e6d9||_0x2938de>_0x43bd3e['to']||_0x151eda<_0x43bd3e['from']||_0x55e6d9(_0x43bd3e['from'],_0x43bd3e['to'],_0x43bd3e['value']))&&(_0x390639['addInner'](_0x43bd3e['from'],_0x43bd3e['to'],_0x43bd3e['value'])||_0x215fd4['push'](c_['create'](_0x43bd3e['from'],_0x43bd3e['to'],_0x43bd3e['value']))),_0x43bd3e['next']());return _0x390639['finishInner'](this['nextLayer']['isEmpty']&&!_0x215fd4['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x215fd4,'filter':_0x55e6d9,'filterFrom':_0x2938de,'filterTo':_0x151eda}));}['map'](_0x19dcc7){if(_0x19dcc7['empty']||this['isEmpty'])return this;let _0x5ba666=[],_0x3a0681=[],_0x49b732=-0x1;for(let _0x3b623d=0x0;_0x3b623d<this['chunk']['length'];_0x3b623d++){let _0xa9795e=this['chunkPos'][_0x3b623d],_0x58e6e2=this['chunk'][_0x3b623d],_0x1cfa7c=_0x19dcc7['touchesRange'](_0xa9795e,_0xa9795e+_0x58e6e2['length']);if(!0x1===_0x1cfa7c)_0x49b732=Math['max'](_0x49b732,_0x58e6e2['maxPoint']),_0x5ba666['push'](_0x58e6e2),_0x3a0681['push'](_0x19dcc7['mapPos'](_0xa9795e));else{if(!0x0===_0x1cfa7c){let {mapped:_0x2d8d86,pos:_0x306ba8}=_0x58e6e2['map'](_0xa9795e,_0x19dcc7);_0x2d8d86&&(_0x49b732=Math['max'](_0x49b732,_0x2d8d86['maxPoint']),_0x5ba666['push'](_0x2d8d86),_0x3a0681['push'](_0x306ba8));}}}let _0x515b51=this['nextLayer']['map'](_0x19dcc7);return 0x0==_0x5ba666['length']?_0x515b51:new RangeSet(_0x3a0681,_0x5ba666,_0x515b51||RangeSet['empty'],_0x49b732);}['between'](_0x54b8a3,_0x463dd2,_0xf083f7){if(!this['isEmpty']){for(let _0xa71ccc=0x0;_0xa71ccc<this['chunk']['length'];_0xa71ccc++){let _0x48d402=this['chunkPos'][_0xa71ccc],_0x4c7c1e=this['chunk'][_0xa71ccc];if(_0x463dd2>=_0x48d402&&_0x54b8a3<=_0x48d402+_0x4c7c1e['length']&&!0x1===_0x4c7c1e['between'](_0x48d402,_0x54b8a3-_0x48d402,_0x463dd2-_0x48d402,_0xf083f7))return;}this['nextLayer']['between'](_0x54b8a3,_0x463dd2,_0xf083f7);}}['iter'](_0x51a891=0x0){return HeapCursor['from']([this])['goto'](_0x51a891);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x1fc813,_0x4ef020=0x0){return HeapCursor['from'](_0x1fc813)['goto'](_0x4ef020);}static['compare'](_0x344542,_0x26f1e3,_0x7a9110,_0x4d0f01,_0x5f090f=-0x1){let _0x129890=_0x344542['filter'](_0xb99fcc=>_0xb99fcc['maxPoint']>0x0||!_0xb99fcc['isEmpty']&&_0xb99fcc['maxPoint']>=_0x5f090f),_0x537047=_0x26f1e3['filter'](_0x5de4fa=>_0x5de4fa['maxPoint']>0x0||!_0x5de4fa['isEmpty']&&_0x5de4fa['maxPoint']>=_0x5f090f),_0x3eb853=h_(_0x129890,_0x537047,_0x7a9110),_0x366e79=new SpanCursor(_0x129890,_0x3eb853,_0x5f090f),_0x1b0468=new SpanCursor(_0x537047,_0x3eb853,_0x5f090f);_0x7a9110['iterGaps']((_0x429b0c,_0x2ca9da,_0x3a815c)=>d_(_0x366e79,_0x429b0c,_0x1b0468,_0x2ca9da,_0x3a815c,_0x4d0f01)),_0x7a9110['empty']&&0x0==_0x7a9110['length']&&d_(_0x366e79,0x0,_0x1b0468,0x0,0x0,_0x4d0f01);}static['eq'](_0x2995f9,_0x3c5a7e,_0x102099=0x0,_0x536fe6){null==_0x536fe6&&(_0x536fe6=0x3b9ac9ff);let _0x5267ce=_0x2995f9['filter'](_0x540623=>!_0x540623['isEmpty']&&_0x3c5a7e['indexOf'](_0x540623)<0x0),_0x4242a5=_0x3c5a7e['filter'](_0x5ba559=>!_0x5ba559['isEmpty']&&_0x2995f9['indexOf'](_0x5ba559)<0x0);if(_0x5267ce['length']!=_0x4242a5['length'])return!0x1;if(!_0x5267ce['length'])return!0x0;let _0x49a264=h_(_0x5267ce,_0x4242a5),_0x31dadf=new SpanCursor(_0x5267ce,_0x49a264,0x0)['goto'](_0x102099),_0x39c0ee=new SpanCursor(_0x4242a5,_0x49a264,0x0)['goto'](_0x102099);for(;;){if(_0x31dadf['to']!=_0x39c0ee['to']||!f_(_0x31dadf['active'],_0x39c0ee['active'])||_0x31dadf['point']&&(!_0x39c0ee['point']||!_0x31dadf['point']['eq'](_0x39c0ee['point'])))return!0x1;if(_0x31dadf['to']>_0x536fe6)return!0x0;_0x31dadf['next'](),_0x39c0ee['next']();}}static['spans'](_0x1ba7c2,_0x2f84d3,_0x1df2ae,_0x59a1eb,_0x16c915=-0x1){let _0x1e12eb=new SpanCursor(_0x1ba7c2,null,_0x16c915)['goto'](_0x2f84d3),_0x49859b=_0x2f84d3,_0x431b0b=_0x1e12eb['openStart'];for(;;){let _0x165fe5=Math['min'](_0x1e12eb['to'],_0x1df2ae);if(_0x1e12eb['point']){let _0x2acf6b=_0x1e12eb['activeForPoint'](_0x1e12eb['to']),_0x1163d4=_0x1e12eb['pointFrom']<_0x2f84d3?_0x2acf6b['length']+0x1:_0x1e12eb['point']['startSide']<0x0?_0x2acf6b['length']:Math['min'](_0x2acf6b['length'],_0x431b0b);_0x59a1eb['point'](_0x49859b,_0x165fe5,_0x1e12eb['point'],_0x2acf6b,_0x1163d4,_0x1e12eb['pointRank']),_0x431b0b=Math['min'](_0x1e12eb['openEnd'](_0x165fe5),_0x2acf6b['length']);}else _0x165fe5>_0x49859b&&(_0x59a1eb['span'](_0x49859b,_0x165fe5,_0x1e12eb['active'],_0x431b0b),_0x431b0b=_0x1e12eb['openEnd'](_0x165fe5));if(_0x1e12eb['to']>_0x1df2ae)return _0x431b0b+(_0x1e12eb['point']&&_0x1e12eb['to']>_0x1df2ae?0x1:0x0);_0x49859b=_0x1e12eb['to'],_0x1e12eb['next']();}}static['of'](_0x1d55a4,_0x5717fb=!0x1){let _0x350837=new RangeSetBuilder();for(let _0x1037f3 of _0x1d55a4 instanceof c_?[_0x1d55a4]:_0x5717fb?function(_0x185ef3){if(_0x185ef3['length']>0x1)for(let _0x4bb0d6=_0x185ef3[0x0],_0x2badf5=0x1;_0x2badf5<_0x185ef3['length'];_0x2badf5++){let _0x39b1c3=_0x185ef3[_0x2badf5];if(l_(_0x4bb0d6,_0x39b1c3)>0x0)return _0x185ef3['slice']()['sort'](l_);_0x4bb0d6=_0x39b1c3;}return _0x185ef3;}(_0x1d55a4):_0x1d55a4)_0x350837['add'](_0x1037f3['from'],_0x1037f3['to'],_0x1037f3['value']);return _0x350837['finish']();}static['join'](_0x4b6908){if(!_0x4b6908['length'])return RangeSet['empty'];let _0x2672e7=_0x4b6908[_0x4b6908['length']-0x1];for(let _0x403cf1=_0x4b6908['length']-0x2;_0x403cf1>=0x0;_0x403cf1--)for(let _0x32a516=_0x4b6908[_0x403cf1];_0x32a516!=RangeSet['empty'];_0x32a516=_0x32a516['nextLayer'])_0x2672e7=new RangeSet(_0x32a516['chunkPos'],_0x32a516['chunk'],_0x2672e7,Math['max'](_0x32a516['maxPoint'],_0x2672e7['maxPoint']));return _0x2672e7;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x1860b5){this['chunks']['push'](new Chunk(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,_0x1860b5&&(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'](_0x285595,_0x102554,_0x1c2515){this['addInner'](_0x285595,_0x102554,_0x1c2515)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x285595,_0x102554,_0x1c2515);}['addInner'](_0x314928,_0x342a0c,_0x4eee75){let _0x51972e=_0x314928-this['lastTo']||_0x4eee75['startSide']-this['last']['endSide'];if(_0x51972e<=0x0&&(_0x314928-this['lastFrom']||_0x4eee75['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x51972e<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x314928),this['from']['push'](_0x314928-this['chunkStart']),this['to']['push'](_0x342a0c-this['chunkStart']),this['last']=_0x4eee75,this['lastFrom']=_0x314928,this['lastTo']=_0x342a0c,this['value']['push'](_0x4eee75),_0x4eee75['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x342a0c-_0x314928)),!0x0);}['addChunk'](_0x5b76a2,_0x3c97c7){if((_0x5b76a2-this['lastTo']||_0x3c97c7['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x3c97c7['maxPoint']),this['chunks']['push'](_0x3c97c7),this['chunkPos']['push'](_0x5b76a2);let _0x2f602c=_0x3c97c7['value']['length']-0x1;return this['last']=_0x3c97c7['value'][_0x2f602c],this['lastFrom']=_0x3c97c7['from'][_0x2f602c]+_0x5b76a2,this['lastTo']=_0x3c97c7['to'][_0x2f602c]+_0x5b76a2,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x1f3ad7){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x1f3ad7;let _0x4adcc3=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x1f3ad7):_0x1f3ad7,this['setMaxPoint']);return this['from']=null,_0x4adcc3;}}function h_(_0x1dd45b,_0x318c7a,_0xd6036a){let _0xfe880=new Map();for(let _0x2b6717 of _0x1dd45b)for(let _0x295eee=0x0;_0x295eee<_0x2b6717['chunk']['length'];_0x295eee++)_0x2b6717['chunk'][_0x295eee]['maxPoint']<=0x0&&_0xfe880['set'](_0x2b6717['chunk'][_0x295eee],_0x2b6717['chunkPos'][_0x295eee]);let _0xd09d54=new Set();for(let _0x352e0a of _0x318c7a)for(let _0x1ed06e=0x0;_0x1ed06e<_0x352e0a['chunk']['length'];_0x1ed06e++){let _0x43fc1b=_0xfe880['get'](_0x352e0a['chunk'][_0x1ed06e]);null==_0x43fc1b||(_0xd6036a?_0xd6036a['mapPos'](_0x43fc1b):_0x43fc1b)!=_0x352e0a['chunkPos'][_0x1ed06e]||(null==_0xd6036a?void 0x0:_0xd6036a['touchesRange'](_0x43fc1b,_0x43fc1b+_0x352e0a['chunk'][_0x1ed06e]['length']))||_0xd09d54['add'](_0x352e0a['chunk'][_0x1ed06e]);}return _0xd09d54;}class LayerCursor{constructor(_0x38ba6e,_0x2dce42,_0x12bd87,_0x82835=0x0){this['layer']=_0x38ba6e,this['skip']=_0x2dce42,this['minPoint']=_0x12bd87,this['rank']=_0x82835;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x50dc6b,_0x35c2bc=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x50dc6b,_0x35c2bc,!0x1),this;}['gotoInner'](_0x5a2402,_0x3a7f65,_0x2bf7ae){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x383eec=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x383eec)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x5a2402||_0x383eec['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x2bf7ae=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x25f466=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x5a2402-this['layer']['chunkPos'][this['chunkIndex']],_0x3a7f65,!0x0);(!_0x2bf7ae||this['rangeIndex']<_0x25f466)&&this['setRangeIndex'](_0x25f466);}this['next']();}['forward'](_0x4c23d7,_0x3e53e0){(this['to']-_0x4c23d7||this['endSide']-_0x3e53e0)<0x0&&this['gotoInner'](_0x4c23d7,_0x3e53e0,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x38b816=this['layer']['chunkPos'][this['chunkIndex']],_0x2ac314=this['layer']['chunk'][this['chunkIndex']],_0x33c925=_0x38b816+_0x2ac314['from'][this['rangeIndex']];if(this['from']=_0x33c925,this['to']=_0x38b816+_0x2ac314['to'][this['rangeIndex']],this['value']=_0x2ac314['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x3fba73){if(_0x3fba73==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']=_0x3fba73;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x37dba4){return this['from']-_0x37dba4['from']||this['startSide']-_0x37dba4['startSide']||this['rank']-_0x37dba4['rank']||this['to']-_0x37dba4['to']||this['endSide']-_0x37dba4['endSide'];}}class HeapCursor{constructor(_0x110d28){this['heap']=_0x110d28;}static['from'](_0x2f0035,_0x11b574=null,_0x27c495=-0x1){let _0xd76f56=[];for(let _0x1c9462=0x0;_0x1c9462<_0x2f0035['length'];_0x1c9462++)for(let _0x5a8178=_0x2f0035[_0x1c9462];!_0x5a8178['isEmpty'];_0x5a8178=_0x5a8178['nextLayer'])_0x5a8178['maxPoint']>=_0x27c495&&_0xd76f56['push'](new LayerCursor(_0x5a8178,_0x11b574,_0x27c495,_0x1c9462));return 0x1==_0xd76f56['length']?_0xd76f56[0x0]:new HeapCursor(_0xd76f56);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x2aab5e,_0x2323e8=-0x3b9aca00){for(let _0x8f7e5d of this['heap'])_0x8f7e5d['goto'](_0x2aab5e,_0x2323e8);for(let _0x14c9fe=this['heap']['length']>>0x1;_0x14c9fe>=0x0;_0x14c9fe--)u_(this['heap'],_0x14c9fe);return this['next'](),this;}['forward'](_0x1db591,_0x280595){for(let _0x42e44f of this['heap'])_0x42e44f['forward'](_0x1db591,_0x280595);for(let _0x1f9a29=this['heap']['length']>>0x1;_0x1f9a29>=0x0;_0x1f9a29--)u_(this['heap'],_0x1f9a29);(this['to']-_0x1db591||this['value']['endSide']-_0x280595)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x3f7448=this['heap'][0x0];this['from']=_0x3f7448['from'],this['to']=_0x3f7448['to'],this['value']=_0x3f7448['value'],this['rank']=_0x3f7448['rank'],_0x3f7448['value']&&_0x3f7448['next'](),u_(this['heap'],0x0);}}}function u_(_0x19f05f,_0x1ab7af){for(let _0xed4884=_0x19f05f[_0x1ab7af];;){let _0x31639a=0x1+(_0x1ab7af<<0x1);if(_0x31639a>=_0x19f05f['length'])break;let _0x53c8e0=_0x19f05f[_0x31639a];if(_0x31639a+0x1<_0x19f05f['length']&&_0x53c8e0['compare'](_0x19f05f[_0x31639a+0x1])>=0x0&&(_0x53c8e0=_0x19f05f[_0x31639a+0x1],_0x31639a++),_0xed4884['compare'](_0x53c8e0)<0x0)break;_0x19f05f[_0x31639a]=_0xed4884,_0x19f05f[_0x1ab7af]=_0x53c8e0,_0x1ab7af=_0x31639a;}}class SpanCursor{constructor(_0x4c27bb,_0x1dc20d,_0x5a6ec0){this['minPoint']=_0x5a6ec0,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']=HeapCursor['from'](_0x4c27bb,_0x1dc20d,_0x5a6ec0);}['goto'](_0x5713dd,_0x1f3d65=-0x3b9aca00){return this['cursor']['goto'](_0x5713dd,_0x1f3d65),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x5713dd,this['endSide']=_0x1f3d65,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x399fd7,_0x447654){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x399fd7||this['active'][this['minActive']]['endSide']-_0x447654)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x399fd7,_0x447654);}['removeActive'](_0x7b80a5){m_(this['active'],_0x7b80a5),m_(this['activeTo'],_0x7b80a5),m_(this['activeRank'],_0x7b80a5),this['minActive']=p_(this['active'],this['activeTo']);}['addActive'](_0x4f5703){let _0x1ffa08=0x0,{value:_0x5f425a,to:_0x5859ae,rank:_0xfa81e3}=this['cursor'];for(;_0x1ffa08<this['activeRank']['length']&&(_0xfa81e3-this['activeRank'][_0x1ffa08]||_0x5859ae-this['activeTo'][_0x1ffa08])>0x0;)_0x1ffa08++;g_(this['active'],_0x1ffa08,_0x5f425a),g_(this['activeTo'],_0x1ffa08,_0x5859ae),g_(this['activeRank'],_0x1ffa08,_0xfa81e3),_0x4f5703&&g_(_0x4f5703,_0x1ffa08,this['cursor']['from']),this['minActive']=p_(this['active'],this['activeTo']);}['next'](){let _0x563811=this['to'],_0x8d1b6a=this['point'];this['point']=null;let _0x571af7=this['openStart']<0x0?[]:null;for(;;){let _0x474d04=this['minActive'];if(_0x474d04>-0x1&&(this['activeTo'][_0x474d04]-this['cursor']['from']||this['active'][_0x474d04]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x474d04]>_0x563811){this['to']=this['activeTo'][_0x474d04],this['endSide']=this['active'][_0x474d04]['endSide'];break;}this['removeActive'](_0x474d04),_0x571af7&&m_(_0x571af7,_0x474d04);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x563811){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x2cc8a1=this['cursor']['value'];if(_0x2cc8a1['point']){if(!(_0x8d1b6a&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x2cc8a1,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x2cc8a1['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x571af7),this['cursor']['next']();}}}if(_0x571af7){this['openStart']=0x0;for(let _0x2fef5e=_0x571af7['length']-0x1;_0x2fef5e>=0x0&&_0x571af7[_0x2fef5e]<_0x563811;_0x2fef5e--)this['openStart']++;}}['activeForPoint'](_0x3752f0){if(!this['active']['length'])return this['active'];let _0x159a2e=[];for(let _0x31aa49=this['active']['length']-0x1;_0x31aa49>=0x0&&!(this['activeRank'][_0x31aa49]<this['pointRank']);_0x31aa49--)(this['activeTo'][_0x31aa49]>_0x3752f0||this['activeTo'][_0x31aa49]==_0x3752f0&&this['active'][_0x31aa49]['endSide']>=this['point']['endSide'])&&_0x159a2e['push'](this['active'][_0x31aa49]);return _0x159a2e['reverse']();}['openEnd'](_0x15c392){let _0xf945ca=0x0;for(let _0x19fa1f=this['activeTo']['length']-0x1;_0x19fa1f>=0x0&&this['activeTo'][_0x19fa1f]>_0x15c392;_0x19fa1f--)_0xf945ca++;return _0xf945ca;}}function d_(_0xa5a555,_0x27a42f,_0x5e3cc3,_0x59756f,_0x4290ad,_0x25a77e){_0xa5a555['goto'](_0x27a42f),_0x5e3cc3['goto'](_0x59756f);let _0x5982a8=_0x59756f+_0x4290ad,_0x48aaf7=_0x59756f,_0x394aeb=_0x59756f-_0x27a42f;for(;;){let _0x37916c=_0xa5a555['to']+_0x394aeb-_0x5e3cc3['to'],_0x3bc821=_0x37916c||_0xa5a555['endSide']-_0x5e3cc3['endSide'],_0x2bed82=_0x3bc821<0x0?_0xa5a555['to']+_0x394aeb:_0x5e3cc3['to'],_0x148243=Math['min'](_0x2bed82,_0x5982a8);if(_0xa5a555['point']||_0x5e3cc3['point']?_0xa5a555['point']&&_0x5e3cc3['point']&&(_0xa5a555['point']==_0x5e3cc3['point']||_0xa5a555['point']['eq'](_0x5e3cc3['point']))&&f_(_0xa5a555['activeForPoint'](_0xa5a555['to']),_0x5e3cc3['activeForPoint'](_0x5e3cc3['to']))||_0x25a77e['comparePoint'](_0x48aaf7,_0x148243,_0xa5a555['point'],_0x5e3cc3['point']):_0x148243>_0x48aaf7&&!f_(_0xa5a555['active'],_0x5e3cc3['active'])&&_0x25a77e['compareRange'](_0x48aaf7,_0x148243,_0xa5a555['active'],_0x5e3cc3['active']),_0x2bed82>_0x5982a8)break;(_0x37916c||_0xa5a555['openEnd']!=_0x5e3cc3['openEnd'])&&_0x25a77e['boundChange']&&_0x25a77e['boundChange'](_0x2bed82),_0x48aaf7=_0x2bed82,_0x3bc821<=0x0&&_0xa5a555['next'](),_0x3bc821>=0x0&&_0x5e3cc3['next']();}}function f_(_0x56751a,_0x5ee094){if(_0x56751a['length']!=_0x5ee094['length'])return!0x1;for(let _0x2257ba=0x0;_0x2257ba<_0x56751a['length'];_0x2257ba++)if(_0x56751a[_0x2257ba]!=_0x5ee094[_0x2257ba]&&!_0x56751a[_0x2257ba]['eq'](_0x5ee094[_0x2257ba]))return!0x1;return!0x0;}function m_(_0x1b93a4,_0x5ba3e7){for(let _0x7af7ef=_0x5ba3e7,_0x50687c=_0x1b93a4['length']-0x1;_0x7af7ef<_0x50687c;_0x7af7ef++)_0x1b93a4[_0x7af7ef]=_0x1b93a4[_0x7af7ef+0x1];_0x1b93a4['pop']();}function g_(_0x19f594,_0x39700c,_0x1e041a){for(let _0x49b70a=_0x19f594['length']-0x1;_0x49b70a>=_0x39700c;_0x49b70a--)_0x19f594[_0x49b70a+0x1]=_0x19f594[_0x49b70a];_0x19f594[_0x39700c]=_0x1e041a;}function p_(_0x182713,_0x4ca185){let _0x44e500=-0x1,_0x307ef8=0x3b9aca00;for(let _0x47ab33=0x0;_0x47ab33<_0x4ca185['length'];_0x47ab33++)(_0x4ca185[_0x47ab33]-_0x307ef8||_0x182713[_0x47ab33]['endSide']-_0x182713[_0x44e500]['endSide'])<0x0&&(_0x44e500=_0x47ab33,_0x307ef8=_0x4ca185[_0x47ab33]);return _0x44e500;}function O_(_0x586b1d,_0x571e8e,_0x146047=_0x586b1d['length']){let _0x1faebb=0x0;for(let _0x3772d4=0x0;_0x3772d4<_0x146047&&_0x3772d4<_0x586b1d['length'];)0x9==_0x586b1d['charCodeAt'](_0x3772d4)?(_0x1faebb+=_0x571e8e-_0x1faebb%_0x571e8e,_0x3772d4++):(_0x1faebb++,_0x3772d4=wy(_0x586b1d,_0x3772d4));return _0x1faebb;}function w_(_0x3bea58,_0x57abc3,_0xfb777e,_0x8db2eb){for(let _0x529da5=0x0,_0x4b3961=0x0;;){if(_0x4b3961>=_0x57abc3)return _0x529da5;if(_0x529da5==_0x3bea58['length'])break;_0x4b3961+=0x9==_0x3bea58['charCodeAt'](_0x529da5)?_0xfb777e-_0x4b3961%_0xfb777e:0x1,_0x529da5=wy(_0x3bea58,_0x529da5);}return!0x0===_0x8db2eb?-0x1:_0x3bea58['length'];}const b_='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),y_='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),__='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x560305,_0x38e019){this['rules']=[];let {finish:_0x246f14}=_0x38e019||{};function _0x3f8272(_0x1082a7){return/^@/['test'](_0x1082a7)?[_0x1082a7]:_0x1082a7['split'](/,\s*/);}function _0x12f812(_0x296994,_0x45f4e3,_0x2205fe,_0x33fd85){let _0x2123cd=[],_0x5ce5e1=/^@(\w+)\b/['exec'](_0x296994[0x0]),_0x4ccc1e=_0x5ce5e1&&'keyframes'==_0x5ce5e1[0x1];if(_0x5ce5e1&&null==_0x45f4e3)return _0x2205fe['push'](_0x296994[0x0]+';');for(let _0x126581 in _0x45f4e3){let _0xd99584=_0x45f4e3[_0x126581];if(/&/['test'](_0x126581))_0x12f812(_0x126581['split'](/,\s*/)['map'](_0x2306af=>_0x296994['map'](_0x1bcc61=>_0x2306af['replace'](/&/,_0x1bcc61)))['reduce']((_0x3c104f,_0x342190)=>_0x3c104f['concat'](_0x342190)),_0xd99584,_0x2205fe);else{if(_0xd99584&&'object'==typeof _0xd99584){if(!_0x5ce5e1)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x126581+')\x20should\x20be\x20a\x20primitive\x20value.');_0x12f812(_0x3f8272(_0x126581),_0xd99584,_0x2123cd,_0x4ccc1e);}else null!=_0xd99584&&_0x2123cd['push'](_0x126581['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x3df8b3=>'-'+_0x3df8b3['toLowerCase']())+':\x20'+_0xd99584+';');}}(_0x2123cd['length']||_0x4ccc1e)&&_0x2205fe['push']((!_0x246f14||_0x5ce5e1||_0x33fd85?_0x296994:_0x296994['map'](_0x246f14))['join'](',\x20')+'\x20{'+_0x2123cd['join']('\x20')+'}');}for(let _0xa33a43 in _0x560305)_0x12f812(_0x3f8272(_0xa33a43),_0x560305[_0xa33a43],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x2be06e=__[b_]||0x1;return __[b_]=_0x2be06e+0x1,'ͼ'+_0x2be06e['toString'](0x24);}static['mount'](_0x54deae,_0x3df130,_0x34d6c8){let _0x2fa37f=_0x54deae[y_],_0x310baf=_0x34d6c8&&_0x34d6c8['nonce'];_0x2fa37f?_0x310baf&&_0x2fa37f['setNonce'](_0x310baf):_0x2fa37f=new StyleSet(_0x54deae,_0x310baf),_0x2fa37f['mount'](Array['isArray'](_0x3df130)?_0x3df130:[_0x3df130],_0x54deae);}}let v_=new Map();class StyleSet{constructor(_0xcd6eb0,_0x3a4f37){let _0x3be925=_0xcd6eb0['ownerDocument']||_0xcd6eb0,_0x4fc234=_0x3be925['defaultView'];if(!_0xcd6eb0['head']&&_0xcd6eb0['adoptedStyleSheets']&&_0x4fc234['CSSStyleSheet']){let _0x4cc0c3=v_['get'](_0x3be925);if(_0x4cc0c3)return _0xcd6eb0[y_]=_0x4cc0c3;this['sheet']=new _0x4fc234['CSSStyleSheet'](),v_['set'](_0x3be925,this);}else this['styleTag']=_0x3be925['createElement']('style'),_0x3a4f37&&this['styleTag']['setAttribute']('nonce',_0x3a4f37);this['modules']=[],_0xcd6eb0[y_]=this;}['mount'](_0x50f2e2,_0x22ffcd){let _0x508fa7=this['sheet'],_0x51e729=0x0,_0x11991a=0x0;for(let _0xdadb24=0x0;_0xdadb24<_0x50f2e2['length'];_0xdadb24++){let _0x58decc=_0x50f2e2[_0xdadb24],_0x3cfed5=this['modules']['indexOf'](_0x58decc);if(_0x3cfed5<_0x11991a&&_0x3cfed5>-0x1&&(this['modules']['splice'](_0x3cfed5,0x1),_0x11991a--,_0x3cfed5=-0x1),-0x1==_0x3cfed5){if(this['modules']['splice'](_0x11991a++,0x0,_0x58decc),_0x508fa7){for(let _0x1bf0b0=0x0;_0x1bf0b0<_0x58decc['rules']['length'];_0x1bf0b0++)_0x508fa7['insertRule'](_0x58decc['rules'][_0x1bf0b0],_0x51e729++);}}else{for(;_0x11991a<_0x3cfed5;)_0x51e729+=this['modules'][_0x11991a++]['rules']['length'];_0x51e729+=_0x58decc['rules']['length'],_0x11991a++;}}if(_0x508fa7)_0x22ffcd['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x22ffcd['adoptedStyleSheets']=[this['sheet'],..._0x22ffcd['adoptedStyleSheets']]);else{let _0x16e528='';for(let _0x5f4daf=0x0;_0x5f4daf<this['modules']['length'];_0x5f4daf++)_0x16e528+=this['modules'][_0x5f4daf]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x16e528;let _0xdd2fca=_0x22ffcd['head']||_0x22ffcd;this['styleTag']['parentNode']!=_0xdd2fca&&_0xdd2fca['insertBefore'](this['styleTag'],_0xdd2fca['firstChild']);}}['setNonce'](_0x354f08){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x354f08&&this['styleTag']['setAttribute']('nonce',_0x354f08);}}for(var T_={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'},E_={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'},A_='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),S_='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),I_=0x0;I_<0xa;I_++)T_[0x30+I_]=T_[0x60+I_]=String(I_);for(I_=0x1;I_<=0x18;I_++)T_[I_+0x6f]='F'+I_;for(I_=0x41;I_<=0x5a;I_++)T_[I_]=String['fromCharCode'](I_+0x20),E_[I_]=String['fromCharCode'](I_);for(var C_ in T_)E_['hasOwnProperty'](C_)||(E_[C_]=T_[C_]);let k_='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},x_='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const R_=/Edge\/(\d+)/['exec'](k_['userAgent']),P_=/MSIE \d/['test'](k_['userAgent']),M_=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](k_['userAgent']),N_=!!(P_||M_||R_),L_=!N_&&/gecko\/(\d+)/i['test'](k_['userAgent']),D_=!N_&&/Chrome\/(\d+)/['exec'](k_['userAgent']),Q_='webkitFontSmoothing'in x_['documentElement']['style'],$_=!N_&&/Apple Computer/['test'](k_['vendor']),V_=$_&&(/Mobile\/\w+/['test'](k_['userAgent'])||k_['maxTouchPoints']>0x2);var U_={'mac':V_||/Mac/['test'](k_['platform']),'windows':/Win/['test'](k_['platform']),'linux':/Linux|X11/['test'](k_['platform']),'ie':N_,'ie_version':P_?x_['documentMode']||0x6:M_?+M_[0x1]:R_?+R_[0x1]:0x0,'gecko':L_,'gecko_version':L_?+(/Firefox\/(\d+)/['exec'](k_['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!D_,'chrome_version':D_?+D_[0x1]:0x0,'ios':V_,'android':/Android\b/['test'](k_['userAgent']),'webkit_version':Q_?+(/\bAppleWebKit\/(\d+)/['exec'](k_['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':$_,'safari_version':$_?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](k_['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=x_['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function B_(_0x1429a4){let _0x101683;return _0x101683=0xb==_0x1429a4['nodeType']?_0x1429a4['getSelection']?_0x1429a4:_0x1429a4['ownerDocument']:_0x1429a4,_0x101683['getSelection']();}function F_(_0x56a1df,_0x24df5a){return!!_0x24df5a&&(_0x56a1df==_0x24df5a||_0x56a1df['contains'](0x1!=_0x24df5a['nodeType']?_0x24df5a['parentNode']:_0x24df5a));}function j_(_0x443539,_0x337413){if(!_0x337413['anchorNode'])return!0x1;try{return F_(_0x443539,_0x337413['anchorNode']);}catch(_0x43aed8){return!0x1;}}function H_(_0x30433b){return 0x3==_0x30433b['nodeType']?iv(_0x30433b,0x0,_0x30433b['nodeValue']['length'])['getClientRects']():0x1==_0x30433b['nodeType']?_0x30433b['getClientRects']():[];}function G_(_0x2e492d,_0x497a56,_0xa7be3a,_0x5cb1e2){return!!_0xa7be3a&&(q_(_0x2e492d,_0x497a56,_0xa7be3a,_0x5cb1e2,-0x1)||q_(_0x2e492d,_0x497a56,_0xa7be3a,_0x5cb1e2,0x1));}function Z_(_0x1b47ed){for(var _0x550b31=0x0;;_0x550b31++)if(!(_0x1b47ed=_0x1b47ed['previousSibling']))return _0x550b31;}function X_(_0x46c105){return 0x1==_0x46c105['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x46c105['nodeName']);}function q_(_0x13b629,_0x19d1f5,_0x5200d8,_0x401acc,_0x146488){for(;;){if(_0x13b629==_0x5200d8&&_0x19d1f5==_0x401acc)return!0x0;if(_0x19d1f5==(_0x146488<0x0?0x0:W_(_0x13b629))){if('DIV'==_0x13b629['nodeName'])return!0x1;let _0x1431db=_0x13b629['parentNode'];if(!_0x1431db||0x1!=_0x1431db['nodeType'])return!0x1;_0x19d1f5=Z_(_0x13b629)+(_0x146488<0x0?0x0:0x1),_0x13b629=_0x1431db;}else{if(0x1!=_0x13b629['nodeType'])return!0x1;if(0x1==(_0x13b629=_0x13b629['childNodes'][_0x19d1f5+(_0x146488<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x13b629['contentEditable'])return!0x1;_0x19d1f5=_0x146488<0x0?W_(_0x13b629):0x0;}}}function W_(_0x1a85de){return 0x3==_0x1a85de['nodeType']?_0x1a85de['nodeValue']['length']:_0x1a85de['childNodes']['length'];}function z_(_0x278cb8,_0x45522d){let _0x490884=_0x45522d?_0x278cb8['left']:_0x278cb8['right'];return{'left':_0x490884,'right':_0x490884,'top':_0x278cb8['top'],'bottom':_0x278cb8['bottom']};}function Y_(_0x2e83e8){let _0x6a6292=_0x2e83e8['visualViewport'];return _0x6a6292?{'left':0x0,'right':_0x6a6292['width'],'top':0x0,'bottom':_0x6a6292['height']}:{'left':0x0,'right':_0x2e83e8['innerWidth'],'top':0x0,'bottom':_0x2e83e8['innerHeight']};}function K_(_0x5ee43e,_0xf015ad){let _0x50d5a6=_0xf015ad['width']/_0x5ee43e['offsetWidth'],_0x46a637=_0xf015ad['height']/_0x5ee43e['offsetHeight'];return(_0x50d5a6>0.995&&_0x50d5a6<1.005||!isFinite(_0x50d5a6)||Math['abs'](_0xf015ad['width']-_0x5ee43e['offsetWidth'])<0x1)&&(_0x50d5a6=0x1),(_0x46a637>0.995&&_0x46a637<1.005||!isFinite(_0x46a637)||Math['abs'](_0xf015ad['height']-_0x5ee43e['offsetHeight'])<0x1)&&(_0x46a637=0x1),{'scaleX':_0x50d5a6,'scaleY':_0x46a637};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x428aa1){return this['anchorNode']==_0x428aa1['anchorNode']&&this['anchorOffset']==_0x428aa1['anchorOffset']&&this['focusNode']==_0x428aa1['focusNode']&&this['focusOffset']==_0x428aa1['focusOffset'];}['setRange'](_0x1afbc9){let {anchorNode:_0xa6e2ed,focusNode:_0x386340}=_0x1afbc9;this['set'](_0xa6e2ed,Math['min'](_0x1afbc9['anchorOffset'],_0xa6e2ed?W_(_0xa6e2ed):0x0),_0x386340,Math['min'](_0x1afbc9['focusOffset'],_0x386340?W_(_0x386340):0x0));}['set'](_0x231ce7,_0x5cce1b,_0x4020e9,_0x1b2082){this['anchorNode']=_0x231ce7,this['anchorOffset']=_0x5cce1b,this['focusNode']=_0x4020e9,this['focusOffset']=_0x1b2082;}}let J_,tv=null;function ev(_0x15cde5){if(_0x15cde5['setActive'])return _0x15cde5['setActive']();if(tv)return _0x15cde5['focus'](tv);let _0x34e07f=[];for(let _0x10aeba=_0x15cde5;_0x10aeba&&(_0x34e07f['push'](_0x10aeba,_0x10aeba['scrollTop'],_0x10aeba['scrollLeft']),_0x10aeba!=_0x10aeba['ownerDocument']);_0x10aeba=_0x10aeba['parentNode']);if(_0x15cde5['focus'](null==tv?{get 'preventScroll'(){return tv={'preventScroll':!0x0},!0x0;}}:void 0x0),!tv){tv=!0x1;for(let _0x34248b=0x0;_0x34248b<_0x34e07f['length'];){let _0x664f50=_0x34e07f[_0x34248b++],_0x56c286=_0x34e07f[_0x34248b++],_0x3554e5=_0x34e07f[_0x34248b++];_0x664f50['scrollTop']!=_0x56c286&&(_0x664f50['scrollTop']=_0x56c286),_0x664f50['scrollLeft']!=_0x3554e5&&(_0x664f50['scrollLeft']=_0x3554e5);}}}function iv(_0x2531f1,_0x1cc511,_0x29e740=_0x1cc511){let _0x90464f=J_||(J_=document['createRange']());return _0x90464f['setEnd'](_0x2531f1,_0x29e740),_0x90464f['setStart'](_0x2531f1,_0x1cc511),_0x90464f;}function sv(_0x38988e,_0xc03ccd,_0x5766d1,_0x3a006c){let _0x79eb12={'key':_0xc03ccd,'code':_0xc03ccd,'keyCode':_0x5766d1,'which':_0x5766d1,'cancelable':!0x0};_0x3a006c&&({altKey:_0x79eb12['altKey'],ctrlKey:_0x79eb12['ctrlKey'],shiftKey:_0x79eb12['shiftKey'],metaKey:_0x79eb12['metaKey']}=_0x3a006c);let _0x574ecd=new KeyboardEvent('keydown',_0x79eb12);_0x574ecd['synthetic']=!0x0,_0x38988e['dispatchEvent'](_0x574ecd);let _0x30a992=new KeyboardEvent('keyup',_0x79eb12);return _0x30a992['synthetic']=!0x0,_0x38988e['dispatchEvent'](_0x30a992),_0x574ecd['defaultPrevented']||_0x30a992['defaultPrevented'];}function nv(_0x1b9498){for(;_0x1b9498['attributes']['length'];)_0x1b9498['removeAttributeNode'](_0x1b9498['attributes'][0x0]);}function rv(_0x2625f5){return _0x2625f5['scrollTop']>Math['max'](0x1,_0x2625f5['scrollHeight']-_0x2625f5['clientHeight']-0x4);}function ov(_0x144a7f,_0x5d8dc7){for(let _0x15b5d3=_0x144a7f,_0x328ae4=_0x5d8dc7;;){if(0x3==_0x15b5d3['nodeType']&&_0x328ae4>0x0)return{'node':_0x15b5d3,'offset':_0x328ae4};if(0x1==_0x15b5d3['nodeType']&&_0x328ae4>0x0){if('false'==_0x15b5d3['contentEditable'])return null;_0x15b5d3=_0x15b5d3['childNodes'][_0x328ae4-0x1],_0x328ae4=W_(_0x15b5d3);}else{if(!_0x15b5d3['parentNode']||X_(_0x15b5d3))return null;_0x328ae4=Z_(_0x15b5d3),_0x15b5d3=_0x15b5d3['parentNode'];}}}function av(_0x57fcca,_0x1a59fa){for(let _0x18797e=_0x57fcca,_0x2dcdf8=_0x1a59fa;;){if(0x3==_0x18797e['nodeType']&&_0x2dcdf8<_0x18797e['nodeValue']['length'])return{'node':_0x18797e,'offset':_0x2dcdf8};if(0x1==_0x18797e['nodeType']&&_0x2dcdf8<_0x18797e['childNodes']['length']){if('false'==_0x18797e['contentEditable'])return null;_0x18797e=_0x18797e['childNodes'][_0x2dcdf8],_0x2dcdf8=0x0;}else{if(!_0x18797e['parentNode']||X_(_0x18797e))return null;_0x2dcdf8=Z_(_0x18797e)+0x1,_0x18797e=_0x18797e['parentNode'];}}}U_['safari']&&U_['safari_version']>=0x1a&&(tv=!0x1);class DOMPos{constructor(_0x1a0f68,_0x171349,_0x5a1dd7=!0x0){this['node']=_0x1a0f68,this['offset']=_0x171349,this['precise']=_0x5a1dd7;}static['before'](_0x248476,_0x2fa4f1){return new DOMPos(_0x248476['parentNode'],Z_(_0x248476),_0x2fa4f1);}static['after'](_0x495aa2,_0x4956da){return new DOMPos(_0x495aa2['parentNode'],Z_(_0x495aa2)+0x1,_0x4956da);}}const cv=[];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'](_0x456efe){let _0x32cee6=this['posAtStart'];for(let _0x264e19 of this['children']){if(_0x264e19==_0x456efe)return _0x32cee6;_0x32cee6+=_0x264e19['length']+_0x264e19['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x25f688){return this['posBefore'](_0x25f688)+_0x25f688['length'];}['sync'](_0x2ef8cf,_0x482272){if(0x2&this['flags']){let _0x387110,_0x19469f=this['dom'],_0x273964=null;for(let _0x13a0ee of this['children']){if(0x7&_0x13a0ee['flags']){if(!_0x13a0ee['dom']&&(_0x387110=_0x273964?_0x273964['nextSibling']:_0x19469f['firstChild'])){let _0x5be5ae=ContentView['get'](_0x387110);(!_0x5be5ae||!_0x5be5ae['parent']&&_0x5be5ae['canReuseDOM'](_0x13a0ee))&&_0x13a0ee['reuseDOM'](_0x387110);}_0x13a0ee['sync'](_0x2ef8cf,_0x482272),_0x13a0ee['flags']&=-0x8;}if(_0x387110=_0x273964?_0x273964['nextSibling']:_0x19469f['firstChild'],_0x482272&&!_0x482272['written']&&_0x482272['node']==_0x19469f&&_0x387110!=_0x13a0ee['dom']&&(_0x482272['written']=!0x0),_0x13a0ee['dom']['parentNode']==_0x19469f){for(;_0x387110&&_0x387110!=_0x13a0ee['dom'];)_0x387110=lv(_0x387110);}else _0x19469f['insertBefore'](_0x13a0ee['dom'],_0x387110);_0x273964=_0x13a0ee['dom'];}for(_0x387110=_0x273964?_0x273964['nextSibling']:_0x19469f['firstChild'],_0x387110&&_0x482272&&_0x482272['node']==_0x19469f&&(_0x482272['written']=!0x0);_0x387110;)_0x387110=lv(_0x387110);}else{if(0x1&this['flags']){for(let _0x36dde5 of this['children'])0x7&_0x36dde5['flags']&&(_0x36dde5['sync'](_0x2ef8cf,_0x482272),_0x36dde5['flags']&=-0x8);}}}['reuseDOM'](_0x5eb1e4){}['localPosFromDOM'](_0x144004,_0x4aa9fe){let _0x28f7b1;if(_0x144004==this['dom'])_0x28f7b1=this['dom']['childNodes'][_0x4aa9fe];else{let _0x1e02e6=0x0==W_(_0x144004)?0x0:0x0==_0x4aa9fe?-0x1:0x1;for(;;){let _0x3ce379=_0x144004['parentNode'];if(_0x3ce379==this['dom'])break;0x0==_0x1e02e6&&_0x3ce379['firstChild']!=_0x3ce379['lastChild']&&(_0x1e02e6=_0x144004==_0x3ce379['firstChild']?-0x1:0x1),_0x144004=_0x3ce379;}_0x28f7b1=_0x1e02e6<0x0?_0x144004:_0x144004['nextSibling'];}if(_0x28f7b1==this['dom']['firstChild'])return 0x0;for(;_0x28f7b1&&!ContentView['get'](_0x28f7b1);)_0x28f7b1=_0x28f7b1['nextSibling'];if(!_0x28f7b1)return this['length'];for(let _0x4d4aee=0x0,_0x427577=0x0;;_0x4d4aee++){let _0x32f555=this['children'][_0x4d4aee];if(_0x32f555['dom']==_0x28f7b1)return _0x427577;_0x427577+=_0x32f555['length']+_0x32f555['breakAfter'];}}['domBoundsAround'](_0x3cf341,_0x18cbca,_0x27ee90=0x0){let _0xba822e=-0x1,_0x55d59b=-0x1,_0x1a7032=-0x1,_0x3a626d=-0x1;for(let _0x542dec=0x0,_0xd06620=_0x27ee90,_0x46dfc2=_0x27ee90;_0x542dec<this['children']['length'];_0x542dec++){let _0xc9be77=this['children'][_0x542dec],_0x18a4de=_0xd06620+_0xc9be77['length'];if(_0xd06620<_0x3cf341&&_0x18a4de>_0x18cbca)return _0xc9be77['domBoundsAround'](_0x3cf341,_0x18cbca,_0xd06620);if(_0x18a4de>=_0x3cf341&&-0x1==_0xba822e&&(_0xba822e=_0x542dec,_0x55d59b=_0xd06620),_0xd06620>_0x18cbca&&_0xc9be77['dom']['parentNode']==this['dom']){_0x1a7032=_0x542dec,_0x3a626d=_0x46dfc2;break;}_0x46dfc2=_0x18a4de,_0xd06620=_0x18a4de+_0xc9be77['breakAfter'];}return{'from':_0x55d59b,'to':_0x3a626d<0x0?_0x27ee90+this['length']:_0x3a626d,'startDOM':(_0xba822e?this['children'][_0xba822e-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x1a7032<this['children']['length']&&_0x1a7032>=0x0?this['children'][_0x1a7032]['dom']:null};}['markDirty'](_0x3b0c0f=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x3b0c0f);}['markParentsDirty'](_0x25d68f){for(let _0x162c89=this['parent'];_0x162c89;_0x162c89=_0x162c89['parent']){if(_0x25d68f&&(_0x162c89['flags']|=0x2),0x1&_0x162c89['flags'])return;_0x162c89['flags']|=0x1,_0x25d68f=!0x1;}}['setParent'](_0x1e96fe){this['parent']!=_0x1e96fe&&(this['parent']=_0x1e96fe,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x13c54b){this['dom']!=_0x13c54b&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x13c54b,_0x13c54b['cmView']=this);}get['rootView'](){for(let _0x2137c5=this;;){let _0x1d2cb1=_0x2137c5['parent'];if(!_0x1d2cb1)return _0x2137c5;_0x2137c5=_0x1d2cb1;}}['replaceChildren'](_0xcbc162,_0x481414,_0x54dfca=cv){this['markDirty']();for(let _0x16416f=_0xcbc162;_0x16416f<_0x481414;_0x16416f++){let _0x10be2b=this['children'][_0x16416f];_0x10be2b['parent']==this&&_0x54dfca['indexOf'](_0x10be2b)<0x0&&_0x10be2b['destroy']();}_0x54dfca['length']<0xfa?this['children']['splice'](_0xcbc162,_0x481414-_0xcbc162,..._0x54dfca):this['children']=[]['concat'](this['children']['slice'](0x0,_0xcbc162),_0x54dfca,this['children']['slice'](_0x481414));for(let _0x58388b=0x0;_0x58388b<_0x54dfca['length'];_0x58388b++)_0x54dfca[_0x58388b]['setParent'](this);}['ignoreMutation'](_0x9ecabe){return!0x1;}['ignoreEvent'](_0xd548fd){return!0x1;}['childCursor'](_0x58596a=this['length']){return new ChildCursor(this['children'],_0x58596a,this['children']['length']);}['childPos'](_0x26e758,_0x5f3482=0x1){return this['childCursor']()['findPos'](_0x26e758,_0x5f3482);}['toString'](){let _0x41aa72=this['constructor']['name']['replace']('View','');return _0x41aa72+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x41aa72?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x5188c6){return _0x5188c6['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x53e049,_0x55d70a,_0x36cab9,_0xb1af79,_0x1cc3cd,_0x830903){return!0x1;}['become'](_0x1241d0){return!0x1;}['canReuseDOM'](_0x5b6672){return _0x5b6672['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x5b6672['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x30c5db of this['children'])_0x30c5db['parent']==this&&_0x30c5db['destroy']();this['parent']=null;}}function lv(_0x4abf87){let _0x1f7b60=_0x4abf87['nextSibling'];return _0x4abf87['parentNode']['removeChild'](_0x4abf87),_0x1f7b60;}ContentView['prototype']['breakAfter']=0x0;class ChildCursor{constructor(_0x3a2bc9,_0x57f639,_0x15c781){this['children']=_0x3a2bc9,this['pos']=_0x57f639,this['i']=_0x15c781,this['off']=0x0;}['findPos'](_0x5e527a,_0x2ab79a=0x1){for(;;){if(_0x5e527a>this['pos']||_0x5e527a==this['pos']&&(_0x2ab79a>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x5e527a-this['pos'],this;let _0x462ca2=this['children'][--this['i']];this['pos']-=_0x462ca2['length']+_0x462ca2['breakAfter'];}}}function hv(_0x568008,_0x36f97f,_0x708683,_0x2aa5c6,_0x4d2549,_0x3830e2,_0x444eb1,_0x2ed737,_0x407001){let {children:_0x105adc}=_0x568008,_0x12cac2=_0x105adc['length']?_0x105adc[_0x36f97f]:null,_0x3a69e6=_0x3830e2['length']?_0x3830e2[_0x3830e2['length']-0x1]:null,_0x4725df=_0x3a69e6?_0x3a69e6['breakAfter']:_0x444eb1;if(!(_0x36f97f==_0x2aa5c6&&_0x12cac2&&!_0x444eb1&&!_0x4725df&&_0x3830e2['length']<0x2&&_0x12cac2['merge'](_0x708683,_0x4d2549,_0x3830e2['length']?_0x3a69e6:null,0x0==_0x708683,_0x2ed737,_0x407001))){if(_0x2aa5c6<_0x105adc['length']){let _0x2045b7=_0x105adc[_0x2aa5c6];_0x2045b7&&(_0x4d2549<_0x2045b7['length']||_0x2045b7['breakAfter']&&(null==_0x3a69e6?void 0x0:_0x3a69e6['breakAfter']))?(_0x36f97f==_0x2aa5c6&&(_0x2045b7=_0x2045b7['split'](_0x4d2549),_0x4d2549=0x0),!_0x4725df&&_0x3a69e6&&_0x2045b7['merge'](0x0,_0x4d2549,_0x3a69e6,!0x0,0x0,_0x407001)?_0x3830e2[_0x3830e2['length']-0x1]=_0x2045b7:((_0x4d2549||_0x2045b7['children']['length']&&!_0x2045b7['children'][0x0]['length'])&&_0x2045b7['merge'](0x0,_0x4d2549,null,!0x1,0x0,_0x407001),_0x3830e2['push'](_0x2045b7))):(null==_0x2045b7?void 0x0:_0x2045b7['breakAfter'])&&(_0x3a69e6?_0x3a69e6['breakAfter']=0x1:_0x444eb1=0x1),_0x2aa5c6++;}for(_0x12cac2&&(_0x12cac2['breakAfter']=_0x444eb1,_0x708683>0x0&&(!_0x444eb1&&_0x3830e2['length']&&_0x12cac2['merge'](_0x708683,_0x12cac2['length'],_0x3830e2[0x0],!0x1,_0x2ed737,0x0)?_0x12cac2['breakAfter']=_0x3830e2['shift']()['breakAfter']:(_0x708683<_0x12cac2['length']||_0x12cac2['children']['length']&&0x0==_0x12cac2['children'][_0x12cac2['children']['length']-0x1]['length'])&&_0x12cac2['merge'](_0x708683,_0x12cac2['length'],null,!0x1,_0x2ed737,0x0),_0x36f97f++));_0x36f97f<_0x2aa5c6&&_0x3830e2['length'];)if(_0x105adc[_0x2aa5c6-0x1]['become'](_0x3830e2[_0x3830e2['length']-0x1]))_0x2aa5c6--,_0x3830e2['pop'](),_0x407001=_0x3830e2['length']?0x0:_0x2ed737;else{if(!_0x105adc[_0x36f97f]['become'](_0x3830e2[0x0]))break;_0x36f97f++,_0x3830e2['shift'](),_0x2ed737=_0x3830e2['length']?0x0:_0x407001;}!_0x3830e2['length']&&_0x36f97f&&_0x2aa5c6<_0x105adc['length']&&!_0x105adc[_0x36f97f-0x1]['breakAfter']&&_0x105adc[_0x2aa5c6]['merge'](0x0,0x0,_0x105adc[_0x36f97f-0x1],!0x1,_0x2ed737,_0x407001)&&_0x36f97f--,(_0x36f97f<_0x2aa5c6||_0x3830e2['length'])&&_0x568008['replaceChildren'](_0x36f97f,_0x2aa5c6,_0x3830e2);}}function uv(_0x3b7b22,_0xd1f551,_0x4aec1a,_0x181f6d,_0x75e447,_0x5d223e){let _0x557243=_0x3b7b22['childCursor'](),{i:_0x358a2a,off:_0xacab3c}=_0x557243['findPos'](_0x4aec1a,0x1),{i:_0x42c206,off:_0x27b5e1}=_0x557243['findPos'](_0xd1f551,-0x1),_0x7ccb1f=_0xd1f551-_0x4aec1a;for(let _0x123446 of _0x181f6d)_0x7ccb1f+=_0x123446['length'];_0x3b7b22['length']+=_0x7ccb1f,hv(_0x3b7b22,_0x42c206,_0x27b5e1,_0x358a2a,_0xacab3c,_0x181f6d,0x0,_0x75e447,_0x5d223e);}class TextView extends ContentView{constructor(_0x44d2a9){super(),this['text']=_0x44d2a9;}get['length'](){return this['text']['length'];}['createDOM'](_0x3168b8){this['setDOM'](_0x3168b8||document['createTextNode'](this['text']));}['sync'](_0x4ea6df,_0x328f0a){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x328f0a&&_0x328f0a['node']==this['dom']&&(_0x328f0a['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x3d1a64){0x3==_0x3d1a64['nodeType']&&this['createDOM'](_0x3d1a64);}['merge'](_0x4872d1,_0x50b1bd,_0x55bd7a){return!(0x8&this['flags']||_0x55bd7a&&(!(_0x55bd7a instanceof TextView)||this['length']-(_0x50b1bd-_0x4872d1)+_0x55bd7a['length']>0x100||0x8&_0x55bd7a['flags']))&&(this['text']=this['text']['slice'](0x0,_0x4872d1)+(_0x55bd7a?_0x55bd7a['text']:'')+this['text']['slice'](_0x50b1bd),this['markDirty'](),!0x0);}['split'](_0x29f8ca){let _0x346cef=new TextView(this['text']['slice'](_0x29f8ca));return this['text']=this['text']['slice'](0x0,_0x29f8ca),this['markDirty'](),_0x346cef['flags']|=0x8&this['flags'],_0x346cef;}['localPosFromDOM'](_0x3945e3,_0x3e2deb){return _0x3945e3==this['dom']?_0x3e2deb:_0x3e2deb?this['text']['length']:0x0;}['domAtPos'](_0x1b08f7){return new DOMPos(this['dom'],_0x1b08f7);}['domBoundsAround'](_0x5c43cd,_0x5580c7,_0x12a24f){return{'from':_0x12a24f,'to':_0x12a24f+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x2fa3af,_0x3450d7){return function(_0x54c004,_0xd4dffe,_0x133e46){let _0x3166a9=_0x54c004['nodeValue']['length'];_0xd4dffe>_0x3166a9&&(_0xd4dffe=_0x3166a9);let _0x1dc7f2=_0xd4dffe,_0x5bfc9b=_0xd4dffe,_0x222acb=0x0;0x0==_0xd4dffe&&_0x133e46<0x0||_0xd4dffe==_0x3166a9&&_0x133e46>=0x0?U_['chrome']||U_['gecko']||(_0xd4dffe?(_0x1dc7f2--,_0x222acb=0x1):_0x5bfc9b<_0x3166a9&&(_0x5bfc9b++,_0x222acb=-0x1)):_0x133e46<0x0?_0x1dc7f2--:_0x5bfc9b<_0x3166a9&&_0x5bfc9b++;let _0x27c634=iv(_0x54c004,_0x1dc7f2,_0x5bfc9b)['getClientRects']();if(!_0x27c634['length'])return null;let _0x471014=_0x27c634[(_0x222acb?_0x222acb<0x0:_0x133e46>=0x0)?0x0:_0x27c634['length']-0x1];return U_['safari']&&!_0x222acb&&0x0==_0x471014['width']&&(_0x471014=Array['prototype']['find']['call'](_0x27c634,_0x4e785c=>_0x4e785c['width'])||_0x471014),_0x222acb?z_(_0x471014,_0x222acb<0x0):_0x471014||null;}(this['dom'],_0x2fa3af,_0x3450d7);}}class MarkView extends ContentView{constructor(_0x2187bd,_0x2a6ed4=[],_0x5b8145=0x0){super(),this['mark']=_0x2187bd,this['children']=_0x2a6ed4,this['length']=_0x5b8145;for(let _0x3c92e0 of _0x2a6ed4)_0x3c92e0['setParent'](this);}['setAttrs'](_0x58117c){if(nv(_0x58117c),this['mark']['class']&&(_0x58117c['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x2a6d07 in this['mark']['attrs'])_0x58117c['setAttribute'](_0x2a6d07,this['mark']['attrs'][_0x2a6d07]);}return _0x58117c;}['canReuseDOM'](_0x42dac8){return super['canReuseDOM'](_0x42dac8)&&!(0x8&(this['flags']|_0x42dac8['flags']));}['reuseDOM'](_0x4e068d){_0x4e068d['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x4e068d),this['flags']|=0x6);}['sync'](_0x598608,_0x41d7de){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x598608,_0x41d7de);}['merge'](_0x2c3fe7,_0x2fdebd,_0xe403bc,_0x1ae447,_0x104bb6,_0xd13f60){return(!_0xe403bc||!(!(_0xe403bc instanceof MarkView&&_0xe403bc['mark']['eq'](this['mark']))||_0x2c3fe7&&_0x104bb6<=0x0||_0x2fdebd<this['length']&&_0xd13f60<=0x0))&&(uv(this,_0x2c3fe7,_0x2fdebd,_0xe403bc?_0xe403bc['children']['slice']():[],_0x104bb6-0x1,_0xd13f60-0x1),this['markDirty'](),!0x0);}['split'](_0x28facd){let _0x5451f2=[],_0x42e485=0x0,_0x174118=-0x1,_0x3c1668=0x0;for(let _0x281cab of this['children']){let _0x3e750a=_0x42e485+_0x281cab['length'];_0x3e750a>_0x28facd&&_0x5451f2['push'](_0x42e485<_0x28facd?_0x281cab['split'](_0x28facd-_0x42e485):_0x281cab),_0x174118<0x0&&_0x42e485>=_0x28facd&&(_0x174118=_0x3c1668),_0x42e485=_0x3e750a,_0x3c1668++;}let _0x19f726=this['length']-_0x28facd;return this['length']=_0x28facd,_0x174118>-0x1&&(this['children']['length']=_0x174118,this['markDirty']()),new MarkView(this['mark'],_0x5451f2,_0x19f726);}['domAtPos'](_0x40dad0){return dv(this,_0x40dad0);}['coordsAt'](_0x162376,_0x20bc82){return mv(this,_0x162376,_0x20bc82);}}class WidgetView extends ContentView{static['create'](_0x35a103,_0x5491b6,_0x2980c8){return new WidgetView(_0x35a103,_0x5491b6,_0x2980c8);}constructor(_0x1b1a71,_0x972ffe,_0x459eee){super(),this['widget']=_0x1b1a71,this['length']=_0x972ffe,this['side']=_0x459eee,this['prevWidget']=null;}['split'](_0x275b93){let _0x16ae94=WidgetView['create'](this['widget'],this['length']-_0x275b93,this['side']);return this['length']-=_0x275b93,_0x16ae94;}['sync'](_0x45e330){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x45e330)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x45e330)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x5f51e0,_0x1ff120,_0x46913c,_0x2709f9,_0x1e472f,_0x296094){return!(_0x46913c&&(!(_0x46913c instanceof WidgetView&&this['widget']['compare'](_0x46913c['widget']))||_0x5f51e0>0x0&&_0x1e472f<=0x0||_0x1ff120<this['length']&&_0x296094<=0x0))&&(this['length']=_0x5f51e0+(_0x46913c?_0x46913c['length']:0x0)+(this['length']-_0x1ff120),!0x0);}['become'](_0x30419a){return _0x30419a instanceof WidgetView&&_0x30419a['side']==this['side']&&this['widget']['constructor']==_0x30419a['widget']['constructor']&&(this['widget']['compare'](_0x30419a['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x30419a['widget'],this['length']=_0x30419a['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x589b41){return this['widget']['ignoreEvent'](_0x589b41);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x45e5fc=this;for(;_0x45e5fc['parent'];)_0x45e5fc=_0x45e5fc['parent'];let {view:_0x49ac05}=_0x45e5fc,_0x569ae1=_0x49ac05&&_0x49ac05['state']['doc'],_0x2e5b35=this['posAtStart'];return _0x569ae1?_0x569ae1['slice'](_0x2e5b35,_0x2e5b35+this['length']):Text['empty'];}['domAtPos'](_0x90c4c4){return(this['length']?0x0==_0x90c4c4:this['side']>0x0)?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x90c4c4==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x52bdf8,_0x316ed2){let _0x54f749=this['widget']['coordsAt'](this['dom'],_0x52bdf8,_0x316ed2);if(_0x54f749)return _0x54f749;let _0x25df82=this['dom']['getClientRects'](),_0x5f4200=null;if(!_0x25df82['length'])return null;let _0x28b0ac=this['side']?this['side']<0x0:_0x52bdf8>0x0;for(let _0xef69bf=_0x28b0ac?_0x25df82['length']-0x1:0x0;_0x5f4200=_0x25df82[_0xef69bf],!(_0x52bdf8>0x0?0x0==_0xef69bf:_0xef69bf==_0x25df82['length']-0x1||_0x5f4200['top']<_0x5f4200['bottom']);_0xef69bf+=_0x28b0ac?-0x1:0x1);return z_(_0x5f4200,!_0x28b0ac);}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(_0x16bb07){super(),this['side']=_0x16bb07;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x53fc9d){return _0x53fc9d instanceof WidgetBufferView&&_0x53fc9d['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x86a1e4=document['createElement']('img');_0x86a1e4['className']='cm-widgetBuffer',_0x86a1e4['setAttribute']('aria-hidden','true'),this['setDOM'](_0x86a1e4);}}['getSide'](){return this['side'];}['domAtPos'](_0x58d9e4){return this['side']>0x0?DOMPos['before'](this['dom']):DOMPos['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x52d256){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function dv(_0x50812e,_0x535c9f){let _0x2e22a8=_0x50812e['dom'],{children:_0x1c9222}=_0x50812e,_0x2ec468=0x0;for(let _0x2ad581=0x0;_0x2ec468<_0x1c9222['length'];_0x2ec468++){let _0x15f5fa=_0x1c9222[_0x2ec468],_0x510bdd=_0x2ad581+_0x15f5fa['length'];if(!(_0x510bdd==_0x2ad581&&_0x15f5fa['getSide']()<=0x0)){if(_0x535c9f>_0x2ad581&&_0x535c9f<_0x510bdd&&_0x15f5fa['dom']['parentNode']==_0x2e22a8)return _0x15f5fa['domAtPos'](_0x535c9f-_0x2ad581);if(_0x535c9f<=_0x2ad581)break;_0x2ad581=_0x510bdd;}}for(let _0x377feb=_0x2ec468;_0x377feb>0x0;_0x377feb--){let _0x2cc53b=_0x1c9222[_0x377feb-0x1];if(_0x2cc53b['dom']['parentNode']==_0x2e22a8)return _0x2cc53b['domAtPos'](_0x2cc53b['length']);}for(let _0x4e0548=_0x2ec468;_0x4e0548<_0x1c9222['length'];_0x4e0548++){let _0x46f28c=_0x1c9222[_0x4e0548];if(_0x46f28c['dom']['parentNode']==_0x2e22a8)return _0x46f28c['domAtPos'](0x0);}return new DOMPos(_0x2e22a8,0x0);}function fv(_0x1c7051,_0x20a964,_0x5746f4){let _0x392c5f,{children:_0x2aef43}=_0x1c7051;_0x5746f4>0x0&&_0x20a964 instanceof MarkView&&_0x2aef43['length']&&(_0x392c5f=_0x2aef43[_0x2aef43['length']-0x1])instanceof MarkView&&_0x392c5f['mark']['eq'](_0x20a964['mark'])?fv(_0x392c5f,_0x20a964['children'][0x0],_0x5746f4-0x1):(_0x2aef43['push'](_0x20a964),_0x20a964['setParent'](_0x1c7051)),_0x1c7051['length']+=_0x20a964['length'];}function mv(_0x4ab5c8,_0x55dd3e,_0x3c3c26){let _0x33ef4f=null,_0x43c6ab=-0x1,_0x50533e=null,_0x2142b5=-0x1;!function _0x1e80c8(_0x3e5ee2,_0x1b0f9f){for(let _0x37b05f=0x0,_0x191394=0x0;_0x37b05f<_0x3e5ee2['children']['length']&&_0x191394<=_0x1b0f9f;_0x37b05f++){let _0x2f1eb8=_0x3e5ee2['children'][_0x37b05f],_0x1bac8e=_0x191394+_0x2f1eb8['length'];_0x1bac8e>=_0x1b0f9f&&(_0x2f1eb8['children']['length']?_0x1e80c8(_0x2f1eb8,_0x1b0f9f-_0x191394):(!_0x50533e||_0x50533e['isHidden']&&(_0x3c3c26>0x0||gv(_0x50533e,_0x2f1eb8)))&&(_0x1bac8e>_0x1b0f9f||_0x191394==_0x1bac8e&&_0x2f1eb8['getSide']()>0x0)?(_0x50533e=_0x2f1eb8,_0x2142b5=_0x1b0f9f-_0x191394):(_0x191394<_0x1b0f9f||_0x191394==_0x1bac8e&&_0x2f1eb8['getSide']()<0x0&&!_0x2f1eb8['isHidden'])&&(_0x33ef4f=_0x2f1eb8,_0x43c6ab=_0x1b0f9f-_0x191394)),_0x191394=_0x1bac8e;}}(_0x4ab5c8,_0x55dd3e);let _0x1a972f=(_0x3c3c26<0x0?_0x33ef4f:_0x50533e)||_0x33ef4f||_0x50533e;return _0x1a972f?_0x1a972f['coordsAt'](Math['max'](0x0,_0x1a972f==_0x33ef4f?_0x43c6ab:_0x2142b5),_0x3c3c26):function(_0x39cf95){let _0x395e0f=_0x39cf95['dom']['lastChild'];if(!_0x395e0f)return _0x39cf95['dom']['getBoundingClientRect']();let _0x2af93a=H_(_0x395e0f);return _0x2af93a[_0x2af93a['length']-0x1]||null;}(_0x4ab5c8);}function gv(_0x152312,_0x3c1a22){let _0x1306ad=_0x152312['coordsAt'](0x0,0x1),_0x26da6d=_0x3c1a22['coordsAt'](0x0,0x1);return _0x1306ad&&_0x26da6d&&_0x26da6d['top']<_0x1306ad['bottom'];}function pv(_0x5a8506,_0x218c06){for(let _0x3fa402 in _0x5a8506)'class'==_0x3fa402&&_0x218c06['class']?_0x218c06['class']+='\x20'+_0x5a8506['class']:'style'==_0x3fa402&&_0x218c06['style']?_0x218c06['style']+=';'+_0x5a8506['style']:_0x218c06[_0x3fa402]=_0x5a8506[_0x3fa402];return _0x218c06;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=cv;const Ov=Object['create'](null);function wv(_0x5ea709,_0x4582e2,_0x49b836){if(_0x5ea709==_0x4582e2)return!0x0;_0x5ea709||(_0x5ea709=Ov),_0x4582e2||(_0x4582e2=Ov);let _0x21d3f5=Object['keys'](_0x5ea709),_0x451d76=Object['keys'](_0x4582e2);if(_0x21d3f5['length']-(_0x49b836&&_0x21d3f5['indexOf'](_0x49b836)>-0x1?0x1:0x0)!=_0x451d76['length']-(_0x49b836&&_0x451d76['indexOf'](_0x49b836)>-0x1?0x1:0x0))return!0x1;for(let _0x5d5cf2 of _0x21d3f5)if(_0x5d5cf2!=_0x49b836&&(-0x1==_0x451d76['indexOf'](_0x5d5cf2)||_0x5ea709[_0x5d5cf2]!==_0x4582e2[_0x5d5cf2]))return!0x1;return!0x0;}function bv(_0x3deab8,_0x246cc5,_0x231e95){let _0x4e2860=!0x1;if(_0x246cc5){for(let _0x3b5807 in _0x246cc5)_0x231e95&&_0x3b5807 in _0x231e95||(_0x4e2860=!0x0,'style'==_0x3b5807?_0x3deab8['style']['cssText']='':_0x3deab8['removeAttribute'](_0x3b5807));}if(_0x231e95){for(let _0x4f1ddc in _0x231e95)_0x246cc5&&_0x246cc5[_0x4f1ddc]==_0x231e95[_0x4f1ddc]||(_0x4e2860=!0x0,'style'==_0x4f1ddc?_0x3deab8['style']['cssText']=_0x231e95[_0x4f1ddc]:_0x3deab8['setAttribute'](_0x4f1ddc,_0x231e95[_0x4f1ddc]));}return _0x4e2860;}function yv(_0x5d4f5e){let _0x2a51bd=Object['create'](null);for(let _0x14e0c5=0x0;_0x14e0c5<_0x5d4f5e['attributes']['length'];_0x14e0c5++){let _0x22cf7c=_0x5d4f5e['attributes'][_0x14e0c5];_0x2a51bd[_0x22cf7c['name']]=_0x22cf7c['value'];}return _0x2a51bd;}class WidgetType{['eq'](_0x3cb463){return!0x1;}['updateDOM'](_0x445af2,_0x3ca2b1){return!0x1;}['compare'](_0x5f5c76){return this==_0x5f5c76||this['constructor']==_0x5f5c76['constructor']&&this['eq'](_0x5f5c76);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x86da56){return!0x0;}['coordsAt'](_0x46c18c,_0x2508e4,_0x5a7fe1){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x134477){}}var _v=function(_0x48c70e){return _0x48c70e[_0x48c70e['Text']=0x0]='Text',_0x48c70e[_0x48c70e['WidgetBefore']=0x1]='WidgetBefore',_0x48c70e[_0x48c70e['WidgetAfter']=0x2]='WidgetAfter',_0x48c70e[_0x48c70e['WidgetRange']=0x3]='WidgetRange',_0x48c70e;}(_v||(_v={}));class Decoration extends RangeValue{constructor(_0x5db943,_0x54f170,_0xbb79d2,_0x3dcd8e){super(),this['startSide']=_0x5db943,this['endSide']=_0x54f170,this['widget']=_0xbb79d2,this['spec']=_0x3dcd8e;}get['heightRelevant'](){return!0x1;}static['mark'](_0x11e08c){return new MarkDecoration(_0x11e08c);}static['widget'](_0x2012a6){let _0x343490=Math['max'](-0x2710,Math['min'](0x2710,_0x2012a6['side']||0x0)),_0x2f9b89=!!_0x2012a6['block'];return _0x343490+=_0x2f9b89&&!_0x2012a6['inlineOrder']?_0x343490>0x0?0x11e1a300:-0x17d78400:_0x343490>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x2012a6,_0x343490,_0x343490,_0x2f9b89,_0x2012a6['widget']||null,!0x1);}static['replace'](_0x40a6a1){let _0x96ecf1,_0x215fe7,_0xbf6e8f=!!_0x40a6a1['block'];if(_0x40a6a1['isBlockGap'])_0x96ecf1=-0x1dcd6500,_0x215fe7=0x17d78400;else{let {start:_0x340551,end:_0x408683}=vv(_0x40a6a1,_0xbf6e8f);_0x96ecf1=(_0x340551?_0xbf6e8f?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x215fe7=0x1+(_0x408683?_0xbf6e8f?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x40a6a1,_0x96ecf1,_0x215fe7,_0xbf6e8f,_0x40a6a1['widget']||null,!0x0);}static['line'](_0x333625){return new LineDecoration(_0x333625);}static['set'](_0x1e7942,_0x3f330a=!0x1){return RangeSet['of'](_0x1e7942,_0x3f330a);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x30fe2e){let {start:_0x367849,end:_0x1d624e}=vv(_0x30fe2e);super(_0x367849?-0x1:0x1dcd6500,_0x1d624e?0x1:-0x23c34600,null,_0x30fe2e),this['tagName']=_0x30fe2e['tagName']||'span',this['class']=_0x30fe2e['class']||'',this['attrs']=_0x30fe2e['attributes']||null;}['eq'](_0x17a7c8){var _0x1243c4,_0x17cb64;return this==_0x17a7c8||_0x17a7c8 instanceof MarkDecoration&&this['tagName']==_0x17a7c8['tagName']&&(this['class']||(null===(_0x1243c4=this['attrs'])||void 0x0===_0x1243c4?void 0x0:_0x1243c4['class']))==(_0x17a7c8['class']||(null===(_0x17cb64=_0x17a7c8['attrs'])||void 0x0===_0x17cb64?void 0x0:_0x17cb64['class']))&&wv(this['attrs'],_0x17a7c8['attrs'],'class');}['range'](_0x2f28a7,_0x178776=_0x2f28a7){if(_0x2f28a7>=_0x178776)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x2f28a7,_0x178776);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x194b2e){super(-0xbebc200,-0xbebc200,null,_0x194b2e);}['eq'](_0x52d335){return _0x52d335 instanceof LineDecoration&&this['spec']['class']==_0x52d335['spec']['class']&&wv(this['spec']['attributes'],_0x52d335['spec']['attributes']);}['range'](_0x12c1e3,_0x2b54d4=_0x12c1e3){if(_0x2b54d4!=_0x12c1e3)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x12c1e3,_0x2b54d4);}}LineDecoration['prototype']['mapMode']=Ty['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x3ba123,_0x1f8ebd,_0x31386e,_0x3023f1,_0x4fddc7,_0x571df6){super(_0x1f8ebd,_0x31386e,_0x4fddc7,_0x3ba123),this['block']=_0x3023f1,this['isReplace']=_0x571df6,this['mapMode']=_0x3023f1?_0x1f8ebd<=0x0?Ty['TrackBefore']:Ty['TrackAfter']:Ty['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_v['WidgetRange']:this['startSide']<=0x0?_v['WidgetBefore']:_v['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x151235){return _0x151235 instanceof PointDecoration&&function(_0x23ddcc,_0x549a0d){return _0x23ddcc==_0x549a0d||!!(_0x23ddcc&&_0x549a0d&&_0x23ddcc['compare'](_0x549a0d));}(this['widget'],_0x151235['widget'])&&this['block']==_0x151235['block']&&this['startSide']==_0x151235['startSide']&&this['endSide']==_0x151235['endSide'];}['range'](_0x4a7b85,_0x19f0d0=_0x4a7b85){if(this['isReplace']&&(_0x4a7b85>_0x19f0d0||_0x4a7b85==_0x19f0d0&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x19f0d0!=_0x4a7b85)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x4a7b85,_0x19f0d0);}}function vv(_0x3af1d7,_0x137d9f=!0x1){let {inclusiveStart:_0xd7a786,inclusiveEnd:_0x281cb6}=_0x3af1d7;return null==_0xd7a786&&(_0xd7a786=_0x3af1d7['inclusive']),null==_0x281cb6&&(_0x281cb6=_0x3af1d7['inclusive']),{'start':null!=_0xd7a786?_0xd7a786:_0x137d9f,'end':null!=_0x281cb6?_0x281cb6:_0x137d9f};}function Tv(_0x3648f6,_0x575303,_0xf0c2eb,_0xf8bd6=0x0){let _0x387cfb=_0xf0c2eb['length']-0x1;_0x387cfb>=0x0&&_0xf0c2eb[_0x387cfb]+_0xf8bd6>=_0x3648f6?_0xf0c2eb[_0x387cfb]=Math['max'](_0xf0c2eb[_0x387cfb],_0x575303):_0xf0c2eb['push'](_0x3648f6,_0x575303);}PointDecoration['prototype']['point']=!0x0;class LineView extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0xc94083,_0x1e2eed,_0x324385,_0x25cbb7,_0x3e6270,_0x19b773){if(_0x324385){if(!(_0x324385 instanceof LineView))return!0x1;this['dom']||_0x324385['transferDOM'](this);}return _0x25cbb7&&this['setDeco'](_0x324385?_0x324385['attrs']:null),uv(this,_0xc94083,_0x1e2eed,_0x324385?_0x324385['children']['slice']():[],_0x3e6270,_0x19b773),!0x0;}['split'](_0x27317c){let _0x1d92a1=new LineView();if(_0x1d92a1['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x1d92a1;let {i:_0x45a234,off:_0x343023}=this['childPos'](_0x27317c);_0x343023&&(_0x1d92a1['append'](this['children'][_0x45a234]['split'](_0x343023),0x0),this['children'][_0x45a234]['merge'](_0x343023,this['children'][_0x45a234]['length'],null,!0x1,0x0,0x0),_0x45a234++);for(let _0x502d8b=_0x45a234;_0x502d8b<this['children']['length'];_0x502d8b++)_0x1d92a1['append'](this['children'][_0x502d8b],0x0);for(;_0x45a234>0x0&&0x0==this['children'][_0x45a234-0x1]['length'];)this['children'][--_0x45a234]['destroy']();return this['children']['length']=_0x45a234,this['markDirty'](),this['length']=_0x27317c,_0x1d92a1;}['transferDOM'](_0x39d3f6){this['dom']&&(this['markDirty'](),_0x39d3f6['setDOM'](this['dom']),_0x39d3f6['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x3a0e67){wv(this['attrs'],_0x3a0e67)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x3a0e67);}['append'](_0x260166,_0x2c9014){fv(this,_0x260166,_0x2c9014);}['addLineDeco'](_0x2ad9b6){let _0x5e652c=_0x2ad9b6['spec']['attributes'],_0xd825ae=_0x2ad9b6['spec']['class'];_0x5e652c&&(this['attrs']=pv(_0x5e652c,this['attrs']||{})),_0xd825ae&&(this['attrs']=pv({'class':_0xd825ae},this['attrs']||{}));}['domAtPos'](_0x42fd89){return dv(this,_0x42fd89);}['reuseDOM'](_0x225311){'DIV'==_0x225311['nodeName']&&(this['setDOM'](_0x225311),this['flags']|=0x6);}['sync'](_0x47197f,_0x30166b){var _0x58819c;this['dom']?0x4&this['flags']&&(nv(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']&&(bv(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x47197f,_0x30166b);let _0x93e5d5=this['dom']['lastChild'];for(;_0x93e5d5&&ContentView['get'](_0x93e5d5)instanceof MarkView;)_0x93e5d5=_0x93e5d5['lastChild'];if(!(_0x93e5d5&&this['length']&&('BR'==_0x93e5d5['nodeName']||0x0!=(null===(_0x58819c=ContentView['get'](_0x93e5d5))||void 0x0===_0x58819c?void 0x0:_0x58819c['isEditable'])||U_['ios']&&this['children']['some'](_0x554d86=>_0x554d86 instanceof TextView)))){let _0x4f2cd0=document['createElement']('BR');_0x4f2cd0['cmIgnore']=!0x0,this['dom']['appendChild'](_0x4f2cd0);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0xb643da,_0x1fe6b6=0x0;for(let _0x3e83ab of this['children']){if(!(_0x3e83ab instanceof TextView)||/[^ -~]/['test'](_0x3e83ab['text']))return null;let _0x354029=H_(_0x3e83ab['dom']);if(0x1!=_0x354029['length'])return null;_0x1fe6b6+=_0x354029[0x0]['width'],_0xb643da=_0x354029[0x0]['height'];}return _0x1fe6b6?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x1fe6b6/this['length'],'textHeight':_0xb643da}:null;}['coordsAt'](_0x16d1b2,_0x27273e){let _0x1376e4=mv(this,_0x16d1b2,_0x27273e);if(!this['children']['length']&&_0x1376e4&&this['parent']){let {heightOracle:_0x4ac903}=this['parent']['view']['viewState'],_0x1fdf91=_0x1376e4['bottom']-_0x1376e4['top'];if(Math['abs'](_0x1fdf91-_0x4ac903['lineHeight'])<0x2&&_0x4ac903['textHeight']<_0x1fdf91){let _0x104b87=(_0x1fdf91-_0x4ac903['textHeight'])/0x2;return{'top':_0x1376e4['top']+_0x104b87,'bottom':_0x1376e4['bottom']-_0x104b87,'left':_0x1376e4['left'],'right':_0x1376e4['left']};}}return _0x1376e4;}['become'](_0xa3ee42){return _0xa3ee42 instanceof LineView&&0x0==this['children']['length']&&0x0==_0xa3ee42['children']['length']&&wv(this['attrs'],_0xa3ee42['attrs'])&&this['breakAfter']==_0xa3ee42['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x5309c5,_0x7d1f3c){for(let _0x26f03e=0x0,_0x2696f3=0x0;_0x26f03e<_0x5309c5['children']['length'];_0x26f03e++){let _0xe999ed=_0x5309c5['children'][_0x26f03e],_0xd1993c=_0x2696f3+_0xe999ed['length'];if(_0xd1993c>=_0x7d1f3c){if(_0xe999ed instanceof LineView)return _0xe999ed;if(_0xd1993c>_0x7d1f3c)break;}_0x2696f3=_0xd1993c+_0xe999ed['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x37c2f7,_0x11d9c6,_0x1a2d9f){super(),this['widget']=_0x37c2f7,this['length']=_0x11d9c6,this['deco']=_0x1a2d9f,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x18d646,_0xd20f3,_0x338a36,_0x57a9fe,_0x55fe4b,_0x14cc8c){return!(_0x338a36&&(!(_0x338a36 instanceof BlockWidgetView&&this['widget']['compare'](_0x338a36['widget']))||_0x18d646>0x0&&_0x55fe4b<=0x0||_0xd20f3<this['length']&&_0x14cc8c<=0x0))&&(this['length']=_0x18d646+(_0x338a36?_0x338a36['length']:0x0)+(this['length']-_0xd20f3),!0x0);}['domAtPos'](_0x546da2){return 0x0==_0x546da2?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x546da2==this['length']);}['split'](_0x3db379){let _0x27516c=this['length']-_0x3db379;this['length']=_0x3db379;let _0x3c6754=new BlockWidgetView(this['widget'],_0x27516c,this['deco']);return _0x3c6754['breakAfter']=this['breakAfter'],_0x3c6754;}get['children'](){return cv;}['sync'](_0x468431){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x468431)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x468431)),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'](_0x3ff08c){return _0x3ff08c instanceof BlockWidgetView&&_0x3ff08c['widget']['constructor']==this['widget']['constructor']&&(_0x3ff08c['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x3ff08c['widget'],this['length']=_0x3ff08c['length'],this['deco']=_0x3ff08c['deco'],this['breakAfter']=_0x3ff08c['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x4b0d67){return this['widget']['ignoreEvent'](_0x4b0d67);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x4c6505,_0x723be5){let _0x5d20c1=this['widget']['coordsAt'](this['dom'],_0x4c6505,_0x723be5);return _0x5d20c1||(this['widget']instanceof BlockGapWidget?null:z_(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x4c6505:_0x723be5<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x2f72fb){let {startSide:_0x3d616d,endSide:_0x30dd0d}=this['deco'];return _0x3d616d!=_0x30dd0d&&(_0x2f72fb<0x0?_0x3d616d<0x0:_0x30dd0d>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x276e90){super(),this['height']=_0x276e90;}['toDOM'](){let _0x2d1ed1=document['createElement']('div');return _0x2d1ed1['className']='cm-gap',this['updateDOM'](_0x2d1ed1),_0x2d1ed1;}['eq'](_0x2f4ba5){return _0x2f4ba5['height']==this['height'];}['updateDOM'](_0x247350){return _0x247350['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x443f37,_0xca34b9,_0x5d06d0,_0x532a18){this['doc']=_0x443f37,this['pos']=_0xca34b9,this['end']=_0x5d06d0,this['disallowBlockEffectsFor']=_0x532a18,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']=_0x443f37['iter'](),this['skip']=_0xca34b9;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x4d4789=this['content'][this['content']['length']-0x1];return!(_0x4d4789['breakAfter']||_0x4d4789 instanceof BlockWidgetView&&_0x4d4789['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new LineView()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x423199=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](Ev(new WidgetBufferView(-0x1),_0x423199),_0x423199['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x2b036f){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x2b036f);}['finish'](_0x3773dd){this['pendingBuffer']&&_0x3773dd<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x3773dd&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x4ab32e,_0xd4c5d2,_0x429966){for(;_0x4ab32e>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x51e1bf,lineBreak:_0x28f7ab,done:_0x3ac8b2}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x3ac8b2)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x28f7ab){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,_0x4ab32e--;continue;}this['text']=_0x51e1bf,this['textOff']=0x0;}let _0x2fe756=Math['min'](this['text']['length']-this['textOff'],_0x4ab32e),_0x44dd96=Math['min'](_0x2fe756,0x200);this['flushBuffer'](_0xd4c5d2['slice'](_0xd4c5d2['length']-_0x429966)),this['getLine']()['append'](Ev(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x44dd96)),_0xd4c5d2),_0x429966),this['atCursorPos']=!0x0,this['textOff']+=_0x44dd96,_0x4ab32e-=_0x44dd96,_0x429966=_0x2fe756<=_0x44dd96?0x0:_0xd4c5d2['length'];}}['span'](_0x57045a,_0x5c7bd8,_0x1697db,_0x3c1530){this['buildText'](_0x5c7bd8-_0x57045a,_0x1697db,_0x3c1530),this['pos']=_0x5c7bd8,this['openStart']<0x0&&(this['openStart']=_0x3c1530);}['point'](_0x555196,_0x219800,_0x1f85b4,_0x5c8870,_0x58b241,_0x1667fb){if(this['disallowBlockEffectsFor'][_0x1667fb]&&_0x1f85b4 instanceof PointDecoration){if(_0x1f85b4['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x219800>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x27b5bd=_0x219800-_0x555196;if(_0x1f85b4 instanceof PointDecoration){if(_0x1f85b4['block'])_0x1f85b4['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x1f85b4['widget']||NullWidget['block'],_0x27b5bd,_0x1f85b4));else{let _0x56741f=WidgetView['create'](_0x1f85b4['widget']||NullWidget['inline'],_0x27b5bd,_0x27b5bd?0x0:_0x1f85b4['startSide']),_0x3bd28c=this['atCursorPos']&&!_0x56741f['isEditable']&&_0x58b241<=_0x5c8870['length']&&(_0x555196<_0x219800||_0x1f85b4['startSide']>0x0),_0x1d223a=!_0x56741f['isEditable']&&(_0x555196<_0x219800||_0x58b241>_0x5c8870['length']||_0x1f85b4['startSide']<=0x0),_0x32edeb=this['getLine']();0x2!=this['pendingBuffer']||_0x3bd28c||_0x56741f['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x5c8870),_0x3bd28c&&(_0x32edeb['append'](Ev(new WidgetBufferView(0x1),_0x5c8870),_0x58b241),_0x58b241=_0x5c8870['length']+Math['max'](0x0,_0x58b241-_0x5c8870['length'])),_0x32edeb['append'](Ev(_0x56741f,_0x5c8870),_0x58b241),this['atCursorPos']=_0x1d223a,this['pendingBuffer']=_0x1d223a?_0x555196<_0x219800||_0x58b241>_0x5c8870['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x5c8870['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x1f85b4);_0x27b5bd&&(this['textOff']+_0x27b5bd<=this['text']['length']?this['textOff']+=_0x27b5bd:(this['skip']+=_0x27b5bd-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x219800),this['openStart']<0x0&&(this['openStart']=_0x58b241);}static['build'](_0x95e2c2,_0x45e839,_0x299e57,_0x4546a1,_0x8206df){let _0xf5b717=new ContentBuilder(_0x95e2c2,_0x45e839,_0x299e57,_0x8206df);return _0xf5b717['openEnd']=RangeSet['spans'](_0x4546a1,_0x45e839,_0x299e57,_0xf5b717),_0xf5b717['openStart']<0x0&&(_0xf5b717['openStart']=_0xf5b717['openEnd']),_0xf5b717['finish'](_0xf5b717['openEnd']),_0xf5b717;}}function Ev(_0x3cbb34,_0x19b73a){for(let _0xeafd91 of _0x19b73a)_0x3cbb34=new MarkView(_0xeafd91,[_0x3cbb34],_0x3cbb34['length']);return _0x3cbb34;}class NullWidget extends WidgetType{constructor(_0x54fff4){super(),this['tag']=_0x54fff4;}['eq'](_0x52097b){return _0x52097b['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x13e489){return _0x13e489['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Av=function(_0x5ad240){return _0x5ad240[_0x5ad240['LTR']=0x0]='LTR',_0x5ad240[_0x5ad240['RTL']=0x1]='RTL',_0x5ad240;}(Av||(Av={}));const Sv=Av['LTR'],Iv=Av['RTL'];function Cv(_0xa91c89){let _0x30bb6d=[];for(let _0x2333d5=0x0;_0x2333d5<_0xa91c89['length'];_0x2333d5++)_0x30bb6d['push'](0x1<<+_0xa91c89[_0x2333d5]);return _0x30bb6d;}const kv=Cv('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),xv=Cv('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Rv=Object['create'](null),Pv=[];for(let e of['()','[]','{}']){let i=e['charCodeAt'](0x0),s=e['charCodeAt'](0x1);Rv[i]=s,Rv[s]=-i;}function Mv(_0x2bb214){return _0x2bb214<=0xf7?kv[_0x2bb214]:0x590<=_0x2bb214&&_0x2bb214<=0x5f4?0x2:0x600<=_0x2bb214&&_0x2bb214<=0x6f9?xv[_0x2bb214-0x600]:0x6ee<=_0x2bb214&&_0x2bb214<=0x8ac?0x4:0x2000<=_0x2bb214&&_0x2bb214<=0x200c?0x100:0xfb50<=_0x2bb214&&_0x2bb214<=0xfdff?0x4:0x1;}const Nv=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class BidiSpan{get['dir'](){return this['level']%0x2?Iv:Sv;}constructor(_0x337dc7,_0x39a79d,_0x11e465){this['from']=_0x337dc7,this['to']=_0x39a79d,this['level']=_0x11e465;}['side'](_0x15a0c5,_0x368037){return this['dir']==_0x368037==_0x15a0c5?this['to']:this['from'];}['forward'](_0x3ca4de,_0x19b009){return _0x3ca4de==(this['dir']==_0x19b009);}static['find'](_0x1954e0,_0x31668b,_0x4b3dc1,_0x48740e){let _0x1780cf=-0x1;for(let _0x851d81=0x0;_0x851d81<_0x1954e0['length'];_0x851d81++){let _0x43ef25=_0x1954e0[_0x851d81];if(_0x43ef25['from']<=_0x31668b&&_0x43ef25['to']>=_0x31668b){if(_0x43ef25['level']==_0x4b3dc1)return _0x851d81;(_0x1780cf<0x0||(0x0!=_0x48740e?_0x48740e<0x0?_0x43ef25['from']<_0x31668b:_0x43ef25['to']>_0x31668b:_0x1954e0[_0x1780cf]['level']>_0x43ef25['level']))&&(_0x1780cf=_0x851d81);}}if(_0x1780cf<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x1780cf;}}function Lv(_0x30e002,_0x5783f2){if(_0x30e002['length']!=_0x5783f2['length'])return!0x1;for(let _0x1a56a3=0x0;_0x1a56a3<_0x30e002['length'];_0x1a56a3++){let _0x214b70=_0x30e002[_0x1a56a3],_0x2fdb65=_0x5783f2[_0x1a56a3];if(_0x214b70['from']!=_0x2fdb65['from']||_0x214b70['to']!=_0x2fdb65['to']||_0x214b70['direction']!=_0x2fdb65['direction']||!Lv(_0x214b70['inner'],_0x2fdb65['inner']))return!0x1;}return!0x0;}const Dv=[];function Qv(_0x239ce7,_0x5c5377,_0x278fdf,_0x2e77cf,_0x457c2f,_0xfc7130,_0x7c9f3e){let _0x493465=_0x2e77cf%0x2?0x2:0x1;if(_0x2e77cf%0x2==_0x457c2f%0x2)for(let _0x40099c=_0x5c5377,_0x1b047e=0x0;_0x40099c<_0x278fdf;){let _0x247a39=!0x0,_0x336c97=!0x1;if(_0x1b047e==_0xfc7130['length']||_0x40099c<_0xfc7130[_0x1b047e]['from']){let _0x3d7d20=Dv[_0x40099c];_0x3d7d20!=_0x493465&&(_0x247a39=!0x1,_0x336c97=0x10==_0x3d7d20);}let _0x3c74fc=_0x247a39||0x1!=_0x493465?null:[],_0xfabfd5=_0x247a39?_0x2e77cf:_0x2e77cf+0x1,_0x5e37e4=_0x40099c;t:for(;;)if(_0x1b047e<_0xfc7130['length']&&_0x5e37e4==_0xfc7130[_0x1b047e]['from']){if(_0x336c97)break t;let _0x5717c0=_0xfc7130[_0x1b047e];if(!_0x247a39)for(let _0x11d1b9=_0x5717c0['to'],_0x250385=_0x1b047e+0x1;;){if(_0x11d1b9==_0x278fdf)break t;if(!(_0x250385<_0xfc7130['length']&&_0xfc7130[_0x250385]['from']==_0x11d1b9)){if(Dv[_0x11d1b9]==_0x493465)break t;break;}_0x11d1b9=_0xfc7130[_0x250385++]['to'];}if(_0x1b047e++,_0x3c74fc)_0x3c74fc['push'](_0x5717c0);else _0x5717c0['from']>_0x40099c&&_0x7c9f3e['push'](new BidiSpan(_0x40099c,_0x5717c0['from'],_0xfabfd5)),$v(_0x239ce7,_0x5717c0['direction']==Sv!=!(_0xfabfd5%0x2)?_0x2e77cf+0x1:_0x2e77cf,_0x457c2f,_0x5717c0['inner'],_0x5717c0['from'],_0x5717c0['to'],_0x7c9f3e),_0x40099c=_0x5717c0['to'];_0x5e37e4=_0x5717c0['to'];}else{if(_0x5e37e4==_0x278fdf||(_0x247a39?Dv[_0x5e37e4]!=_0x493465:Dv[_0x5e37e4]==_0x493465))break;_0x5e37e4++;}_0x3c74fc?Qv(_0x239ce7,_0x40099c,_0x5e37e4,_0x2e77cf+0x1,_0x457c2f,_0x3c74fc,_0x7c9f3e):_0x40099c<_0x5e37e4&&_0x7c9f3e['push'](new BidiSpan(_0x40099c,_0x5e37e4,_0xfabfd5)),_0x40099c=_0x5e37e4;}else for(let _0x440135=_0x278fdf,_0xc17765=_0xfc7130['length'];_0x440135>_0x5c5377;){let _0x527503=!0x0,_0xf83bdb=!0x1;if(!_0xc17765||_0x440135>_0xfc7130[_0xc17765-0x1]['to']){let _0x205caf=Dv[_0x440135-0x1];_0x205caf!=_0x493465&&(_0x527503=!0x1,_0xf83bdb=0x10==_0x205caf);}let _0x4dcadc=_0x527503||0x1!=_0x493465?null:[],_0x3187b4=_0x527503?_0x2e77cf:_0x2e77cf+0x1,_0x2f4c28=_0x440135;t:for(;;)if(_0xc17765&&_0x2f4c28==_0xfc7130[_0xc17765-0x1]['to']){if(_0xf83bdb)break t;let _0x1c361b=_0xfc7130[--_0xc17765];if(!_0x527503)for(let _0x7d52c9=_0x1c361b['from'],_0x27d89a=_0xc17765;;){if(_0x7d52c9==_0x5c5377)break t;if(!_0x27d89a||_0xfc7130[_0x27d89a-0x1]['to']!=_0x7d52c9){if(Dv[_0x7d52c9-0x1]==_0x493465)break t;break;}_0x7d52c9=_0xfc7130[--_0x27d89a]['from'];}if(_0x4dcadc)_0x4dcadc['push'](_0x1c361b);else _0x1c361b['to']<_0x440135&&_0x7c9f3e['push'](new BidiSpan(_0x1c361b['to'],_0x440135,_0x3187b4)),$v(_0x239ce7,_0x1c361b['direction']==Sv!=!(_0x3187b4%0x2)?_0x2e77cf+0x1:_0x2e77cf,_0x457c2f,_0x1c361b['inner'],_0x1c361b['from'],_0x1c361b['to'],_0x7c9f3e),_0x440135=_0x1c361b['from'];_0x2f4c28=_0x1c361b['from'];}else{if(_0x2f4c28==_0x5c5377||(_0x527503?Dv[_0x2f4c28-0x1]!=_0x493465:Dv[_0x2f4c28-0x1]==_0x493465))break;_0x2f4c28--;}_0x4dcadc?Qv(_0x239ce7,_0x2f4c28,_0x440135,_0x2e77cf+0x1,_0x457c2f,_0x4dcadc,_0x7c9f3e):_0x2f4c28<_0x440135&&_0x7c9f3e['push'](new BidiSpan(_0x2f4c28,_0x440135,_0x3187b4)),_0x440135=_0x2f4c28;}}function $v(_0x406421,_0x3e31ec,_0x516a82,_0x1a5820,_0x189f4c,_0x55929b,_0x39e8a7){let _0x63da6e=_0x3e31ec%0x2?0x2:0x1;!function(_0x4b7511,_0x4f7e0c,_0x13fa5f,_0x15694d,_0x10cb12){for(let _0x25c19c=0x0;_0x25c19c<=_0x15694d['length'];_0x25c19c++){let _0x27686d=_0x25c19c?_0x15694d[_0x25c19c-0x1]['to']:_0x4f7e0c,_0x505c08=_0x25c19c<_0x15694d['length']?_0x15694d[_0x25c19c]['from']:_0x13fa5f,_0x34b1b0=_0x25c19c?0x100:_0x10cb12;for(let _0x317fa7=_0x27686d,_0x17d2d2=_0x34b1b0,_0x3ad896=_0x34b1b0;_0x317fa7<_0x505c08;_0x317fa7++){let _0x4f6409=Mv(_0x4b7511['charCodeAt'](_0x317fa7));0x200==_0x4f6409?_0x4f6409=_0x17d2d2:0x8==_0x4f6409&&0x4==_0x3ad896&&(_0x4f6409=0x10),Dv[_0x317fa7]=0x4==_0x4f6409?0x2:_0x4f6409,0x7&_0x4f6409&&(_0x3ad896=_0x4f6409),_0x17d2d2=_0x4f6409;}for(let _0x1cdbd3=_0x27686d,_0x582901=_0x34b1b0,_0xcaef7d=_0x34b1b0;_0x1cdbd3<_0x505c08;_0x1cdbd3++){let _0x40231b=Dv[_0x1cdbd3];if(0x80==_0x40231b)_0x1cdbd3<_0x505c08-0x1&&_0x582901==Dv[_0x1cdbd3+0x1]&&0x18&_0x582901?_0x40231b=Dv[_0x1cdbd3]=_0x582901:Dv[_0x1cdbd3]=0x100;else{if(0x40==_0x40231b){let _0x25ca5d=_0x1cdbd3+0x1;for(;_0x25ca5d<_0x505c08&&0x40==Dv[_0x25ca5d];)_0x25ca5d++;let _0x30a457=_0x1cdbd3&&0x8==_0x582901||_0x25ca5d<_0x13fa5f&&0x8==Dv[_0x25ca5d]?0x1==_0xcaef7d?0x1:0x8:0x100;for(let _0x1e43d0=_0x1cdbd3;_0x1e43d0<_0x25ca5d;_0x1e43d0++)Dv[_0x1e43d0]=_0x30a457;_0x1cdbd3=_0x25ca5d-0x1;}else 0x8==_0x40231b&&0x1==_0xcaef7d&&(Dv[_0x1cdbd3]=0x1);}_0x582901=_0x40231b,0x7&_0x40231b&&(_0xcaef7d=_0x40231b);}}}(_0x406421,_0x189f4c,_0x55929b,_0x1a5820,_0x63da6e),function(_0x29f447,_0x6cd378,_0x5b6242,_0xeeb0e4,_0x1de968){let _0x3b2563=0x1==_0x1de968?0x2:0x1;for(let _0x5e7567=0x0,_0x2e2629=0x0,_0x2eb7ea=0x0;_0x5e7567<=_0xeeb0e4['length'];_0x5e7567++){let _0x5b09cc=_0x5e7567?_0xeeb0e4[_0x5e7567-0x1]['to']:_0x6cd378,_0x40427f=_0x5e7567<_0xeeb0e4['length']?_0xeeb0e4[_0x5e7567]['from']:_0x5b6242;for(let _0x8f97d,_0x404953,_0x28959e,_0x3c449d=_0x5b09cc;_0x3c449d<_0x40427f;_0x3c449d++)if(_0x404953=Rv[_0x8f97d=_0x29f447['charCodeAt'](_0x3c449d)]){if(_0x404953<0x0){for(let _0x237892=_0x2e2629-0x3;_0x237892>=0x0;_0x237892-=0x3)if(Pv[_0x237892+0x1]==-_0x404953){let _0x3d647d=Pv[_0x237892+0x2],_0x4e4700=0x2&_0x3d647d?_0x1de968:0x4&_0x3d647d?0x1&_0x3d647d?_0x3b2563:_0x1de968:0x0;_0x4e4700&&(Dv[_0x3c449d]=Dv[Pv[_0x237892]]=_0x4e4700),_0x2e2629=_0x237892;break;}}else{if(0xbd==Pv['length'])break;Pv[_0x2e2629++]=_0x3c449d,Pv[_0x2e2629++]=_0x8f97d,Pv[_0x2e2629++]=_0x2eb7ea;}}else{if(0x2==(_0x28959e=Dv[_0x3c449d])||0x1==_0x28959e){let _0x66e3c9=_0x28959e==_0x1de968;_0x2eb7ea=_0x66e3c9?0x0:0x1;for(let _0x54932c=_0x2e2629-0x3;_0x54932c>=0x0;_0x54932c-=0x3){let _0x27089f=Pv[_0x54932c+0x2];if(0x2&_0x27089f)break;if(_0x66e3c9)Pv[_0x54932c+0x2]|=0x2;else{if(0x4&_0x27089f)break;Pv[_0x54932c+0x2]|=0x4;}}}}}}(_0x406421,_0x189f4c,_0x55929b,_0x1a5820,_0x63da6e),function(_0x35bedd,_0x29a9d8,_0x19788d,_0xf26422){for(let _0x1d0e4e=0x0,_0x505f66=_0xf26422;_0x1d0e4e<=_0x19788d['length'];_0x1d0e4e++){let _0x731d01=_0x1d0e4e?_0x19788d[_0x1d0e4e-0x1]['to']:_0x35bedd,_0x15ae5f=_0x1d0e4e<_0x19788d['length']?_0x19788d[_0x1d0e4e]['from']:_0x29a9d8;for(let _0x26b815=_0x731d01;_0x26b815<_0x15ae5f;){let _0x5451b9=Dv[_0x26b815];if(0x100==_0x5451b9){let _0x4a5617=_0x26b815+0x1;for(;;)if(_0x4a5617==_0x15ae5f){if(_0x1d0e4e==_0x19788d['length'])break;_0x4a5617=_0x19788d[_0x1d0e4e++]['to'],_0x15ae5f=_0x1d0e4e<_0x19788d['length']?_0x19788d[_0x1d0e4e]['from']:_0x29a9d8;}else{if(0x100!=Dv[_0x4a5617])break;_0x4a5617++;}let _0x58c9dd=0x1==_0x505f66,_0x35cdd7=_0x58c9dd==(0x1==(_0x4a5617<_0x29a9d8?Dv[_0x4a5617]:_0xf26422))?_0x58c9dd?0x1:0x2:_0xf26422;for(let _0x46d0af=_0x4a5617,_0xb5c521=_0x1d0e4e,_0x5bd642=_0xb5c521?_0x19788d[_0xb5c521-0x1]['to']:_0x35bedd;_0x46d0af>_0x26b815;)_0x46d0af==_0x5bd642&&(_0x46d0af=_0x19788d[--_0xb5c521]['from'],_0x5bd642=_0xb5c521?_0x19788d[_0xb5c521-0x1]['to']:_0x35bedd),Dv[--_0x46d0af]=_0x35cdd7;_0x26b815=_0x4a5617;}else _0x505f66=_0x5451b9,_0x26b815++;}}}(_0x189f4c,_0x55929b,_0x1a5820,_0x63da6e),Qv(_0x406421,_0x189f4c,_0x55929b,_0x3e31ec,_0x516a82,_0x1a5820,_0x39e8a7);}function Vv(_0x4a0152){return[new BidiSpan(0x0,_0x4a0152,0x0)];}let Uv='';function Bv(_0xd7774b,_0x492894,_0x39eb30,_0x12dc93,_0x5d271e){var _0x2078d7;let _0x5a3ead=_0x12dc93['head']-_0xd7774b['from'],_0x2947e1=BidiSpan['find'](_0x492894,_0x5a3ead,null!==(_0x2078d7=_0x12dc93['bidiLevel'])&&void 0x0!==_0x2078d7?_0x2078d7:-0x1,_0x12dc93['assoc']),_0x24cf9=_0x492894[_0x2947e1],_0x1733ee=_0x24cf9['side'](_0x5d271e,_0x39eb30);if(_0x5a3ead==_0x1733ee){let _0x265c41=_0x2947e1+=_0x5d271e?0x1:-0x1;if(_0x265c41<0x0||_0x265c41>=_0x492894['length'])return null;_0x24cf9=_0x492894[_0x2947e1=_0x265c41],_0x5a3ead=_0x24cf9['side'](!_0x5d271e,_0x39eb30),_0x1733ee=_0x24cf9['side'](_0x5d271e,_0x39eb30);}let _0x4bca6f=wy(_0xd7774b['text'],_0x5a3ead,_0x24cf9['forward'](_0x5d271e,_0x39eb30));(_0x4bca6f<_0x24cf9['from']||_0x4bca6f>_0x24cf9['to'])&&(_0x4bca6f=_0x1733ee),Uv=_0xd7774b['text']['slice'](Math['min'](_0x5a3ead,_0x4bca6f),Math['max'](_0x5a3ead,_0x4bca6f));let _0x4fcf23=_0x2947e1==(_0x5d271e?_0x492894['length']-0x1:0x0)?null:_0x492894[_0x2947e1+(_0x5d271e?0x1:-0x1)];return _0x4fcf23&&_0x4bca6f==_0x1733ee&&_0x4fcf23['level']+(_0x5d271e?0x0:0x1)<_0x24cf9['level']?EditorSelection['cursor'](_0x4fcf23['side'](!_0x5d271e,_0x39eb30)+_0xd7774b['from'],_0x4fcf23['forward'](_0x5d271e,_0x39eb30)?0x1:-0x1,_0x4fcf23['level']):EditorSelection['cursor'](_0x4bca6f+_0xd7774b['from'],_0x24cf9['forward'](_0x5d271e,_0x39eb30)?-0x1:0x1,_0x24cf9['level']);}function Fv(_0xb82ef4,_0x37554b,_0x5653a0){for(let _0x2f92d7=_0x37554b;_0x2f92d7<_0x5653a0;_0x2f92d7++){let _0x1c44f0=Mv(_0xb82ef4['charCodeAt'](_0x2f92d7));if(0x1==_0x1c44f0)return Sv;if(0x2==_0x1c44f0||0x4==_0x1c44f0)return Iv;}return Sv;}const jv=Facet['define'](),Hv=Facet['define'](),Gv=Facet['define'](),Zv=Facet['define'](),Xv=Facet['define'](),qv=Facet['define'](),Wv=Facet['define'](),zv=Facet['define'](),Yv=Facet['define'](),Kv=Facet['define']({'combine':_0x570b77=>_0x570b77['some'](_0x381ffa=>_0x381ffa)}),Jv=Facet['define']({'combine':_0x2c4b7f=>_0x2c4b7f['some'](_0x44a64b=>_0x44a64b)}),tT=Facet['define']();class ScrollTarget{constructor(_0xfd4dd6,_0x250e19='nearest',_0x256435='nearest',_0x2f10d9=0x5,_0x43acb3=0x5,_0x11c5b2=!0x1){this['range']=_0xfd4dd6,this['y']=_0x250e19,this['x']=_0x256435,this['yMargin']=_0x2f10d9,this['xMargin']=_0x43acb3,this['isSnapshot']=_0x11c5b2;}['map'](_0x1d8d26){return _0x1d8d26['empty']?this:new ScrollTarget(this['range']['map'](_0x1d8d26),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x444e29){return this['range']['to']<=_0x444e29['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x444e29['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const eT=StateEffect['define']({'map':(t,_0x23aef7)=>t['map'](_0x23aef7)}),iT=StateEffect['define']();function sT(_0x12e144,_0x21ce4d,_0x5754f4){let _0x27d235=_0x12e144['facet'](Zv);_0x27d235['length']?_0x27d235[0x0](_0x21ce4d):window['onerror']&&window['onerror'](String(_0x21ce4d),_0x5754f4,void 0x0,void 0x0,_0x21ce4d)||(_0x5754f4?console['error'](_0x5754f4+':',_0x21ce4d):console['error'](_0x21ce4d));}const nT=Facet['define']({'combine':_0x43c196=>!_0x43c196['length']||_0x43c196[0x0]});let rT=0x0;const oT=Facet['define']({'combine':_0x1bbb85=>_0x1bbb85['filter']((_0x13bfea,_0x29e884)=>{for(let _0x255d49=0x0;_0x255d49<_0x29e884;_0x255d49++)if(_0x1bbb85[_0x255d49]['plugin']==_0x13bfea['plugin'])return!0x1;return!0x0;})});class ViewPlugin{constructor(_0x31a47a,_0x51cd35,_0x5aa62f,_0x20929e,_0x10722f){this['id']=_0x31a47a,this['create']=_0x51cd35,this['domEventHandlers']=_0x5aa62f,this['domEventObservers']=_0x20929e,this['baseExtensions']=_0x10722f(this),this['extension']=this['baseExtensions']['concat'](oT['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x23c939){return this['baseExtensions']['concat'](oT['of']({'plugin':this,'arg':_0x23c939}));}static['define'](_0x17614f,_0x3ce5ca){const {eventHandlers:_0x1eea02,eventObservers:_0x127c96,provide:_0x1f9fcb,decorations:_0x1820de}=_0x3ce5ca||{};return new ViewPlugin(rT++,_0x17614f,_0x1eea02,_0x127c96,_0x38eb12=>{let _0x56cdfc=[];return _0x1820de&&_0x56cdfc['push'](lT['of'](_0x37bf06=>{let _0xe8fde6=_0x37bf06['plugin'](_0x38eb12);return _0xe8fde6?_0x1820de(_0xe8fde6):Decoration['none'];})),_0x1f9fcb&&_0x56cdfc['push'](_0x1f9fcb(_0x38eb12)),_0x56cdfc;});}static['fromClass'](_0x3b7446,_0x3c722d){return ViewPlugin['define']((_0x21576d,_0x4845dc)=>new _0x3b7446(_0x21576d,_0x4845dc),_0x3c722d);}}class PluginInstance{constructor(_0x4b0480){this['spec']=_0x4b0480,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x2d997d){if(this['value']){if(this['mustUpdate']){let _0x5d791c=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5d791c);}catch(_0x3b2d84){if(sT(_0x5d791c['state'],_0x3b2d84,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x1ff743){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x2d997d,this['spec']['arg']);}catch(_0x9740b){sT(_0x2d997d['state'],_0x9740b,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x277d03){var _0x418beb;if(null===(_0x418beb=this['value'])||void 0x0===_0x418beb?void 0x0:_0x418beb['destroy'])try{this['value']['destroy']();}catch(_0x5c91c1){sT(_0x277d03['state'],_0x5c91c1,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const aT=Facet['define'](),cT=Facet['define'](),lT=Facet['define'](),hT=Facet['define'](),uT=Facet['define'](),dT=Facet['define']();function fT(_0x276cdd,_0x191bee){let _0x4f6d51=_0x276cdd['state']['facet'](dT);if(!_0x4f6d51['length'])return _0x4f6d51;let _0x187767=_0x4f6d51['map'](_0x211c75=>_0x211c75 instanceof Function?_0x211c75(_0x276cdd):_0x211c75),_0x14b885=[];return RangeSet['spans'](_0x187767,_0x191bee['from'],_0x191bee['to'],{'point'(){},'span'(_0x1ed14c,_0x3f2069,_0x4cf1d2,_0x504ad9){let _0x40b288=_0x1ed14c-_0x191bee['from'],_0x41a625=_0x3f2069-_0x191bee['from'],_0x5d0191=_0x14b885;for(let _0x37d08=_0x4cf1d2['length']-0x1;_0x37d08>=0x0;_0x37d08--,_0x504ad9--){let _0x5ba0dc,_0x8b0fe0=_0x4cf1d2[_0x37d08]['spec']['bidiIsolate'];if(null==_0x8b0fe0&&(_0x8b0fe0=Fv(_0x191bee['text'],_0x40b288,_0x41a625)),_0x504ad9>0x0&&_0x5d0191['length']&&(_0x5ba0dc=_0x5d0191[_0x5d0191['length']-0x1])['to']==_0x40b288&&_0x5ba0dc['direction']==_0x8b0fe0)_0x5ba0dc['to']=_0x41a625,_0x5d0191=_0x5ba0dc['inner'];else{let _0x4b98dc={'from':_0x40b288,'to':_0x41a625,'direction':_0x8b0fe0,'inner':[]};_0x5d0191['push'](_0x4b98dc),_0x5d0191=_0x4b98dc['inner'];}}}}),_0x14b885;}const mT=Facet['define']();function gT(_0x515ba2){let _0x2ec806=0x0,_0x28dbac=0x0,_0x134707=0x0,_0x36ab47=0x0;for(let _0x2dc527 of _0x515ba2['state']['facet'](mT)){let _0x44c6c3=_0x2dc527(_0x515ba2);_0x44c6c3&&(null!=_0x44c6c3['left']&&(_0x2ec806=Math['max'](_0x2ec806,_0x44c6c3['left'])),null!=_0x44c6c3['right']&&(_0x28dbac=Math['max'](_0x28dbac,_0x44c6c3['right'])),null!=_0x44c6c3['top']&&(_0x134707=Math['max'](_0x134707,_0x44c6c3['top'])),null!=_0x44c6c3['bottom']&&(_0x36ab47=Math['max'](_0x36ab47,_0x44c6c3['bottom'])));}return{'left':_0x2ec806,'right':_0x28dbac,'top':_0x134707,'bottom':_0x36ab47};}const pT=Facet['define']();class ChangedRange{constructor(_0x234f0d,_0x2cbb25,_0x5bcc3d,_0x4250e7){this['fromA']=_0x234f0d,this['toA']=_0x2cbb25,this['fromB']=_0x5bcc3d,this['toB']=_0x4250e7;}['join'](_0x479e80){return new ChangedRange(Math['min'](this['fromA'],_0x479e80['fromA']),Math['max'](this['toA'],_0x479e80['toA']),Math['min'](this['fromB'],_0x479e80['fromB']),Math['max'](this['toB'],_0x479e80['toB']));}['addToSet'](_0x547e91){let _0x4f6d3a=_0x547e91['length'],_0x4cdcb4=this;for(;_0x4f6d3a>0x0;_0x4f6d3a--){let _0x42d6a5=_0x547e91[_0x4f6d3a-0x1];if(!(_0x42d6a5['fromA']>_0x4cdcb4['toA'])){if(_0x42d6a5['toA']<_0x4cdcb4['fromA'])break;_0x4cdcb4=_0x4cdcb4['join'](_0x42d6a5),_0x547e91['splice'](_0x4f6d3a-0x1,0x1);}}return _0x547e91['splice'](_0x4f6d3a,0x0,_0x4cdcb4),_0x547e91;}static['extendWithRanges'](_0xbda0e5,_0x1de5d6){if(0x0==_0x1de5d6['length'])return _0xbda0e5;let _0x236d46=[];for(let _0x22bfe0=0x0,_0x22566b=0x0,_0x5d186d=0x0,_0x54375c=0x0;;_0x22bfe0++){let _0x61fedf=_0x22bfe0==_0xbda0e5['length']?null:_0xbda0e5[_0x22bfe0],_0x2285e6=_0x5d186d-_0x54375c,_0x3b197c=_0x61fedf?_0x61fedf['fromB']:0x3b9aca00;for(;_0x22566b<_0x1de5d6['length']&&_0x1de5d6[_0x22566b]<_0x3b197c;){let _0x478bf3=_0x1de5d6[_0x22566b],_0x21f955=_0x1de5d6[_0x22566b+0x1],_0x495e7b=Math['max'](_0x54375c,_0x478bf3),_0x47e0df=Math['min'](_0x3b197c,_0x21f955);if(_0x495e7b<=_0x47e0df&&new ChangedRange(_0x495e7b+_0x2285e6,_0x47e0df+_0x2285e6,_0x495e7b,_0x47e0df)['addToSet'](_0x236d46),_0x21f955>_0x3b197c)break;_0x22566b+=0x2;}if(!_0x61fedf)return _0x236d46;new ChangedRange(_0x61fedf['fromA'],_0x61fedf['toA'],_0x61fedf['fromB'],_0x61fedf['toB'])['addToSet'](_0x236d46),_0x5d186d=_0x61fedf['toA'],_0x54375c=_0x61fedf['toB'];}}}class ViewUpdate{constructor(_0x1fe10d,_0x535244,_0x1bf13f){this['view']=_0x1fe10d,this['state']=_0x535244,this['transactions']=_0x1bf13f,this['flags']=0x0,this['startState']=_0x1fe10d['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x57c0bf of _0x1bf13f)this['changes']=this['changes']['compose'](_0x57c0bf['changes']);let _0x1f5d73=[];this['changes']['iterChangedRanges']((_0x2000a9,_0x549a83,_0x1f443a,_0x5953ba)=>_0x1f5d73['push'](new ChangedRange(_0x2000a9,_0x549a83,_0x1f443a,_0x5953ba))),this['changedRanges']=_0x1f5d73;}static['create'](_0x42d1e7,_0x191569,_0x55e123){return new ViewUpdate(_0x42d1e7,_0x191569,_0x55e123);}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'](_0x5e55a4=>_0x5e55a4['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class DocView extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x43cec1){super(),this['view']=_0x43cec1,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'](_0x43cec1['contentDOM']),this['children']=[new LineView()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new ChangedRange(0x0,0x0,0x0,_0x43cec1['state']['doc']['length'])],0x0,null);}['update'](_0x11e140){var _0x50a125;let _0x592183=_0x11e140['changedRanges'];this['minWidth']>0x0&&_0x592183['length']&&(_0x592183['every'](({fromA:_0x1d2585,toA:_0x21fb60})=>_0x21fb60<this['minWidthFrom']||_0x1d2585>this['minWidthTo'])?(this['minWidthFrom']=_0x11e140['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x11e140['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x11e140);let _0x3b3c4e=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x50a125=this['domChanged'])||void 0x0===_0x50a125?void 0x0:_0x50a125['newSel'])?_0x3b3c4e=this['domChanged']['newSel']['head']:function(_0x406338,_0x40a5f8){let _0x1024be=!0x1;return _0x40a5f8&&_0x406338['iterChangedRanges']((_0x4f66e0,_0x56575b)=>{_0x4f66e0<_0x40a5f8['to']&&_0x56575b>_0x40a5f8['from']&&(_0x1024be=!0x0);}),_0x1024be;}(_0x11e140['changes'],this['hasComposition'])||_0x11e140['selectionSet']||(_0x3b3c4e=_0x11e140['state']['selection']['main']['head']));let _0x5da4cf=_0x3b3c4e>-0x1?function(_0x3ab064,_0xd5767f,_0x46ba13){let _0xc70319=OT(_0x3ab064,_0x46ba13);if(!_0xc70319)return null;let {node:_0x4128b9,from:_0x11ecac,to:_0x44c259}=_0xc70319,_0x3c4f2e=_0x4128b9['nodeValue'];if(/[\n\r]/['test'](_0x3c4f2e))return null;if(_0x3ab064['state']['doc']['sliceString'](_0xc70319['from'],_0xc70319['to'])!=_0x3c4f2e)return null;let _0x5e6d2d=_0xd5767f['invertedDesc'],_0x4c7346=new ChangedRange(_0x5e6d2d['mapPos'](_0x11ecac),_0x5e6d2d['mapPos'](_0x44c259),_0x11ecac,_0x44c259),_0xbd4dd3=[];for(let _0x250760=_0x4128b9['parentNode'];;_0x250760=_0x250760['parentNode']){let _0x33d61d=ContentView['get'](_0x250760);if(_0x33d61d instanceof MarkView)_0xbd4dd3['push']({'node':_0x250760,'deco':_0x33d61d['mark']});else{if(_0x33d61d instanceof LineView||'DIV'==_0x250760['nodeName']&&_0x250760['parentNode']==_0x3ab064['contentDOM'])return{'range':_0x4c7346,'text':_0x4128b9,'marks':_0xbd4dd3,'line':_0x250760};if(_0x250760==_0x3ab064['contentDOM'])return null;_0xbd4dd3['push']({'node':_0x250760,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':yv(_0x250760),'tagName':_0x250760['tagName']['toLowerCase']()})});}}}(this['view'],_0x11e140['changes'],_0x3b3c4e):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x4977bb,to:_0x2f7f78}=this['hasComposition'];_0x592183=new ChangedRange(_0x4977bb,_0x2f7f78,_0x11e140['changes']['mapPos'](_0x4977bb,-0x1),_0x11e140['changes']['mapPos'](_0x2f7f78,0x1))['addToSet'](_0x592183['slice']());}this['hasComposition']=_0x5da4cf?{'from':_0x5da4cf['range']['fromB'],'to':_0x5da4cf['range']['toB']}:null,(U_['ie']||U_['chrome'])&&!_0x5da4cf&&_0x11e140&&_0x11e140['state']['doc']['lines']!=_0x11e140['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x508884=function(_0x3f6be5,_0x22781c,_0x55cbf9){let _0x168a82=new wT();return RangeSet['compare'](_0x3f6be5,_0x22781c,_0x55cbf9,_0x168a82),_0x168a82['changes'];}(this['decorations'],this['updateDeco'](),_0x11e140['changes']);return _0x592183=ChangedRange['extendWithRanges'](_0x592183,_0x508884),!!(0x7&this['flags']||0x0!=_0x592183['length'])&&(this['updateInner'](_0x592183,_0x11e140['startState']['doc']['length'],_0x5da4cf),_0x11e140['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x392052,_0x25f660,_0x35e331){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x392052,_0x25f660,_0x35e331);let {observer:_0x503fa3}=this['view'];_0x503fa3['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x894dbe=U_['chrome']||U_['ios']?{'node':_0x503fa3['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x894dbe),this['flags']&=-0x8,_0x894dbe&&(_0x894dbe['written']||_0x503fa3['selectionRange']['focusNode']!=_0x894dbe['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x403531=>_0x403531['flags']&=-0x9);let _0x539506=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x31a75a of this['children'])_0x31a75a instanceof BlockWidgetView&&_0x31a75a['widget']instanceof BlockGapWidget&&_0x539506['push'](_0x31a75a['dom']);}_0x503fa3['updateGaps'](_0x539506);}['updateChildren'](_0x305fe7,_0xac9b5e,_0x50868e){let _0x3baee6=_0x50868e?_0x50868e['range']['addToSet'](_0x305fe7['slice']()):_0x305fe7,_0xae4b15=this['childCursor'](_0xac9b5e);for(let _0x59ed16=_0x3baee6['length']-0x1;;_0x59ed16--){let _0x5074c8=_0x59ed16>=0x0?_0x3baee6[_0x59ed16]:null;if(!_0x5074c8)break;let _0x48bc56,_0x3f4d21,_0x2a6698,_0x51f5ed,{fromA:_0x3301cf,toA:_0x31038f,fromB:_0x1a77ed,toB:_0x9ebb30}=_0x5074c8;if(_0x50868e&&_0x50868e['range']['fromB']<_0x9ebb30&&_0x50868e['range']['toB']>_0x1a77ed){let _0x2e7eae=ContentBuilder['build'](this['view']['state']['doc'],_0x1a77ed,_0x50868e['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x3046cc=ContentBuilder['build'](this['view']['state']['doc'],_0x50868e['range']['toB'],_0x9ebb30,this['decorations'],this['dynamicDecorationMap']);_0x3f4d21=_0x2e7eae['breakAtStart'],_0x2a6698=_0x2e7eae['openStart'],_0x51f5ed=_0x3046cc['openEnd'];let _0x1cfadc=this['compositionView'](_0x50868e);_0x3046cc['breakAtStart']?_0x1cfadc['breakAfter']=0x1:_0x3046cc['content']['length']&&_0x1cfadc['merge'](_0x1cfadc['length'],_0x1cfadc['length'],_0x3046cc['content'][0x0],!0x1,_0x3046cc['openStart'],0x0)&&(_0x1cfadc['breakAfter']=_0x3046cc['content'][0x0]['breakAfter'],_0x3046cc['content']['shift']()),_0x2e7eae['content']['length']&&_0x1cfadc['merge'](0x0,0x0,_0x2e7eae['content'][_0x2e7eae['content']['length']-0x1],!0x0,0x0,_0x2e7eae['openEnd'])&&_0x2e7eae['content']['pop'](),_0x48bc56=_0x2e7eae['content']['concat'](_0x1cfadc)['concat'](_0x3046cc['content']);}else({content:_0x48bc56,breakAtStart:_0x3f4d21,openStart:_0x2a6698,openEnd:_0x51f5ed}=ContentBuilder['build'](this['view']['state']['doc'],_0x1a77ed,_0x9ebb30,this['decorations'],this['dynamicDecorationMap']));let {i:_0x173bf2,off:_0x5e958d}=_0xae4b15['findPos'](_0x31038f,0x1),{i:_0x21a315,off:_0x2cda81}=_0xae4b15['findPos'](_0x3301cf,-0x1);hv(this,_0x21a315,_0x2cda81,_0x173bf2,_0x5e958d,_0x48bc56,_0x3f4d21,_0x2a6698,_0x51f5ed);}_0x50868e&&this['fixCompositionDOM'](_0x50868e);}['updateEditContextFormatting'](_0x1695e5){this['editContextFormatting']=this['editContextFormatting']['map'](_0x1695e5['changes']);for(let _0x4e0d1f of _0x1695e5['transactions'])for(let _0x13bd9e of _0x4e0d1f['effects'])_0x13bd9e['is'](iT)&&(this['editContextFormatting']=_0x13bd9e['value']);}['compositionView'](_0x45f56b){let _0x2562bd=new TextView(_0x45f56b['text']['nodeValue']);_0x2562bd['flags']|=0x8;for(let {deco:_0x1358a4}of _0x45f56b['marks'])_0x2562bd=new MarkView(_0x1358a4,[_0x2562bd],_0x2562bd['length']);let _0x2f2154=new LineView();return _0x2f2154['append'](_0x2562bd,0x0),_0x2f2154;}['fixCompositionDOM'](_0x335a57){let _0x16db9d=(_0x3c5936,_0x534d31)=>{_0x534d31['flags']|=0x8|(_0x534d31['children']['some'](_0x3decdb=>0x7&_0x3decdb['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x534d31);let _0x53b087=ContentView['get'](_0x3c5936);_0x53b087&&_0x53b087!=_0x534d31&&(_0x53b087['dom']=null),_0x534d31['setDOM'](_0x3c5936);},_0x503018=this['childPos'](_0x335a57['range']['fromB'],0x1),_0x4ae8d8=this['children'][_0x503018['i']];_0x16db9d(_0x335a57['line'],_0x4ae8d8);for(let _0x2958dc=_0x335a57['marks']['length']-0x1;_0x2958dc>=-0x1;_0x2958dc--)_0x503018=_0x4ae8d8['childPos'](_0x503018['off'],0x1),_0x4ae8d8=_0x4ae8d8['children'][_0x503018['i']],_0x16db9d(_0x2958dc>=0x0?_0x335a57['marks'][_0x2958dc]['node']:_0x335a57['text'],_0x4ae8d8);}['updateSelection'](_0x19e37e=!0x1,_0x2c69b6=!0x1){!_0x19e37e&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0xda7d07=this['view']['root']['activeElement'],_0x23aead=_0xda7d07==this['dom'],_0x542409=!_0x23aead&&!(this['view']['state']['facet'](nT)||this['dom']['tabIndex']>-0x1)&&j_(this['dom'],this['view']['observer']['selectionRange'])&&!(_0xda7d07&&this['dom']['contains'](_0xda7d07));if(!(_0x23aead||_0x2c69b6||_0x542409))return;let _0x2ec38f=this['forceSelection'];this['forceSelection']=!0x1;let _0x261f4a=this['view']['state']['selection']['main'],_0x198803=this['moveToLine'](this['domAtPos'](_0x261f4a['anchor'])),_0x3b8698=_0x261f4a['empty']?_0x198803:this['moveToLine'](this['domAtPos'](_0x261f4a['head']));if(U_['gecko']&&_0x261f4a['empty']&&!this['hasComposition']&&(0x1==(_0x346c5b=_0x198803)['node']['nodeType']&&_0x346c5b['node']['firstChild']&&(0x0==_0x346c5b['offset']||'false'==_0x346c5b['node']['childNodes'][_0x346c5b['offset']-0x1]['contentEditable'])&&(_0x346c5b['offset']==_0x346c5b['node']['childNodes']['length']||'false'==_0x346c5b['node']['childNodes'][_0x346c5b['offset']]['contentEditable']))){let _0x2a31cc=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x198803['node']['insertBefore'](_0x2a31cc,_0x198803['node']['childNodes'][_0x198803['offset']]||null)),_0x198803=_0x3b8698=new DOMPos(_0x2a31cc,0x0),_0x2ec38f=!0x0;}var _0x346c5b;let _0x24c773=this['view']['observer']['selectionRange'];!_0x2ec38f&&_0x24c773['focusNode']&&(G_(_0x198803['node'],_0x198803['offset'],_0x24c773['anchorNode'],_0x24c773['anchorOffset'])&&G_(_0x3b8698['node'],_0x3b8698['offset'],_0x24c773['focusNode'],_0x24c773['focusOffset'])||this['suppressWidgetCursorChange'](_0x24c773,_0x261f4a))||(this['view']['observer']['ignore'](()=>{U_['android']&&U_['chrome']&&this['dom']['contains'](_0x24c773['focusNode'])&&function(_0x40b31d,_0x5e4655){for(let _0x5c8606=_0x40b31d;_0x5c8606&&_0x5c8606!=_0x5e4655;_0x5c8606=_0x5c8606['assignedSlot']||_0x5c8606['parentNode'])if(0x1==_0x5c8606['nodeType']&&'false'==_0x5c8606['contentEditable'])return!0x0;return!0x1;}(_0x24c773['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x2ae8c6=B_(this['view']['root']);if(_0x2ae8c6){if(_0x261f4a['empty']){if(U_['gecko']){let _0x5de080=function(_0x21d1cb,_0x16f1bf){return 0x1!=_0x21d1cb['nodeType']?0x0:(_0x16f1bf&&'false'==_0x21d1cb['childNodes'][_0x16f1bf-0x1]['contentEditable']?0x1:0x0)|(_0x16f1bf<_0x21d1cb['childNodes']['length']&&'false'==_0x21d1cb['childNodes'][_0x16f1bf]['contentEditable']?0x2:0x0);}(_0x198803['node'],_0x198803['offset']);if(_0x5de080&&0x3!=_0x5de080){let _0x4b6ac9=(0x1==_0x5de080?ov:av)(_0x198803['node'],_0x198803['offset']);_0x4b6ac9&&(_0x198803=new DOMPos(_0x4b6ac9['node'],_0x4b6ac9['offset']));}}_0x2ae8c6['collapse'](_0x198803['node'],_0x198803['offset']),null!=_0x261f4a['bidiLevel']&&void 0x0!==_0x2ae8c6['caretBidiLevel']&&(_0x2ae8c6['caretBidiLevel']=_0x261f4a['bidiLevel']);}else{if(_0x2ae8c6['extend']){_0x2ae8c6['collapse'](_0x198803['node'],_0x198803['offset']);try{_0x2ae8c6['extend'](_0x3b8698['node'],_0x3b8698['offset']);}catch(_0x55d1fd){}}else{let _0x21fb91=document['createRange']();_0x261f4a['anchor']>_0x261f4a['head']&&([_0x198803,_0x3b8698]=[_0x3b8698,_0x198803]),_0x21fb91['setEnd'](_0x3b8698['node'],_0x3b8698['offset']),_0x21fb91['setStart'](_0x198803['node'],_0x198803['offset']),_0x2ae8c6['removeAllRanges'](),_0x2ae8c6['addRange'](_0x21fb91);}}}else;_0x542409&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0xda7d07&&_0xda7d07['focus']());}),this['view']['observer']['setSelectionRange'](_0x198803,_0x3b8698)),this['impreciseAnchor']=_0x198803['precise']?null:new DOMPos(_0x24c773['anchorNode'],_0x24c773['anchorOffset']),this['impreciseHead']=_0x3b8698['precise']?null:new DOMPos(_0x24c773['focusNode'],_0x24c773['focusOffset']);}['suppressWidgetCursorChange'](_0x70fdc9,_0x2e3028){return this['hasComposition']&&_0x2e3028['empty']&&G_(_0x70fdc9['focusNode'],_0x70fdc9['focusOffset'],_0x70fdc9['anchorNode'],_0x70fdc9['anchorOffset'])&&this['posFromDOM'](_0x70fdc9['focusNode'],_0x70fdc9['focusOffset'])==_0x2e3028['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x4c39ec}=this,_0x23b3ea=_0x4c39ec['state']['selection']['main'],_0x292ad3=B_(_0x4c39ec['root']),{anchorNode:_0x4db3d5,anchorOffset:_0x9ed600}=_0x4c39ec['observer']['selectionRange'];if(!(_0x292ad3&&_0x23b3ea['empty']&&_0x23b3ea['assoc']&&_0x292ad3['modify']))return;let _0x24323a=LineView['find'](this,_0x23b3ea['head']);if(!_0x24323a)return;let _0x49688d=_0x24323a['posAtStart'];if(_0x23b3ea['head']==_0x49688d||_0x23b3ea['head']==_0x49688d+_0x24323a['length'])return;let _0x907d4c=this['coordsAt'](_0x23b3ea['head'],-0x1),_0x279bca=this['coordsAt'](_0x23b3ea['head'],0x1);if(!_0x907d4c||!_0x279bca||_0x907d4c['bottom']>_0x279bca['top'])return;let _0x51491c=this['domAtPos'](_0x23b3ea['head']+_0x23b3ea['assoc']);_0x292ad3['collapse'](_0x51491c['node'],_0x51491c['offset']),_0x292ad3['modify']('move',_0x23b3ea['assoc']<0x0?'forward':'backward','lineboundary'),_0x4c39ec['observer']['readSelectionRange']();let _0x3c8288=_0x4c39ec['observer']['selectionRange'];_0x4c39ec['docView']['posFromDOM'](_0x3c8288['anchorNode'],_0x3c8288['anchorOffset'])!=_0x23b3ea['from']&&_0x292ad3['collapse'](_0x4db3d5,_0x9ed600);}['moveToLine'](_0x462dc0){let _0x7bd7a5,_0x5b4fb3=this['dom'];if(_0x462dc0['node']!=_0x5b4fb3)return _0x462dc0;for(let _0x3be6d2=_0x462dc0['offset'];!_0x7bd7a5&&_0x3be6d2<_0x5b4fb3['childNodes']['length'];_0x3be6d2++){let _0x328f35=ContentView['get'](_0x5b4fb3['childNodes'][_0x3be6d2]);_0x328f35 instanceof LineView&&(_0x7bd7a5=_0x328f35['domAtPos'](0x0));}for(let _0x37f028=_0x462dc0['offset']-0x1;!_0x7bd7a5&&_0x37f028>=0x0;_0x37f028--){let _0x4273ae=ContentView['get'](_0x5b4fb3['childNodes'][_0x37f028]);_0x4273ae instanceof LineView&&(_0x7bd7a5=_0x4273ae['domAtPos'](_0x4273ae['length']));}return _0x7bd7a5?new DOMPos(_0x7bd7a5['node'],_0x7bd7a5['offset'],!0x0):_0x462dc0;}['nearest'](_0x35f5eb){for(let _0x366e2f=_0x35f5eb;_0x366e2f;){let _0xee0153=ContentView['get'](_0x366e2f);if(_0xee0153&&_0xee0153['rootView']==this)return _0xee0153;_0x366e2f=_0x366e2f['parentNode'];}return null;}['posFromDOM'](_0x3dac83,_0x4d682f){let _0x22f8ba=this['nearest'](_0x3dac83);if(!_0x22f8ba)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x22f8ba['localPosFromDOM'](_0x3dac83,_0x4d682f)+_0x22f8ba['posAtStart'];}['domAtPos'](_0x521aa8){let {i:_0x478063,off:_0x300763}=this['childCursor']()['findPos'](_0x521aa8,-0x1);for(;_0x478063<this['children']['length']-0x1;){let _0x4f589f=this['children'][_0x478063];if(_0x300763<_0x4f589f['length']||_0x4f589f instanceof LineView)break;_0x478063++,_0x300763=0x0;}return this['children'][_0x478063]['domAtPos'](_0x300763);}['coordsAt'](_0x589c81,_0x295b79){let _0x2e5a69=null,_0x123a93=0x0;for(let _0x2429a9=this['length'],_0x239aac=this['children']['length']-0x1;_0x239aac>=0x0;_0x239aac--){let _0x53c429=this['children'][_0x239aac],_0x20846d=_0x2429a9-_0x53c429['breakAfter'],_0x1e2da3=_0x20846d-_0x53c429['length'];if(_0x20846d<_0x589c81)break;if(_0x1e2da3<=_0x589c81&&(_0x1e2da3<_0x589c81||_0x53c429['covers'](-0x1))&&(_0x20846d>_0x589c81||_0x53c429['covers'](0x1))&&(!_0x2e5a69||_0x53c429 instanceof LineView&&!(_0x2e5a69 instanceof LineView&&_0x295b79>=0x0)))_0x2e5a69=_0x53c429,_0x123a93=_0x1e2da3;else{if(_0x2e5a69&&_0x1e2da3==_0x589c81&&_0x20846d==_0x589c81&&_0x53c429 instanceof BlockWidgetView&&Math['abs'](_0x295b79)<0x2){if(_0x53c429['deco']['startSide']<0x0)break;_0x239aac&&(_0x2e5a69=null);}}_0x2429a9=_0x1e2da3;}return _0x2e5a69?_0x2e5a69['coordsAt'](_0x589c81-_0x123a93,_0x295b79):null;}['coordsForChar'](_0x47339e){let {i:_0x1b4463,off:_0x40eb95}=this['childPos'](_0x47339e,0x1),_0x4f2c53=this['children'][_0x1b4463];if(!(_0x4f2c53 instanceof LineView))return null;for(;_0x4f2c53['children']['length'];){let {i:_0x377be7,off:_0x464c6}=_0x4f2c53['childPos'](_0x40eb95,0x1);for(;;_0x377be7++){if(_0x377be7==_0x4f2c53['children']['length'])return null;if((_0x4f2c53=_0x4f2c53['children'][_0x377be7])['length'])break;}_0x40eb95=_0x464c6;}if(!(_0x4f2c53 instanceof TextView))return null;let _0x4825e5=wy(_0x4f2c53['text'],_0x40eb95);if(_0x4825e5==_0x40eb95)return null;let _0x4cbf25=iv(_0x4f2c53['dom'],_0x40eb95,_0x4825e5)['getClientRects']();for(let _0x15eea9=0x0;_0x15eea9<_0x4cbf25['length'];_0x15eea9++){let _0x3b9006=_0x4cbf25[_0x15eea9];if(_0x15eea9==_0x4cbf25['length']-0x1||_0x3b9006['top']<_0x3b9006['bottom']&&_0x3b9006['left']<_0x3b9006['right'])return _0x3b9006;}return null;}['measureVisibleLineHeights'](_0x18b367){let _0x6cfb4e=[],{from:_0x4018ae,to:_0x306ad7}=_0x18b367,_0x4511c9=this['view']['contentDOM']['clientWidth'],_0x195774=_0x4511c9>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0xef0fb2=-0x1,_0x3e60fa=this['view']['textDirection']==Av['LTR'];for(let _0x4c2933=0x0,_0x9c8f14=0x0;_0x9c8f14<this['children']['length'];_0x9c8f14++){let _0x3ea740=this['children'][_0x9c8f14],_0x23907d=_0x4c2933+_0x3ea740['length'];if(_0x23907d>_0x306ad7)break;if(_0x4c2933>=_0x4018ae){let _0x1e5dd1=_0x3ea740['dom']['getBoundingClientRect']();if(_0x6cfb4e['push'](_0x1e5dd1['height']),_0x195774){let _0x4bcbe2=_0x3ea740['dom']['lastChild'],_0x48c813=_0x4bcbe2?H_(_0x4bcbe2):[];if(_0x48c813['length']){let _0x454a2a=_0x48c813[_0x48c813['length']-0x1],_0x4ba7de=_0x3e60fa?_0x454a2a['right']-_0x1e5dd1['left']:_0x1e5dd1['right']-_0x454a2a['left'];_0x4ba7de>_0xef0fb2&&(_0xef0fb2=_0x4ba7de,this['minWidth']=_0x4511c9,this['minWidthFrom']=_0x4c2933,this['minWidthTo']=_0x23907d);}}}_0x4c2933=_0x23907d+_0x3ea740['breakAfter'];}return _0x6cfb4e;}['textDirectionAt'](_0x59ddbf){let {i:_0x2c60bc}=this['childPos'](_0x59ddbf,0x1);return'rtl'==getComputedStyle(this['children'][_0x2c60bc]['dom'])['direction']?Av['RTL']:Av['LTR'];}['measureTextSize'](){for(let _0x469f19 of this['children'])if(_0x469f19 instanceof LineView){let _0x10a498=_0x469f19['measureTextSize']();if(_0x10a498)return _0x10a498;}let _0x2338e5,_0x210d20,_0x402eb7,_0x40473b=document['createElement']('div');return _0x40473b['className']='cm-line',_0x40473b['style']['width']='99999px',_0x40473b['style']['position']='absolute',_0x40473b['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x40473b);let _0x5b8e6b=H_(_0x40473b['firstChild'])[0x0];_0x2338e5=_0x40473b['getBoundingClientRect']()['height'],_0x210d20=_0x5b8e6b?_0x5b8e6b['width']/0x1b:0x7,_0x402eb7=_0x5b8e6b?_0x5b8e6b['height']:_0x2338e5,_0x40473b['remove']();}),{'lineHeight':_0x2338e5,'charWidth':_0x210d20,'textHeight':_0x402eb7};}['childCursor'](_0x482ad7=this['length']){let _0xdf6785=this['children']['length'];return _0xdf6785&&(_0x482ad7-=this['children'][--_0xdf6785]['length']),new ChildCursor(this['children'],_0x482ad7,_0xdf6785);}['computeBlockGapDeco'](){let _0xc99cd2=[],_0x35b480=this['view']['viewState'];for(let _0x52bb8f=0x0,_0x3adb4c=0x0;;_0x3adb4c++){let _0x3c196f=_0x3adb4c==_0x35b480['viewports']['length']?null:_0x35b480['viewports'][_0x3adb4c],_0x3470ef=_0x3c196f?_0x3c196f['from']-0x1:this['length'];if(_0x3470ef>_0x52bb8f){let _0x26b5d7=(_0x35b480['lineBlockAt'](_0x3470ef)['bottom']-_0x35b480['lineBlockAt'](_0x52bb8f)['top'])/this['view']['scaleY'];_0xc99cd2['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x26b5d7),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x52bb8f,_0x3470ef));}if(!_0x3c196f)break;_0x52bb8f=_0x3c196f['to']+0x1;}return Decoration['set'](_0xc99cd2);}['updateDeco'](){let _0x1a13cd=0x1,_0x4efb0f=this['view']['state']['facet'](lT)['map'](_0x5a4153=>(this['dynamicDecorationMap'][_0x1a13cd++]='function'==typeof _0x5a4153)?_0x5a4153(this['view']):_0x5a4153),_0x2c2757=!0x1,_0x4f9bd3=this['view']['state']['facet'](hT)['map']((_0x3ce0d9,_0x1f9e52)=>{let _0x1ff830='function'==typeof _0x3ce0d9;return _0x1ff830&&(_0x2c2757=!0x0),_0x1ff830?_0x3ce0d9(this['view']):_0x3ce0d9;});for(_0x4f9bd3['length']&&(this['dynamicDecorationMap'][_0x1a13cd++]=_0x2c2757,_0x4efb0f['push'](RangeSet['join'](_0x4f9bd3))),this['decorations']=[this['editContextFormatting'],..._0x4efb0f,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x1a13cd<this['decorations']['length'];)this['dynamicDecorationMap'][_0x1a13cd++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x4fe746){if(_0x4fe746['isSnapshot']){let _0x474101=this['view']['viewState']['lineBlockAt'](_0x4fe746['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x474101['top']-_0x4fe746['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x4fe746['xMargin']);}for(let _0x5a7c59 of this['view']['state']['facet'](tT))try{if(_0x5a7c59(this['view'],_0x4fe746['range'],_0x4fe746))return!0x0;}catch(_0x48f99){sT(this['view']['state'],_0x48f99,'scroll\x20handler');}let _0x59f283,{range:_0x21e238}=_0x4fe746,_0x260284=this['coordsAt'](_0x21e238['head'],_0x21e238['empty']?_0x21e238['assoc']:_0x21e238['head']>_0x21e238['anchor']?-0x1:0x1);if(!_0x260284)return;!_0x21e238['empty']&&(_0x59f283=this['coordsAt'](_0x21e238['anchor'],_0x21e238['anchor']>_0x21e238['head']?-0x1:0x1))&&(_0x260284={'left':Math['min'](_0x260284['left'],_0x59f283['left']),'top':Math['min'](_0x260284['top'],_0x59f283['top']),'right':Math['max'](_0x260284['right'],_0x59f283['right']),'bottom':Math['max'](_0x260284['bottom'],_0x59f283['bottom'])});let _0x2b86f4=gT(this['view']),_0x536141={'left':_0x260284['left']-_0x2b86f4['left'],'top':_0x260284['top']-_0x2b86f4['top'],'right':_0x260284['right']+_0x2b86f4['right'],'bottom':_0x260284['bottom']+_0x2b86f4['bottom']},{offsetWidth:_0x37f0d4,offsetHeight:_0x205e38}=this['view']['scrollDOM'];!function(_0x116cf4,_0x50cab3,_0x2c389e,_0x4d62d2,_0x1c8c6c,_0x3d1628,_0x11e344,_0xe31006){let _0x7546ed=_0x116cf4['ownerDocument'],_0x46eaf3=_0x7546ed['defaultView']||window;for(let _0x1d8bbf=_0x116cf4,_0x5d2539=!0x1;_0x1d8bbf&&!_0x5d2539;)if(0x1==_0x1d8bbf['nodeType']){let _0x2aec45,_0x3c78d4=_0x1d8bbf==_0x7546ed['body'],_0x16f4e1=0x1,_0x257f20=0x1;if(_0x3c78d4)_0x2aec45=Y_(_0x46eaf3);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x1d8bbf)['position'])&&(_0x5d2539=!0x0),_0x1d8bbf['scrollHeight']<=_0x1d8bbf['clientHeight']&&_0x1d8bbf['scrollWidth']<=_0x1d8bbf['clientWidth']){_0x1d8bbf=_0x1d8bbf['assignedSlot']||_0x1d8bbf['parentNode'];continue;}let _0x5aeac1=_0x1d8bbf['getBoundingClientRect']();({scaleX:_0x16f4e1,scaleY:_0x257f20}=K_(_0x1d8bbf,_0x5aeac1),_0x2aec45={'left':_0x5aeac1['left'],'right':_0x5aeac1['left']+_0x1d8bbf['clientWidth']*_0x16f4e1,'top':_0x5aeac1['top'],'bottom':_0x5aeac1['top']+_0x1d8bbf['clientHeight']*_0x257f20});}let _0x15d6d5=0x0,_0x5e9048=0x0;if('nearest'==_0x1c8c6c)_0x50cab3['top']<_0x2aec45['top']?(_0x5e9048=_0x50cab3['top']-(_0x2aec45['top']+_0x11e344),_0x2c389e>0x0&&_0x50cab3['bottom']>_0x2aec45['bottom']+_0x5e9048&&(_0x5e9048=_0x50cab3['bottom']-_0x2aec45['bottom']+_0x11e344)):_0x50cab3['bottom']>_0x2aec45['bottom']&&(_0x5e9048=_0x50cab3['bottom']-_0x2aec45['bottom']+_0x11e344,_0x2c389e<0x0&&_0x50cab3['top']-_0x5e9048<_0x2aec45['top']&&(_0x5e9048=_0x50cab3['top']-(_0x2aec45['top']+_0x11e344)));else{let _0x13f77c=_0x50cab3['bottom']-_0x50cab3['top'],_0x1d0f45=_0x2aec45['bottom']-_0x2aec45['top'];_0x5e9048=('center'==_0x1c8c6c&&_0x13f77c<=_0x1d0f45?_0x50cab3['top']+_0x13f77c/0x2-_0x1d0f45/0x2:'start'==_0x1c8c6c||'center'==_0x1c8c6c&&_0x2c389e<0x0?_0x50cab3['top']-_0x11e344:_0x50cab3['bottom']-_0x1d0f45+_0x11e344)-_0x2aec45['top'];}if('nearest'==_0x4d62d2?_0x50cab3['left']<_0x2aec45['left']?(_0x15d6d5=_0x50cab3['left']-(_0x2aec45['left']+_0x3d1628),_0x2c389e>0x0&&_0x50cab3['right']>_0x2aec45['right']+_0x15d6d5&&(_0x15d6d5=_0x50cab3['right']-_0x2aec45['right']+_0x3d1628)):_0x50cab3['right']>_0x2aec45['right']&&(_0x15d6d5=_0x50cab3['right']-_0x2aec45['right']+_0x3d1628,_0x2c389e<0x0&&_0x50cab3['left']<_0x2aec45['left']+_0x15d6d5&&(_0x15d6d5=_0x50cab3['left']-(_0x2aec45['left']+_0x3d1628))):_0x15d6d5=('center'==_0x4d62d2?_0x50cab3['left']+(_0x50cab3['right']-_0x50cab3['left'])/0x2-(_0x2aec45['right']-_0x2aec45['left'])/0x2:'start'==_0x4d62d2==_0xe31006?_0x50cab3['left']-_0x3d1628:_0x50cab3['right']-(_0x2aec45['right']-_0x2aec45['left'])+_0x3d1628)-_0x2aec45['left'],_0x15d6d5||_0x5e9048){if(_0x3c78d4)_0x46eaf3['scrollBy'](_0x15d6d5,_0x5e9048);else{let _0x173baa=0x0,_0x40ea7f=0x0;if(_0x5e9048){let _0x889b95=_0x1d8bbf['scrollTop'];_0x1d8bbf['scrollTop']+=_0x5e9048/_0x257f20,_0x40ea7f=(_0x1d8bbf['scrollTop']-_0x889b95)*_0x257f20;}if(_0x15d6d5){let _0x224e7e=_0x1d8bbf['scrollLeft'];_0x1d8bbf['scrollLeft']+=_0x15d6d5/_0x16f4e1,_0x173baa=(_0x1d8bbf['scrollLeft']-_0x224e7e)*_0x16f4e1;}_0x50cab3={'left':_0x50cab3['left']-_0x173baa,'top':_0x50cab3['top']-_0x40ea7f,'right':_0x50cab3['right']-_0x173baa,'bottom':_0x50cab3['bottom']-_0x40ea7f},_0x173baa&&Math['abs'](_0x173baa-_0x15d6d5)<0x1&&(_0x4d62d2='nearest'),_0x40ea7f&&Math['abs'](_0x40ea7f-_0x5e9048)<0x1&&(_0x1c8c6c='nearest');}}if(_0x3c78d4)break;(_0x50cab3['top']<_0x2aec45['top']||_0x50cab3['bottom']>_0x2aec45['bottom']||_0x50cab3['left']<_0x2aec45['left']||_0x50cab3['right']>_0x2aec45['right'])&&(_0x50cab3={'left':Math['max'](_0x50cab3['left'],_0x2aec45['left']),'right':Math['min'](_0x50cab3['right'],_0x2aec45['right']),'top':Math['max'](_0x50cab3['top'],_0x2aec45['top']),'bottom':Math['min'](_0x50cab3['bottom'],_0x2aec45['bottom'])}),_0x1d8bbf=_0x1d8bbf['assignedSlot']||_0x1d8bbf['parentNode'];}else{if(0xb!=_0x1d8bbf['nodeType'])break;_0x1d8bbf=_0x1d8bbf['host'];}}(this['view']['scrollDOM'],_0x536141,_0x21e238['head']<_0x21e238['anchor']?-0x1:0x1,_0x4fe746['x'],_0x4fe746['y'],Math['max'](Math['min'](_0x4fe746['xMargin'],_0x37f0d4),-_0x37f0d4),Math['max'](Math['min'](_0x4fe746['yMargin'],_0x205e38),-_0x205e38),this['view']['textDirection']==Av['LTR']);}}function OT(_0x2fd2a2,_0x9ef01c){let _0xdca21e=_0x2fd2a2['observer']['selectionRange'];if(!_0xdca21e['focusNode'])return null;let _0x2fce59=ov(_0xdca21e['focusNode'],_0xdca21e['focusOffset']),_0x238972=av(_0xdca21e['focusNode'],_0xdca21e['focusOffset']),_0x48ab01=_0x2fce59||_0x238972;if(_0x238972&&_0x2fce59&&_0x238972['node']!=_0x2fce59['node']){let _0x3092e1=ContentView['get'](_0x238972['node']);if(!_0x3092e1||_0x3092e1 instanceof TextView&&_0x3092e1['text']!=_0x238972['node']['nodeValue'])_0x48ab01=_0x238972;else{if(_0x2fd2a2['docView']['lastCompositionAfterCursor']){let _0x2dd0b3=ContentView['get'](_0x2fce59['node']);!_0x2dd0b3||_0x2dd0b3 instanceof TextView&&_0x2dd0b3['text']!=_0x2fce59['node']['nodeValue']||(_0x48ab01=_0x238972);}}}if(_0x2fd2a2['docView']['lastCompositionAfterCursor']=_0x48ab01!=_0x2fce59,!_0x48ab01)return null;let _0x289d92=_0x9ef01c-_0x48ab01['offset'];return{'from':_0x289d92,'to':_0x289d92+_0x48ab01['node']['nodeValue']['length'],'node':_0x48ab01['node']};}let wT=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x41a35d,_0x9790b1){Tv(_0x41a35d,_0x9790b1,this['changes']);}['comparePoint'](_0x2f0292,_0x45cf49){Tv(_0x2f0292,_0x45cf49,this['changes']);}['boundChange'](_0x6b0602){Tv(_0x6b0602,_0x6b0602,this['changes']);}};function bT(_0x206fc0,_0x45e3a5){return _0x45e3a5['left']>_0x206fc0?_0x45e3a5['left']-_0x206fc0:Math['max'](0x0,_0x206fc0-_0x45e3a5['right']);}function yT(_0xf4510b,_0x425cd1){return _0x425cd1['top']>_0xf4510b?_0x425cd1['top']-_0xf4510b:Math['max'](0x0,_0xf4510b-_0x425cd1['bottom']);}function _T(_0x396d3a,_0x1f827c){return _0x396d3a['top']<_0x1f827c['bottom']-0x1&&_0x396d3a['bottom']>_0x1f827c['top']+0x1;}function vT(_0x339ddc,_0x5073ca){return _0x5073ca<_0x339ddc['top']?{'top':_0x5073ca,'left':_0x339ddc['left'],'right':_0x339ddc['right'],'bottom':_0x339ddc['bottom']}:_0x339ddc;}function TT(_0x521c59,_0x252f97){return _0x252f97>_0x521c59['bottom']?{'top':_0x521c59['top'],'left':_0x521c59['left'],'right':_0x521c59['right'],'bottom':_0x252f97}:_0x521c59;}function ET(_0x323e73,_0x302195,_0x48401b){let _0x547430,_0x447ec9,_0x480018,_0x2d2d54,_0x8a65b9,_0xbbd0d,_0x4ea1ba,_0x4a79b5,_0x3f7668=!0x1;for(let _0x326645=_0x323e73['firstChild'];_0x326645;_0x326645=_0x326645['nextSibling']){let _0x3a429d=H_(_0x326645);for(let _0x4a0e9f=0x0;_0x4a0e9f<_0x3a429d['length'];_0x4a0e9f++){let _0x5b57ec=_0x3a429d[_0x4a0e9f];_0x447ec9&&_T(_0x447ec9,_0x5b57ec)&&(_0x5b57ec=vT(TT(_0x5b57ec,_0x447ec9['bottom']),_0x447ec9['top']));let _0x4d6e4c=bT(_0x302195,_0x5b57ec),_0x3258c0=yT(_0x48401b,_0x5b57ec);if(0x0==_0x4d6e4c&&0x0==_0x3258c0)return 0x3==_0x326645['nodeType']?AT(_0x326645,_0x302195,_0x48401b):ET(_0x326645,_0x302195,_0x48401b);(!_0x547430||_0x2d2d54>_0x3258c0||_0x2d2d54==_0x3258c0&&_0x480018>_0x4d6e4c)&&(_0x547430=_0x326645,_0x447ec9=_0x5b57ec,_0x480018=_0x4d6e4c,_0x2d2d54=_0x3258c0,_0x3f7668=!_0x4d6e4c||(_0x302195<_0x5b57ec['left']?_0x4a0e9f>0x0:_0x4a0e9f<_0x3a429d['length']-0x1)),0x0==_0x4d6e4c?_0x48401b>_0x5b57ec['bottom']&&(!_0x4ea1ba||_0x4ea1ba['bottom']<_0x5b57ec['bottom'])?(_0x8a65b9=_0x326645,_0x4ea1ba=_0x5b57ec):_0x48401b<_0x5b57ec['top']&&(!_0x4a79b5||_0x4a79b5['top']>_0x5b57ec['top'])&&(_0xbbd0d=_0x326645,_0x4a79b5=_0x5b57ec):_0x4ea1ba&&_T(_0x4ea1ba,_0x5b57ec)?_0x4ea1ba=TT(_0x4ea1ba,_0x5b57ec['bottom']):_0x4a79b5&&_T(_0x4a79b5,_0x5b57ec)&&(_0x4a79b5=vT(_0x4a79b5,_0x5b57ec['top']));}}if(_0x4ea1ba&&_0x4ea1ba['bottom']>=_0x48401b?(_0x547430=_0x8a65b9,_0x447ec9=_0x4ea1ba):_0x4a79b5&&_0x4a79b5['top']<=_0x48401b&&(_0x547430=_0xbbd0d,_0x447ec9=_0x4a79b5),!_0x547430)return{'node':_0x323e73,'offset':0x0};let _0x3b0e9d=Math['max'](_0x447ec9['left'],Math['min'](_0x447ec9['right'],_0x302195));return 0x3==_0x547430['nodeType']?AT(_0x547430,_0x3b0e9d,_0x48401b):_0x3f7668&&'false'!=_0x547430['contentEditable']?ET(_0x547430,_0x3b0e9d,_0x48401b):{'node':_0x323e73,'offset':Array['prototype']['indexOf']['call'](_0x323e73['childNodes'],_0x547430)+(_0x302195>=(_0x447ec9['left']+_0x447ec9['right'])/0x2?0x1:0x0)};}function AT(_0x463390,_0xbfb894,_0x1d5465){let _0x31a90a=_0x463390['nodeValue']['length'],_0x10ea19=-0x1,_0x18ae58=0x3b9aca00,_0x380a6f=0x0;for(let _0x275d1d=0x0;_0x275d1d<_0x31a90a;_0x275d1d++){let _0x355a99=iv(_0x463390,_0x275d1d,_0x275d1d+0x1)['getClientRects']();for(let _0x47b122=0x0;_0x47b122<_0x355a99['length'];_0x47b122++){let _0x40b8c0=_0x355a99[_0x47b122];if(_0x40b8c0['top']==_0x40b8c0['bottom'])continue;_0x380a6f||(_0x380a6f=_0xbfb894-_0x40b8c0['left']);let _0x4ece69=(_0x40b8c0['top']>_0x1d5465?_0x40b8c0['top']-_0x1d5465:_0x1d5465-_0x40b8c0['bottom'])-0x1;if(_0x40b8c0['left']-0x1<=_0xbfb894&&_0x40b8c0['right']+0x1>=_0xbfb894&&_0x4ece69<_0x18ae58){let _0x1cd62d=_0xbfb894>=(_0x40b8c0['left']+_0x40b8c0['right'])/0x2,_0x2681e1=_0x1cd62d;(U_['chrome']||U_['gecko'])&&(iv(_0x463390,_0x275d1d)['getBoundingClientRect']()['left']==_0x40b8c0['right']&&(_0x2681e1=!_0x1cd62d));if(_0x4ece69<=0x0)return{'node':_0x463390,'offset':_0x275d1d+(_0x2681e1?0x1:0x0)};_0x10ea19=_0x275d1d+(_0x2681e1?0x1:0x0),_0x18ae58=_0x4ece69;}}}return{'node':_0x463390,'offset':_0x10ea19>-0x1?_0x10ea19:_0x380a6f>0x0?_0x463390['nodeValue']['length']:0x0};}function ST(_0x28ae09,_0x29d3fb,_0x4aac8d,_0x15b483=-0x1){var _0x43eefb,_0x5d5ab2;let _0x2a0d37,_0x19465b=_0x28ae09['contentDOM']['getBoundingClientRect'](),_0x4ccbe4=_0x19465b['top']+_0x28ae09['viewState']['paddingTop'],{docHeight:_0xdd8be7}=_0x28ae09['viewState'],{x:_0xb4ade4,y:_0x461db8}=_0x29d3fb,_0x1779fd=_0x461db8-_0x4ccbe4;if(_0x1779fd<0x0)return 0x0;if(_0x1779fd>_0xdd8be7)return _0x28ae09['state']['doc']['length'];for(let _0x148ad1=_0x28ae09['viewState']['heightOracle']['textHeight']/0x2,_0x5dc663=!0x1;_0x2a0d37=_0x28ae09['elementAtHeight'](_0x1779fd),_0x2a0d37['type']!=_v['Text'];)for(;_0x1779fd=_0x15b483>0x0?_0x2a0d37['bottom']+_0x148ad1:_0x2a0d37['top']-_0x148ad1,!(_0x1779fd>=0x0&&_0x1779fd<=_0xdd8be7);){if(_0x5dc663)return _0x4aac8d?null:0x0;_0x5dc663=!0x0,_0x15b483=-_0x15b483;}_0x461db8=_0x4ccbe4+_0x1779fd;let _0x1b4c8b=_0x2a0d37['from'];if(_0x1b4c8b<_0x28ae09['viewport']['from'])return 0x0==_0x28ae09['viewport']['from']?0x0:_0x4aac8d?null:IT(_0x28ae09,_0x19465b,_0x2a0d37,_0xb4ade4,_0x461db8);if(_0x1b4c8b>_0x28ae09['viewport']['to'])return _0x28ae09['viewport']['to']==_0x28ae09['state']['doc']['length']?_0x28ae09['state']['doc']['length']:_0x4aac8d?null:IT(_0x28ae09,_0x19465b,_0x2a0d37,_0xb4ade4,_0x461db8);let _0x457143=_0x28ae09['dom']['ownerDocument'],_0x592edb=_0x28ae09['root']['elementFromPoint']?_0x28ae09['root']:_0x457143,_0x5303da=_0x592edb['elementFromPoint'](_0xb4ade4,_0x461db8);_0x5303da&&!_0x28ae09['contentDOM']['contains'](_0x5303da)&&(_0x5303da=null),_0x5303da||(_0xb4ade4=Math['max'](_0x19465b['left']+0x1,Math['min'](_0x19465b['right']-0x1,_0xb4ade4)),_0x5303da=_0x592edb['elementFromPoint'](_0xb4ade4,_0x461db8),_0x5303da&&!_0x28ae09['contentDOM']['contains'](_0x5303da)&&(_0x5303da=null));let _0x53ec74,_0x1f2361=-0x1;if(_0x5303da&&0x0!=(null===(_0x43eefb=_0x28ae09['docView']['nearest'](_0x5303da))||void 0x0===_0x43eefb?void 0x0:_0x43eefb['isEditable'])){if(_0x457143['caretPositionFromPoint']){let _0x3ce875=_0x457143['caretPositionFromPoint'](_0xb4ade4,_0x461db8);_0x3ce875&&({offsetNode:_0x53ec74,offset:_0x1f2361}=_0x3ce875);}else{if(_0x457143['caretRangeFromPoint']){let _0x3d298=_0x457143['caretRangeFromPoint'](_0xb4ade4,_0x461db8);_0x3d298&&({startContainer:_0x53ec74,startOffset:_0x1f2361}=_0x3d298);}}_0x53ec74&&(!_0x28ae09['contentDOM']['contains'](_0x53ec74)||U_['safari']&&function(_0x28a8b4,_0x22ea95,_0x252113){return CT(_0x28a8b4,_0x22ea95,_0x252113);}(_0x53ec74,_0x1f2361,_0xb4ade4)||U_['chrome']&&function(_0x27c61e,_0x13513b,_0x2ae0ba){if(0x0!=_0x13513b)return CT(_0x27c61e,_0x13513b,_0x2ae0ba);for(let _0x1d817b=_0x27c61e;;){let _0x590fe4=_0x1d817b['parentNode'];if(!_0x590fe4||0x1!=_0x590fe4['nodeType']||_0x590fe4['firstChild']!=_0x1d817b)return!0x1;if(_0x590fe4['classList']['contains']('cm-line'))break;_0x1d817b=_0x590fe4;}let _0x353eb4=0x1==_0x27c61e['nodeType']?_0x27c61e['getBoundingClientRect']():iv(_0x27c61e,0x0,Math['max'](_0x27c61e['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x2ae0ba-_0x353eb4['left']>0x5;}(_0x53ec74,_0x1f2361,_0xb4ade4))&&(_0x53ec74=void 0x0),_0x53ec74&&(_0x1f2361=Math['min'](W_(_0x53ec74),_0x1f2361));}if(!_0x53ec74||!_0x28ae09['docView']['dom']['contains'](_0x53ec74)){let _0x493eb9=LineView['find'](_0x28ae09['docView'],_0x1b4c8b);if(!_0x493eb9)return _0x1779fd>_0x2a0d37['top']+_0x2a0d37['height']/0x2?_0x2a0d37['to']:_0x2a0d37['from'];({node:_0x53ec74,offset:_0x1f2361}=ET(_0x493eb9['dom'],_0xb4ade4,_0x461db8));}let _0xc65d5b=_0x28ae09['docView']['nearest'](_0x53ec74);if(!_0xc65d5b)return null;if(_0xc65d5b['isWidget']&&0x1==(null===(_0x5d5ab2=_0xc65d5b['dom'])||void 0x0===_0x5d5ab2?void 0x0:_0x5d5ab2['nodeType'])){let _0x2992b5=_0xc65d5b['dom']['getBoundingClientRect']();return _0x29d3fb['y']<_0x2992b5['top']||_0x29d3fb['y']<=_0x2992b5['bottom']&&_0x29d3fb['x']<=(_0x2992b5['left']+_0x2992b5['right'])/0x2?_0xc65d5b['posAtStart']:_0xc65d5b['posAtEnd'];}return _0xc65d5b['localPosFromDOM'](_0x53ec74,_0x1f2361)+_0xc65d5b['posAtStart'];}function IT(_0x1cefed,_0xab4dbd,_0x4904f5,_0x4c3727,_0x573efc){let _0x4fa326=Math['round']((_0x4c3727-_0xab4dbd['left'])*_0x1cefed['defaultCharacterWidth']);if(_0x1cefed['lineWrapping']&&_0x4904f5['height']>1.5*_0x1cefed['defaultLineHeight']){let _0x4e711a=_0x1cefed['viewState']['heightOracle']['textHeight'];_0x4fa326+=Math['floor']((_0x573efc-_0x4904f5['top']-0.5*(_0x1cefed['defaultLineHeight']-_0x4e711a))/_0x4e711a)*_0x1cefed['viewState']['heightOracle']['lineLength'];}let _0x5b445c=_0x1cefed['state']['sliceDoc'](_0x4904f5['from'],_0x4904f5['to']);return _0x4904f5['from']+w_(_0x5b445c,_0x4fa326,_0x1cefed['state']['tabSize']);}function CT(_0x2c4ea4,_0x3e4bd2,_0x9b8448){let _0x186b7a,_0xa9fe85=_0x2c4ea4;if(0x3!=_0x2c4ea4['nodeType']||_0x3e4bd2!=(_0x186b7a=_0x2c4ea4['nodeValue']['length']))return!0x1;for(;;){let _0xe78371=_0xa9fe85['nextSibling'];if(_0xe78371){if('BR'==_0xe78371['nodeName'])break;return!0x1;}{let _0x47480b=_0xa9fe85['parentNode'];if(!_0x47480b||'DIV'==_0x47480b['nodeName'])break;_0xa9fe85=_0x47480b;}}return iv(_0x2c4ea4,_0x186b7a-0x1,_0x186b7a)['getBoundingClientRect']()['right']>_0x9b8448;}function kT(_0x4b71eb,_0x496894,_0x5e57b9){let _0x2955db=_0x4b71eb['lineBlockAt'](_0x496894);if(Array['isArray'](_0x2955db['type'])){let _0xadeab9;for(let _0x3b4b42 of _0x2955db['type']){if(_0x3b4b42['from']>_0x496894)break;if(!(_0x3b4b42['to']<_0x496894)){if(_0x3b4b42['from']<_0x496894&&_0x3b4b42['to']>_0x496894)return _0x3b4b42;_0xadeab9&&(_0x3b4b42['type']!=_v['Text']||_0xadeab9['type']==_0x3b4b42['type']&&!(_0x5e57b9<0x0?_0x3b4b42['from']<_0x496894:_0x3b4b42['to']>_0x496894))||(_0xadeab9=_0x3b4b42);}}return _0xadeab9||_0x2955db;}return _0x2955db;}function xT(_0x5acde3,_0x45f965,_0x254ad0,_0x43843c){let _0x89a0cd=_0x5acde3['state']['doc']['lineAt'](_0x45f965['head']),_0xd57dc1=_0x5acde3['bidiSpans'](_0x89a0cd),_0x22f4a1=_0x5acde3['textDirectionAt'](_0x89a0cd['from']);for(let _0x512694=_0x45f965,_0xf720a9=null;;){let _0x23e517=Bv(_0x89a0cd,_0xd57dc1,_0x22f4a1,_0x512694,_0x254ad0),_0x56c704=Uv;if(!_0x23e517){if(_0x89a0cd['number']==(_0x254ad0?_0x5acde3['state']['doc']['lines']:0x1))return _0x512694;_0x56c704='\x0a',_0x89a0cd=_0x5acde3['state']['doc']['line'](_0x89a0cd['number']+(_0x254ad0?0x1:-0x1)),_0xd57dc1=_0x5acde3['bidiSpans'](_0x89a0cd),_0x23e517=_0x5acde3['visualLineSide'](_0x89a0cd,!_0x254ad0);}if(_0xf720a9){if(!_0xf720a9(_0x56c704))return _0x512694;}else{if(!_0x43843c)return _0x23e517;_0xf720a9=_0x43843c(_0x56c704);}_0x512694=_0x23e517;}}function RT(_0x4ccd7f,_0x2ffe37,_0x44adc9){for(;;){let _0xf26e62=0x0;for(let _0x18dbdb of _0x4ccd7f)_0x18dbdb['between'](_0x2ffe37-0x1,_0x2ffe37+0x1,(_0xa674ac,_0x36556e,_0x4ffd8a)=>{if(_0x2ffe37>_0xa674ac&&_0x2ffe37<_0x36556e){let _0x565ced=_0xf26e62||_0x44adc9||(_0x2ffe37-_0xa674ac<_0x36556e-_0x2ffe37?-0x1:0x1);_0x2ffe37=_0x565ced<0x0?_0xa674ac:_0x36556e,_0xf26e62=_0x565ced;}});if(!_0xf26e62)return _0x2ffe37;}}function PT(_0x14117a,_0x53d8f7){let _0x4eec2a=null;for(let _0x36e22e=0x0;_0x36e22e<_0x53d8f7['ranges']['length'];_0x36e22e++){let _0x12b3c2=_0x53d8f7['ranges'][_0x36e22e],_0x2770f4=null;if(_0x12b3c2['empty']){let _0x3369d4=RT(_0x14117a,_0x12b3c2['from'],0x0);_0x3369d4!=_0x12b3c2['from']&&(_0x2770f4=EditorSelection['cursor'](_0x3369d4,-0x1));}else{let _0x47e3dc=RT(_0x14117a,_0x12b3c2['from'],-0x1),_0x5dd099=RT(_0x14117a,_0x12b3c2['to'],0x1);_0x47e3dc==_0x12b3c2['from']&&_0x5dd099==_0x12b3c2['to']||(_0x2770f4=EditorSelection['range'](_0x12b3c2['from']==_0x12b3c2['anchor']?_0x47e3dc:_0x5dd099,_0x12b3c2['from']==_0x12b3c2['head']?_0x47e3dc:_0x5dd099));}_0x2770f4&&(_0x4eec2a||(_0x4eec2a=_0x53d8f7['ranges']['slice']()),_0x4eec2a[_0x36e22e]=_0x2770f4);}return _0x4eec2a?EditorSelection['create'](_0x4eec2a,_0x53d8f7['mainIndex']):_0x53d8f7;}function MT(_0x46b296,_0x42bb34,_0x505481){let _0x1223f1=RT(_0x46b296['state']['facet'](uT)['map'](_0x2d6df2=>_0x2d6df2(_0x46b296)),_0x505481['from'],_0x42bb34['head']>_0x505481['from']?-0x1:0x1);return _0x1223f1==_0x505481['from']?_0x505481:EditorSelection['cursor'](_0x1223f1,_0x1223f1<_0x505481['from']?0x1:-0x1);}const NT='';class DOMReader{constructor(_0x140b97,_0x2ecc25){this['points']=_0x140b97,this['text']='',this['lineSeparator']=_0x2ecc25['facet'](EditorState['lineSeparator']);}['append'](_0x1a31ff){this['text']+=_0x1a31ff;}['lineBreak'](){this['text']+=NT;}['readRange'](_0x51937d,_0x56ab73){if(!_0x51937d)return this;let _0xcc4e3b=_0x51937d['parentNode'];for(let _0x540713=_0x51937d;;){this['findPointBefore'](_0xcc4e3b,_0x540713);let _0x5e10a8=this['text']['length'];this['readNode'](_0x540713);let _0xb81988=_0x540713['nextSibling'];if(_0xb81988==_0x56ab73)break;let _0x2f1a1e=ContentView['get'](_0x540713),_0x164b53=ContentView['get'](_0xb81988);(_0x2f1a1e&&_0x164b53?_0x2f1a1e['breakAfter']:(_0x2f1a1e?_0x2f1a1e['breakAfter']:X_(_0x540713))||X_(_0xb81988)&&('BR'!=_0x540713['nodeName']||_0x540713['cmIgnore'])&&this['text']['length']>_0x5e10a8)&&!DT(_0xb81988,_0x56ab73)&&this['lineBreak'](),_0x540713=_0xb81988;}return this['findPointBefore'](_0xcc4e3b,_0x56ab73),this;}['readTextNode'](_0x800f36){let _0x2c4ac3=_0x800f36['nodeValue'];for(let _0x2410b1 of this['points'])_0x2410b1['node']==_0x800f36&&(_0x2410b1['pos']=this['text']['length']+Math['min'](_0x2410b1['offset'],_0x2c4ac3['length']));for(let _0x480472=0x0,_0x236207=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x3caa2a,_0x1b5131=-0x1,_0x531e9c=0x1;if(this['lineSeparator']?(_0x1b5131=_0x2c4ac3['indexOf'](this['lineSeparator'],_0x480472),_0x531e9c=this['lineSeparator']['length']):(_0x3caa2a=_0x236207['exec'](_0x2c4ac3))&&(_0x1b5131=_0x3caa2a['index'],_0x531e9c=_0x3caa2a[0x0]['length']),this['append'](_0x2c4ac3['slice'](_0x480472,_0x1b5131<0x0?_0x2c4ac3['length']:_0x1b5131)),_0x1b5131<0x0)break;if(this['lineBreak'](),_0x531e9c>0x1){for(let _0xe4f841 of this['points'])_0xe4f841['node']==_0x800f36&&_0xe4f841['pos']>this['text']['length']&&(_0xe4f841['pos']-=_0x531e9c-0x1);}_0x480472=_0x1b5131+_0x531e9c;}}['readNode'](_0x2aef06){if(_0x2aef06['cmIgnore'])return;let _0x113e97=ContentView['get'](_0x2aef06),_0x2060a8=_0x113e97&&_0x113e97['overrideDOMText'];if(null!=_0x2060a8){this['findPointInside'](_0x2aef06,_0x2060a8['length']);for(let _0x2aa57d=_0x2060a8['iter']();!_0x2aa57d['next']()['done'];)_0x2aa57d['lineBreak']?this['lineBreak']():this['append'](_0x2aa57d['value']);}else 0x3==_0x2aef06['nodeType']?this['readTextNode'](_0x2aef06):'BR'==_0x2aef06['nodeName']?_0x2aef06['nextSibling']&&this['lineBreak']():0x1==_0x2aef06['nodeType']&&this['readRange'](_0x2aef06['firstChild'],null);}['findPointBefore'](_0x4d1cd7,_0x479a5c){for(let _0x598637 of this['points'])_0x598637['node']==_0x4d1cd7&&_0x4d1cd7['childNodes'][_0x598637['offset']]==_0x479a5c&&(_0x598637['pos']=this['text']['length']);}['findPointInside'](_0x407303,_0x4bacbe){for(let _0x274cc7 of this['points'])(0x3==_0x407303['nodeType']?_0x274cc7['node']==_0x407303:_0x407303['contains'](_0x274cc7['node']))&&(_0x274cc7['pos']=this['text']['length']+(LT(_0x407303,_0x274cc7['node'],_0x274cc7['offset'])?_0x4bacbe:0x0));}}function LT(_0x1ca58e,_0x56917a,_0xe437e3){for(;;){if(!_0x56917a||_0xe437e3<W_(_0x56917a))return!0x1;if(_0x56917a==_0x1ca58e)return!0x0;_0xe437e3=Z_(_0x56917a)+0x1,_0x56917a=_0x56917a['parentNode'];}}function DT(_0x40f829,_0x10c0d7){let _0x2a6768;for(;_0x40f829!=_0x10c0d7&&_0x40f829;_0x40f829=_0x40f829['nextSibling']){let _0x3a45ba=ContentView['get'](_0x40f829);if(!(null==_0x3a45ba?void 0x0:_0x3a45ba['isWidget'])&&!_0x40f829['cmIgnore'])return!0x1;_0x3a45ba&&(_0x2a6768||(_0x2a6768=[]))['push'](_0x3a45ba);}if(_0x2a6768)for(let _0x132c36 of _0x2a6768){let _0x49c441=_0x132c36['overrideDOMText'];if(null==_0x49c441?void 0x0:_0x49c441['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x4c66a2,_0x98127e){this['node']=_0x4c66a2,this['offset']=_0x98127e,this['pos']=-0x1;}}class DOMChange{constructor(_0x2c94c7,_0x55bc0a,_0x18e3c9,_0x2f3177){this['typeOver']=_0x2f3177,this['bounds']=null,this['text']='',this['domChanged']=_0x55bc0a>-0x1;let {impreciseHead:_0x33099f,impreciseAnchor:_0x5bb6e3}=_0x2c94c7['docView'];if(_0x2c94c7['state']['readOnly']&&_0x55bc0a>-0x1)this['newSel']=null;else{if(_0x55bc0a>-0x1&&(this['bounds']=_0x2c94c7['docView']['domBoundsAround'](_0x55bc0a,_0x18e3c9,0x0))){let _0x454fc=_0x33099f||_0x5bb6e3?[]:function(_0x298eae){let _0xf394b3=[];if(_0x298eae['root']['activeElement']!=_0x298eae['contentDOM'])return _0xf394b3;let {anchorNode:_0x15d237,anchorOffset:_0x27c1fb,focusNode:_0x1acd16,focusOffset:_0x39d185}=_0x298eae['observer']['selectionRange'];return _0x15d237&&(_0xf394b3['push'](new DOMPoint(_0x15d237,_0x27c1fb)),_0x1acd16==_0x15d237&&_0x39d185==_0x27c1fb||_0xf394b3['push'](new DOMPoint(_0x1acd16,_0x39d185))),_0xf394b3;}(_0x2c94c7),_0x5c4cb6=new DOMReader(_0x454fc,_0x2c94c7['state']);_0x5c4cb6['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x5c4cb6['text'],this['newSel']=function(_0x4a5082,_0x54d81d){if(0x0==_0x4a5082['length'])return null;let _0x4102f8=_0x4a5082[0x0]['pos'],_0x46f786=0x2==_0x4a5082['length']?_0x4a5082[0x1]['pos']:_0x4102f8;return _0x4102f8>-0x1&&_0x46f786>-0x1?EditorSelection['single'](_0x4102f8+_0x54d81d,_0x46f786+_0x54d81d):null;}(_0x454fc,this['bounds']['from']);}else{let _0x9b1994=_0x2c94c7['observer']['selectionRange'],_0x190f24=_0x33099f&&_0x33099f['node']==_0x9b1994['focusNode']&&_0x33099f['offset']==_0x9b1994['focusOffset']||!F_(_0x2c94c7['contentDOM'],_0x9b1994['focusNode'])?_0x2c94c7['state']['selection']['main']['head']:_0x2c94c7['docView']['posFromDOM'](_0x9b1994['focusNode'],_0x9b1994['focusOffset']),_0x4d44c2=_0x5bb6e3&&_0x5bb6e3['node']==_0x9b1994['anchorNode']&&_0x5bb6e3['offset']==_0x9b1994['anchorOffset']||!F_(_0x2c94c7['contentDOM'],_0x9b1994['anchorNode'])?_0x2c94c7['state']['selection']['main']['anchor']:_0x2c94c7['docView']['posFromDOM'](_0x9b1994['anchorNode'],_0x9b1994['anchorOffset']),_0x34bd9a=_0x2c94c7['viewport'];if((U_['ios']||U_['chrome'])&&_0x2c94c7['state']['selection']['main']['empty']&&_0x190f24!=_0x4d44c2&&(_0x34bd9a['from']>0x0||_0x34bd9a['to']<_0x2c94c7['state']['doc']['length'])){let _0x4bff9f=Math['min'](_0x190f24,_0x4d44c2),_0x213fb0=Math['max'](_0x190f24,_0x4d44c2),_0x4cd756=_0x34bd9a['from']-_0x4bff9f,_0x3e990c=_0x34bd9a['to']-_0x213fb0;0x0!=_0x4cd756&&0x1!=_0x4cd756&&0x0!=_0x4bff9f||0x0!=_0x3e990c&&-0x1!=_0x3e990c&&_0x213fb0!=_0x2c94c7['state']['doc']['length']||(_0x190f24=0x0,_0x4d44c2=_0x2c94c7['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x4d44c2,_0x190f24);}}}}function QT(_0x26880d,_0x40cfb4){let _0x5c9109,{newSel:_0x4b66a4}=_0x40cfb4,_0x320710=_0x26880d['state']['selection']['main'],_0x19acbc=_0x26880d['inputState']['lastKeyTime']>Date['now']()-0x64?_0x26880d['inputState']['lastKeyCode']:-0x1;if(_0x40cfb4['bounds']){let {from:_0x27699b,to:_0x5dc5db}=_0x40cfb4['bounds'],_0x296ce6=_0x320710['from'],_0x11febe=null;(0x8===_0x19acbc||U_['android']&&_0x40cfb4['text']['length']<_0x5dc5db-_0x27699b)&&(_0x296ce6=_0x320710['to'],_0x11febe='end');let _0xdf22d=VT(_0x26880d['state']['doc']['sliceString'](_0x27699b,_0x5dc5db,NT),_0x40cfb4['text'],_0x296ce6-_0x27699b,_0x11febe);_0xdf22d&&(U_['chrome']&&0xd==_0x19acbc&&_0xdf22d['toB']==_0xdf22d['from']+0x2&&_0x40cfb4['text']['slice'](_0xdf22d['from'],_0xdf22d['toB'])==NT+NT&&_0xdf22d['toB']--,_0x5c9109={'from':_0x27699b+_0xdf22d['from'],'to':_0x27699b+_0xdf22d['toA'],'insert':Text['of'](_0x40cfb4['text']['slice'](_0xdf22d['from'],_0xdf22d['toB'])['split'](NT))});}else _0x4b66a4&&(!_0x26880d['hasFocus']&&_0x26880d['state']['facet'](nT)||_0x4b66a4['main']['eq'](_0x320710))&&(_0x4b66a4=null);if(!_0x5c9109&&!_0x4b66a4)return!0x1;if(!_0x5c9109&&_0x40cfb4['typeOver']&&!_0x320710['empty']&&_0x4b66a4&&_0x4b66a4['main']['empty']?_0x5c9109={'from':_0x320710['from'],'to':_0x320710['to'],'insert':_0x26880d['state']['doc']['slice'](_0x320710['from'],_0x320710['to'])}:(U_['mac']||U_['android'])&&_0x5c9109&&_0x5c9109['from']==_0x5c9109['to']&&_0x5c9109['from']==_0x320710['head']-0x1&&/^\. ?$/['test'](_0x5c9109['insert']['toString']())&&'off'==_0x26880d['contentDOM']['getAttribute']('autocorrect')?(_0x4b66a4&&0x2==_0x5c9109['insert']['length']&&(_0x4b66a4=EditorSelection['single'](_0x4b66a4['main']['anchor']-0x1,_0x4b66a4['main']['head']-0x1)),_0x5c9109={'from':_0x5c9109['from'],'to':_0x5c9109['to'],'insert':Text['of']([_0x5c9109['insert']['toString']()['replace']('.','\x20')])}):_0x5c9109&&_0x5c9109['from']>=_0x320710['from']&&_0x5c9109['to']<=_0x320710['to']&&(_0x5c9109['from']!=_0x320710['from']||_0x5c9109['to']!=_0x320710['to'])&&_0x320710['to']-_0x320710['from']-(_0x5c9109['to']-_0x5c9109['from'])<=0x4?_0x5c9109={'from':_0x320710['from'],'to':_0x320710['to'],'insert':_0x26880d['state']['doc']['slice'](_0x320710['from'],_0x5c9109['from'])['append'](_0x5c9109['insert'])['append'](_0x26880d['state']['doc']['slice'](_0x5c9109['to'],_0x320710['to']))}:U_['chrome']&&_0x5c9109&&_0x5c9109['from']==_0x5c9109['to']&&_0x5c9109['from']==_0x320710['head']&&'\x0a\x20'==_0x5c9109['insert']['toString']()&&_0x26880d['lineWrapping']&&(_0x4b66a4&&(_0x4b66a4=EditorSelection['single'](_0x4b66a4['main']['anchor']-0x1,_0x4b66a4['main']['head']-0x1)),_0x5c9109={'from':_0x320710['from'],'to':_0x320710['to'],'insert':Text['of'](['\x20'])}),_0x5c9109)return $T(_0x26880d,_0x5c9109,_0x4b66a4,_0x19acbc);if(_0x4b66a4&&!_0x4b66a4['main']['eq'](_0x320710)){let _0x23852f=!0x1,_0x4c344f='select';return _0x26880d['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x26880d['inputState']['lastSelectionOrigin']&&(_0x23852f=!0x0),_0x4c344f=_0x26880d['inputState']['lastSelectionOrigin'],'select.pointer'==_0x4c344f&&(_0x4b66a4=PT(_0x26880d['state']['facet'](uT)['map'](_0x4e70a3=>_0x4e70a3(_0x26880d)),_0x4b66a4))),_0x26880d['dispatch']({'selection':_0x4b66a4,'scrollIntoView':_0x23852f,'userEvent':_0x4c344f}),!0x0;}return!0x1;}function $T(_0x4e29af,_0xdab328,_0x3d6e90,_0x56a011=-0x1){if(U_['ios']&&_0x4e29af['inputState']['flushIOSKey'](_0xdab328))return!0x0;let _0x498338=_0x4e29af['state']['selection']['main'];if(U_['android']&&(_0xdab328['to']==_0x498338['to']&&(_0xdab328['from']==_0x498338['from']||_0xdab328['from']==_0x498338['from']-0x1&&'\x20'==_0x4e29af['state']['sliceDoc'](_0xdab328['from'],_0x498338['from']))&&0x1==_0xdab328['insert']['length']&&0x2==_0xdab328['insert']['lines']&&sv(_0x4e29af['contentDOM'],'Enter',0xd)||(_0xdab328['from']==_0x498338['from']-0x1&&_0xdab328['to']==_0x498338['to']&&0x0==_0xdab328['insert']['length']||0x8==_0x56a011&&_0xdab328['insert']['length']<_0xdab328['to']-_0xdab328['from']&&_0xdab328['to']>_0x498338['head'])&&sv(_0x4e29af['contentDOM'],'Backspace',0x8)||_0xdab328['from']==_0x498338['from']&&_0xdab328['to']==_0x498338['to']+0x1&&0x0==_0xdab328['insert']['length']&&sv(_0x4e29af['contentDOM'],'Delete',0x2e)))return!0x0;let _0x21610e,_0x2cdc99=_0xdab328['insert']['toString']();_0x4e29af['inputState']['composing']>=0x0&&_0x4e29af['inputState']['composing']++;let _0x344464=()=>_0x21610e||(_0x21610e=function(_0x1a9748,_0x1383c2,_0x34e1d1){let _0x165b01,_0x1ab441=_0x1a9748['state'],_0x454f62=_0x1ab441['selection']['main'],_0x4fdceb=-0x1;if(_0x1383c2['from']==_0x1383c2['to']&&_0x1383c2['from']<_0x454f62['from']||_0x1383c2['from']>_0x454f62['to']){let _0x11e4a5=_0x1383c2['from']<_0x454f62['from']?-0x1:0x1,_0x534e3e=_0x11e4a5<0x0?_0x454f62['from']:_0x454f62['to'],_0x5f20b0=RT(_0x1ab441['facet'](uT)['map'](_0x5e02e0=>_0x5e02e0(_0x1a9748)),_0x534e3e,_0x11e4a5);_0x1383c2['from']==_0x5f20b0&&(_0x4fdceb=_0x5f20b0);}if(_0x4fdceb>-0x1)_0x165b01={'changes':_0x1383c2,'selection':EditorSelection['cursor'](_0x1383c2['from']+_0x1383c2['insert']['length'],-0x1)};else{if(_0x1383c2['from']>=_0x454f62['from']&&_0x1383c2['to']<=_0x454f62['to']&&_0x1383c2['to']-_0x1383c2['from']>=(_0x454f62['to']-_0x454f62['from'])/0x3&&(!_0x34e1d1||_0x34e1d1['main']['empty']&&_0x34e1d1['main']['from']==_0x1383c2['from']+_0x1383c2['insert']['length'])&&_0x1a9748['inputState']['composing']<0x0){let _0xb793d1=_0x454f62['from']<_0x1383c2['from']?_0x1ab441['sliceDoc'](_0x454f62['from'],_0x1383c2['from']):'',_0x394beb=_0x454f62['to']>_0x1383c2['to']?_0x1ab441['sliceDoc'](_0x1383c2['to'],_0x454f62['to']):'';_0x165b01=_0x1ab441['replaceSelection'](_0x1a9748['state']['toText'](_0xb793d1+_0x1383c2['insert']['sliceString'](0x0,void 0x0,_0x1a9748['state']['lineBreak'])+_0x394beb));}else{let _0x3bce33=_0x1ab441['changes'](_0x1383c2),_0x4bf80e=_0x34e1d1&&_0x34e1d1['main']['to']<=_0x3bce33['newLength']?_0x34e1d1['main']:void 0x0;if(_0x1ab441['selection']['ranges']['length']>0x1&&_0x1a9748['inputState']['composing']>=0x0&&_0x1383c2['to']<=_0x454f62['to']&&_0x1383c2['to']>=_0x454f62['to']-0xa){let _0x3b4cb7,_0x4f949f=_0x1a9748['state']['sliceDoc'](_0x1383c2['from'],_0x1383c2['to']),_0x28f3b2=_0x34e1d1&&OT(_0x1a9748,_0x34e1d1['main']['head']);if(_0x28f3b2){let _0x2c8b75=_0x1383c2['insert']['length']-(_0x1383c2['to']-_0x1383c2['from']);_0x3b4cb7={'from':_0x28f3b2['from'],'to':_0x28f3b2['to']-_0x2c8b75};}else _0x3b4cb7=_0x1a9748['state']['doc']['lineAt'](_0x454f62['head']);let _0x3008be=_0x454f62['to']-_0x1383c2['to'],_0x372c62=_0x454f62['to']-_0x454f62['from'];_0x165b01=_0x1ab441['changeByRange'](_0x4f9fc8=>{if(_0x4f9fc8['from']==_0x454f62['from']&&_0x4f9fc8['to']==_0x454f62['to'])return{'changes':_0x3bce33,'range':_0x4bf80e||_0x4f9fc8['map'](_0x3bce33)};let _0x338bfa=_0x4f9fc8['to']-_0x3008be,_0x414aa8=_0x338bfa-_0x4f949f['length'];if(_0x4f9fc8['to']-_0x4f9fc8['from']!=_0x372c62||_0x1a9748['state']['sliceDoc'](_0x414aa8,_0x338bfa)!=_0x4f949f||_0x4f9fc8['to']>=_0x3b4cb7['from']&&_0x4f9fc8['from']<=_0x3b4cb7['to'])return{'range':_0x4f9fc8};let _0x19b7f0=_0x1ab441['changes']({'from':_0x414aa8,'to':_0x338bfa,'insert':_0x1383c2['insert']}),_0x216c34=_0x4f9fc8['to']-_0x454f62['to'];return{'changes':_0x19b7f0,'range':_0x4bf80e?EditorSelection['range'](Math['max'](0x0,_0x4bf80e['anchor']+_0x216c34),Math['max'](0x0,_0x4bf80e['head']+_0x216c34)):_0x4f9fc8['map'](_0x19b7f0)};});}else _0x165b01={'changes':_0x3bce33,'selection':_0x4bf80e&&_0x1ab441['selection']['replaceRange'](_0x4bf80e)};}}let _0x4f0f6e='input.type';return(_0x1a9748['composing']||_0x1a9748['inputState']['compositionPendingChange']&&_0x1a9748['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x1a9748['inputState']['compositionPendingChange']=!0x1,_0x4f0f6e+='.compose',_0x1a9748['inputState']['compositionFirstChange']&&(_0x4f0f6e+='.start',_0x1a9748['inputState']['compositionFirstChange']=!0x1)),_0x1ab441['update'](_0x165b01,{'userEvent':_0x4f0f6e,'scrollIntoView':!0x0});}(_0x4e29af,_0xdab328,_0x3d6e90));return _0x4e29af['state']['facet'](qv)['some'](_0x59d737=>_0x59d737(_0x4e29af,_0xdab328['from'],_0xdab328['to'],_0x2cdc99,_0x344464))||_0x4e29af['dispatch'](_0x344464()),!0x0;}function VT(_0x1aac6b,_0x2c2573,_0x4febe6,_0x30eac8){let _0x2e3690=Math['min'](_0x1aac6b['length'],_0x2c2573['length']),_0x2db958=0x0;for(;_0x2db958<_0x2e3690&&_0x1aac6b['charCodeAt'](_0x2db958)==_0x2c2573['charCodeAt'](_0x2db958);)_0x2db958++;if(_0x2db958==_0x2e3690&&_0x1aac6b['length']==_0x2c2573['length'])return null;let _0x2e26dc=_0x1aac6b['length'],_0x3c4ade=_0x2c2573['length'];for(;_0x2e26dc>0x0&&_0x3c4ade>0x0&&_0x1aac6b['charCodeAt'](_0x2e26dc-0x1)==_0x2c2573['charCodeAt'](_0x3c4ade-0x1);)_0x2e26dc--,_0x3c4ade--;'end'==_0x30eac8&&(_0x4febe6-=_0x2e26dc+Math['max'](0x0,_0x2db958-Math['min'](_0x2e26dc,_0x3c4ade))-_0x2db958);if(_0x2e26dc<_0x2db958&&_0x1aac6b['length']<_0x2c2573['length'])_0x2db958-=_0x4febe6<=_0x2db958&&_0x4febe6>=_0x2e26dc?_0x2db958-_0x4febe6:0x0,_0x3c4ade=_0x2db958+(_0x3c4ade-_0x2e26dc),_0x2e26dc=_0x2db958;else _0x3c4ade<_0x2db958&&(_0x2db958-=_0x4febe6<=_0x2db958&&_0x4febe6>=_0x3c4ade?_0x2db958-_0x4febe6:0x0,_0x2e26dc=_0x2db958+(_0x2e26dc-_0x3c4ade),_0x3c4ade=_0x2db958);return{'from':_0x2db958,'toA':_0x2e26dc,'toB':_0x3c4ade};}class InputState{['setSelectionOrigin'](_0x293643){this['lastSelectionOrigin']=_0x293643,this['lastSelectionTime']=Date['now']();}constructor(_0x1a1648){this['view']=_0x1a1648,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']=_0x1a1648['hasFocus'],U_['safari']&&_0x1a1648['contentDOM']['addEventListener']('input',()=>null),U_['gecko']&&function(_0x1a6e18){dE['has'](_0x1a6e18)||(dE['add'](_0x1a6e18),_0x1a6e18['addEventListener']('copy',()=>{}),_0x1a6e18['addEventListener']('cut',()=>{}));}(_0x1a1648['contentDOM']['ownerDocument']);}['handleEvent'](_0x2c6540){(function(_0x405cbd,_0x3ba400){if(!_0x3ba400['bubbles'])return!0x0;if(_0x3ba400['defaultPrevented'])return!0x1;for(let _0x482d5e,_0x10279e=_0x3ba400['target'];_0x10279e!=_0x405cbd['contentDOM'];_0x10279e=_0x10279e['parentNode'])if(!_0x10279e||0xb==_0x10279e['nodeType']||(_0x482d5e=ContentView['get'](_0x10279e))&&_0x482d5e['ignoreEvent'](_0x3ba400))return!0x1;return!0x0;}(this['view'],_0x2c6540)&&!this['ignoreDuringComposition'](_0x2c6540)&&('keydown'==_0x2c6540['type']&&this['keydown'](_0x2c6540)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x2c6540['type'],_0x2c6540)):this['runHandlers'](_0x2c6540['type'],_0x2c6540))));}['runHandlers'](_0x12f610,_0x4cbe89){let _0x4b57a6=this['handlers'][_0x12f610];if(_0x4b57a6){for(let _0x3e42b3 of _0x4b57a6['observers'])_0x3e42b3(this['view'],_0x4cbe89);for(let _0x3e219f of _0x4b57a6['handlers']){if(_0x4cbe89['defaultPrevented'])break;if(_0x3e219f(this['view'],_0x4cbe89)){_0x4cbe89['preventDefault']();break;}}}}['ensureHandlers'](_0xf2018e){let _0x2c4b52=BT(_0xf2018e),_0x1591a0=this['handlers'],_0x2be440=this['view']['contentDOM'];for(let _0x3d558a in _0x2c4b52)if('scroll'!=_0x3d558a){let _0x17ebc6=!_0x2c4b52[_0x3d558a]['handlers']['length'],_0x1f5016=_0x1591a0[_0x3d558a];_0x1f5016&&_0x17ebc6!=!_0x1f5016['handlers']['length']&&(_0x2be440['removeEventListener'](_0x3d558a,this['handleEvent']),_0x1f5016=null),_0x1f5016||_0x2be440['addEventListener'](_0x3d558a,this['handleEvent'],{'passive':_0x17ebc6});}for(let _0x1bf130 in _0x1591a0)'scroll'==_0x1bf130||_0x2c4b52[_0x1bf130]||_0x2be440['removeEventListener'](_0x1bf130,this['handleEvent']);this['handlers']=_0x2c4b52;}['keydown'](_0x5995f9){if(this['lastKeyCode']=_0x5995f9['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x5995f9['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x5995f9['keyCode']&&HT['indexOf'](_0x5995f9['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),U_['android']&&U_['chrome']&&!_0x5995f9['synthetic']&&(0xd==_0x5995f9['keyCode']||0x8==_0x5995f9['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x5995f9['key'],_0x5995f9['keyCode']),!0x0;let _0x1f7b1e;return!U_['ios']||_0x5995f9['synthetic']||_0x5995f9['altKey']||_0x5995f9['metaKey']||!((_0x1f7b1e=FT['find'](_0x97ade8=>_0x97ade8['keyCode']==_0x5995f9['keyCode']))&&!_0x5995f9['ctrlKey']||jT['indexOf'](_0x5995f9['key'])>-0x1&&_0x5995f9['ctrlKey']&&!_0x5995f9['shiftKey'])?(0xe5!=_0x5995f9['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x1f7b1e||_0x5995f9,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0xfc45dd){let _0x12b23b=this['pendingIOSKey'];return!!_0x12b23b&&(!('Enter'==_0x12b23b['key']&&_0xfc45dd&&_0xfc45dd['from']<_0xfc45dd['to']&&/^\S+$/['test'](_0xfc45dd['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,sv(this['view']['contentDOM'],_0x12b23b['key'],_0x12b23b['keyCode'],_0x12b23b instanceof KeyboardEvent?_0x12b23b:void 0x0)));}['ignoreDuringComposition'](_0x1ff75a){return!(!/^key/['test'](_0x1ff75a['type'])||_0x1ff75a['synthetic'])&&(this['composing']>0x0||!!(U_['safari']&&!U_['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x39544d){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x39544d;}['update'](_0x275e8b){this['view']['observer']['update'](_0x275e8b),this['mouseSelection']&&this['mouseSelection']['update'](_0x275e8b),this['draggedContent']&&_0x275e8b['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x275e8b['changes'])),_0x275e8b['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function UT(_0x5ceb8c,_0x148e7e){return(_0x195f13,_0x55b7fc)=>{try{return _0x148e7e['call'](_0x5ceb8c,_0x55b7fc,_0x195f13);}catch(_0x567755){sT(_0x195f13['state'],_0x567755);}};}function BT(_0x4a4d26){let _0x4271b4=Object['create'](null);function _0x768923(_0x48a768){return _0x4271b4[_0x48a768]||(_0x4271b4[_0x48a768]={'observers':[],'handlers':[]});}for(let _0x76237f of _0x4a4d26){let _0x90e5a6=_0x76237f['spec'],_0x4ae22c=_0x90e5a6&&_0x90e5a6['plugin']['domEventHandlers'],_0x47a894=_0x90e5a6&&_0x90e5a6['plugin']['domEventObservers'];if(_0x4ae22c)for(let _0x4d8197 in _0x4ae22c){let _0x5f0e2c=_0x4ae22c[_0x4d8197];_0x5f0e2c&&_0x768923(_0x4d8197)['handlers']['push'](UT(_0x76237f['value'],_0x5f0e2c));}if(_0x47a894)for(let _0xbfeeea in _0x47a894){let _0x4cd3ad=_0x47a894[_0xbfeeea];_0x4cd3ad&&_0x768923(_0xbfeeea)['observers']['push'](UT(_0x76237f['value'],_0x4cd3ad));}}for(let _0x501751 in ZT)_0x768923(_0x501751)['handlers']['push'](ZT[_0x501751]);for(let _0x239ace in XT)_0x768923(_0x239ace)['observers']['push'](XT[_0x239ace]);return _0x4271b4;}const FT=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],jT='dthko',HT=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function GT(_0x16d734){return 0.7*Math['max'](0x0,_0x16d734)+0x8;}class MouseSelection{constructor(_0x2d3639,_0x4a8e1c,_0x16e754,_0x4b8704){this['view']=_0x2d3639,this['startEvent']=_0x4a8e1c,this['style']=_0x16e754,this['mustSelect']=_0x4b8704,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x4a8e1c,this['scrollParents']=function(_0x6c22b5){let _0x6c74e4,_0x3c4308,_0x1a0342=_0x6c22b5['ownerDocument'];for(let _0x4a7ff3=_0x6c22b5['parentNode'];_0x4a7ff3&&!(_0x4a7ff3==_0x1a0342['body']||_0x6c74e4&&_0x3c4308);)if(0x1==_0x4a7ff3['nodeType'])!_0x3c4308&&_0x4a7ff3['scrollHeight']>_0x4a7ff3['clientHeight']&&(_0x3c4308=_0x4a7ff3),!_0x6c74e4&&_0x4a7ff3['scrollWidth']>_0x4a7ff3['clientWidth']&&(_0x6c74e4=_0x4a7ff3),_0x4a7ff3=_0x4a7ff3['assignedSlot']||_0x4a7ff3['parentNode'];else{if(0xb!=_0x4a7ff3['nodeType'])break;_0x4a7ff3=_0x4a7ff3['host'];}return{'x':_0x6c74e4,'y':_0x3c4308};}(_0x2d3639['contentDOM']),this['atoms']=_0x2d3639['state']['facet'](uT)['map'](_0x2239b1=>_0x2239b1(_0x2d3639));let _0x1f575b=_0x2d3639['contentDOM']['ownerDocument'];_0x1f575b['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x1f575b['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x4a8e1c['shiftKey'],this['multiple']=_0x2d3639['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x54229f,_0x24b0a3){let _0x159428=_0x54229f['state']['facet'](jv);return _0x159428['length']?_0x159428[0x0](_0x24b0a3):U_['mac']?_0x24b0a3['metaKey']:_0x24b0a3['ctrlKey'];}(_0x2d3639,_0x4a8e1c),this['dragging']=!(!function(_0x49788a,_0xf5f9b3){let {main:_0x2705ce}=_0x49788a['state']['selection'];if(_0x2705ce['empty'])return!0x1;let _0x5642b7=B_(_0x49788a['root']);if(!_0x5642b7||0x0==_0x5642b7['rangeCount'])return!0x0;let _0x4f9199=_0x5642b7['getRangeAt'](0x0)['getClientRects']();for(let _0x5cea4a=0x0;_0x5cea4a<_0x4f9199['length'];_0x5cea4a++){let _0x5dfbcd=_0x4f9199[_0x5cea4a];if(_0x5dfbcd['left']<=_0xf5f9b3['clientX']&&_0x5dfbcd['right']>=_0xf5f9b3['clientX']&&_0x5dfbcd['top']<=_0xf5f9b3['clientY']&&_0x5dfbcd['bottom']>=_0xf5f9b3['clientY'])return!0x0;}return!0x1;}(_0x2d3639,_0x4a8e1c)||0x1!=oE(_0x4a8e1c))&&null;}['start'](_0x3579e8){!0x1===this['dragging']&&this['select'](_0x3579e8);}['move'](_0x29e1c6){if(0x0==_0x29e1c6['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&function(_0x1fb71c,_0x20e440){return Math['max'](Math['abs'](_0x1fb71c['clientX']-_0x20e440['clientX']),Math['abs'](_0x1fb71c['clientY']-_0x20e440['clientY']));}(this['startEvent'],_0x29e1c6)<0xa)return;this['select'](this['lastEvent']=_0x29e1c6);let _0x115b32=0x0,_0xe97570=0x0,_0x2c9263=0x0,_0x2cd377=0x0,_0x4cb96b=this['view']['win']['innerWidth'],_0x3f2bd3=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x2c9263,right:_0x4cb96b}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x2cd377,bottom:_0x3f2bd3}=this['scrollParents']['y']['getBoundingClientRect']());let _0x552394=gT(this['view']);_0x29e1c6['clientX']-_0x552394['left']<=_0x2c9263+0x6?_0x115b32=-GT(_0x2c9263-_0x29e1c6['clientX']):_0x29e1c6['clientX']+_0x552394['right']>=_0x4cb96b-0x6&&(_0x115b32=GT(_0x29e1c6['clientX']-_0x4cb96b)),_0x29e1c6['clientY']-_0x552394['top']<=_0x2cd377+0x6?_0xe97570=-GT(_0x2cd377-_0x29e1c6['clientY']):_0x29e1c6['clientY']+_0x552394['bottom']>=_0x3f2bd3-0x6&&(_0xe97570=GT(_0x29e1c6['clientY']-_0x3f2bd3)),this['setScrollSpeed'](_0x115b32,_0xe97570);}['up'](_0x2051e3){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x2051e3['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x305d13=this['view']['contentDOM']['ownerDocument'];_0x305d13['removeEventListener']('mousemove',this['move']),_0x305d13['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x25355b,_0x352a5c){this['scrollSpeed']={'x':_0x25355b,'y':_0x352a5c},_0x25355b||_0x352a5c?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x13604c,y:_0xc0daf3}=this['scrollSpeed'];_0x13604c&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x13604c,_0x13604c=0x0),_0xc0daf3&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0xc0daf3,_0xc0daf3=0x0),(_0x13604c||_0xc0daf3)&&this['view']['win']['scrollBy'](_0x13604c,_0xc0daf3),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x6fd0f7){let {view:_0x2f3553}=this,_0x5f0c2b=PT(this['atoms'],this['style']['get'](_0x6fd0f7,this['extend'],this['multiple']));!this['mustSelect']&&_0x5f0c2b['eq'](_0x2f3553['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x5f0c2b,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x1ccca2){_0x1ccca2['transactions']['some'](_0x4a9315=>_0x4a9315['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x1ccca2)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const ZT=Object['create'](null),XT=Object['create'](null),qT=U_['ie']&&U_['ie_version']<0xf||U_['ios']&&U_['webkit_version']<0x25c;function zT(_0x3a14b0,_0x1d6388,_0x3ae7ce){for(let _0x4be944 of _0x3a14b0['facet'](_0x1d6388))_0x3ae7ce=_0x4be944(_0x3ae7ce,_0x3a14b0);return _0x3ae7ce;}function YT(_0x235a8e,_0x18f5fc){_0x18f5fc=zT(_0x235a8e['state'],zv,_0x18f5fc);let _0x44d82d,{state:_0xe00a68}=_0x235a8e,_0x3e1273=0x1,_0x53e3fb=_0xe00a68['toText'](_0x18f5fc),_0x18d3d9=_0x53e3fb['lines']==_0xe00a68['selection']['ranges']['length'];if(null!=cE&&_0xe00a68['selection']['ranges']['every'](_0x3ec685=>_0x3ec685['empty'])&&cE==_0x53e3fb['toString']()){let _0x4bd8aa=-0x1;_0x44d82d=_0xe00a68['changeByRange'](_0x187589=>{let _0x8a4b55=_0xe00a68['doc']['lineAt'](_0x187589['from']);if(_0x8a4b55['from']==_0x4bd8aa)return{'range':_0x187589};_0x4bd8aa=_0x8a4b55['from'];let _0x34d363=_0xe00a68['toText']((_0x18d3d9?_0x53e3fb['line'](_0x3e1273++)['text']:_0x18f5fc)+_0xe00a68['lineBreak']);return{'changes':{'from':_0x8a4b55['from'],'insert':_0x34d363},'range':EditorSelection['cursor'](_0x187589['from']+_0x34d363['length'])};});}else _0x44d82d=_0x18d3d9?_0xe00a68['changeByRange'](_0x5a30b7=>{let _0x4806e6=_0x53e3fb['line'](_0x3e1273++);return{'changes':{'from':_0x5a30b7['from'],'to':_0x5a30b7['to'],'insert':_0x4806e6['text']},'range':EditorSelection['cursor'](_0x5a30b7['from']+_0x4806e6['length'])};}):_0xe00a68['replaceSelection'](_0x53e3fb);_0x235a8e['dispatch'](_0x44d82d,{'userEvent':'input.paste','scrollIntoView':!0x0});}function KT(_0xc2868c,_0x4d9825,_0x39ad8b,_0x5ae8e1){if(0x1==_0x5ae8e1)return EditorSelection['cursor'](_0x4d9825,_0x39ad8b);if(0x2==_0x5ae8e1)return function(_0x45e3e3,_0x5284f8,_0x17296b=0x1){let _0x4ce146=_0x45e3e3['charCategorizer'](_0x5284f8),_0x21636a=_0x45e3e3['doc']['lineAt'](_0x5284f8),_0xffa78b=_0x5284f8-_0x21636a['from'];if(0x0==_0x21636a['length'])return EditorSelection['cursor'](_0x5284f8);0x0==_0xffa78b?_0x17296b=0x1:_0xffa78b==_0x21636a['length']&&(_0x17296b=-0x1);let _0x2383c4=_0xffa78b,_0x1ea342=_0xffa78b;_0x17296b<0x0?_0x2383c4=wy(_0x21636a['text'],_0xffa78b,!0x1):_0x1ea342=wy(_0x21636a['text'],_0xffa78b);let _0xd42aa7=_0x4ce146(_0x21636a['text']['slice'](_0x2383c4,_0x1ea342));for(;_0x2383c4>0x0;){let _0x2b5cc8=wy(_0x21636a['text'],_0x2383c4,!0x1);if(_0x4ce146(_0x21636a['text']['slice'](_0x2b5cc8,_0x2383c4))!=_0xd42aa7)break;_0x2383c4=_0x2b5cc8;}for(;_0x1ea342<_0x21636a['length'];){let _0x30d6c8=wy(_0x21636a['text'],_0x1ea342);if(_0x4ce146(_0x21636a['text']['slice'](_0x1ea342,_0x30d6c8))!=_0xd42aa7)break;_0x1ea342=_0x30d6c8;}return EditorSelection['range'](_0x2383c4+_0x21636a['from'],_0x1ea342+_0x21636a['from']);}(_0xc2868c['state'],_0x4d9825,_0x39ad8b);{let _0x2de08e=LineView['find'](_0xc2868c['docView'],_0x4d9825),_0x28b876=_0xc2868c['state']['doc']['lineAt'](_0x2de08e?_0x2de08e['posAtEnd']:_0x4d9825),_0x39c5df=_0x2de08e?_0x2de08e['posAtStart']:_0x28b876['from'],_0x56fce9=_0x2de08e?_0x2de08e['posAtEnd']:_0x28b876['to'];return _0x56fce9<_0xc2868c['state']['doc']['length']&&_0x56fce9==_0x28b876['to']&&_0x56fce9++,EditorSelection['range'](_0x39c5df,_0x56fce9);}}XT['scroll']=_0xabb60c=>{_0xabb60c['inputState']['lastScrollTop']=_0xabb60c['scrollDOM']['scrollTop'],_0xabb60c['inputState']['lastScrollLeft']=_0xabb60c['scrollDOM']['scrollLeft'];},ZT['keydown']=(_0x3e9570,_0x3fe868)=>(_0x3e9570['inputState']['setSelectionOrigin']('select'),0x1b==_0x3fe868['keyCode']&&0x0!=_0x3e9570['inputState']['tabFocusMode']&&(_0x3e9570['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),XT['touchstart']=(_0x23f94a,_0x20fb14)=>{_0x23f94a['inputState']['lastTouchTime']=Date['now'](),_0x23f94a['inputState']['setSelectionOrigin']('select.pointer');},XT['touchmove']=_0x4df27c=>{_0x4df27c['inputState']['setSelectionOrigin']('select.pointer');},ZT['mousedown']=(_0x1db7a7,_0x476af1)=>{if(_0x1db7a7['observer']['flush'](),_0x1db7a7['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x27e52c=null;for(let _0x3e2bf9 of _0x1db7a7['state']['facet'](Gv))if(_0x27e52c=_0x3e2bf9(_0x1db7a7,_0x476af1),_0x27e52c)break;if(_0x27e52c||0x0!=_0x476af1['button']||(_0x27e52c=function(_0x56ce0a,_0x43eabf){let _0x56098b=eE(_0x56ce0a,_0x43eabf),_0xfbe098=oE(_0x43eabf),_0x589605=_0x56ce0a['state']['selection'];return{'update'(_0x17b28d){_0x17b28d['docChanged']&&(_0x56098b['pos']=_0x17b28d['changes']['mapPos'](_0x56098b['pos']),_0x589605=_0x589605['map'](_0x17b28d['changes']));},'get'(_0x35525b,_0x368ff5,_0x15473c){let _0x20466d,_0x1edcbf=eE(_0x56ce0a,_0x35525b),_0x434b36=KT(_0x56ce0a,_0x1edcbf['pos'],_0x1edcbf['bias'],_0xfbe098);if(_0x56098b['pos']!=_0x1edcbf['pos']&&!_0x368ff5){let _0x4bfff8=KT(_0x56ce0a,_0x56098b['pos'],_0x56098b['bias'],_0xfbe098),_0x5d3552=Math['min'](_0x4bfff8['from'],_0x434b36['from']),_0x22d8a9=Math['max'](_0x4bfff8['to'],_0x434b36['to']);_0x434b36=_0x5d3552<_0x434b36['from']?EditorSelection['range'](_0x5d3552,_0x22d8a9):EditorSelection['range'](_0x22d8a9,_0x5d3552);}return _0x368ff5?_0x589605['replaceRange'](_0x589605['main']['extend'](_0x434b36['from'],_0x434b36['to'])):_0x15473c&&0x1==_0xfbe098&&_0x589605['ranges']['length']>0x1&&(_0x20466d=function(_0x318e9a,_0x5a6701){for(let _0x46580f=0x0;_0x46580f<_0x318e9a['ranges']['length'];_0x46580f++){let {from:_0x5255cf,to:_0x116ca1}=_0x318e9a['ranges'][_0x46580f];if(_0x5255cf<=_0x5a6701&&_0x116ca1>=_0x5a6701)return EditorSelection['create'](_0x318e9a['ranges']['slice'](0x0,_0x46580f)['concat'](_0x318e9a['ranges']['slice'](_0x46580f+0x1)),_0x318e9a['mainIndex']==_0x46580f?0x0:_0x318e9a['mainIndex']-(_0x318e9a['mainIndex']>_0x46580f?0x1:0x0));}return null;}(_0x589605,_0x1edcbf['pos']))?_0x20466d:_0x15473c?_0x589605['addRange'](_0x434b36):EditorSelection['create']([_0x434b36]);}};}(_0x1db7a7,_0x476af1)),_0x27e52c){let _0x4643e2=!_0x1db7a7['hasFocus'];_0x1db7a7['inputState']['startMouseSelection'](new MouseSelection(_0x1db7a7,_0x476af1,_0x27e52c,_0x4643e2)),_0x4643e2&&_0x1db7a7['observer']['ignore'](()=>{ev(_0x1db7a7['contentDOM']);let _0x359bac=_0x1db7a7['root']['activeElement'];_0x359bac&&!_0x359bac['contains'](_0x1db7a7['contentDOM'])&&_0x359bac['blur']();});let _0x2d0a2b=_0x1db7a7['inputState']['mouseSelection'];if(_0x2d0a2b)return _0x2d0a2b['start'](_0x476af1),!0x1===_0x2d0a2b['dragging'];}else _0x1db7a7['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let JT=(_0x212c97,_0x5435d1,_0x30d32a)=>_0x5435d1>=_0x30d32a['top']&&_0x5435d1<=_0x30d32a['bottom']&&_0x212c97>=_0x30d32a['left']&&_0x212c97<=_0x30d32a['right'];function tE(_0x2c3790,_0xf73319,_0x19e0b7,_0xb175a3){let _0x3f6fa1=LineView['find'](_0x2c3790['docView'],_0xf73319);if(!_0x3f6fa1)return 0x1;let _0x9627d5=_0xf73319-_0x3f6fa1['posAtStart'];if(0x0==_0x9627d5)return 0x1;if(_0x9627d5==_0x3f6fa1['length'])return-0x1;let _0x2d7dbd=_0x3f6fa1['coordsAt'](_0x9627d5,-0x1);if(_0x2d7dbd&&JT(_0x19e0b7,_0xb175a3,_0x2d7dbd))return-0x1;let _0x37d04b=_0x3f6fa1['coordsAt'](_0x9627d5,0x1);return _0x37d04b&&JT(_0x19e0b7,_0xb175a3,_0x37d04b)?0x1:_0x2d7dbd&&_0x2d7dbd['bottom']>=_0xb175a3?-0x1:0x1;}function eE(_0x413483,_0x16f08a){let _0x26256f=_0x413483['posAtCoords']({'x':_0x16f08a['clientX'],'y':_0x16f08a['clientY']},!0x1);return{'pos':_0x26256f,'bias':tE(_0x413483,_0x26256f,_0x16f08a['clientX'],_0x16f08a['clientY'])};}const iE=U_['ie']&&U_['ie_version']<=0xb;let sE=null,nE=0x0,rE=0x0;function oE(_0x180d6e){if(!iE)return _0x180d6e['detail'];let _0x12b94a=sE,_0x367398=rE;return sE=_0x180d6e,rE=Date['now'](),nE=!_0x12b94a||_0x367398>Date['now']()-0x190&&Math['abs'](_0x12b94a['clientX']-_0x180d6e['clientX'])<0x2&&Math['abs'](_0x12b94a['clientY']-_0x180d6e['clientY'])<0x2?(nE+0x1)%0x3:0x1;}function aE(_0x7d98ac,_0x1d1b2a,_0x469692,_0x372133){if(!(_0x469692=zT(_0x7d98ac['state'],zv,_0x469692)))return;let _0x17d123=_0x7d98ac['posAtCoords']({'x':_0x1d1b2a['clientX'],'y':_0x1d1b2a['clientY']},!0x1),{draggedContent:_0x26806c}=_0x7d98ac['inputState'],_0x35dc79=_0x372133&&_0x26806c&&function(_0xcfdb4a,_0x3379bc){let _0x2a2129=_0xcfdb4a['state']['facet'](Hv);return _0x2a2129['length']?_0x2a2129[0x0](_0x3379bc):U_['mac']?!_0x3379bc['altKey']:!_0x3379bc['ctrlKey'];}(_0x7d98ac,_0x1d1b2a)?{'from':_0x26806c['from'],'to':_0x26806c['to']}:null,_0x29e290={'from':_0x17d123,'insert':_0x469692},_0x33b419=_0x7d98ac['state']['changes'](_0x35dc79?[_0x35dc79,_0x29e290]:_0x29e290);_0x7d98ac['focus'](),_0x7d98ac['dispatch']({'changes':_0x33b419,'selection':{'anchor':_0x33b419['mapPos'](_0x17d123,-0x1),'head':_0x33b419['mapPos'](_0x17d123,0x1)},'userEvent':_0x35dc79?'move.drop':'input.drop'}),_0x7d98ac['inputState']['draggedContent']=null;}ZT['dragstart']=(_0x20a90b,_0x3cbc9d)=>{let {selection:{main:_0x2ccf42}}=_0x20a90b['state'];if(_0x3cbc9d['target']['draggable']){let _0x18cd46=_0x20a90b['docView']['nearest'](_0x3cbc9d['target']);if(_0x18cd46&&_0x18cd46['isWidget']){let _0x2c18c0=_0x18cd46['posAtStart'],_0x57ab95=_0x2c18c0+_0x18cd46['length'];(_0x2c18c0>=_0x2ccf42['to']||_0x57ab95<=_0x2ccf42['from'])&&(_0x2ccf42=EditorSelection['range'](_0x2c18c0,_0x57ab95));}}let {inputState:_0x34029e}=_0x20a90b;return _0x34029e['mouseSelection']&&(_0x34029e['mouseSelection']['dragging']=!0x0),_0x34029e['draggedContent']=_0x2ccf42,_0x3cbc9d['dataTransfer']&&(_0x3cbc9d['dataTransfer']['setData']('Text',zT(_0x20a90b['state'],Yv,_0x20a90b['state']['sliceDoc'](_0x2ccf42['from'],_0x2ccf42['to']))),_0x3cbc9d['dataTransfer']['effectAllowed']='copyMove'),!0x1;},ZT['dragend']=_0x12222b=>(_0x12222b['inputState']['draggedContent']=null,!0x1),ZT['drop']=(_0x21539f,_0x34dc11)=>{if(!_0x34dc11['dataTransfer'])return!0x1;if(_0x21539f['state']['readOnly'])return!0x0;let _0xa806f7=_0x34dc11['dataTransfer']['files'];if(_0xa806f7&&_0xa806f7['length']){let _0xf37a4d=Array(_0xa806f7['length']),_0x130d35=0x0,_0x58156e=()=>{++_0x130d35==_0xa806f7['length']&&aE(_0x21539f,_0x34dc11,_0xf37a4d['filter'](_0x583a6d=>null!=_0x583a6d)['join'](_0x21539f['state']['lineBreak']),!0x1);};for(let _0x1b1a61=0x0;_0x1b1a61<_0xa806f7['length'];_0x1b1a61++){let _0xc96030=new FileReader();_0xc96030['onerror']=_0x58156e,_0xc96030['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0xc96030['result'])||(_0xf37a4d[_0x1b1a61]=_0xc96030['result']),_0x58156e();},_0xc96030['readAsText'](_0xa806f7[_0x1b1a61]);}return!0x0;}{let _0x2a6085=_0x34dc11['dataTransfer']['getData']('Text');if(_0x2a6085)return aE(_0x21539f,_0x34dc11,_0x2a6085,!0x0),!0x0;}return!0x1;},ZT['paste']=(_0x14b6c8,_0x2b85de)=>{if(_0x14b6c8['state']['readOnly'])return!0x0;_0x14b6c8['observer']['flush']();let _0x5de8b1=qT?null:_0x2b85de['clipboardData'];return _0x5de8b1?(YT(_0x14b6c8,_0x5de8b1['getData']('text/plain')||_0x5de8b1['getData']('text/uri-list')),!0x0):(function(_0x46e381){let _0x40aa22=_0x46e381['dom']['parentNode'];if(!_0x40aa22)return;let _0x21b576=_0x40aa22['appendChild'](document['createElement']('textarea'));_0x21b576['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x21b576['focus'](),setTimeout(()=>{_0x46e381['focus'](),_0x21b576['remove'](),YT(_0x46e381,_0x21b576['value']);},0x32);}(_0x14b6c8),!0x1);};let cE=null;ZT['copy']=ZT['cut']=(_0x1c94cd,_0x3f444d)=>{let {text:_0x325645,ranges:_0xa3c984,linewise:_0x5d4f92}=function(_0x932823){let _0x4e06fc=[],_0x2f5321=[],_0x45a118=!0x1;for(let _0x502c7c of _0x932823['selection']['ranges'])_0x502c7c['empty']||(_0x4e06fc['push'](_0x932823['sliceDoc'](_0x502c7c['from'],_0x502c7c['to'])),_0x2f5321['push'](_0x502c7c));if(!_0x4e06fc['length']){let _0x18a160=-0x1;for(let {from:_0x38bc75}of _0x932823['selection']['ranges']){let _0x2446f8=_0x932823['doc']['lineAt'](_0x38bc75);_0x2446f8['number']>_0x18a160&&(_0x4e06fc['push'](_0x2446f8['text']),_0x2f5321['push']({'from':_0x2446f8['from'],'to':Math['min'](_0x932823['doc']['length'],_0x2446f8['to']+0x1)})),_0x18a160=_0x2446f8['number'];}_0x45a118=!0x0;}return{'text':zT(_0x932823,Yv,_0x4e06fc['join'](_0x932823['lineBreak'])),'ranges':_0x2f5321,'linewise':_0x45a118};}(_0x1c94cd['state']);if(!_0x325645&&!_0x5d4f92)return!0x1;cE=_0x5d4f92?_0x325645:null,'cut'!=_0x3f444d['type']||_0x1c94cd['state']['readOnly']||_0x1c94cd['dispatch']({'changes':_0xa3c984,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x2cc970=qT?null:_0x3f444d['clipboardData'];return _0x2cc970?(_0x2cc970['clearData'](),_0x2cc970['setData']('text/plain',_0x325645),!0x0):(function(_0x5f3119,_0x4268a1){let _0x183cf2=_0x5f3119['dom']['parentNode'];if(!_0x183cf2)return;let _0x512fe3=_0x183cf2['appendChild'](document['createElement']('textarea'));_0x512fe3['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x512fe3['value']=_0x4268a1,_0x512fe3['focus'](),_0x512fe3['selectionEnd']=_0x4268a1['length'],_0x512fe3['selectionStart']=0x0,setTimeout(()=>{_0x512fe3['remove'](),_0x5f3119['focus']();},0x32);}(_0x1c94cd,_0x325645),!0x1);};const lE=Annotation['define']();function hE(_0x385b84,_0x221100){let _0xb3190d=[];for(let _0x3cdf29 of _0x385b84['facet'](Wv)){let _0x35e775=_0x3cdf29(_0x385b84,_0x221100);_0x35e775&&_0xb3190d['push'](_0x35e775);}return _0xb3190d['length']?_0x385b84['update']({'effects':_0xb3190d,'annotations':lE['of'](!0x0)}):null;}function uE(_0x1c7b33){setTimeout(()=>{let _0x4c1bcb=_0x1c7b33['hasFocus'];if(_0x4c1bcb!=_0x1c7b33['inputState']['notifiedFocused']){let _0x4535a4=hE(_0x1c7b33['state'],_0x4c1bcb);_0x4535a4?_0x1c7b33['dispatch'](_0x4535a4):_0x1c7b33['update']([]);}},0xa);}XT['focus']=_0x3bc1c0=>{_0x3bc1c0['inputState']['lastFocusTime']=Date['now'](),_0x3bc1c0['scrollDOM']['scrollTop']||!_0x3bc1c0['inputState']['lastScrollTop']&&!_0x3bc1c0['inputState']['lastScrollLeft']||(_0x3bc1c0['scrollDOM']['scrollTop']=_0x3bc1c0['inputState']['lastScrollTop'],_0x3bc1c0['scrollDOM']['scrollLeft']=_0x3bc1c0['inputState']['lastScrollLeft']),uE(_0x3bc1c0);},XT['blur']=_0x445dd5=>{_0x445dd5['observer']['clearSelectionRange'](),uE(_0x445dd5);},XT['compositionstart']=XT['compositionupdate']=_0x1d81d1=>{_0x1d81d1['observer']['editContext']||(null==_0x1d81d1['inputState']['compositionFirstChange']&&(_0x1d81d1['inputState']['compositionFirstChange']=!0x0),_0x1d81d1['inputState']['composing']<0x0&&(_0x1d81d1['inputState']['composing']=0x0));},XT['compositionend']=_0x5111c6=>{_0x5111c6['observer']['editContext']||(_0x5111c6['inputState']['composing']=-0x1,_0x5111c6['inputState']['compositionEndedAt']=Date['now'](),_0x5111c6['inputState']['compositionPendingKey']=!0x0,_0x5111c6['inputState']['compositionPendingChange']=_0x5111c6['observer']['pendingRecords']()['length']>0x0,_0x5111c6['inputState']['compositionFirstChange']=null,U_['chrome']&&U_['android']?_0x5111c6['observer']['flushSoon']():_0x5111c6['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x5111c6['observer']['flush']()):setTimeout(()=>{_0x5111c6['inputState']['composing']<0x0&&_0x5111c6['docView']['hasComposition']&&_0x5111c6['update']([]);},0x32));},XT['contextmenu']=_0x208785=>{_0x208785['inputState']['lastContextMenu']=Date['now']();},ZT['beforeinput']=(_0x4e146a,_0x11b46a)=>{var _0x239ed3,_0x28df95;if('insertReplacementText'==_0x11b46a['inputType']&&_0x4e146a['observer']['editContext']){let _0x33c951=null===(_0x239ed3=_0x11b46a['dataTransfer'])||void 0x0===_0x239ed3?void 0x0:_0x239ed3['getData']('text/plain'),_0x1a300f=_0x11b46a['getTargetRanges']();if(_0x33c951&&_0x1a300f['length']){let _0x2d56b2=_0x1a300f[0x0],_0x177c1e=_0x4e146a['posAtDOM'](_0x2d56b2['startContainer'],_0x2d56b2['startOffset']),_0x4af05f=_0x4e146a['posAtDOM'](_0x2d56b2['endContainer'],_0x2d56b2['endOffset']);return $T(_0x4e146a,{'from':_0x177c1e,'to':_0x4af05f,'insert':_0x4e146a['state']['toText'](_0x33c951)},null),!0x0;}}let _0x53b58d;if(U_['chrome']&&U_['android']&&(_0x53b58d=FT['find'](_0x39d44e=>_0x39d44e['inputType']==_0x11b46a['inputType']))&&(_0x4e146a['observer']['delayAndroidKey'](_0x53b58d['key'],_0x53b58d['keyCode']),'Backspace'==_0x53b58d['key']||'Delete'==_0x53b58d['key'])){let _0x3e3218=(null===(_0x28df95=window['visualViewport'])||void 0x0===_0x28df95?void 0x0:_0x28df95['height'])||0x0;setTimeout(()=>{var _0x27428d;((null===(_0x27428d=window['visualViewport'])||void 0x0===_0x27428d?void 0x0:_0x27428d['height'])||0x0)>_0x3e3218+0xa&&_0x4e146a['hasFocus']&&(_0x4e146a['contentDOM']['blur'](),_0x4e146a['focus']());},0x64);}return U_['ios']&&'deleteContentForward'==_0x11b46a['inputType']&&_0x4e146a['observer']['flushSoon'](),U_['safari']&&'insertText'==_0x11b46a['inputType']&&_0x4e146a['inputState']['composing']>=0x0&&setTimeout(()=>XT['compositionend'](_0x4e146a,_0x11b46a),0x14),!0x1;};const dE=new Set(),fE=['pre-wrap','normal','pre-line','break-spaces'];let mE=!0x1;function gE(){mE=!0x1;}class HeightOracle{constructor(_0x32515a){this['lineWrapping']=_0x32515a,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x364ca6,_0x1c74e6){let _0x1c188c=this['doc']['lineAt'](_0x1c74e6)['number']-this['doc']['lineAt'](_0x364ca6)['number']+0x1;return this['lineWrapping']&&(_0x1c188c+=Math['max'](0x0,Math['ceil']((_0x1c74e6-_0x364ca6-_0x1c188c*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x1c188c;}['heightForLine'](_0x37b129){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x37b129-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x125168){return this['doc']=_0x125168,this;}['mustRefreshForWrapping'](_0xc52d2c){return fE['indexOf'](_0xc52d2c)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x5bfd45){let _0xf80326=!0x1;for(let _0x356d28=0x0;_0x356d28<_0x5bfd45['length'];_0x356d28++){let _0x2f5409=_0x5bfd45[_0x356d28];_0x2f5409<0x0?_0x356d28++:this['heightSamples'][Math['floor'](0xa*_0x2f5409)]||(_0xf80326=!0x0,this['heightSamples'][Math['floor'](0xa*_0x2f5409)]=!0x0);}return _0xf80326;}['refresh'](_0x3ca89c,_0x5d9e2b,_0x3fba9b,_0x40cc62,_0x3ec313,_0x4020c8){let _0x227022=fE['indexOf'](_0x3ca89c)>-0x1,_0x3425fe=Math['round'](_0x5d9e2b)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x227022;if(this['lineWrapping']=_0x227022,this['lineHeight']=_0x5d9e2b,this['charWidth']=_0x3fba9b,this['textHeight']=_0x40cc62,this['lineLength']=_0x3ec313,_0x3425fe){this['heightSamples']={};for(let _0x1c4de8=0x0;_0x1c4de8<_0x4020c8['length'];_0x1c4de8++){let _0x42087a=_0x4020c8[_0x1c4de8];_0x42087a<0x0?_0x1c4de8++:this['heightSamples'][Math['floor'](0xa*_0x42087a)]=!0x0;}}return _0x3425fe;}}class MeasuredHeights{constructor(_0x4e4d6a,_0x59f760){this['from']=_0x4e4d6a,this['heights']=_0x59f760,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class BlockInfo{constructor(_0x86e3b,_0x452f9b,_0x3fcbd3,_0x4e2a8d,_0x5dad17){this['from']=_0x86e3b,this['length']=_0x452f9b,this['top']=_0x3fcbd3,this['height']=_0x4e2a8d,this['_content']=_0x5dad17;}get['type'](){return'number'==typeof this['_content']?_v['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'](_0x51a40c){let _0x174954=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x51a40c['_content'])?_0x51a40c['_content']:[_0x51a40c]);return new BlockInfo(this['from'],this['length']+_0x51a40c['length'],this['top'],this['height']+_0x51a40c['height'],_0x174954);}}var pE=function(_0x2bc7b8){return _0x2bc7b8[_0x2bc7b8['ByPos']=0x0]='ByPos',_0x2bc7b8[_0x2bc7b8['ByHeight']=0x1]='ByHeight',_0x2bc7b8[_0x2bc7b8['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x2bc7b8;}(pE||(pE={}));const OE=0.001;class HeightMap{constructor(_0x31af09,_0x54de97,_0x129e00=0x2){this['length']=_0x31af09,this['height']=_0x54de97,this['flags']=_0x129e00;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x375d18){this['flags']=(_0x375d18?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x18dab1){this['height']!=_0x18dab1&&(Math['abs'](this['height']-_0x18dab1)>OE&&(mE=!0x0),this['height']=_0x18dab1);}['replace'](_0x15fc27,_0x143d41,_0x5bb22b){return HeightMap['of'](_0x5bb22b);}['decomposeLeft'](_0x3b4c47,_0x1841cf){_0x1841cf['push'](this);}['decomposeRight'](_0x2aea13,_0x4a690f){_0x4a690f['push'](this);}['applyChanges'](_0x4881cf,_0x5a3da5,_0x4b7f28,_0x567c7f){let _0x5de3a2=this,_0x335cb9=_0x4b7f28['doc'];for(let _0x46fefa=_0x567c7f['length']-0x1;_0x46fefa>=0x0;_0x46fefa--){let {fromA:_0x46908e,toA:_0xc32a20,fromB:_0x35bb85,toB:_0x1c8f11}=_0x567c7f[_0x46fefa],_0x492e55=_0x5de3a2['lineAt'](_0x46908e,pE['ByPosNoHeight'],_0x4b7f28['setDoc'](_0x5a3da5),0x0,0x0),_0x2589f8=_0x492e55['to']>=_0xc32a20?_0x492e55:_0x5de3a2['lineAt'](_0xc32a20,pE['ByPosNoHeight'],_0x4b7f28,0x0,0x0);for(_0x1c8f11+=_0x2589f8['to']-_0xc32a20,_0xc32a20=_0x2589f8['to'];_0x46fefa>0x0&&_0x492e55['from']<=_0x567c7f[_0x46fefa-0x1]['toA'];)_0x46908e=_0x567c7f[_0x46fefa-0x1]['fromA'],_0x35bb85=_0x567c7f[_0x46fefa-0x1]['fromB'],_0x46fefa--,_0x46908e<_0x492e55['from']&&(_0x492e55=_0x5de3a2['lineAt'](_0x46908e,pE['ByPosNoHeight'],_0x4b7f28,0x0,0x0));_0x35bb85+=_0x492e55['from']-_0x46908e,_0x46908e=_0x492e55['from'];let _0x536dd6=NodeBuilder['build'](_0x4b7f28['setDoc'](_0x335cb9),_0x4881cf,_0x35bb85,_0x1c8f11);_0x5de3a2=wE(_0x5de3a2,_0x5de3a2['replace'](_0x46908e,_0xc32a20,_0x536dd6));}return _0x5de3a2['updateHeight'](_0x4b7f28,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x216ccf){if(0x1==_0x216ccf['length'])return _0x216ccf[0x0];let _0x53fe3b=0x0,_0x58ba36=_0x216ccf['length'],_0x51acd4=0x0,_0x4daa43=0x0;for(;;)if(_0x53fe3b==_0x58ba36){if(_0x51acd4>0x2*_0x4daa43){let _0x5df517=_0x216ccf[_0x53fe3b-0x1];_0x5df517['break']?_0x216ccf['splice'](--_0x53fe3b,0x1,_0x5df517['left'],null,_0x5df517['right']):_0x216ccf['splice'](--_0x53fe3b,0x1,_0x5df517['left'],_0x5df517['right']),_0x58ba36+=0x1+_0x5df517['break'],_0x51acd4-=_0x5df517['size'];}else{if(!(_0x4daa43>0x2*_0x51acd4))break;{let _0x47380e=_0x216ccf[_0x58ba36];_0x47380e['break']?_0x216ccf['splice'](_0x58ba36,0x1,_0x47380e['left'],null,_0x47380e['right']):_0x216ccf['splice'](_0x58ba36,0x1,_0x47380e['left'],_0x47380e['right']),_0x58ba36+=0x2+_0x47380e['break'],_0x4daa43-=_0x47380e['size'];}}}else{if(_0x51acd4<_0x4daa43){let _0x4f7942=_0x216ccf[_0x53fe3b++];_0x4f7942&&(_0x51acd4+=_0x4f7942['size']);}else{let _0x27ab6c=_0x216ccf[--_0x58ba36];_0x27ab6c&&(_0x4daa43+=_0x27ab6c['size']);}}let _0x1961f5=0x0;return null==_0x216ccf[_0x53fe3b-0x1]?(_0x1961f5=0x1,_0x53fe3b--):null==_0x216ccf[_0x53fe3b]&&(_0x1961f5=0x1,_0x58ba36++),new HeightMapBranch(HeightMap['of'](_0x216ccf['slice'](0x0,_0x53fe3b)),_0x1961f5,HeightMap['of'](_0x216ccf['slice'](_0x58ba36)));}}function wE(_0x2ecb56,_0x4733ff){return _0x2ecb56==_0x4733ff?_0x2ecb56:(_0x2ecb56['constructor']!=_0x4733ff['constructor']&&(mE=!0x0),_0x4733ff);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x361a0c,_0x33bf23,_0x49bba6){super(_0x361a0c,_0x33bf23),this['deco']=_0x49bba6;}['blockAt'](_0x39f456,_0x15689a,_0x438444,_0x55a2cb){return new BlockInfo(_0x55a2cb,this['length'],_0x438444,this['height'],this['deco']||0x0);}['lineAt'](_0x27cf10,_0x4d1141,_0x3b83fb,_0x900193,_0x3c73d6){return this['blockAt'](0x0,_0x3b83fb,_0x900193,_0x3c73d6);}['forEachLine'](_0x4c4d83,_0x57ff76,_0x3610fd,_0x45920d,_0x3eb794,_0x1be504){_0x4c4d83<=_0x3eb794+this['length']&&_0x57ff76>=_0x3eb794&&_0x1be504(this['blockAt'](0x0,_0x3610fd,_0x45920d,_0x3eb794));}['updateHeight'](_0x1dc609,_0x2cadab=0x0,_0x4d0ba4=!0x1,_0x506bac){return _0x506bac&&_0x506bac['from']<=_0x2cadab&&_0x506bac['more']&&this['setHeight'](_0x506bac['heights'][_0x506bac['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x47e4b5,_0x354e3a){super(_0x47e4b5,_0x354e3a,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x4b25d1,_0x1d62c9,_0x2edc38,_0x2b3553){return new BlockInfo(_0x2b3553,this['length'],_0x2edc38,this['height'],this['breaks']);}['replace'](_0x513335,_0x16f158,_0x519e0a){let _0x4c7b77=_0x519e0a[0x0];return 0x1==_0x519e0a['length']&&(_0x4c7b77 instanceof HeightMapText||_0x4c7b77 instanceof HeightMapGap&&0x4&_0x4c7b77['flags'])&&Math['abs'](this['length']-_0x4c7b77['length'])<0xa?(_0x4c7b77 instanceof HeightMapGap?_0x4c7b77=new HeightMapText(_0x4c7b77['length'],this['height']):_0x4c7b77['height']=this['height'],this['outdated']||(_0x4c7b77['outdated']=!0x1),_0x4c7b77):HeightMap['of'](_0x519e0a);}['updateHeight'](_0x36f835,_0x2096da=0x0,_0x4b0485=!0x1,_0xf4d8ba){return _0xf4d8ba&&_0xf4d8ba['from']<=_0x2096da&&_0xf4d8ba['more']?this['setHeight'](_0xf4d8ba['heights'][_0xf4d8ba['index']++]):(_0x4b0485||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x36f835['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x36f835['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x4456ae){super(_0x4456ae,0x0);}['heightMetrics'](_0x4d917c,_0x3e6c92){let _0x2d1c68,_0xa03766=_0x4d917c['doc']['lineAt'](_0x3e6c92)['number'],_0x41e9c9=_0x4d917c['doc']['lineAt'](_0x3e6c92+this['length'])['number'],_0x4af70a=_0x41e9c9-_0xa03766+0x1,_0xe7ae1a=0x0;if(_0x4d917c['lineWrapping']){let _0x446294=Math['min'](this['height'],_0x4d917c['lineHeight']*_0x4af70a);_0x2d1c68=_0x446294/_0x4af70a,this['length']>_0x4af70a+0x1&&(_0xe7ae1a=(this['height']-_0x446294)/(this['length']-_0x4af70a-0x1));}else _0x2d1c68=this['height']/_0x4af70a;return{'firstLine':_0xa03766,'lastLine':_0x41e9c9,'perLine':_0x2d1c68,'perChar':_0xe7ae1a};}['blockAt'](_0x21aa90,_0xda502e,_0x34c52d,_0x35507c){let {firstLine:_0x5bc9b5,lastLine:_0x4cdd98,perLine:_0x4c2e7a,perChar:_0x4f26df}=this['heightMetrics'](_0xda502e,_0x35507c);if(_0xda502e['lineWrapping']){let _0xec556d=_0x35507c+(_0x21aa90<_0xda502e['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x21aa90-_0x34c52d)/this['height']))*this['length'])),_0x16b9da=_0xda502e['doc']['lineAt'](_0xec556d),_0x2c90b5=_0x4c2e7a+_0x16b9da['length']*_0x4f26df,_0xe21ff5=Math['max'](_0x34c52d,_0x21aa90-_0x2c90b5/0x2);return new BlockInfo(_0x16b9da['from'],_0x16b9da['length'],_0xe21ff5,_0x2c90b5,0x0);}{let _0x384bfb=Math['max'](0x0,Math['min'](_0x4cdd98-_0x5bc9b5,Math['floor']((_0x21aa90-_0x34c52d)/_0x4c2e7a))),{from:_0x565c16,length:_0x28fe71}=_0xda502e['doc']['line'](_0x5bc9b5+_0x384bfb);return new BlockInfo(_0x565c16,_0x28fe71,_0x34c52d+_0x4c2e7a*_0x384bfb,_0x4c2e7a,0x0);}}['lineAt'](_0x462ae8,_0xac8d91,_0x4ccc2c,_0x1b4798,_0x1e3c47){if(_0xac8d91==pE['ByHeight'])return this['blockAt'](_0x462ae8,_0x4ccc2c,_0x1b4798,_0x1e3c47);if(_0xac8d91==pE['ByPosNoHeight']){let {from:_0x3be783,to:_0x2aa6a7}=_0x4ccc2c['doc']['lineAt'](_0x462ae8);return new BlockInfo(_0x3be783,_0x2aa6a7-_0x3be783,0x0,0x0,0x0);}let {firstLine:_0x19695a,perLine:_0x108a1c,perChar:_0x19ca85}=this['heightMetrics'](_0x4ccc2c,_0x1e3c47),_0x5a184a=_0x4ccc2c['doc']['lineAt'](_0x462ae8),_0x54fb8f=_0x108a1c+_0x5a184a['length']*_0x19ca85,_0x922313=_0x5a184a['number']-_0x19695a,_0x314a3d=_0x1b4798+_0x108a1c*_0x922313+_0x19ca85*(_0x5a184a['from']-_0x1e3c47-_0x922313);return new BlockInfo(_0x5a184a['from'],_0x5a184a['length'],Math['max'](_0x1b4798,Math['min'](_0x314a3d,_0x1b4798+this['height']-_0x54fb8f)),_0x54fb8f,0x0);}['forEachLine'](_0x181981,_0x405343,_0x15254b,_0x12549b,_0x7e582c,_0x1d2881){_0x181981=Math['max'](_0x181981,_0x7e582c),_0x405343=Math['min'](_0x405343,_0x7e582c+this['length']);let {firstLine:_0x10bd1e,perLine:_0x138c33,perChar:_0x4ceeae}=this['heightMetrics'](_0x15254b,_0x7e582c);for(let _0x139a49=_0x181981,_0x243676=_0x12549b;_0x139a49<=_0x405343;){let _0x410e80=_0x15254b['doc']['lineAt'](_0x139a49);if(_0x139a49==_0x181981){let _0x4315d3=_0x410e80['number']-_0x10bd1e;_0x243676+=_0x138c33*_0x4315d3+_0x4ceeae*(_0x181981-_0x7e582c-_0x4315d3);}let _0x18eb14=_0x138c33+_0x4ceeae*_0x410e80['length'];_0x1d2881(new BlockInfo(_0x410e80['from'],_0x410e80['length'],_0x243676,_0x18eb14,0x0)),_0x243676+=_0x18eb14,_0x139a49=_0x410e80['to']+0x1;}}['replace'](_0x5cd710,_0x5c0a2f,_0x39eeea){let _0x229465=this['length']-_0x5c0a2f;if(_0x229465>0x0){let _0x2a182d=_0x39eeea[_0x39eeea['length']-0x1];_0x2a182d instanceof HeightMapGap?_0x39eeea[_0x39eeea['length']-0x1]=new HeightMapGap(_0x2a182d['length']+_0x229465):_0x39eeea['push'](null,new HeightMapGap(_0x229465-0x1));}if(_0x5cd710>0x0){let _0x4aa7e1=_0x39eeea[0x0];_0x4aa7e1 instanceof HeightMapGap?_0x39eeea[0x0]=new HeightMapGap(_0x5cd710+_0x4aa7e1['length']):_0x39eeea['unshift'](new HeightMapGap(_0x5cd710-0x1),null);}return HeightMap['of'](_0x39eeea);}['decomposeLeft'](_0x4234e7,_0xef2aad){_0xef2aad['push'](new HeightMapGap(_0x4234e7-0x1),null);}['decomposeRight'](_0x4fe12d,_0x4b1cb8){_0x4b1cb8['push'](null,new HeightMapGap(this['length']-_0x4fe12d-0x1));}['updateHeight'](_0x29e6a3,_0x56d448=0x0,_0x316259=!0x1,_0x5aa718){let _0x2ff2f1=_0x56d448+this['length'];if(_0x5aa718&&_0x5aa718['from']<=_0x56d448+this['length']&&_0x5aa718['more']){let _0x2a3f0b=[],_0x4c1300=Math['max'](_0x56d448,_0x5aa718['from']),_0x48fa87=-0x1;for(_0x5aa718['from']>_0x56d448&&_0x2a3f0b['push'](new HeightMapGap(_0x5aa718['from']-_0x56d448-0x1)['updateHeight'](_0x29e6a3,_0x56d448));_0x4c1300<=_0x2ff2f1&&_0x5aa718['more'];){let _0x29018b=_0x29e6a3['doc']['lineAt'](_0x4c1300)['length'];_0x2a3f0b['length']&&_0x2a3f0b['push'](null);let _0x3a32e9=_0x5aa718['heights'][_0x5aa718['index']++];-0x1==_0x48fa87?_0x48fa87=_0x3a32e9:Math['abs'](_0x3a32e9-_0x48fa87)>=OE&&(_0x48fa87=-0x2);let _0x2e0f7a=new HeightMapText(_0x29018b,_0x3a32e9);_0x2e0f7a['outdated']=!0x1,_0x2a3f0b['push'](_0x2e0f7a),_0x4c1300+=_0x29018b+0x1;}_0x4c1300<=_0x2ff2f1&&_0x2a3f0b['push'](null,new HeightMapGap(_0x2ff2f1-_0x4c1300)['updateHeight'](_0x29e6a3,_0x4c1300));let _0x4c7b79=HeightMap['of'](_0x2a3f0b);return(_0x48fa87<0x0||Math['abs'](_0x4c7b79['height']-this['height'])>=OE||Math['abs'](_0x48fa87-this['heightMetrics'](_0x29e6a3,_0x56d448)['perLine'])>=OE)&&(mE=!0x0),wE(this,_0x4c7b79);}return(_0x316259||this['outdated'])&&(this['setHeight'](_0x29e6a3['heightForGap'](_0x56d448,_0x56d448+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x1a12ca,_0x4c65c2,_0x482853){super(_0x1a12ca['length']+_0x4c65c2+_0x482853['length'],_0x1a12ca['height']+_0x482853['height'],_0x4c65c2|(_0x1a12ca['outdated']||_0x482853['outdated']?0x2:0x0)),this['left']=_0x1a12ca,this['right']=_0x482853,this['size']=_0x1a12ca['size']+_0x482853['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x20de87,_0x8e62c9,_0x241169,_0x22e3be){let _0x569f87=_0x241169+this['left']['height'];return _0x20de87<_0x569f87?this['left']['blockAt'](_0x20de87,_0x8e62c9,_0x241169,_0x22e3be):this['right']['blockAt'](_0x20de87,_0x8e62c9,_0x569f87,_0x22e3be+this['left']['length']+this['break']);}['lineAt'](_0x25105c,_0xcbe311,_0x521d41,_0x31a569,_0x10f15b){let _0x40bccb=_0x31a569+this['left']['height'],_0x24df0f=_0x10f15b+this['left']['length']+this['break'],_0x55e43d=_0xcbe311==pE['ByHeight']?_0x25105c<_0x40bccb:_0x25105c<_0x24df0f,_0x141936=_0x55e43d?this['left']['lineAt'](_0x25105c,_0xcbe311,_0x521d41,_0x31a569,_0x10f15b):this['right']['lineAt'](_0x25105c,_0xcbe311,_0x521d41,_0x40bccb,_0x24df0f);if(this['break']||(_0x55e43d?_0x141936['to']<_0x24df0f:_0x141936['from']>_0x24df0f))return _0x141936;let _0x52691b=_0xcbe311==pE['ByPosNoHeight']?pE['ByPosNoHeight']:pE['ByPos'];return _0x55e43d?_0x141936['join'](this['right']['lineAt'](_0x24df0f,_0x52691b,_0x521d41,_0x40bccb,_0x24df0f)):this['left']['lineAt'](_0x24df0f,_0x52691b,_0x521d41,_0x31a569,_0x10f15b)['join'](_0x141936);}['forEachLine'](_0x56e1dc,_0x345e24,_0x582883,_0xb4dfd8,_0x364643,_0x16e592){let _0x4b18b1=_0xb4dfd8+this['left']['height'],_0x9fd556=_0x364643+this['left']['length']+this['break'];if(this['break'])_0x56e1dc<_0x9fd556&&this['left']['forEachLine'](_0x56e1dc,_0x345e24,_0x582883,_0xb4dfd8,_0x364643,_0x16e592),_0x345e24>=_0x9fd556&&this['right']['forEachLine'](_0x56e1dc,_0x345e24,_0x582883,_0x4b18b1,_0x9fd556,_0x16e592);else{let _0x49d5dc=this['lineAt'](_0x9fd556,pE['ByPos'],_0x582883,_0xb4dfd8,_0x364643);_0x56e1dc<_0x49d5dc['from']&&this['left']['forEachLine'](_0x56e1dc,_0x49d5dc['from']-0x1,_0x582883,_0xb4dfd8,_0x364643,_0x16e592),_0x49d5dc['to']>=_0x56e1dc&&_0x49d5dc['from']<=_0x345e24&&_0x16e592(_0x49d5dc),_0x345e24>_0x49d5dc['to']&&this['right']['forEachLine'](_0x49d5dc['to']+0x1,_0x345e24,_0x582883,_0x4b18b1,_0x9fd556,_0x16e592);}}['replace'](_0x2a45db,_0x50b351,_0x1ddc0f){let _0x49a26e=this['left']['length']+this['break'];if(_0x50b351<_0x49a26e)return this['balanced'](this['left']['replace'](_0x2a45db,_0x50b351,_0x1ddc0f),this['right']);if(_0x2a45db>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x2a45db-_0x49a26e,_0x50b351-_0x49a26e,_0x1ddc0f));let _0x62c9c4=[];_0x2a45db>0x0&&this['decomposeLeft'](_0x2a45db,_0x62c9c4);let _0x42f41f=_0x62c9c4['length'];for(let _0xb47b0f of _0x1ddc0f)_0x62c9c4['push'](_0xb47b0f);if(_0x2a45db>0x0&&bE(_0x62c9c4,_0x42f41f-0x1),_0x50b351<this['length']){let _0x37cd3a=_0x62c9c4['length'];this['decomposeRight'](_0x50b351,_0x62c9c4),bE(_0x62c9c4,_0x37cd3a);}return HeightMap['of'](_0x62c9c4);}['decomposeLeft'](_0x5a7cf5,_0x456d90){let _0x2ac742=this['left']['length'];if(_0x5a7cf5<=_0x2ac742)return this['left']['decomposeLeft'](_0x5a7cf5,_0x456d90);_0x456d90['push'](this['left']),this['break']&&(_0x2ac742++,_0x5a7cf5>=_0x2ac742&&_0x456d90['push'](null)),_0x5a7cf5>_0x2ac742&&this['right']['decomposeLeft'](_0x5a7cf5-_0x2ac742,_0x456d90);}['decomposeRight'](_0x5d8b9d,_0x1f390f){let _0x2f33bd=this['left']['length'],_0x305986=_0x2f33bd+this['break'];if(_0x5d8b9d>=_0x305986)return this['right']['decomposeRight'](_0x5d8b9d-_0x305986,_0x1f390f);_0x5d8b9d<_0x2f33bd&&this['left']['decomposeRight'](_0x5d8b9d,_0x1f390f),this['break']&&_0x5d8b9d<_0x305986&&_0x1f390f['push'](null),_0x1f390f['push'](this['right']);}['balanced'](_0x5c562b,_0xb72dd1){return _0x5c562b['size']>0x2*_0xb72dd1['size']||_0xb72dd1['size']>0x2*_0x5c562b['size']?HeightMap['of'](this['break']?[_0x5c562b,null,_0xb72dd1]:[_0x5c562b,_0xb72dd1]):(this['left']=wE(this['left'],_0x5c562b),this['right']=wE(this['right'],_0xb72dd1),this['setHeight'](_0x5c562b['height']+_0xb72dd1['height']),this['outdated']=_0x5c562b['outdated']||_0xb72dd1['outdated'],this['size']=_0x5c562b['size']+_0xb72dd1['size'],this['length']=_0x5c562b['length']+this['break']+_0xb72dd1['length'],this);}['updateHeight'](_0x499559,_0x1613ac=0x0,_0x219449=!0x1,_0x495b64){let {left:_0x461bbf,right:_0x3465a3}=this,_0x320d0b=_0x1613ac+_0x461bbf['length']+this['break'],_0x50509f=null;return _0x495b64&&_0x495b64['from']<=_0x1613ac+_0x461bbf['length']&&_0x495b64['more']?_0x50509f=_0x461bbf=_0x461bbf['updateHeight'](_0x499559,_0x1613ac,_0x219449,_0x495b64):_0x461bbf['updateHeight'](_0x499559,_0x1613ac,_0x219449),_0x495b64&&_0x495b64['from']<=_0x320d0b+_0x3465a3['length']&&_0x495b64['more']?_0x50509f=_0x3465a3=_0x3465a3['updateHeight'](_0x499559,_0x320d0b,_0x219449,_0x495b64):_0x3465a3['updateHeight'](_0x499559,_0x320d0b,_0x219449),_0x50509f?this['balanced'](_0x461bbf,_0x3465a3):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function bE(_0x259213,_0x13bb25){let _0x597227,_0x38bb83;null==_0x259213[_0x13bb25]&&(_0x597227=_0x259213[_0x13bb25-0x1])instanceof HeightMapGap&&(_0x38bb83=_0x259213[_0x13bb25+0x1])instanceof HeightMapGap&&_0x259213['splice'](_0x13bb25-0x1,0x3,new HeightMapGap(_0x597227['length']+0x1+_0x38bb83['length']));}class NodeBuilder{constructor(_0x2a00f3,_0x12baff){this['pos']=_0x2a00f3,this['oracle']=_0x12baff,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x2a00f3;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x39569b,_0x2eaad0){if(this['lineStart']>-0x1){let _0x45332e=Math['min'](_0x2eaad0,this['lineEnd']),_0x1bcb33=this['nodes'][this['nodes']['length']-0x1];_0x1bcb33 instanceof HeightMapText?_0x1bcb33['length']+=_0x45332e-this['pos']:(_0x45332e>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x45332e-this['pos'],-0x1)),this['writtenTo']=_0x45332e,_0x2eaad0>_0x45332e&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x2eaad0;}['point'](_0x2f04d5,_0x15f173,_0xb2f2b6){if(_0x2f04d5<_0x15f173||_0xb2f2b6['heightRelevant']){let _0x396767=_0xb2f2b6['widget']?_0xb2f2b6['widget']['estimatedHeight']:0x0,_0x19f08f=_0xb2f2b6['widget']?_0xb2f2b6['widget']['lineBreaks']:0x0;_0x396767<0x0&&(_0x396767=this['oracle']['lineHeight']);let _0x5aabbe=_0x15f173-_0x2f04d5;_0xb2f2b6['block']?this['addBlock'](new HeightMapBlock(_0x5aabbe,_0x396767,_0xb2f2b6)):(_0x5aabbe||_0x19f08f||_0x396767>=0x5)&&this['addLineDeco'](_0x396767,_0x19f08f,_0x5aabbe);}else _0x15f173>_0x2f04d5&&this['span'](_0x2f04d5,_0x15f173);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x2e80b2,to:_0x3fc513}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x2e80b2,this['lineEnd']=_0x3fc513,this['writtenTo']<_0x2e80b2&&((this['writtenTo']<_0x2e80b2-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x2e80b2-0x1)),this['nodes']['push'](null)),this['pos']>_0x2e80b2&&this['nodes']['push'](new HeightMapText(this['pos']-_0x2e80b2,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0xa19dc2,_0x3cca32){let _0xc679aa=new HeightMapGap(_0x3cca32-_0xa19dc2);return this['oracle']['doc']['lineAt'](_0xa19dc2)['to']==_0x3cca32&&(_0xc679aa['flags']|=0x4),_0xc679aa;}['ensureLine'](){this['enterLine']();let _0x303131=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x303131 instanceof HeightMapText)return _0x303131;let _0x320347=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x320347),_0x320347;}['addBlock'](_0x1017ff){this['enterLine']();let _0x3ef218=_0x1017ff['deco'];_0x3ef218&&_0x3ef218['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x1017ff),this['writtenTo']=this['pos']=this['pos']+_0x1017ff['length'],_0x3ef218&&_0x3ef218['endSide']>0x0&&(this['covering']=_0x1017ff);}['addLineDeco'](_0x44d4ee,_0x161841,_0xbf68e7){let _0x3701b8=this['ensureLine']();_0x3701b8['length']+=_0xbf68e7,_0x3701b8['collapsed']+=_0xbf68e7,_0x3701b8['widgetHeight']=Math['max'](_0x3701b8['widgetHeight'],_0x44d4ee),_0x3701b8['breaks']+=_0x161841,this['writtenTo']=this['pos']=this['pos']+_0xbf68e7;}['finish'](_0x5d7a5f){let _0x18b7d5=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x18b7d5 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x18b7d5)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x1ecf2a=_0x5d7a5f;for(let _0x4ad265 of this['nodes'])_0x4ad265 instanceof HeightMapText&&_0x4ad265['updateHeight'](this['oracle'],_0x1ecf2a),_0x1ecf2a+=_0x4ad265?_0x4ad265['length']:0x1;return this['nodes'];}static['build'](_0x42c852,_0x48d6dd,_0x11b82b,_0x221ac2){let _0x93f640=new NodeBuilder(_0x11b82b,_0x42c852);return RangeSet['spans'](_0x48d6dd,_0x11b82b,_0x221ac2,_0x93f640,0x0),_0x93f640['finish'](_0x11b82b);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x168e2c,_0x532eee,_0x1b8de7,_0x24d9f9){(_0x168e2c<_0x532eee||_0x1b8de7&&_0x1b8de7['heightRelevant']||_0x24d9f9&&_0x24d9f9['heightRelevant'])&&Tv(_0x168e2c,_0x532eee,this['changes'],0x5);}}function yE(_0x145a29,_0x33e480){let _0x427ab5=_0x145a29['getBoundingClientRect'](),_0x19ba8e=_0x145a29['ownerDocument'],_0x55db75=_0x19ba8e['defaultView']||window,_0x21c8af=Math['max'](0x0,_0x427ab5['left']),_0x5c2962=Math['min'](_0x55db75['innerWidth'],_0x427ab5['right']),_0x432966=Math['max'](0x0,_0x427ab5['top']),_0x24eb4a=Math['min'](_0x55db75['innerHeight'],_0x427ab5['bottom']);for(let _0x2eab14=_0x145a29['parentNode'];_0x2eab14&&_0x2eab14!=_0x19ba8e['body'];)if(0x1==_0x2eab14['nodeType']){let _0x6f47d6=_0x2eab14,_0x2f73a0=window['getComputedStyle'](_0x6f47d6);if((_0x6f47d6['scrollHeight']>_0x6f47d6['clientHeight']||_0x6f47d6['scrollWidth']>_0x6f47d6['clientWidth'])&&'visible'!=_0x2f73a0['overflow']){let _0x5c88f4=_0x6f47d6['getBoundingClientRect']();_0x21c8af=Math['max'](_0x21c8af,_0x5c88f4['left']),_0x5c2962=Math['min'](_0x5c2962,_0x5c88f4['right']),_0x432966=Math['max'](_0x432966,_0x5c88f4['top']),_0x24eb4a=Math['min'](_0x2eab14==_0x145a29['parentNode']?_0x55db75['innerHeight']:_0x24eb4a,_0x5c88f4['bottom']);}_0x2eab14='absolute'==_0x2f73a0['position']||'fixed'==_0x2f73a0['position']?_0x6f47d6['offsetParent']:_0x6f47d6['parentNode'];}else{if(0xb!=_0x2eab14['nodeType'])break;_0x2eab14=_0x2eab14['host'];}return{'left':_0x21c8af-_0x427ab5['left'],'right':Math['max'](_0x21c8af,_0x5c2962)-_0x427ab5['left'],'top':_0x432966-(_0x427ab5['top']+_0x33e480),'bottom':Math['max'](_0x432966,_0x24eb4a)-(_0x427ab5['top']+_0x33e480)};}function _E(_0x55edc7,_0xcff338){let _0x545364=_0x55edc7['getBoundingClientRect']();return{'left':0x0,'right':_0x545364['right']-_0x545364['left'],'top':_0xcff338,'bottom':_0x545364['bottom']-(_0x545364['top']+_0xcff338)};}class LineGap{constructor(_0x4f1792,_0x5b4e4d,_0x399455,_0x554248){this['from']=_0x4f1792,this['to']=_0x5b4e4d,this['size']=_0x399455,this['displaySize']=_0x554248;}static['same'](_0x26aebe,_0x12a1eb){if(_0x26aebe['length']!=_0x12a1eb['length'])return!0x1;for(let _0x525165=0x0;_0x525165<_0x26aebe['length'];_0x525165++){let _0x9f1a44=_0x26aebe[_0x525165],_0x38558c=_0x12a1eb[_0x525165];if(_0x9f1a44['from']!=_0x38558c['from']||_0x9f1a44['to']!=_0x38558c['to']||_0x9f1a44['size']!=_0x38558c['size'])return!0x1;}return!0x0;}['draw'](_0x545fea,_0x2c52d5){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x2c52d5?_0x545fea['scaleY']:_0x545fea['scaleX']),_0x2c52d5)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0xb87c30,_0x2781c3){super(),this['size']=_0xb87c30,this['vertical']=_0x2781c3;}['eq'](_0x21fbb0){return _0x21fbb0['size']==this['size']&&_0x21fbb0['vertical']==this['vertical'];}['toDOM'](){let _0x75462c=document['createElement']('div');return this['vertical']?_0x75462c['style']['height']=this['size']+'px':(_0x75462c['style']['width']=this['size']+'px',_0x75462c['style']['height']='2px',_0x75462c['style']['display']='inline-block'),_0x75462c;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0xc4e024){this['state']=_0xc4e024,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']=EE,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Av['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x124f8f=_0xc4e024['facet'](cT)['some'](_0x5535d4=>'function'!=typeof _0x5535d4&&'cm-lineWrapping'==_0x5535d4['class']);this['heightOracle']=new HeightOracle(_0x124f8f),this['stateDeco']=_0xc4e024['facet'](lT)['filter'](_0x1049da=>'function'!=typeof _0x1049da),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0xc4e024['doc']),[new ChangedRange(0x0,0x0,0x0,_0xc4e024['doc']['length'])]);for(let _0x43b767=0x0;_0x43b767<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x43b767++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x2c37a4=>_0x2c37a4['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x39998f=[this['viewport']],{main:_0x563fba}=this['state']['selection'];for(let _0x5e4460=0x0;_0x5e4460<=0x1;_0x5e4460++){let _0x158685=_0x5e4460?_0x563fba['head']:_0x563fba['anchor'];if(!_0x39998f['some'](({from:_0x4f989a,to:_0x5e1ed3})=>_0x158685>=_0x4f989a&&_0x158685<=_0x5e1ed3)){let {from:_0x5021e9,to:_0x28b804}=this['lineBlockAt'](_0x158685);_0x39998f['push'](new Viewport(_0x5021e9,_0x28b804));}}return this['viewports']=_0x39998f['sort']((_0x461411,_0x1ab8bf)=>_0x461411['from']-_0x1ab8bf['from']),this['updateScaler']();}['updateScaler'](){let _0x5e8fa4=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?EE:new BigScaler(this['heightOracle'],this['heightMap'],this['viewports']),_0x5e8fa4['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,_0x3296f4=>{this['viewportLines']['push'](AE(_0x3296f4,this['scaler']));});}['update'](_0x37558e,_0x4326da=null){this['state']=_0x37558e['state'];let _0x1421a7=this['stateDeco'];this['stateDeco']=this['state']['facet'](lT)['filter'](_0x444576=>'function'!=typeof _0x444576);let _0x544952=_0x37558e['changedRanges'],_0x29e1f1=ChangedRange['extendWithRanges'](_0x544952,function(_0x2fa843,_0x5b37d5,_0x300f17){let _0x2799ba=new DecorationComparator();return RangeSet['compare'](_0x2fa843,_0x5b37d5,_0x300f17,_0x2799ba,0x0),_0x2799ba['changes'];}(_0x1421a7,this['stateDeco'],_0x37558e?_0x37558e['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x1290d5=this['heightMap']['height'],_0x3c2b27=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);gE(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x37558e['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x29e1f1),(this['heightMap']['height']!=_0x1290d5||mE)&&(_0x37558e['flags']|=0x2),_0x3c2b27?(this['scrollAnchorPos']=_0x37558e['changes']['mapPos'](_0x3c2b27['from'],-0x1),this['scrollAnchorHeight']=_0x3c2b27['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x1290d5);let _0x152d36=_0x29e1f1['length']?this['mapViewport'](this['viewport'],_0x37558e['changes']):this['viewport'];(_0x4326da&&(_0x4326da['range']['head']<_0x152d36['from']||_0x4326da['range']['head']>_0x152d36['to'])||!this['viewportIsAppropriate'](_0x152d36))&&(_0x152d36=this['getViewport'](0x0,_0x4326da));let _0x54cda6=_0x152d36['from']!=this['viewport']['from']||_0x152d36['to']!=this['viewport']['to'];this['viewport']=_0x152d36,_0x37558e['flags']|=this['updateForViewport'](),(_0x54cda6||!_0x37558e['changes']['empty']||0x2&_0x37558e['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x37558e['changes']))),_0x37558e['flags']|=this['computeVisibleRanges'](_0x37558e['changes']),_0x4326da&&(this['scrollTarget']=_0x4326da),!this['mustEnforceCursorAssoc']&&_0x37558e['selectionSet']&&_0x37558e['view']['lineWrapping']&&_0x37558e['state']['selection']['main']['empty']&&_0x37558e['state']['selection']['main']['assoc']&&!_0x37558e['state']['facet'](Jv)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x48eb6e){let _0x37bfc7=_0x48eb6e['contentDOM'],_0x22cf37=window['getComputedStyle'](_0x37bfc7),_0x5b55d2=this['heightOracle'],_0x3462e0=_0x22cf37['whiteSpace'];this['defaultTextDirection']='rtl'==_0x22cf37['direction']?Av['RTL']:Av['LTR'];let _0x1941a9=this['heightOracle']['mustRefreshForWrapping'](_0x3462e0),_0x15643e=_0x37bfc7['getBoundingClientRect'](),_0x43cd5c=_0x1941a9||this['mustMeasureContent']||this['contentDOMHeight']!=_0x15643e['height'];this['contentDOMHeight']=_0x15643e['height'],this['mustMeasureContent']=!0x1;let _0x36aa09=0x0,_0x455b5f=0x0;if(_0x15643e['width']&&_0x15643e['height']){let {scaleX:_0x392a96,scaleY:_0x139986}=K_(_0x37bfc7,_0x15643e);(_0x392a96>0.005&&Math['abs'](this['scaleX']-_0x392a96)>0.005||_0x139986>0.005&&Math['abs'](this['scaleY']-_0x139986)>0.005)&&(this['scaleX']=_0x392a96,this['scaleY']=_0x139986,_0x36aa09|=0x10,_0x1941a9=_0x43cd5c=!0x0);}let _0x45babd=(parseInt(_0x22cf37['paddingTop'])||0x0)*this['scaleY'],_0x59fa6c=(parseInt(_0x22cf37['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x45babd&&this['paddingBottom']==_0x59fa6c||(this['paddingTop']=_0x45babd,this['paddingBottom']=_0x59fa6c,_0x36aa09|=0x12),this['editorWidth']!=_0x48eb6e['scrollDOM']['clientWidth']&&(_0x5b55d2['lineWrapping']&&(_0x43cd5c=!0x0),this['editorWidth']=_0x48eb6e['scrollDOM']['clientWidth'],_0x36aa09|=0x10);let _0x49c0da=_0x48eb6e['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x49c0da&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x49c0da),this['scrolledToBottom']=rv(_0x48eb6e['scrollDOM']);let _0x448c78=(this['printing']?_E:yE)(_0x37bfc7,this['paddingTop']),_0x100e5a=_0x448c78['top']-this['pixelViewport']['top'],_0xd2a15=_0x448c78['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x448c78;let _0x431640=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x431640!=this['inView']&&(this['inView']=_0x431640,_0x431640&&(_0x43cd5c=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x5172fe){let _0x1bca81=_0x5172fe['getBoundingClientRect'](),_0x1bea66=_0x5172fe['ownerDocument']['defaultView']||window;return _0x1bca81['left']<_0x1bea66['innerWidth']&&_0x1bca81['right']>0x0&&_0x1bca81['top']<_0x1bea66['innerHeight']&&_0x1bca81['bottom']>0x0;}(_0x48eb6e['dom']))return 0x0;let _0x4e0c3a=_0x15643e['width'];if(this['contentDOMWidth']==_0x4e0c3a&&this['editorHeight']==_0x48eb6e['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x15643e['width'],this['editorHeight']=_0x48eb6e['scrollDOM']['clientHeight'],_0x36aa09|=0x10),_0x43cd5c){let _0x77fbc8=_0x48eb6e['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x5b55d2['mustRefreshForHeights'](_0x77fbc8)&&(_0x1941a9=!0x0),_0x1941a9||_0x5b55d2['lineWrapping']&&Math['abs'](_0x4e0c3a-this['contentDOMWidth'])>_0x5b55d2['charWidth']){let {lineHeight:_0x16447b,charWidth:_0x291b59,textHeight:_0x224327}=_0x48eb6e['docView']['measureTextSize']();_0x1941a9=_0x16447b>0x0&&_0x5b55d2['refresh'](_0x3462e0,_0x16447b,_0x291b59,_0x224327,Math['max'](0x5,_0x4e0c3a/_0x291b59),_0x77fbc8),_0x1941a9&&(_0x48eb6e['docView']['minWidth']=0x0,_0x36aa09|=0x10);}_0x100e5a>0x0&&_0xd2a15>0x0?_0x455b5f=Math['max'](_0x100e5a,_0xd2a15):_0x100e5a<0x0&&_0xd2a15<0x0&&(_0x455b5f=Math['min'](_0x100e5a,_0xd2a15)),gE();for(let _0x1354be of this['viewports']){let _0x4929b5=_0x1354be['from']==this['viewport']['from']?_0x77fbc8:_0x48eb6e['docView']['measureVisibleLineHeights'](_0x1354be);this['heightMap']=(_0x1941a9?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new ChangedRange(0x0,0x0,0x0,_0x48eb6e['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x5b55d2,0x0,_0x1941a9,new MeasuredHeights(_0x1354be['from'],_0x4929b5));}mE&&(_0x36aa09|=0x2);}let _0x472774=!this['viewportIsAppropriate'](this['viewport'],_0x455b5f)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x472774&&(0x2&_0x36aa09&&(_0x36aa09|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x455b5f,this['scrollTarget']),_0x36aa09|=this['updateForViewport']()),(0x2&_0x36aa09||_0x472774)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x1941a9?[]:this['lineGaps'],_0x48eb6e)),_0x36aa09|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x48eb6e['docView']['enforceCursorAssoc']()),_0x36aa09;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x34c187,_0x4db073){let _0x110f56=0.5-Math['max'](-0.5,Math['min'](0.5,_0x34c187/0x3e8/0x2)),_0x4f9bbd=this['heightMap'],_0x356213=this['heightOracle'],{visibleTop:_0x553fe3,visibleBottom:_0x1b876f}=this,_0x446313=new Viewport(_0x4f9bbd['lineAt'](_0x553fe3-0x3e8*_0x110f56,pE['ByHeight'],_0x356213,0x0,0x0)['from'],_0x4f9bbd['lineAt'](_0x1b876f+0x3e8*(0x1-_0x110f56),pE['ByHeight'],_0x356213,0x0,0x0)['to']);if(_0x4db073){let {head:_0x5189c2}=_0x4db073['range'];if(_0x5189c2<_0x446313['from']||_0x5189c2>_0x446313['to']){let _0x54c494,_0x5eef4b=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x2b227c=_0x4f9bbd['lineAt'](_0x5189c2,pE['ByPos'],_0x356213,0x0,0x0);_0x54c494='center'==_0x4db073['y']?(_0x2b227c['top']+_0x2b227c['bottom'])/0x2-_0x5eef4b/0x2:'start'==_0x4db073['y']||'nearest'==_0x4db073['y']&&_0x5189c2<_0x446313['from']?_0x2b227c['top']:_0x2b227c['bottom']-_0x5eef4b,_0x446313=new Viewport(_0x4f9bbd['lineAt'](_0x54c494-0x1f4,pE['ByHeight'],_0x356213,0x0,0x0)['from'],_0x4f9bbd['lineAt'](_0x54c494+_0x5eef4b+0x1f4,pE['ByHeight'],_0x356213,0x0,0x0)['to']);}}return _0x446313;}['mapViewport'](_0x3a1b7c,_0x1de8fe){let _0x1b2ca5=_0x1de8fe['mapPos'](_0x3a1b7c['from'],-0x1),_0x42e9be=_0x1de8fe['mapPos'](_0x3a1b7c['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x1b2ca5,pE['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x42e9be,pE['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x27bace,to:_0x2bfeab},_0x5ed340=0x0){if(!this['inView'])return!0x0;let {top:_0x35768c}=this['heightMap']['lineAt'](_0x27bace,pE['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x27f177}=this['heightMap']['lineAt'](_0x2bfeab,pE['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x391a5f,visibleBottom:_0x2dac0a}=this;return(0x0==_0x27bace||_0x35768c<=_0x391a5f-Math['max'](0xa,Math['min'](-_0x5ed340,0xfa)))&&(_0x2bfeab==this['state']['doc']['length']||_0x27f177>=_0x2dac0a+Math['max'](0xa,Math['min'](_0x5ed340,0xfa)))&&_0x35768c>_0x391a5f-0x7d0&&_0x27f177<_0x2dac0a+0x7d0;}['mapLineGaps'](_0x544867,_0x2d4af4){if(!_0x544867['length']||_0x2d4af4['empty'])return _0x544867;let _0x2c961a=[];for(let _0x22f7c6 of _0x544867)_0x2d4af4['touchesRange'](_0x22f7c6['from'],_0x22f7c6['to'])||_0x2c961a['push'](new LineGap(_0x2d4af4['mapPos'](_0x22f7c6['from']),_0x2d4af4['mapPos'](_0x22f7c6['to']),_0x22f7c6['size'],_0x22f7c6['displaySize']));return _0x2c961a;}['ensureLineGaps'](_0x3be220,_0x3ec8a9){let _0x4d4039=this['heightOracle']['lineWrapping'],_0x15f5b8=_0x4d4039?0x2710:0x7d0,_0x3504a6=_0x15f5b8>>0x1,_0x301da2=_0x15f5b8<<0x1;if(this['defaultTextDirection']!=Av['LTR']&&!_0x4d4039)return[];let _0x3d97cb=[],_0x359d96=(_0x23f811,_0x2827cc,_0x1076a7,_0x5564bc)=>{if(_0x2827cc-_0x23f811<_0x3504a6)return;let _0x4062c7=this['state']['selection']['main'],_0x149172=[_0x4062c7['from']];_0x4062c7['empty']||_0x149172['push'](_0x4062c7['to']);for(let _0x5586d2 of _0x149172)if(_0x5586d2>_0x23f811&&_0x5586d2<_0x2827cc)return _0x359d96(_0x23f811,_0x5586d2-0xa,_0x1076a7,_0x5564bc),void _0x359d96(_0x5586d2+0xa,_0x2827cc,_0x1076a7,_0x5564bc);let _0x26aa85=function(_0x2b5fa7,_0x10c7f0){for(let _0x5dfcff of _0x2b5fa7)if(_0x10c7f0(_0x5dfcff))return _0x5dfcff;return;}(_0x3be220,_0x3dce43=>_0x3dce43['from']>=_0x1076a7['from']&&_0x3dce43['to']<=_0x1076a7['to']&&Math['abs'](_0x3dce43['from']-_0x23f811)<_0x3504a6&&Math['abs'](_0x3dce43['to']-_0x2827cc)<_0x3504a6&&!_0x149172['some'](_0x2cb3ac=>_0x3dce43['from']<_0x2cb3ac&&_0x3dce43['to']>_0x2cb3ac));if(!_0x26aa85){if(_0x2827cc<_0x1076a7['to']&&_0x3ec8a9&&_0x4d4039&&_0x3ec8a9['visibleRanges']['some'](_0x5c3edc=>_0x5c3edc['from']<=_0x2827cc&&_0x5c3edc['to']>=_0x2827cc)){let _0x3088ec=_0x3ec8a9['moveToLineBoundary'](EditorSelection['cursor'](_0x2827cc),!0x1,!0x0)['head'];_0x3088ec>_0x23f811&&(_0x2827cc=_0x3088ec);}let _0x519b01=this['gapSize'](_0x1076a7,_0x23f811,_0x2827cc,_0x5564bc);_0x26aa85=new LineGap(_0x23f811,_0x2827cc,_0x519b01,_0x4d4039||_0x519b01<0x1e8480?_0x519b01:0x1e8480);}_0x3d97cb['push'](_0x26aa85);},_0x106778=_0x3affb4=>{if(_0x3affb4['length']<_0x301da2||_0x3affb4['type']!=_v['Text'])return;let _0x2dfeaa=function(_0x2e49c6,_0x43b7ff,_0x19ac97){let _0xee95c3=[],_0xa10297=_0x2e49c6,_0x5890c1=0x0;return RangeSet['spans'](_0x19ac97,_0x2e49c6,_0x43b7ff,{'span'(){},'point'(_0x3c6cce,_0x59d88e){_0x3c6cce>_0xa10297&&(_0xee95c3['push']({'from':_0xa10297,'to':_0x3c6cce}),_0x5890c1+=_0x3c6cce-_0xa10297),_0xa10297=_0x59d88e;}},0x14),_0xa10297<_0x43b7ff&&(_0xee95c3['push']({'from':_0xa10297,'to':_0x43b7ff}),_0x5890c1+=_0x43b7ff-_0xa10297),{'total':_0x5890c1,'ranges':_0xee95c3};}(_0x3affb4['from'],_0x3affb4['to'],this['stateDeco']);if(_0x2dfeaa['total']<_0x301da2)return;let _0x12a5e5,_0xb9e2a2,_0x418c4d=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x4d4039){let _0x364d20,_0x145f68,_0x45cb7c=_0x15f5b8/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x418c4d){let _0x13e13c=TE(_0x2dfeaa,_0x418c4d),_0x57c629=((this['visibleBottom']-this['visibleTop'])/0x2+_0x45cb7c)/_0x3affb4['height'];_0x364d20=_0x13e13c-_0x57c629,_0x145f68=_0x13e13c+_0x57c629;}else _0x364d20=(this['visibleTop']-_0x3affb4['top']-_0x45cb7c)/_0x3affb4['height'],_0x145f68=(this['visibleBottom']-_0x3affb4['top']+_0x45cb7c)/_0x3affb4['height'];_0x12a5e5=vE(_0x2dfeaa,_0x364d20),_0xb9e2a2=vE(_0x2dfeaa,_0x145f68);}else{let _0x572916=_0x2dfeaa['total']*this['heightOracle']['charWidth'],_0x2d5963=_0x15f5b8*this['heightOracle']['charWidth'],_0x49b9de=0x0;if(_0x572916>0x1e8480){for(let _0x12ed66 of _0x3be220)_0x12ed66['from']>=_0x3affb4['from']&&_0x12ed66['from']<_0x3affb4['to']&&_0x12ed66['size']!=_0x12ed66['displaySize']&&_0x12ed66['from']*this['heightOracle']['charWidth']+_0x49b9de<this['pixelViewport']['left']&&(_0x49b9de=_0x12ed66['size']-_0x12ed66['displaySize']);}let _0x596785,_0x2582f5,_0x33431d=this['pixelViewport']['left']+_0x49b9de,_0x12b0a6=this['pixelViewport']['right']+_0x49b9de;if(null!=_0x418c4d){let _0x3d78b3=TE(_0x2dfeaa,_0x418c4d),_0x3e1f15=((_0x12b0a6-_0x33431d)/0x2+_0x2d5963)/_0x572916;_0x596785=_0x3d78b3-_0x3e1f15,_0x2582f5=_0x3d78b3+_0x3e1f15;}else _0x596785=(_0x33431d-_0x2d5963)/_0x572916,_0x2582f5=(_0x12b0a6+_0x2d5963)/_0x572916;_0x12a5e5=vE(_0x2dfeaa,_0x596785),_0xb9e2a2=vE(_0x2dfeaa,_0x2582f5);}_0x12a5e5>_0x3affb4['from']&&_0x359d96(_0x3affb4['from'],_0x12a5e5,_0x3affb4,_0x2dfeaa),_0xb9e2a2<_0x3affb4['to']&&_0x359d96(_0xb9e2a2,_0x3affb4['to'],_0x3affb4,_0x2dfeaa);};for(let _0x1aa51e of this['viewportLines'])Array['isArray'](_0x1aa51e['type'])?_0x1aa51e['type']['forEach'](_0x106778):_0x106778(_0x1aa51e);return _0x3d97cb;}['gapSize'](_0x2036ba,_0x1b5f7b,_0x451a83,_0x20a710){let _0x13910a=TE(_0x20a710,_0x451a83)-TE(_0x20a710,_0x1b5f7b);return this['heightOracle']['lineWrapping']?_0x2036ba['height']*_0x13910a:_0x20a710['total']*this['heightOracle']['charWidth']*_0x13910a;}['updateLineGaps'](_0x24f56b){LineGap['same'](_0x24f56b,this['lineGaps'])||(this['lineGaps']=_0x24f56b,this['lineGapDeco']=Decoration['set'](_0x24f56b['map'](_0x13bd36=>_0x13bd36['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x45353a){let _0x3667d7=this['stateDeco'];this['lineGaps']['length']&&(_0x3667d7=_0x3667d7['concat'](this['lineGapDeco']));let _0x26a274=[];RangeSet['spans'](_0x3667d7,this['viewport']['from'],this['viewport']['to'],{'span'(_0xddf015,_0x5866f2){_0x26a274['push']({'from':_0xddf015,'to':_0x5866f2});},'point'(){}},0x14);let _0x3d1989=0x0;if(_0x26a274['length']!=this['visibleRanges']['length'])_0x3d1989=0xc;else for(let _0x16b744=0x0;_0x16b744<_0x26a274['length']&&!(0x8&_0x3d1989);_0x16b744++){let _0x2c7fe7=this['visibleRanges'][_0x16b744],_0x4a2979=_0x26a274[_0x16b744];_0x2c7fe7['from']==_0x4a2979['from']&&_0x2c7fe7['to']==_0x4a2979['to']||(_0x3d1989|=0x4,_0x45353a&&_0x45353a['mapPos'](_0x2c7fe7['from'],-0x1)==_0x4a2979['from']&&_0x45353a['mapPos'](_0x2c7fe7['to'],0x1)==_0x4a2979['to']||(_0x3d1989|=0x8));}return this['visibleRanges']=_0x26a274,_0x3d1989;}['lineBlockAt'](_0x5d766f){return _0x5d766f>=this['viewport']['from']&&_0x5d766f<=this['viewport']['to']&&this['viewportLines']['find'](_0x70f594=>_0x70f594['from']<=_0x5d766f&&_0x70f594['to']>=_0x5d766f)||AE(this['heightMap']['lineAt'](_0x5d766f,pE['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x395857){return _0x395857>=this['viewportLines'][0x0]['top']&&_0x395857<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x197179=>_0x197179['top']<=_0x395857&&_0x197179['bottom']>=_0x395857)||AE(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x395857),pE['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x5467c4){let _0x5b56b8=this['lineBlockAtHeight'](_0x5467c4+0x8);return _0x5b56b8['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x5467c4>0xc8?_0x5b56b8:this['viewportLines'][0x0];}['elementAtHeight'](_0x4436ad){return AE(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x4436ad),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(_0x3a5334,_0x498baa){this['from']=_0x3a5334,this['to']=_0x498baa;}}function vE({total:_0x3f834a,ranges:_0x202ff4},_0x124bf4){if(_0x124bf4<=0x0)return _0x202ff4[0x0]['from'];if(_0x124bf4>=0x1)return _0x202ff4[_0x202ff4['length']-0x1]['to'];let _0x117031=Math['floor'](_0x3f834a*_0x124bf4);for(let _0x4d8e10=0x0;;_0x4d8e10++){let {from:_0x5d2275,to:_0x71b07f}=_0x202ff4[_0x4d8e10],_0x4540b6=_0x71b07f-_0x5d2275;if(_0x117031<=_0x4540b6)return _0x5d2275+_0x117031;_0x117031-=_0x4540b6;}}function TE(_0x3aa115,_0x4743f2){let _0xb969c1=0x0;for(let {from:_0x3ff007,to:_0x193005}of _0x3aa115['ranges']){if(_0x4743f2<=_0x193005){_0xb969c1+=_0x4743f2-_0x3ff007;break;}_0xb969c1+=_0x193005-_0x3ff007;}return _0xb969c1/_0x3aa115['total'];}const EE={'toDOM':_0x175314=>_0x175314,'fromDOM':_0x232b83=>_0x232b83,'scale':0x1,'eq'(_0x32f4c2){return _0x32f4c2==this;}};class BigScaler{constructor(_0x1c0456,_0x794745,_0x35ae8c){let _0x4517d0=0x0,_0x2524fc=0x0,_0x29d4f5=0x0;this['viewports']=_0x35ae8c['map'](({from:_0x544789,to:_0x4ccf0c})=>{let _0x5105a6=_0x794745['lineAt'](_0x544789,pE['ByPos'],_0x1c0456,0x0,0x0)['top'],_0x557ff6=_0x794745['lineAt'](_0x4ccf0c,pE['ByPos'],_0x1c0456,0x0,0x0)['bottom'];return _0x4517d0+=_0x557ff6-_0x5105a6,{'from':_0x544789,'to':_0x4ccf0c,'top':_0x5105a6,'bottom':_0x557ff6,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x4517d0)/(_0x794745['height']-_0x4517d0);for(let _0x325c93 of this['viewports'])_0x325c93['domTop']=_0x29d4f5+(_0x325c93['top']-_0x2524fc)*this['scale'],_0x29d4f5=_0x325c93['domBottom']=_0x325c93['domTop']+(_0x325c93['bottom']-_0x325c93['top']),_0x2524fc=_0x325c93['bottom'];}['toDOM'](_0x3575e0){for(let _0x2cb8f7=0x0,_0x4351de=0x0,_0x32eba0=0x0;;_0x2cb8f7++){let _0xf33c60=_0x2cb8f7<this['viewports']['length']?this['viewports'][_0x2cb8f7]:null;if(!_0xf33c60||_0x3575e0<_0xf33c60['top'])return _0x32eba0+(_0x3575e0-_0x4351de)*this['scale'];if(_0x3575e0<=_0xf33c60['bottom'])return _0xf33c60['domTop']+(_0x3575e0-_0xf33c60['top']);_0x4351de=_0xf33c60['bottom'],_0x32eba0=_0xf33c60['domBottom'];}}['fromDOM'](_0x3d975b){for(let _0x5c1e4c=0x0,_0x10f80f=0x0,_0x537a41=0x0;;_0x5c1e4c++){let _0x363338=_0x5c1e4c<this['viewports']['length']?this['viewports'][_0x5c1e4c]:null;if(!_0x363338||_0x3d975b<_0x363338['domTop'])return _0x10f80f+(_0x3d975b-_0x537a41)/this['scale'];if(_0x3d975b<=_0x363338['domBottom'])return _0x363338['top']+(_0x3d975b-_0x363338['domTop']);_0x10f80f=_0x363338['bottom'],_0x537a41=_0x363338['domBottom'];}}['eq'](_0x4a1fcb){return _0x4a1fcb instanceof BigScaler&&(this['scale']==_0x4a1fcb['scale']&&this['viewports']['length']==_0x4a1fcb['viewports']['length']&&this['viewports']['every']((_0x1150bf,_0x12c3b3)=>_0x1150bf['from']==_0x4a1fcb['viewports'][_0x12c3b3]['from']&&_0x1150bf['to']==_0x4a1fcb['viewports'][_0x12c3b3]['to']));}}function AE(_0x5d87ea,_0x10556c){if(0x1==_0x10556c['scale'])return _0x5d87ea;let _0x46c487=_0x10556c['toDOM'](_0x5d87ea['top']),_0x477276=_0x10556c['toDOM'](_0x5d87ea['bottom']);return new BlockInfo(_0x5d87ea['from'],_0x5d87ea['length'],_0x46c487,_0x477276-_0x46c487,Array['isArray'](_0x5d87ea['_content'])?_0x5d87ea['_content']['map'](_0x5d5b24=>AE(_0x5d5b24,_0x10556c)):_0x5d87ea['_content']);}const SE=Facet['define']({'combine':_0x5464cd=>_0x5464cd['join']('\x20')}),IE=Facet['define']({'combine':_0x46832b=>_0x46832b['indexOf'](!0x0)>-0x1}),CE=StyleModule['newName'](),kE=StyleModule['newName'](),xE=StyleModule['newName'](),RE={'&light':'.'+kE,'&dark':'.'+xE};function PE(_0xb00f46,_0x1bfddd,_0x4baf97){return new StyleModule(_0x1bfddd,{'finish':_0x38c836=>/&/['test'](_0x38c836)?_0x38c836['replace'](/&\w*/,_0x16bd6e=>{if('&'==_0x16bd6e)return _0xb00f46;if(!_0x4baf97||!_0x4baf97[_0x16bd6e])throw new RangeError('Unsupported\x20selector:\x20'+_0x16bd6e);return _0x4baf97[_0x16bd6e];}):_0xb00f46+'\x20'+_0x38c836});}const ME=PE('.'+CE,{'&':{'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'}},RE),NE={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},LE=U_['ie']&&U_['ie_version']<=0xb;class DOMObserver{constructor(_0x441fff){this['view']=_0x441fff,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']=_0x441fff['contentDOM'],this['observer']=new MutationObserver(_0x3e043b=>{for(let _0x4f5963 of _0x3e043b)this['queue']['push'](_0x4f5963);(U_['ie']&&U_['ie_version']<=0xb||U_['ios']&&_0x441fff['composing'])&&_0x3e043b['some'](_0x19cb63=>'childList'==_0x19cb63['type']&&_0x19cb63['removedNodes']['length']||'characterData'==_0x19cb63['type']&&_0x19cb63['oldValue']['length']>_0x19cb63['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!U_['android']||!0x1===_0x441fff['constructor']['EDIT_CONTEXT']||U_['chrome']&&U_['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x441fff),_0x441fff['state']['facet'](nT)&&(_0x441fff['contentDOM']['editContext']=this['editContext']['editContext'])),LE&&(this['onCharData']=_0x3286f4=>{this['queue']['push']({'target':_0x3286f4['target'],'type':'characterData','oldValue':_0x3286f4['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 _0x264655;(null===(_0x264655=this['view']['docView'])||void 0x0===_0x264655?void 0x0:_0x264655['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x441fff['scrollDOM'])),this['addWindowListeners'](this['win']=_0x441fff['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x2f26d6=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x2f26d6['length']>0x0&&_0x2f26d6[_0x2f26d6['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(_0x3d44d7=>{_0x3d44d7['length']>0x0&&_0x3d44d7[_0x3d44d7['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x116e9e){this['view']['inputState']['runHandlers']('scroll',_0x116e9e),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x3b8e94){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x3b8e94);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x2db8f9){('change'!=_0x2db8f9['type']&&_0x2db8f9['type']||_0x2db8f9['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x132ad6){if(this['gapIntersection']&&(_0x132ad6['length']!=this['gaps']['length']||this['gaps']['some']((_0xed4326,_0x110d66)=>_0xed4326!=_0x132ad6[_0x110d66]))){this['gapIntersection']['disconnect']();for(let _0x2f11ed of _0x132ad6)this['gapIntersection']['observe'](_0x2f11ed);this['gaps']=_0x132ad6;}}['onSelectionChange'](_0x40907a){let _0x4a6f7c=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x783672}=this,_0x1f55a6=this['selectionRange'];if(_0x783672['state']['facet'](nT)?_0x783672['root']['activeElement']!=this['dom']:!j_(this['dom'],_0x1f55a6))return;let _0x5ecd0b=_0x1f55a6['anchorNode']&&_0x783672['docView']['nearest'](_0x1f55a6['anchorNode']);_0x5ecd0b&&_0x5ecd0b['ignoreEvent'](_0x40907a)?_0x4a6f7c||(this['selectionChanged']=!0x1):(U_['ie']&&U_['ie_version']<=0xb||U_['android']&&U_['chrome'])&&!_0x783672['state']['selection']['main']['empty']&&_0x1f55a6['focusNode']&&G_(_0x1f55a6['focusNode'],_0x1f55a6['focusOffset'],_0x1f55a6['anchorNode'],_0x1f55a6['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x1b4d97}=this,_0x13b102=B_(_0x1b4d97['root']);if(!_0x13b102)return!0x1;let _0x2fa545=U_['safari']&&0xb==_0x1b4d97['root']['nodeType']&&_0x1b4d97['root']['activeElement']==this['dom']&&function(_0x34095a,_0x37e6c3){if(_0x37e6c3['getComposedRanges']){let _0x3c1532=_0x37e6c3['getComposedRanges'](_0x34095a['root'])[0x0];if(_0x3c1532)return QE(_0x34095a,_0x3c1532);}let _0x45166a=null;function _0x29c307(_0x40d69a){_0x40d69a['preventDefault'](),_0x40d69a['stopImmediatePropagation'](),_0x45166a=_0x40d69a['getTargetRanges']()[0x0];}return _0x34095a['contentDOM']['addEventListener']('beforeinput',_0x29c307,!0x0),_0x34095a['dom']['ownerDocument']['execCommand']('indent'),_0x34095a['contentDOM']['removeEventListener']('beforeinput',_0x29c307,!0x0),_0x45166a?QE(_0x34095a,_0x45166a):null;}(this['view'],_0x13b102)||_0x13b102;if(!_0x2fa545||this['selectionRange']['eq'](_0x2fa545))return!0x1;let _0x2e1505=j_(this['dom'],_0x2fa545);return _0x2e1505&&!this['selectionChanged']&&_0x1b4d97['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x1b4d97['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0xd43e26,_0x1343f5){let _0x185941=_0x1343f5['focusNode'],_0x42448=_0x1343f5['focusOffset'];if(!_0x185941||_0x1343f5['anchorNode']!=_0x185941||_0x1343f5['anchorOffset']!=_0x42448)return!0x1;for(_0x42448=Math['min'](_0x42448,W_(_0x185941));;)if(_0x42448){if(0x1!=_0x185941['nodeType'])return!0x1;let _0x5be427=_0x185941['childNodes'][_0x42448-0x1];'false'==_0x5be427['contentEditable']?_0x42448--:(_0x185941=_0x5be427,_0x42448=W_(_0x185941));}else{if(_0x185941==_0xd43e26)return!0x0;_0x42448=Z_(_0x185941),_0x185941=_0x185941['parentNode'];}}(this['dom'],_0x2fa545)?(this['view']['inputState']['lastFocusTime']=0x0,_0x1b4d97['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x2fa545),_0x2e1505&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x1a1d82,_0x5acb1a){this['selectionRange']['set'](_0x1a1d82['node'],_0x1a1d82['offset'],_0x5acb1a['node'],_0x5acb1a['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x2708b4=0x0,_0x1e5e22=null;for(let _0x21b62c=this['dom'];_0x21b62c;)if(0x1==_0x21b62c['nodeType'])!_0x1e5e22&&_0x2708b4<this['scrollTargets']['length']&&this['scrollTargets'][_0x2708b4]==_0x21b62c?_0x2708b4++:_0x1e5e22||(_0x1e5e22=this['scrollTargets']['slice'](0x0,_0x2708b4)),_0x1e5e22&&_0x1e5e22['push'](_0x21b62c),_0x21b62c=_0x21b62c['assignedSlot']||_0x21b62c['parentNode'];else{if(0xb!=_0x21b62c['nodeType'])break;_0x21b62c=_0x21b62c['host'];}if(_0x2708b4<this['scrollTargets']['length']&&!_0x1e5e22&&(_0x1e5e22=this['scrollTargets']['slice'](0x0,_0x2708b4)),_0x1e5e22){for(let _0x26c4f5 of this['scrollTargets'])_0x26c4f5['removeEventListener']('scroll',this['onScroll']);for(let _0x50639d of this['scrollTargets']=_0x1e5e22)_0x50639d['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0xc9212){if(!this['active'])return _0xc9212();try{return this['stop'](),_0xc9212();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],NE),LE&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),LE&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x4ced9e,_0x2d2e7c){var _0x5ce1ff;if(!this['delayedAndroidKey']){let _0x296aa3=()=>{let _0x4dcdf8=this['delayedAndroidKey'];_0x4dcdf8&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x4dcdf8['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x4dcdf8['force']&&sv(this['dom'],_0x4dcdf8['key'],_0x4dcdf8['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x296aa3);}this['delayedAndroidKey']&&'Enter'!=_0x4ced9e||(this['delayedAndroidKey']={'key':_0x4ced9e,'keyCode':_0x2d2e7c,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x5ce1ff=this['delayedAndroidKey'])||void 0x0===_0x5ce1ff?void 0x0:_0x5ce1ff['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 _0x148ba3 of this['observer']['takeRecords']())this['queue']['push'](_0x148ba3);return this['queue'];}['processRecords'](){let _0x56b716=this['pendingRecords']();_0x56b716['length']&&(this['queue']=[]);let _0x3fc9dd=-0x1,_0x1fd8b2=-0x1,_0x297908=!0x1;for(let _0x1109ed of _0x56b716){let _0x2c07d4=this['readMutation'](_0x1109ed);_0x2c07d4&&(_0x2c07d4['typeOver']&&(_0x297908=!0x0),-0x1==_0x3fc9dd?{from:_0x3fc9dd,to:_0x1fd8b2}=_0x2c07d4:(_0x3fc9dd=Math['min'](_0x2c07d4['from'],_0x3fc9dd),_0x1fd8b2=Math['max'](_0x2c07d4['to'],_0x1fd8b2)));}return{'from':_0x3fc9dd,'to':_0x1fd8b2,'typeOver':_0x297908};}['readChange'](){let {from:_0x5bc634,to:_0x34682b,typeOver:_0x3b60c6}=this['processRecords'](),_0x5330cd=this['selectionChanged']&&j_(this['dom'],this['selectionRange']);if(_0x5bc634<0x0&&!_0x5330cd)return null;_0x5bc634>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x59f2e7=new DOMChange(this['view'],_0x5bc634,_0x34682b,_0x3b60c6);return this['view']['docView']['domChanged']={'newSel':_0x59f2e7['newSel']?_0x59f2e7['newSel']['main']:null},_0x59f2e7;}['flush'](_0x208b32=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x208b32&&this['readSelectionRange']();let _0x22e7d6=this['readChange']();if(!_0x22e7d6)return this['view']['requestMeasure'](),!0x1;let _0x27b40c=this['view']['state'],_0x8d8261=QT(this['view'],_0x22e7d6);return this['view']['state']==_0x27b40c&&(_0x22e7d6['domChanged']||_0x22e7d6['newSel']&&!_0x22e7d6['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x8d8261;}['readMutation'](_0x1abe42){let _0x502a96=this['view']['docView']['nearest'](_0x1abe42['target']);if(!_0x502a96||_0x502a96['ignoreMutation'](_0x1abe42))return null;if(_0x502a96['markDirty']('attributes'==_0x1abe42['type']),'attributes'==_0x1abe42['type']&&(_0x502a96['flags']|=0x4),'childList'==_0x1abe42['type']){let _0x11c579=DE(_0x502a96,_0x1abe42['previousSibling']||_0x1abe42['target']['previousSibling'],-0x1),_0x25495d=DE(_0x502a96,_0x1abe42['nextSibling']||_0x1abe42['target']['nextSibling'],0x1);return{'from':_0x11c579?_0x502a96['posAfter'](_0x11c579):_0x502a96['posAtStart'],'to':_0x25495d?_0x502a96['posBefore'](_0x25495d):_0x502a96['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x1abe42['type']?{'from':_0x502a96['posAtStart'],'to':_0x502a96['posAtEnd'],'typeOver':_0x1abe42['target']['nodeValue']==_0x1abe42['oldValue']}:null;}['setWindow'](_0x52dfa3){_0x52dfa3!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x52dfa3,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x5e7cd3){_0x5e7cd3['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x5e7cd3['addEventListener']('beforeprint',this['onPrint']),_0x5e7cd3['addEventListener']('scroll',this['onScroll']),_0x5e7cd3['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x2a14c3){_0x2a14c3['removeEventListener']('scroll',this['onScroll']),_0x2a14c3['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x2a14c3['removeEventListener']('beforeprint',this['onPrint']),_0x2a14c3['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x1eecb0){this['editContext']&&(this['editContext']['update'](_0x1eecb0),_0x1eecb0['startState']['facet'](nT)!=_0x1eecb0['state']['facet'](nT)&&(_0x1eecb0['view']['contentDOM']['editContext']=_0x1eecb0['state']['facet'](nT)?this['editContext']['editContext']:null));}['destroy'](){var _0x4c1efa,_0x54cfb2,_0xd105ba;this['stop'](),null===(_0x4c1efa=this['intersection'])||void 0x0===_0x4c1efa||_0x4c1efa['disconnect'](),null===(_0x54cfb2=this['gapIntersection'])||void 0x0===_0x54cfb2||_0x54cfb2['disconnect'](),null===(_0xd105ba=this['resizeScroll'])||void 0x0===_0xd105ba||_0xd105ba['disconnect']();for(let _0x37f2d2 of this['scrollTargets'])_0x37f2d2['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 DE(_0x62ee53,_0x47fda6,_0x24eccd){for(;_0x47fda6;){let _0x2c657c=ContentView['get'](_0x47fda6);if(_0x2c657c&&_0x2c657c['parent']==_0x62ee53)return _0x2c657c;let _0x2731c9=_0x47fda6['parentNode'];_0x47fda6=_0x2731c9!=_0x62ee53['dom']?_0x2731c9:_0x24eccd>0x0?_0x47fda6['nextSibling']:_0x47fda6['previousSibling'];}return null;}function QE(_0x2475e3,_0x3fc9c8){let _0x5a6bbf=_0x3fc9c8['startContainer'],_0x5c761f=_0x3fc9c8['startOffset'],_0x5e98a8=_0x3fc9c8['endContainer'],_0x43632b=_0x3fc9c8['endOffset'],_0x4d9795=_0x2475e3['docView']['domAtPos'](_0x2475e3['state']['selection']['main']['anchor']);return G_(_0x4d9795['node'],_0x4d9795['offset'],_0x5e98a8,_0x43632b)&&([_0x5a6bbf,_0x5c761f,_0x5e98a8,_0x43632b]=[_0x5e98a8,_0x43632b,_0x5a6bbf,_0x5c761f]),{'anchorNode':_0x5a6bbf,'anchorOffset':_0x5c761f,'focusNode':_0x5e98a8,'focusOffset':_0x43632b};}class EditContextManager{constructor(_0x2ddcff){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x2ddcff['state']);let _0x230f67=this['editContext']=new window['EditContext']({'text':_0x2ddcff['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x2ddcff['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x2ddcff['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x3179b2=>{let _0xb14b96=_0x2ddcff['state']['selection']['main'],{anchor:_0x34ed02,head:_0x57a903}=_0xb14b96,_0x14cb33=this['toEditorPos'](_0x3179b2['updateRangeStart']),_0x3f172b=this['toEditorPos'](_0x3179b2['updateRangeEnd']);_0x2ddcff['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x3179b2['updateRangeStart'],'editorBase':_0x14cb33,'drifted':!0x1});let _0x57e63d=_0x3f172b-_0x14cb33>_0x3179b2['text']['length'];_0x14cb33==this['from']&&_0x34ed02<this['from']?_0x14cb33=_0x34ed02:_0x3f172b==this['to']&&_0x34ed02>this['to']&&(_0x3f172b=_0x34ed02);let _0x5d4654=VT(_0x2ddcff['state']['sliceDoc'](_0x14cb33,_0x3f172b),_0x3179b2['text'],(_0x57e63d?_0xb14b96['from']:_0xb14b96['to'])-_0x14cb33,_0x57e63d?'end':null);if(!_0x5d4654){let _0x2d3b82=EditorSelection['single'](this['toEditorPos'](_0x3179b2['selectionStart']),this['toEditorPos'](_0x3179b2['selectionEnd']));return void(_0x2d3b82['main']['eq'](_0xb14b96)||_0x2ddcff['dispatch']({'selection':_0x2d3b82,'userEvent':'select'}));}let _0x5536a6={'from':_0x5d4654['from']+_0x14cb33,'to':_0x5d4654['toA']+_0x14cb33,'insert':Text['of'](_0x3179b2['text']['slice'](_0x5d4654['from'],_0x5d4654['toB'])['split']('\x0a'))};if((U_['mac']||U_['android'])&&_0x5536a6['from']==_0x57a903-0x1&&/^\. ?$/['test'](_0x3179b2['text'])&&'off'==_0x2ddcff['contentDOM']['getAttribute']('autocorrect')&&(_0x5536a6={'from':_0x14cb33,'to':_0x3f172b,'insert':Text['of']([_0x3179b2['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x5536a6,!_0x2ddcff['state']['readOnly']){let _0x24f58c=this['to']-this['from']+(_0x5536a6['to']-_0x5536a6['from']+_0x5536a6['insert']['length']);$T(_0x2ddcff,_0x5536a6,EditorSelection['single'](this['toEditorPos'](_0x3179b2['selectionStart'],_0x24f58c),this['toEditorPos'](_0x3179b2['selectionEnd'],_0x24f58c)));}this['pendingContextChange']&&(this['revertPending'](_0x2ddcff['state']),this['setSelection'](_0x2ddcff['state'])),_0x5536a6['from']<_0x5536a6['to']&&!_0x5536a6['insert']['length']&&_0x2ddcff['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x230f67['text']['slice'](Math['max'](0x0,_0x3179b2['updateRangeStart']-0x1),Math['min'](_0x230f67['text']['length'],_0x3179b2['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x3179b2);},this['handlers']['characterboundsupdate']=_0x36d23f=>{let _0x7f1236=[],_0x4c2d9f=null;for(let _0x54c63b=this['toEditorPos'](_0x36d23f['rangeStart']),_0x5651b1=this['toEditorPos'](_0x36d23f['rangeEnd']);_0x54c63b<_0x5651b1;_0x54c63b++){let _0x1c508f=_0x2ddcff['coordsForChar'](_0x54c63b);_0x4c2d9f=_0x1c508f&&new DOMRect(_0x1c508f['left'],_0x1c508f['top'],_0x1c508f['right']-_0x1c508f['left'],_0x1c508f['bottom']-_0x1c508f['top'])||_0x4c2d9f||new DOMRect(),_0x7f1236['push'](_0x4c2d9f);}_0x230f67['updateCharacterBounds'](_0x36d23f['rangeStart'],_0x7f1236);},this['handlers']['textformatupdate']=_0x137390=>{let _0x1bb686=[];for(let _0x537747 of _0x137390['getTextFormats']()){let _0x37df1e=_0x537747['underlineStyle'],_0x4fdf6a=_0x537747['underlineThickness'];if(!/none/i['test'](_0x37df1e)&&!/none/i['test'](_0x4fdf6a)){let _0x95c3e8=this['toEditorPos'](_0x537747['rangeStart']),_0x45076c=this['toEditorPos'](_0x537747['rangeEnd']);if(_0x95c3e8<_0x45076c){let _0xe851b5='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x37df1e)?_0x37df1e+'\x20':'Dashed'==_0x37df1e?'dashed\x20':'Squiggle'==_0x37df1e?'wavy\x20':'')+(/thin/i['test'](_0x4fdf6a)?0x1:0x2)+'px';_0x1bb686['push'](Decoration['mark']({'attributes':{'style':_0xe851b5}})['range'](_0x95c3e8,_0x45076c));}}}_0x2ddcff['dispatch']({'effects':iT['of'](Decoration['set'](_0x1bb686))});},this['handlers']['compositionstart']=()=>{_0x2ddcff['inputState']['composing']<0x0&&(_0x2ddcff['inputState']['composing']=0x0,_0x2ddcff['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x2ddcff['inputState']['composing']=-0x1,_0x2ddcff['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x16782c}=this['composing'];this['composing']=null,_0x16782c&&this['reset'](_0x2ddcff['state']);}};for(let _0x359bd6 in this['handlers'])_0x230f67['addEventListener'](_0x359bd6,this['handlers'][_0x359bd6]);this['measureReq']={'read':_0x3103dd=>{this['editContext']['updateControlBounds'](_0x3103dd['contentDOM']['getBoundingClientRect']());let _0x53fd78=B_(_0x3103dd['root']);_0x53fd78&&_0x53fd78['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x53fd78['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x1b338c){let _0xa235ac=0x0,_0x3f3cd5=!0x1,_0x54ed1a=this['pendingContextChange'];return _0x1b338c['changes']['iterChanges']((_0x50fc35,_0x1b096c,_0x37ced6,_0x34939e,_0x1430c7)=>{if(_0x3f3cd5)return;let _0x3d041a=_0x1430c7['length']-(_0x1b096c-_0x50fc35);if(_0x54ed1a&&_0x1b096c>=_0x54ed1a['to']){if(_0x54ed1a['from']==_0x50fc35&&_0x54ed1a['to']==_0x1b096c&&_0x54ed1a['insert']['eq'](_0x1430c7))return _0x54ed1a=this['pendingContextChange']=null,_0xa235ac+=_0x3d041a,void(this['to']+=_0x3d041a);_0x54ed1a=null,this['revertPending'](_0x1b338c['state']);}if(_0x50fc35+=_0xa235ac,(_0x1b096c+=_0xa235ac)<=this['from'])this['from']+=_0x3d041a,this['to']+=_0x3d041a;else{if(_0x50fc35<this['to']){if(_0x50fc35<this['from']||_0x1b096c>this['to']||this['to']-this['from']+_0x1430c7['length']>0x7530)return void(_0x3f3cd5=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x50fc35),this['toContextPos'](_0x1b096c),_0x1430c7['toString']()),this['to']+=_0x3d041a;}}_0xa235ac+=_0x3d041a;}),_0x54ed1a&&!_0x3f3cd5&&this['revertPending'](_0x1b338c['state']),!_0x3f3cd5;}['update'](_0x4ae38f){let _0x49974a=this['pendingContextChange'],_0x1b688b=_0x4ae38f['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x4ae38f['changes']['touchesRange'](_0x1b688b['from'],_0x1b688b['to'])&&_0x4ae38f['transactions']['some'](_0x2af4dd=>!_0x2af4dd['isUserEvent']('input.type')&&_0x2af4dd['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x4ae38f['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x4ae38f)&&this['rangeIsValid'](_0x4ae38f['state'])?(_0x4ae38f['docChanged']||_0x4ae38f['selectionSet']||_0x49974a)&&this['setSelection'](_0x4ae38f['state']):(this['pendingContextChange']=null,this['reset'](_0x4ae38f['state'])),(_0x4ae38f['geometryChanged']||_0x4ae38f['docChanged']||_0x4ae38f['selectionSet'])&&_0x4ae38f['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x101c74){let {head:_0x15faa1}=_0x101c74['selection']['main'];this['from']=Math['max'](0x0,_0x15faa1-0x2710),this['to']=Math['min'](_0x101c74['doc']['length'],_0x15faa1+0x2710);}['reset'](_0x3b18fe){this['resetRange'](_0x3b18fe),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x3b18fe['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x3b18fe);}['revertPending'](_0x5f2141){let _0x2024a7=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x2024a7['from']),this['toContextPos'](_0x2024a7['from']+_0x2024a7['insert']['length']),_0x5f2141['doc']['sliceString'](_0x2024a7['from'],_0x2024a7['to']));}['setSelection'](_0x1df22f){let {main:_0x3688e4}=_0x1df22f['selection'],_0x3377cb=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x3688e4['anchor']))),_0x2d0742=this['toContextPos'](_0x3688e4['head']);this['editContext']['selectionStart']==_0x3377cb&&this['editContext']['selectionEnd']==_0x2d0742||this['editContext']['updateSelection'](_0x3377cb,_0x2d0742);}['rangeIsValid'](_0x5f3e6c){let {head:_0xb7f92a}=_0x5f3e6c['selection']['main'];return!(this['from']>0x0&&_0xb7f92a-this['from']<0x1f4||this['to']<_0x5f3e6c['doc']['length']&&this['to']-_0xb7f92a<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0xa55987,_0x290cb0=this['to']-this['from']){_0xa55987=Math['min'](_0xa55987,_0x290cb0);let _0x2b38c6=this['composing'];return _0x2b38c6&&_0x2b38c6['drifted']?_0x2b38c6['editorBase']+(_0xa55987-_0x2b38c6['contextBase']):_0xa55987+this['from'];}['toContextPos'](_0x1358b4){let _0x2c7e8b=this['composing'];return _0x2c7e8b&&_0x2c7e8b['drifted']?_0x2c7e8b['contextBase']+(_0x1358b4-_0x2c7e8b['editorBase']):_0x1358b4-this['from'];}['destroy'](){for(let _0x3e91a7 in this['handlers'])this['editContext']['removeEventListener'](_0x3e91a7,this['handlers'][_0x3e91a7]);}}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(_0x550a08={}){var _0x2d151c;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']),_0x550a08['parent']&&_0x550a08['parent']['appendChild'](this['dom']);let {dispatch:_0x21bca6}=_0x550a08;this['dispatchTransactions']=_0x550a08['dispatchTransactions']||_0x21bca6&&(_0x2b8d27=>_0x2b8d27['forEach'](_0x2991a2=>_0x21bca6(_0x2991a2,this)))||(_0x20abea=>this['update'](_0x20abea)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x550a08['root']||function(_0x343cd2){for(;_0x343cd2;){if(_0x343cd2&&(0x9==_0x343cd2['nodeType']||0xb==_0x343cd2['nodeType']&&_0x343cd2['host']))return _0x343cd2;_0x343cd2=_0x343cd2['assignedSlot']||_0x343cd2['parentNode'];}return null;}(_0x550a08['parent'])||document,this['viewState']=new ViewState(_0x550a08['state']||EditorState['create'](_0x550a08)),_0x550a08['scrollTo']&&_0x550a08['scrollTo']['is'](eT)&&(this['viewState']['scrollTarget']=_0x550a08['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](oT)['map'](_0x3ae42d=>new PluginInstance(_0x3ae42d));for(let _0x116ee3 of this['plugins'])_0x116ee3['update'](this);this['observer']=new DOMObserver(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new DocView(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x2d151c=document['fonts'])||void 0x0===_0x2d151c?void 0x0:_0x2d151c['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x2d65df){let _0x5e07f5=0x1==_0x2d65df['length']&&_0x2d65df[0x0]instanceof Transaction?_0x2d65df:0x1==_0x2d65df['length']&&Array['isArray'](_0x2d65df[0x0])?_0x2d65df[0x0]:[this['state']['update'](..._0x2d65df)];this['dispatchTransactions'](_0x5e07f5,this);}['update'](_0x34b67b){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x2c2117,_0x165d8e=!0x1,_0x1a073c=!0x1,_0x2ea684=this['state'];for(let _0x4295c7 of _0x34b67b){if(_0x4295c7['startState']!=_0x2ea684)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x2ea684=_0x4295c7['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x2ea684);let _0x2e7c1f=this['hasFocus'],_0x290b65=0x0,_0x76755=null;_0x34b67b['some'](_0x5d8b43=>_0x5d8b43['annotation'](lE))?(this['inputState']['notifiedFocused']=_0x2e7c1f,_0x290b65=0x1):_0x2e7c1f!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x2e7c1f,_0x76755=hE(_0x2ea684,_0x2e7c1f),_0x76755||(_0x290b65=0x1));let _0x328c8c=this['observer']['delayedAndroidKey'],_0xa18316=null;if(_0x328c8c?(this['observer']['clearDelayedAndroidKey'](),_0xa18316=this['observer']['readChange'](),(_0xa18316&&!this['state']['doc']['eq'](_0x2ea684['doc'])||!this['state']['selection']['eq'](_0x2ea684['selection']))&&(_0xa18316=null)):this['observer']['clear'](),_0x2ea684['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x2ea684);_0x2c2117=ViewUpdate['create'](this,_0x2ea684,_0x34b67b),_0x2c2117['flags']|=_0x290b65;let _0x548be6=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x25c12c of _0x34b67b){if(_0x548be6&&(_0x548be6=_0x548be6['map'](_0x25c12c['changes'])),_0x25c12c['scrollIntoView']){let {main:_0x506909}=_0x25c12c['state']['selection'];_0x548be6=new ScrollTarget(_0x506909['empty']?_0x506909:EditorSelection['cursor'](_0x506909['head'],_0x506909['head']>_0x506909['anchor']?-0x1:0x1));}for(let _0x24c3ce of _0x25c12c['effects'])_0x24c3ce['is'](eT)&&(_0x548be6=_0x24c3ce['value']['clip'](this['state']));}this['viewState']['update'](_0x2c2117,_0x548be6),this['bidiCache']=CachedOrder['update'](this['bidiCache'],_0x2c2117['changes']),_0x2c2117['empty']||(this['updatePlugins'](_0x2c2117),this['inputState']['update'](_0x2c2117)),_0x165d8e=this['docView']['update'](_0x2c2117),this['state']['facet'](pT)!=this['styleModules']&&this['mountStyles'](),_0x1a073c=this['updateAttrs'](),this['showAnnouncements'](_0x34b67b),this['docView']['updateSelection'](_0x165d8e,_0x34b67b['some'](_0x2a90ec=>_0x2a90ec['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x2c2117['startState']['facet'](SE)!=_0x2c2117['state']['facet'](SE)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x165d8e||_0x1a073c||_0x548be6||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x165d8e&&this['docViewUpdate'](),!_0x2c2117['empty']){for(let _0x444bd2 of this['state']['facet'](Xv))try{_0x444bd2(_0x2c2117);}catch(_0x252c1d){sT(this['state'],_0x252c1d,'update\x20listener');}}(_0x76755||_0xa18316)&&Promise['resolve']()['then'](()=>{_0x76755&&this['state']==_0x76755['startState']&&this['dispatch'](_0x76755),_0xa18316&&!QT(this,_0xa18316)&&_0x328c8c['force']&&sv(this['contentDOM'],_0x328c8c['key'],_0x328c8c['keyCode']);});}['setState'](_0x315d96){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']=_0x315d96);this['updateState']=0x2;let _0x1d1c14=this['hasFocus'];try{for(let _0x5b0877 of this['plugins'])_0x5b0877['destroy'](this);this['viewState']=new ViewState(_0x315d96),this['plugins']=_0x315d96['facet'](oT)['map'](_0x181614=>new PluginInstance(_0x181614)),this['pluginMap']['clear']();for(let _0x449854 of this['plugins'])_0x449854['update'](this);this['docView']['destroy'](),this['docView']=new DocView(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x1d1c14&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x325e86){let _0x32419e=_0x325e86['startState']['facet'](oT),_0x5d290a=_0x325e86['state']['facet'](oT);if(_0x32419e!=_0x5d290a){let _0x9b5e47=[];for(let _0x40bbc1 of _0x5d290a){let _0x19e5a9=_0x32419e['indexOf'](_0x40bbc1);if(_0x19e5a9<0x0)_0x9b5e47['push'](new PluginInstance(_0x40bbc1));else{let _0x554550=this['plugins'][_0x19e5a9];_0x554550['mustUpdate']=_0x325e86,_0x9b5e47['push'](_0x554550);}}for(let _0x5d6a1c of this['plugins'])_0x5d6a1c['mustUpdate']!=_0x325e86&&_0x5d6a1c['destroy'](this);this['plugins']=_0x9b5e47,this['pluginMap']['clear']();}else{for(let _0x12adef of this['plugins'])_0x12adef['mustUpdate']=_0x325e86;}for(let _0x4b1399=0x0;_0x4b1399<this['plugins']['length'];_0x4b1399++)this['plugins'][_0x4b1399]['update'](this);_0x32419e!=_0x5d290a&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x2aa752 of this['plugins']){let _0x5ddd62=_0x2aa752['value'];if(_0x5ddd62&&_0x5ddd62['docViewUpdate'])try{_0x5ddd62['docViewUpdate'](this);}catch(_0x181e5f){sT(this['state'],_0x181e5f,'doc\x20view\x20update\x20listener');}}}['measure'](_0x4f9cb8=!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,_0x4f9cb8&&this['observer']['forceFlush']();let _0x161818=null,_0xc56413=this['scrollDOM'],_0x361e8b=_0xc56413['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x3e294d,scrollAnchorHeight:_0x44a54e}=this['viewState'];Math['abs'](_0x361e8b-this['viewState']['scrollTop'])>0x1&&(_0x44a54e=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x18b11c=0x0;;_0x18b11c++){if(_0x44a54e<0x0){if(rv(_0xc56413))_0x3e294d=-0x1,_0x44a54e=this['viewState']['heightMap']['height'];else{let _0x10a54c=this['viewState']['scrollAnchorAt'](_0x361e8b);_0x3e294d=_0x10a54c['from'],_0x44a54e=_0x10a54c['top'];}}this['updateState']=0x1;let _0x41e04f=this['viewState']['measure'](this);if(!_0x41e04f&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x18b11c>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x133a19=[];0x4&_0x41e04f||([this['measureRequests'],_0x133a19]=[_0x133a19,this['measureRequests']]);let _0xd59950=_0x133a19['map'](_0x12ab3f=>{try{return _0x12ab3f['read'](this);}catch(_0x4166f5){return sT(this['state'],_0x4166f5),VE;}}),_0x2689c4=ViewUpdate['create'](this,this['state'],[]),_0x25f29b=!0x1;_0x2689c4['flags']|=_0x41e04f,_0x161818?_0x161818['flags']|=_0x41e04f:_0x161818=_0x2689c4,this['updateState']=0x2,_0x2689c4['empty']||(this['updatePlugins'](_0x2689c4),this['inputState']['update'](_0x2689c4),this['updateAttrs'](),_0x25f29b=this['docView']['update'](_0x2689c4),_0x25f29b&&this['docViewUpdate']());for(let _0xf91541=0x0;_0xf91541<_0x133a19['length'];_0xf91541++)if(_0xd59950[_0xf91541]!=VE)try{let _0x3cdd1a=_0x133a19[_0xf91541];_0x3cdd1a['write']&&_0x3cdd1a['write'](_0xd59950[_0xf91541],this);}catch(_0x4e9ac6){sT(this['state'],_0x4e9ac6);}if(_0x25f29b&&this['docView']['updateSelection'](!0x0),!_0x2689c4['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x44a54e=-0x1;continue;}{let _0x38d57e=(_0x3e294d<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x3e294d)['top'])-_0x44a54e;if(_0x38d57e>0x1||_0x38d57e<-0x1){_0x361e8b+=_0x38d57e,_0xc56413['scrollTop']=_0x361e8b/this['scaleY'],_0x44a54e=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x161818&&!_0x161818['empty']){for(let _0x3f463c of this['state']['facet'](Xv))_0x3f463c(_0x161818);}}get['themeClasses'](){return CE+'\x20'+(this['state']['facet'](IE)?xE:kE)+'\x20'+this['state']['facet'](SE);}['updateAttrs'](){let _0x23ceea=UE(this,aT,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x48cd1d={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](nT)?'true':'false','class':'cm-content','style':U_['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x48cd1d['aria-readonly']='true'),UE(this,cT,_0x48cd1d);let _0x17f98c=this['observer']['ignore'](()=>{let _0x2692a9=bv(this['contentDOM'],this['contentAttrs'],_0x48cd1d),_0x13993e=bv(this['dom'],this['editorAttrs'],_0x23ceea);return _0x2692a9||_0x13993e;});return this['editorAttrs']=_0x23ceea,this['contentAttrs']=_0x48cd1d,_0x17f98c;}['showAnnouncements'](_0x9dca9f){let _0x42defe=!0x0;for(let _0x1204e6 of _0x9dca9f)for(let _0x157b4b of _0x1204e6['effects'])_0x157b4b['is'](EditorView['announce'])&&(_0x42defe&&(this['announceDOM']['textContent']=''),_0x42defe=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x157b4b['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](pT);let _0x1bf9b9=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](ME)['reverse'](),_0x1bf9b9?{'nonce':_0x1bf9b9}: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'](_0x3b8aca){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x3b8aca){if(this['measureRequests']['indexOf'](_0x3b8aca)>-0x1)return;if(null!=_0x3b8aca['key']){for(let _0x884ad1=0x0;_0x884ad1<this['measureRequests']['length'];_0x884ad1++)if(this['measureRequests'][_0x884ad1]['key']===_0x3b8aca['key'])return void(this['measureRequests'][_0x884ad1]=_0x3b8aca);}this['measureRequests']['push'](_0x3b8aca);}}['plugin'](_0x38d9b5){let _0x239735=this['pluginMap']['get'](_0x38d9b5);return(void 0x0===_0x239735||_0x239735&&_0x239735['plugin']!=_0x38d9b5)&&this['pluginMap']['set'](_0x38d9b5,_0x239735=this['plugins']['find'](_0x3d6f96=>_0x3d6f96['plugin']==_0x38d9b5)||null),_0x239735&&_0x239735['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'](_0x3eb662){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x3eb662);}['lineBlockAtHeight'](_0x2ac365){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x2ac365);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0xcc9e14){return this['viewState']['lineBlockAt'](_0xcc9e14);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x4dd196,_0x828b36,_0x4a9ac3){return MT(this,_0x4dd196,xT(this,_0x4dd196,_0x828b36,_0x4a9ac3));}['moveByGroup'](_0x40929f,_0x5c22a2){return MT(this,_0x40929f,xT(this,_0x40929f,_0x5c22a2,_0x15bfc3=>function(_0x5c0d4e,_0x43e351,_0x2c3b35){let _0x5eb3b5=_0x5c0d4e['state']['charCategorizer'](_0x43e351),_0x111e08=_0x5eb3b5(_0x2c3b35);return _0x3eb7dc=>{let _0x1ec8af=_0x5eb3b5(_0x3eb7dc);return _0x111e08==s_['Space']&&(_0x111e08=_0x1ec8af),_0x111e08==_0x1ec8af;};}(this,_0x40929f['head'],_0x15bfc3)));}['visualLineSide'](_0x19de5e,_0x42bfe1){let _0x5ab35b=this['bidiSpans'](_0x19de5e),_0x290844=this['textDirectionAt'](_0x19de5e['from']),_0x46fcc7=_0x5ab35b[_0x42bfe1?_0x5ab35b['length']-0x1:0x0];return EditorSelection['cursor'](_0x46fcc7['side'](_0x42bfe1,_0x290844)+_0x19de5e['from'],_0x46fcc7['forward'](!_0x42bfe1,_0x290844)?0x1:-0x1);}['moveToLineBoundary'](_0x132fb9,_0x590ea6,_0x2a7471=!0x0){return function(_0x5f311b,_0x69892d,_0xb23fa4,_0x535f88){let _0x4c4ec9=kT(_0x5f311b,_0x69892d['head'],_0x69892d['assoc']||-0x1),_0x2c1c3d=_0x535f88&&_0x4c4ec9['type']==_v['Text']&&(_0x5f311b['lineWrapping']||_0x4c4ec9['widgetLineBreaks'])?_0x5f311b['coordsAtPos'](_0x69892d['assoc']<0x0&&_0x69892d['head']>_0x4c4ec9['from']?_0x69892d['head']-0x1:_0x69892d['head']):null;if(_0x2c1c3d){let _0x265805=_0x5f311b['dom']['getBoundingClientRect'](),_0x2dda31=_0x5f311b['textDirectionAt'](_0x4c4ec9['from']),_0x1994b4=_0x5f311b['posAtCoords']({'x':_0xb23fa4==(_0x2dda31==Av['LTR'])?_0x265805['right']-0x1:_0x265805['left']+0x1,'y':(_0x2c1c3d['top']+_0x2c1c3d['bottom'])/0x2});if(null!=_0x1994b4)return EditorSelection['cursor'](_0x1994b4,_0xb23fa4?-0x1:0x1);}return EditorSelection['cursor'](_0xb23fa4?_0x4c4ec9['to']:_0x4c4ec9['from'],_0xb23fa4?-0x1:0x1);}(this,_0x132fb9,_0x590ea6,_0x2a7471);}['moveVertically'](_0x4c8945,_0x418300,_0x2fa96){return MT(this,_0x4c8945,function(_0x496a31,_0xbc8263,_0x1b2f85,_0x43359e){let _0x53ae0f=_0xbc8263['head'],_0x44bfbc=_0x1b2f85?0x1:-0x1;if(_0x53ae0f==(_0x1b2f85?_0x496a31['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x53ae0f,_0xbc8263['assoc']);let _0x42af15,_0xb28b30=_0xbc8263['goalColumn'],_0x36bd4e=_0x496a31['contentDOM']['getBoundingClientRect'](),_0x112311=_0x496a31['coordsAtPos'](_0x53ae0f,_0xbc8263['assoc']||-0x1),_0x132acd=_0x496a31['documentTop'];if(_0x112311)null==_0xb28b30&&(_0xb28b30=_0x112311['left']-_0x36bd4e['left']),_0x42af15=_0x44bfbc<0x0?_0x112311['top']:_0x112311['bottom'];else{let _0x16e3c4=_0x496a31['viewState']['lineBlockAt'](_0x53ae0f);null==_0xb28b30&&(_0xb28b30=Math['min'](_0x36bd4e['right']-_0x36bd4e['left'],_0x496a31['defaultCharacterWidth']*(_0x53ae0f-_0x16e3c4['from']))),_0x42af15=(_0x44bfbc<0x0?_0x16e3c4['top']:_0x16e3c4['bottom'])+_0x132acd;}let _0x421d93=_0x36bd4e['left']+_0xb28b30,_0x53f925=null!=_0x43359e?_0x43359e:_0x496a31['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x301c7a=0x0;;_0x301c7a+=0xa){let _0x49f450=_0x42af15+(_0x53f925+_0x301c7a)*_0x44bfbc,_0x1e7db0=ST(_0x496a31,{'x':_0x421d93,'y':_0x49f450},!0x1,_0x44bfbc);if(_0x49f450<_0x36bd4e['top']||_0x49f450>_0x36bd4e['bottom']||(_0x44bfbc<0x0?_0x1e7db0<_0x53ae0f:_0x1e7db0>_0x53ae0f)){let _0x272d8b=_0x496a31['docView']['coordsForChar'](_0x1e7db0),_0xf22b4e=!_0x272d8b||_0x49f450<_0x272d8b['top']?-0x1:0x1;return EditorSelection['cursor'](_0x1e7db0,_0xf22b4e,void 0x0,_0xb28b30);}}}(this,_0x4c8945,_0x418300,_0x2fa96));}['domAtPos'](_0x692094){return this['docView']['domAtPos'](_0x692094);}['posAtDOM'](_0x31b80e,_0x18f09b=0x0){return this['docView']['posFromDOM'](_0x31b80e,_0x18f09b);}['posAtCoords'](_0x3e332f,_0x31a9b7=!0x0){return this['readMeasured'](),ST(this,_0x3e332f,_0x31a9b7);}['coordsAtPos'](_0x17a93b,_0x24d0bb=0x1){this['readMeasured']();let _0x2b87b8=this['docView']['coordsAt'](_0x17a93b,_0x24d0bb);if(!_0x2b87b8||_0x2b87b8['left']==_0x2b87b8['right'])return _0x2b87b8;let _0x5a288e=this['state']['doc']['lineAt'](_0x17a93b),_0x2a37fe=this['bidiSpans'](_0x5a288e);return z_(_0x2b87b8,_0x2a37fe[BidiSpan['find'](_0x2a37fe,_0x17a93b-_0x5a288e['from'],-0x1,_0x24d0bb)]['dir']==Av['LTR']==_0x24d0bb>0x0);}['coordsForChar'](_0x4b41fe){return this['readMeasured'](),this['docView']['coordsForChar'](_0x4b41fe);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x321d42){return!this['state']['facet'](Kv)||_0x321d42<this['viewport']['from']||_0x321d42>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x321d42));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x3e52e1){if(_0x3e52e1['length']>$E)return Vv(_0x3e52e1['length']);let _0x466f8d,_0x4a40c7=this['textDirectionAt'](_0x3e52e1['from']);for(let _0x4dc2a8 of this['bidiCache'])if(_0x4dc2a8['from']==_0x3e52e1['from']&&_0x4dc2a8['dir']==_0x4a40c7&&(_0x4dc2a8['fresh']||Lv(_0x4dc2a8['isolates'],_0x466f8d=fT(this,_0x3e52e1))))return _0x4dc2a8['order'];_0x466f8d||(_0x466f8d=fT(this,_0x3e52e1));let _0x1d6cb6=function(_0x107a39,_0x3931dd,_0x19a52b){if(!_0x107a39)return[new BidiSpan(0x0,0x0,_0x3931dd==Iv?0x1:0x0)];if(_0x3931dd==Sv&&!_0x19a52b['length']&&!Nv['test'](_0x107a39))return Vv(_0x107a39['length']);if(_0x19a52b['length']){for(;_0x107a39['length']>Dv['length'];)Dv[Dv['length']]=0x100;}let _0x209232=[],_0x3646d1=_0x3931dd==Sv?0x0:0x1;return $v(_0x107a39,_0x3646d1,_0x3646d1,_0x19a52b,0x0,_0x107a39['length'],_0x209232),_0x209232;}(_0x3e52e1['text'],_0x4a40c7,_0x466f8d);return this['bidiCache']['push'](new CachedOrder(_0x3e52e1['from'],_0x3e52e1['to'],_0x4a40c7,_0x466f8d,!0x0,_0x1d6cb6)),_0x1d6cb6;}get['hasFocus'](){var _0x36ede5;return(this['dom']['ownerDocument']['hasFocus']()||U_['safari']&&(null===(_0x36ede5=this['inputState'])||void 0x0===_0x36ede5?void 0x0:_0x36ede5['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{ev(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x478dfa){this['_root']!=_0x478dfa&&(this['_root']=_0x478dfa,this['observer']['setWindow']((0x9==_0x478dfa['nodeType']?_0x478dfa:_0x478dfa['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x289a97 of this['plugins'])_0x289a97['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'](_0x450b56,_0x210345={}){return eT['of'](new ScrollTarget('number'==typeof _0x450b56?EditorSelection['cursor'](_0x450b56):_0x450b56,_0x210345['y'],_0x210345['x'],_0x210345['yMargin'],_0x210345['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0xf551c6,scrollLeft:_0x11d3f7}=this['scrollDOM'],_0x4cf14d=this['viewState']['scrollAnchorAt'](_0xf551c6);return eT['of'](new ScrollTarget(EditorSelection['cursor'](_0x4cf14d['from']),'start','start',_0x4cf14d['top']-_0xf551c6,_0x11d3f7,!0x0));}['setTabFocusMode'](_0x5866ad){null==_0x5866ad?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x5866ad?this['inputState']['tabFocusMode']=_0x5866ad?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x5866ad);}static['domEventHandlers'](_0x39a1ee){return ViewPlugin['define'](()=>({}),{'eventHandlers':_0x39a1ee});}static['domEventObservers'](_0x2beaa1){return ViewPlugin['define'](()=>({}),{'eventObservers':_0x2beaa1});}static['theme'](_0x357698,_0x5d3c2d){let _0x11cf4f=StyleModule['newName'](),_0x781fc3=[SE['of'](_0x11cf4f),pT['of'](PE('.'+_0x11cf4f,_0x357698))];return _0x5d3c2d&&_0x5d3c2d['dark']&&_0x781fc3['push'](IE['of'](!0x0)),_0x781fc3;}static['baseTheme'](_0x300bcc){return By['lowest'](pT['of'](PE('.'+CE,_0x300bcc,RE)));}static['findFromDOM'](_0x49ec4c){var _0x564b92;let _0x3734b0=_0x49ec4c['querySelector']('.cm-content'),_0x18d56c=_0x3734b0&&ContentView['get'](_0x3734b0)||ContentView['get'](_0x49ec4c);return(null===(_0x564b92=null==_0x18d56c?void 0x0:_0x18d56c['rootView'])||void 0x0===_0x564b92?void 0x0:_0x564b92['view'])||null;}}EditorView['styleModule']=pT,EditorView['inputHandler']=qv,EditorView['clipboardInputFilter']=zv,EditorView['clipboardOutputFilter']=Yv,EditorView['scrollHandler']=tT,EditorView['focusChangeEffect']=Wv,EditorView['perLineTextDirection']=Kv,EditorView['exceptionSink']=Zv,EditorView['updateListener']=Xv,EditorView['editable']=nT,EditorView['mouseSelectionStyle']=Gv,EditorView['dragMovesSelection']=Hv,EditorView['clickAddsSelectionRange']=jv,EditorView['decorations']=lT,EditorView['outerDecorations']=hT,EditorView['atomicRanges']=uT,EditorView['bidiIsolatedRanges']=dT,EditorView['scrollMargins']=mT,EditorView['darkTheme']=IE,EditorView['cspNonce']=Facet['define']({'combine':_0x100270=>_0x100270['length']?_0x100270[0x0]:''}),EditorView['contentAttributes']=cT,EditorView['editorAttributes']=aT,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const $E=0x1000,VE={};class CachedOrder{constructor(_0x363d50,_0x2b3b63,_0x160ff3,_0xbf6251,_0x5b43c9,_0x4c1f0b){this['from']=_0x363d50,this['to']=_0x2b3b63,this['dir']=_0x160ff3,this['isolates']=_0xbf6251,this['fresh']=_0x5b43c9,this['order']=_0x4c1f0b;}static['update'](_0x3f98a1,_0x55e85e){if(_0x55e85e['empty']&&!_0x3f98a1['some'](_0x36bd8f=>_0x36bd8f['fresh']))return _0x3f98a1;let _0x59a6cd=[],_0x4bc336=_0x3f98a1['length']?_0x3f98a1[_0x3f98a1['length']-0x1]['dir']:Av['LTR'];for(let _0x275a31=Math['max'](0x0,_0x3f98a1['length']-0xa);_0x275a31<_0x3f98a1['length'];_0x275a31++){let _0xd3f63c=_0x3f98a1[_0x275a31];_0xd3f63c['dir']!=_0x4bc336||_0x55e85e['touchesRange'](_0xd3f63c['from'],_0xd3f63c['to'])||_0x59a6cd['push'](new CachedOrder(_0x55e85e['mapPos'](_0xd3f63c['from'],0x1),_0x55e85e['mapPos'](_0xd3f63c['to'],-0x1),_0xd3f63c['dir'],_0xd3f63c['isolates'],!0x1,_0xd3f63c['order']));}return _0x59a6cd;}}function UE(_0x2f91fb,_0x24ae1f,_0x98ba62){for(let _0x324dd2=_0x2f91fb['state']['facet'](_0x24ae1f),_0x25a1eb=_0x324dd2['length']-0x1;_0x25a1eb>=0x0;_0x25a1eb--){let _0x23a06d=_0x324dd2[_0x25a1eb],_0x1476bb='function'==typeof _0x23a06d?_0x23a06d(_0x2f91fb):_0x23a06d;_0x1476bb&&pv(_0x1476bb,_0x98ba62);}return _0x98ba62;}const BE=U_['mac']?'mac':U_['windows']?'win':U_['linux']?'linux':'key';function FE(_0x7c84c6,_0x45dcad,_0x2bef16){return _0x45dcad['altKey']&&(_0x7c84c6='Alt-'+_0x7c84c6),_0x45dcad['ctrlKey']&&(_0x7c84c6='Ctrl-'+_0x7c84c6),_0x45dcad['metaKey']&&(_0x7c84c6='Meta-'+_0x7c84c6),!0x1!==_0x2bef16&&_0x45dcad['shiftKey']&&(_0x7c84c6='Shift-'+_0x7c84c6),_0x7c84c6;}const jE=By['default'](EditorView['domEventHandlers']({'keydown':(_0x538d60,_0x2faa47)=>function(_0x14d714,_0xa9e022,_0xb84cb6,_0x254a2d){qE=_0xa9e022;let _0x1a4611=function(_0x4badc8){var _0x5a0343=!(A_&&_0x4badc8['metaKey']&&_0x4badc8['shiftKey']&&!_0x4badc8['ctrlKey']&&!_0x4badc8['altKey']||S_&&_0x4badc8['shiftKey']&&_0x4badc8['key']&&0x1==_0x4badc8['key']['length']||'Unidentified'==_0x4badc8['key'])&&_0x4badc8['key']||(_0x4badc8['shiftKey']?E_:T_)[_0x4badc8['keyCode']]||_0x4badc8['key']||'Unidentified';return'Esc'==_0x5a0343&&(_0x5a0343='Escape'),'Del'==_0x5a0343&&(_0x5a0343='Delete'),'Left'==_0x5a0343&&(_0x5a0343='ArrowLeft'),'Up'==_0x5a0343&&(_0x5a0343='ArrowUp'),'Right'==_0x5a0343&&(_0x5a0343='ArrowRight'),'Down'==_0x5a0343&&(_0x5a0343='ArrowDown'),_0x5a0343;}(_0xa9e022),_0x358e06=by(_0x1a4611,0x0),_0x5e01a0=_y(_0x358e06)==_0x1a4611['length']&&'\x20'!=_0x1a4611,_0x27139d='',_0x4888e3=!0x1,_0x1c0e8d=!0x1,_0x3bba61=!0x1;ZE&&ZE['view']==_0xb84cb6&&ZE['scope']==_0x254a2d&&(_0x27139d=ZE['prefix']+'\x20',HT['indexOf'](_0xa9e022['keyCode'])<0x0&&(_0x1c0e8d=!0x0,ZE=null));let _0x4f77ea,_0x4a3f92,_0x3c2961=new Set(),_0x5e839c=_0x48d4f1=>{if(_0x48d4f1){for(let _0xd1b936 of _0x48d4f1['run'])if(!_0x3c2961['has'](_0xd1b936)&&(_0x3c2961['add'](_0xd1b936),_0xd1b936(_0xb84cb6)))return _0x48d4f1['stopPropagation']&&(_0x3bba61=!0x0),!0x0;_0x48d4f1['preventDefault']&&(_0x48d4f1['stopPropagation']&&(_0x3bba61=!0x0),_0x1c0e8d=!0x0);}return!0x1;},_0x566266=_0x14d714[_0x254a2d];return _0x566266&&(_0x5e839c(_0x566266[_0x27139d+FE(_0x1a4611,_0xa9e022,!_0x5e01a0)])?_0x4888e3=!0x0:!_0x5e01a0||!(_0xa9e022['altKey']||_0xa9e022['metaKey']||_0xa9e022['ctrlKey'])||U_['windows']&&_0xa9e022['ctrlKey']&&_0xa9e022['altKey']||U_['mac']&&_0xa9e022['altKey']&&!_0xa9e022['ctrlKey']&&!_0xa9e022['metaKey']||!(_0x4f77ea=T_[_0xa9e022['keyCode']])||_0x4f77ea==_0x1a4611?_0x5e01a0&&_0xa9e022['shiftKey']&&_0x5e839c(_0x566266[_0x27139d+FE(_0x1a4611,_0xa9e022,!0x0)])&&(_0x4888e3=!0x0):(_0x5e839c(_0x566266[_0x27139d+FE(_0x4f77ea,_0xa9e022,!0x0)])||_0xa9e022['shiftKey']&&(_0x4a3f92=E_[_0xa9e022['keyCode']])!=_0x1a4611&&_0x4a3f92!=_0x4f77ea&&_0x5e839c(_0x566266[_0x27139d+FE(_0x4a3f92,_0xa9e022,!0x1)]))&&(_0x4888e3=!0x0),!_0x4888e3&&_0x5e839c(_0x566266['_any'])&&(_0x4888e3=!0x0)),_0x1c0e8d&&(_0x4888e3=!0x0),_0x4888e3&&_0x3bba61&&_0xa9e022['stopPropagation'](),(qE=null,_0x4888e3);}(function(_0xed046e){let _0x1aa960=_0xed046e['facet'](HE),_0x3fe8ca=GE['get'](_0x1aa960);return _0x3fe8ca||GE['set'](_0x1aa960,_0x3fe8ca=function(_0x4617b4,_0x30dd7a=BE){let _0x5ee5a8=Object['create'](null),_0xc4ca40=Object['create'](null),_0x190dc4=(_0x1ad266,_0x1ed53f)=>{let _0x504a6d=_0xc4ca40[_0x1ad266];if(null==_0x504a6d)_0xc4ca40[_0x1ad266]=_0x1ed53f;else{if(_0x504a6d!=_0x1ed53f)throw new Error('Key\x20binding\x20'+_0x1ad266+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x597ab9=(_0x447026,_0x2ad172,_0x32cb9f,_0x4e8ab0,_0x322d35)=>{var _0x31d399,_0x25434e;let _0x37c4e6=_0x5ee5a8[_0x447026]||(_0x5ee5a8[_0x447026]=Object['create'](null)),_0x3d8623=_0x2ad172['split'](/ (?!$)/)['map'](_0x441041=>function(_0x1380a9,_0x18fd81){const _0x5a4cd9=_0x1380a9['split'](/-(?!$)/);let _0x23d7f8,_0x152c41,_0x47eadf,_0x404991,_0x195044=_0x5a4cd9[_0x5a4cd9['length']-0x1];'Space'==_0x195044&&(_0x195044='\x20');for(let _0x440811=0x0;_0x440811<_0x5a4cd9['length']-0x1;++_0x440811){const _0x4414a3=_0x5a4cd9[_0x440811];if(/^(cmd|meta|m)$/i['test'](_0x4414a3))_0x404991=!0x0;else{if(/^a(lt)?$/i['test'](_0x4414a3))_0x23d7f8=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x4414a3))_0x152c41=!0x0;else{if(/^s(hift)?$/i['test'](_0x4414a3))_0x47eadf=!0x0;else{if(!/^mod$/i['test'](_0x4414a3))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x4414a3);'mac'==_0x18fd81?_0x404991=!0x0:_0x152c41=!0x0;}}}}}return _0x23d7f8&&(_0x195044='Alt-'+_0x195044),_0x152c41&&(_0x195044='Ctrl-'+_0x195044),_0x404991&&(_0x195044='Meta-'+_0x195044),_0x47eadf&&(_0x195044='Shift-'+_0x195044),_0x195044;}(_0x441041,_0x30dd7a));for(let _0x12440d=0x1;_0x12440d<_0x3d8623['length'];_0x12440d++){let _0x5191d8=_0x3d8623['slice'](0x0,_0x12440d)['join']('\x20');_0x190dc4(_0x5191d8,!0x0),_0x37c4e6[_0x5191d8]||(_0x37c4e6[_0x5191d8]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x3ef5f0=>{let _0x414579=ZE={'view':_0x3ef5f0,'prefix':_0x5191d8,'scope':_0x447026};return setTimeout(()=>{ZE==_0x414579&&(ZE=null);},XE),!0x0;}]});}let _0x293050=_0x3d8623['join']('\x20');_0x190dc4(_0x293050,!0x1);let _0x4c5a0d=_0x37c4e6[_0x293050]||(_0x37c4e6[_0x293050]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x25434e=null===(_0x31d399=_0x37c4e6['_any'])||void 0x0===_0x31d399?void 0x0:_0x31d399['run'])||void 0x0===_0x25434e?void 0x0:_0x25434e['slice']())||[]});_0x32cb9f&&_0x4c5a0d['run']['push'](_0x32cb9f),_0x4e8ab0&&(_0x4c5a0d['preventDefault']=!0x0),_0x322d35&&(_0x4c5a0d['stopPropagation']=!0x0);};for(let _0x240cf8 of _0x4617b4){let _0x2b2381=_0x240cf8['scope']?_0x240cf8['scope']['split']('\x20'):['editor'];if(_0x240cf8['any'])for(let _0x4c79dc of _0x2b2381){let _0xe237e=_0x5ee5a8[_0x4c79dc]||(_0x5ee5a8[_0x4c79dc]=Object['create'](null));_0xe237e['_any']||(_0xe237e['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0xbb681}=_0x240cf8;for(let _0x56288b in _0xe237e)_0xe237e[_0x56288b]['run']['push'](_0x38366d=>_0xbb681(_0x38366d,qE));}let _0x5324ba=_0x240cf8[_0x30dd7a]||_0x240cf8['key'];if(_0x5324ba){for(let _0x29b9bb of _0x2b2381)_0x597ab9(_0x29b9bb,_0x5324ba,_0x240cf8['run'],_0x240cf8['preventDefault'],_0x240cf8['stopPropagation']),_0x240cf8['shift']&&_0x597ab9(_0x29b9bb,'Shift-'+_0x5324ba,_0x240cf8['shift'],_0x240cf8['preventDefault'],_0x240cf8['stopPropagation']);}}return _0x5ee5a8;}(_0x1aa960['reduce']((_0x599f80,_0x48f4e5)=>_0x599f80['concat'](_0x48f4e5),[]))),_0x3fe8ca;}(_0x2faa47['state']),_0x538d60,_0x2faa47,'editor')})),HE=Facet['define']({'enables':jE}),GE=new WeakMap();let ZE=null;const XE=0xfa0;let qE=null;class RectangleMarker{constructor(_0x3c9620,_0x283de3,_0x1faf2c,_0x204ddd,_0x167f77){this['className']=_0x3c9620,this['left']=_0x283de3,this['top']=_0x1faf2c,this['width']=_0x204ddd,this['height']=_0x167f77;}['draw'](){let _0x4a4667=document['createElement']('div');return _0x4a4667['className']=this['className'],this['adjust'](_0x4a4667),_0x4a4667;}['update'](_0x2fa0a8,_0x4a89a0){return _0x4a89a0['className']==this['className']&&(this['adjust'](_0x2fa0a8),!0x0);}['adjust'](_0x5b26d7){_0x5b26d7['style']['left']=this['left']+'px',_0x5b26d7['style']['top']=this['top']+'px',null!=this['width']&&(_0x5b26d7['style']['width']=this['width']+'px'),_0x5b26d7['style']['height']=this['height']+'px';}['eq'](_0x474117){return this['left']==_0x474117['left']&&this['top']==_0x474117['top']&&this['width']==_0x474117['width']&&this['height']==_0x474117['height']&&this['className']==_0x474117['className'];}static['forRange'](_0x2af227,_0x3cef82,_0x2c3040){if(_0x2c3040['empty']){let _0x25f7c7=_0x2af227['coordsAtPos'](_0x2c3040['head'],_0x2c3040['assoc']||0x1);if(!_0x25f7c7)return[];let _0x153c04=WE(_0x2af227);return[new RectangleMarker(_0x3cef82,_0x25f7c7['left']-_0x153c04['left'],_0x25f7c7['top']-_0x153c04['top'],null,_0x25f7c7['bottom']-_0x25f7c7['top'])];}return function(_0x293694,_0x589c65,_0xeae9b){if(_0xeae9b['to']<=_0x293694['viewport']['from']||_0xeae9b['from']>=_0x293694['viewport']['to'])return[];let _0x58b761=Math['max'](_0xeae9b['from'],_0x293694['viewport']['from']),_0x3a3562=Math['min'](_0xeae9b['to'],_0x293694['viewport']['to']),_0x2bb950=_0x293694['textDirection']==Av['LTR'],_0x26ff5c=_0x293694['contentDOM'],_0x22dc02=_0x26ff5c['getBoundingClientRect'](),_0x2ab45f=WE(_0x293694),_0x52710f=_0x26ff5c['querySelector']('.cm-line'),_0x460aad=_0x52710f&&window['getComputedStyle'](_0x52710f),_0x2ca95d=_0x22dc02['left']+(_0x460aad?parseInt(_0x460aad['paddingLeft'])+Math['min'](0x0,parseInt(_0x460aad['textIndent'])):0x0),_0x21f655=_0x22dc02['right']-(_0x460aad?parseInt(_0x460aad['paddingRight']):0x0),_0x18fc63=kT(_0x293694,_0x58b761,0x1),_0x2aeece=kT(_0x293694,_0x3a3562,-0x1),_0x437242=_0x18fc63['type']==_v['Text']?_0x18fc63:null,_0x3baf38=_0x2aeece['type']==_v['Text']?_0x2aeece:null;_0x437242&&(_0x293694['lineWrapping']||_0x18fc63['widgetLineBreaks'])&&(_0x437242=zE(_0x293694,_0x58b761,0x1,_0x437242)),_0x3baf38&&(_0x293694['lineWrapping']||_0x2aeece['widgetLineBreaks'])&&(_0x3baf38=zE(_0x293694,_0x3a3562,-0x1,_0x3baf38));if(_0x437242&&_0x3baf38&&_0x437242['from']==_0x3baf38['from']&&_0x437242['to']==_0x3baf38['to'])return _0x30b1d3(_0x2cfee0(_0xeae9b['from'],_0xeae9b['to'],_0x437242));{let _0x516f34=_0x437242?_0x2cfee0(_0xeae9b['from'],null,_0x437242):_0x4d300b(_0x18fc63,!0x1),_0x44f9bb=_0x3baf38?_0x2cfee0(null,_0xeae9b['to'],_0x3baf38):_0x4d300b(_0x2aeece,!0x0),_0x4d3116=[];return(_0x437242||_0x18fc63)['to']<(_0x3baf38||_0x2aeece)['from']-(_0x437242&&_0x3baf38?0x1:0x0)||_0x18fc63['widgetLineBreaks']>0x1&&_0x516f34['bottom']+_0x293694['defaultLineHeight']/0x2<_0x44f9bb['top']?_0x4d3116['push'](_0x1dff05(_0x2ca95d,_0x516f34['bottom'],_0x21f655,_0x44f9bb['top'])):_0x516f34['bottom']<_0x44f9bb['top']&&_0x293694['elementAtHeight']((_0x516f34['bottom']+_0x44f9bb['top'])/0x2)['type']==_v['Text']&&(_0x516f34['bottom']=_0x44f9bb['top']=(_0x516f34['bottom']+_0x44f9bb['top'])/0x2),_0x30b1d3(_0x516f34)['concat'](_0x4d3116)['concat'](_0x30b1d3(_0x44f9bb));}function _0x1dff05(_0x559f5f,_0x134abf,_0x3de89d,_0x48afc5){return new RectangleMarker(_0x589c65,_0x559f5f-_0x2ab45f['left'],_0x134abf-_0x2ab45f['top'],_0x3de89d-_0x559f5f,_0x48afc5-_0x134abf);}function _0x30b1d3({top:_0x300e6d,bottom:_0x2ef2f3,horizontal:_0x1093cb}){let _0x2c6c82=[];for(let _0x42a74f=0x0;_0x42a74f<_0x1093cb['length'];_0x42a74f+=0x2)_0x2c6c82['push'](_0x1dff05(_0x1093cb[_0x42a74f],_0x300e6d,_0x1093cb[_0x42a74f+0x1],_0x2ef2f3));return _0x2c6c82;}function _0x2cfee0(_0x409675,_0x9ff831,_0x38d6ef){let _0x345a6e=0x3b9aca00,_0x4fb2a1=-0x3b9aca00,_0x30fdfd=[];function _0x5c53bb(_0x594bc2,_0x102d82,_0x3ee0c2,_0x2ca866,_0x4315a3){let _0x3adc52=_0x293694['coordsAtPos'](_0x594bc2,_0x594bc2==_0x38d6ef['to']?-0x2:0x2),_0x2487e3=_0x293694['coordsAtPos'](_0x3ee0c2,_0x3ee0c2==_0x38d6ef['from']?0x2:-0x2);_0x3adc52&&_0x2487e3&&(_0x345a6e=Math['min'](_0x3adc52['top'],_0x2487e3['top'],_0x345a6e),_0x4fb2a1=Math['max'](_0x3adc52['bottom'],_0x2487e3['bottom'],_0x4fb2a1),_0x4315a3==Av['LTR']?_0x30fdfd['push'](_0x2bb950&&_0x102d82?_0x2ca95d:_0x3adc52['left'],_0x2bb950&&_0x2ca866?_0x21f655:_0x2487e3['right']):_0x30fdfd['push'](!_0x2bb950&&_0x2ca866?_0x2ca95d:_0x2487e3['left'],!_0x2bb950&&_0x102d82?_0x21f655:_0x3adc52['right']));}let _0x7496ed=null!=_0x409675?_0x409675:_0x38d6ef['from'],_0x2dea89=null!=_0x9ff831?_0x9ff831:_0x38d6ef['to'];for(let _0x44aac3 of _0x293694['visibleRanges'])if(_0x44aac3['to']>_0x7496ed&&_0x44aac3['from']<_0x2dea89)for(let _0xb90b04=Math['max'](_0x44aac3['from'],_0x7496ed),_0x5ad9f1=Math['min'](_0x44aac3['to'],_0x2dea89);;){let _0x814e66=_0x293694['state']['doc']['lineAt'](_0xb90b04);for(let _0xa0c767 of _0x293694['bidiSpans'](_0x814e66)){let _0x5d9c9c=_0xa0c767['from']+_0x814e66['from'],_0x1df656=_0xa0c767['to']+_0x814e66['from'];if(_0x5d9c9c>=_0x5ad9f1)break;_0x1df656>_0xb90b04&&_0x5c53bb(Math['max'](_0x5d9c9c,_0xb90b04),null==_0x409675&&_0x5d9c9c<=_0x7496ed,Math['min'](_0x1df656,_0x5ad9f1),null==_0x9ff831&&_0x1df656>=_0x2dea89,_0xa0c767['dir']);}if(_0xb90b04=_0x814e66['to']+0x1,_0xb90b04>=_0x5ad9f1)break;}return 0x0==_0x30fdfd['length']&&_0x5c53bb(_0x7496ed,null==_0x409675,_0x2dea89,null==_0x9ff831,_0x293694['textDirection']),{'top':_0x345a6e,'bottom':_0x4fb2a1,'horizontal':_0x30fdfd};}function _0x4d300b(_0x59d9b6,_0xf3b341){let _0x5a1710=_0x22dc02['top']+(_0xf3b341?_0x59d9b6['top']:_0x59d9b6['bottom']);return{'top':_0x5a1710,'bottom':_0x5a1710,'horizontal':[]};}}(_0x2af227,_0x3cef82,_0x2c3040);}}function WE(_0x2135be){let _0x2365c5=_0x2135be['scrollDOM']['getBoundingClientRect']();return{'left':(_0x2135be['textDirection']==Av['LTR']?_0x2365c5['left']:_0x2365c5['right']-_0x2135be['scrollDOM']['clientWidth']*_0x2135be['scaleX'])-_0x2135be['scrollDOM']['scrollLeft']*_0x2135be['scaleX'],'top':_0x2365c5['top']-_0x2135be['scrollDOM']['scrollTop']*_0x2135be['scaleY']};}function zE(_0x503e1f,_0x2a669b,_0x39fcb7,_0xc3620d){let _0x504fe7=_0x503e1f['coordsAtPos'](_0x2a669b,0x2*_0x39fcb7);if(!_0x504fe7)return _0xc3620d;let _0x51371e=_0x503e1f['dom']['getBoundingClientRect'](),_0x3d2d49=(_0x504fe7['top']+_0x504fe7['bottom'])/0x2,_0x3462a9=_0x503e1f['posAtCoords']({'x':_0x51371e['left']+0x1,'y':_0x3d2d49}),_0x1c79b0=_0x503e1f['posAtCoords']({'x':_0x51371e['right']-0x1,'y':_0x3d2d49});return null==_0x3462a9||null==_0x1c79b0?_0xc3620d:{'from':Math['max'](_0xc3620d['from'],Math['min'](_0x3462a9,_0x1c79b0)),'to':Math['min'](_0xc3620d['to'],Math['max'](_0x3462a9,_0x1c79b0))};}class LayerView{constructor(_0x23a600,_0x495618){this['view']=_0x23a600,this['layer']=_0x495618,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x23a600['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x495618['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x495618['class']&&this['dom']['classList']['add'](_0x495618['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x23a600['state']),_0x23a600['requestMeasure'](this['measureReq']),_0x495618['mount']&&_0x495618['mount'](this['dom'],_0x23a600);}['update'](_0x23a127){_0x23a127['startState']['facet'](YE)!=_0x23a127['state']['facet'](YE)&&this['setOrder'](_0x23a127['state']),(this['layer']['update'](_0x23a127,this['dom'])||_0x23a127['geometryChanged'])&&(this['scale'](),_0x23a127['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x313553){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x313553['requestMeasure'](this['measureReq']);}['setOrder'](_0x18b050){let _0x3a4680=0x0,_0x2a2b36=_0x18b050['facet'](YE);for(;_0x3a4680<_0x2a2b36['length']&&_0x2a2b36[_0x3a4680]!=this['layer'];)_0x3a4680++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x3a4680);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x3f2c7d,scaleY:_0x127328}=this['view'];_0x3f2c7d==this['scaleX']&&_0x127328==this['scaleY']||(this['scaleX']=_0x3f2c7d,this['scaleY']=_0x127328,this['dom']['style']['transform']='scale('+0x1/_0x3f2c7d+',\x20'+0x1/_0x127328+')');}['draw'](_0x35bbfa){if(_0x35bbfa['length']!=this['drawn']['length']||_0x35bbfa['some']((_0x181a2f,_0x2402a8)=>!function(_0x4dd479,_0x9a24b1){return _0x4dd479['constructor']==_0x9a24b1['constructor']&&_0x4dd479['eq'](_0x9a24b1);}(_0x181a2f,this['drawn'][_0x2402a8]))){let _0x4cb9f2=this['dom']['firstChild'],_0x8da397=0x0;for(let _0x173f29 of _0x35bbfa)_0x173f29['update']&&_0x4cb9f2&&_0x173f29['constructor']&&this['drawn'][_0x8da397]['constructor']&&_0x173f29['update'](_0x4cb9f2,this['drawn'][_0x8da397])?(_0x4cb9f2=_0x4cb9f2['nextSibling'],_0x8da397++):this['dom']['insertBefore'](_0x173f29['draw'](),_0x4cb9f2);for(;_0x4cb9f2;){let _0x26eb75=_0x4cb9f2['nextSibling'];_0x4cb9f2['remove'](),_0x4cb9f2=_0x26eb75;}this['drawn']=_0x35bbfa,U_['safari']&&U_['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 YE=Facet['define']();function KE(_0x156a53){return[ViewPlugin['define'](_0x2ae4d3=>new LayerView(_0x2ae4d3,_0x156a53)),YE['of'](_0x156a53)];}const JE=Facet['define']({'combine':_0x472dc6=>a_(_0x472dc6,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x2ec30d,_0x4ee19e)=>Math['min'](_0x2ec30d,_0x4ee19e),'drawRangeCursor':(_0x1cb294,_0x2b406c)=>_0x1cb294||_0x2b406c})});function tA(_0x13044e={}){return[JE['of'](_0x13044e),iA,nA,rA,Jv['of'](!0x0)];}function eA(_0x486a4c){return _0x486a4c['startState']['facet'](JE)!=_0x486a4c['state']['facet'](JE);}const iA=KE({'above':!0x0,'markers'(_0x4d941f){let {state:_0x10b61b}=_0x4d941f,_0x50dfe5=_0x10b61b['facet'](JE),_0x4354ac=[];for(let _0x2972f4 of _0x10b61b['selection']['ranges']){let _0x1e7271=_0x2972f4==_0x10b61b['selection']['main'];if(_0x2972f4['empty']||_0x50dfe5['drawRangeCursor']){let _0x5d823d=_0x1e7271?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x43762f=_0x2972f4['empty']?_0x2972f4:EditorSelection['cursor'](_0x2972f4['head'],_0x2972f4['head']>_0x2972f4['anchor']?-0x1:0x1);for(let _0x29d768 of RectangleMarker['forRange'](_0x4d941f,_0x5d823d,_0x43762f))_0x4354ac['push'](_0x29d768);}}return _0x4354ac;},'update'(_0x5565de,_0x2a85a9){_0x5565de['transactions']['some'](_0x10868e=>_0x10868e['selection'])&&(_0x2a85a9['style']['animationName']='cm-blink'==_0x2a85a9['style']['animationName']?'cm-blink2':'cm-blink');let _0x5c1dc1=eA(_0x5565de);return _0x5c1dc1&&sA(_0x5565de['state'],_0x2a85a9),_0x5565de['docChanged']||_0x5565de['selectionSet']||_0x5c1dc1;},'mount'(_0x16d75e,_0x4c706f){sA(_0x4c706f['state'],_0x16d75e);},'class':'cm-cursorLayer'});function sA(_0x403126,_0x10645a){_0x10645a['style']['animationDuration']=_0x403126['facet'](JE)['cursorBlinkRate']+'ms';}const nA=KE({'above':!0x1,'markers':_0xa01b82=>_0xa01b82['state']['selection']['ranges']['map'](_0x509bf8=>_0x509bf8['empty']?[]:RectangleMarker['forRange'](_0xa01b82,'cm-selectionBackground',_0x509bf8))['reduce']((_0x1f3434,_0x46cfe1)=>_0x1f3434['concat'](_0x46cfe1)),'update':(_0x3d380a,_0x4e455f)=>_0x3d380a['docChanged']||_0x3d380a['selectionSet']||_0x3d380a['viewportChanged']||eA(_0x3d380a),'class':'cm-selectionLayer'}),rA=By['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'}}}})),oA=StateEffect['define']({'map':(_0x1a80ba,_0x457903)=>null==_0x1a80ba?null:_0x457903['mapPos'](_0x1a80ba)}),aA=StateField['define']({'create':()=>null,'update':(_0x233e29,_0x15795d)=>(null!=_0x233e29&&(_0x233e29=_0x15795d['changes']['mapPos'](_0x233e29)),_0x15795d['effects']['reduce']((_0x54957d,_0x239ff7)=>_0x239ff7['is'](oA)?_0x239ff7['value']:_0x54957d,_0x233e29))}),cA=ViewPlugin['fromClass'](class{constructor(_0x1d9697){this['view']=_0x1d9697,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x4c6622){var _0x593d7e;let _0x26df3e=_0x4c6622['state']['field'](aA);null==_0x26df3e?null!=this['cursor']&&(null===(_0x593d7e=this['cursor'])||void 0x0===_0x593d7e||_0x593d7e['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x4c6622['startState']['field'](aA)!=_0x26df3e||_0x4c6622['docChanged']||_0x4c6622['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0xc8acc4}=this,_0x9248f2=_0xc8acc4['state']['field'](aA),_0x384393=null!=_0x9248f2&&_0xc8acc4['coordsAtPos'](_0x9248f2);if(!_0x384393)return null;let _0x2fc6f4=_0xc8acc4['scrollDOM']['getBoundingClientRect']();return{'left':_0x384393['left']-_0x2fc6f4['left']+_0xc8acc4['scrollDOM']['scrollLeft']*_0xc8acc4['scaleX'],'top':_0x384393['top']-_0x2fc6f4['top']+_0xc8acc4['scrollDOM']['scrollTop']*_0xc8acc4['scaleY'],'height':_0x384393['bottom']-_0x384393['top']};}['drawCursor'](_0x3e9750){if(this['cursor']){let {scaleX:_0x992d00,scaleY:_0x16afd7}=this['view'];_0x3e9750?(this['cursor']['style']['left']=_0x3e9750['left']/_0x992d00+'px',this['cursor']['style']['top']=_0x3e9750['top']/_0x16afd7+'px',this['cursor']['style']['height']=_0x3e9750['height']/_0x16afd7+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0xea86b){this['view']['state']['field'](aA)!=_0xea86b&&this['view']['dispatch']({'effects':oA['of'](_0xea86b)});}},{'eventObservers':{'dragover'(_0x80916f){this['setDropPos'](this['view']['posAtCoords']({'x':_0x80916f['clientX'],'y':_0x80916f['clientY']}));},'dragleave'(_0x4e06fa){_0x4e06fa['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x4e06fa['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function lA(){return[aA,cA];}function hA(_0x759cac,_0x86163f,_0x4f4d63,_0x136f90,_0x49946c){_0x86163f['lastIndex']=0x0;for(let _0x4198d6,_0x2ed89e=_0x759cac['iterRange'](_0x4f4d63,_0x136f90),_0x1ab32f=_0x4f4d63;!_0x2ed89e['next']()['done'];_0x1ab32f+=_0x2ed89e['value']['length'])if(!_0x2ed89e['lineBreak']){for(;_0x4198d6=_0x86163f['exec'](_0x2ed89e['value']);)_0x49946c(_0x1ab32f+_0x4198d6['index'],_0x4198d6);}}class MatchDecorator{constructor(_0x21fdeb){const {regexp:_0xde9f35,decoration:_0x37d432,decorate:_0x15bfe6,boundary:_0x5599d6,maxLength:_0x5b032e=0x3e8}=_0x21fdeb;if(!_0xde9f35['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0xde9f35,_0x15bfe6)this['addMatch']=(_0x1d1e4a,_0x161c2a,_0x320171,_0x5c0f42)=>_0x15bfe6(_0x5c0f42,_0x320171,_0x320171+_0x1d1e4a[0x0]['length'],_0x1d1e4a,_0x161c2a);else{if('function'==typeof _0x37d432)this['addMatch']=(_0x1b562c,_0x3c94c8,_0x57a4dd,_0x2f3afb)=>{let _0x491ce9=_0x37d432(_0x1b562c,_0x3c94c8,_0x57a4dd);_0x491ce9&&_0x2f3afb(_0x57a4dd,_0x57a4dd+_0x1b562c[0x0]['length'],_0x491ce9);};else{if(!_0x37d432)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x344a8f,_0x5d8049,_0xcd8e9c,_0x378723)=>_0x378723(_0xcd8e9c,_0xcd8e9c+_0x344a8f[0x0]['length'],_0x37d432);}}this['boundary']=_0x5599d6,this['maxLength']=_0x5b032e;}['createDeco'](_0x1f9105){let _0x99538e=new RangeSetBuilder(),_0x543c1b=_0x99538e['add']['bind'](_0x99538e);for(let {from:_0x1ec1b7,to:_0x2cb702}of function(_0x28e56e,_0x3dab32){let _0x5dd322=_0x28e56e['visibleRanges'];if(0x1==_0x5dd322['length']&&_0x5dd322[0x0]['from']==_0x28e56e['viewport']['from']&&_0x5dd322[0x0]['to']==_0x28e56e['viewport']['to'])return _0x5dd322;let _0x164c09=[];for(let {from:_0x432b60,to:_0x45e2c3}of _0x5dd322)_0x432b60=Math['max'](_0x28e56e['state']['doc']['lineAt'](_0x432b60)['from'],_0x432b60-_0x3dab32),_0x45e2c3=Math['min'](_0x28e56e['state']['doc']['lineAt'](_0x45e2c3)['to'],_0x45e2c3+_0x3dab32),_0x164c09['length']&&_0x164c09[_0x164c09['length']-0x1]['to']>=_0x432b60?_0x164c09[_0x164c09['length']-0x1]['to']=_0x45e2c3:_0x164c09['push']({'from':_0x432b60,'to':_0x45e2c3});return _0x164c09;}(_0x1f9105,this['maxLength']))hA(_0x1f9105['state']['doc'],this['regexp'],_0x1ec1b7,_0x2cb702,(_0x27ff72,_0x16f8eb)=>this['addMatch'](_0x16f8eb,_0x1f9105,_0x27ff72,_0x543c1b));return _0x99538e['finish']();}['updateDeco'](_0x31cc15,_0x35d07f){let _0xbcb1c1=0x3b9aca00,_0x59f56b=-0x1;return _0x31cc15['docChanged']&&_0x31cc15['changes']['iterChanges']((_0x50e6ec,_0x4eee2a,_0x4ac371,_0x2b3445)=>{_0x2b3445>=_0x31cc15['view']['viewport']['from']&&_0x4ac371<=_0x31cc15['view']['viewport']['to']&&(_0xbcb1c1=Math['min'](_0x4ac371,_0xbcb1c1),_0x59f56b=Math['max'](_0x2b3445,_0x59f56b));}),_0x31cc15['viewportMoved']||_0x59f56b-_0xbcb1c1>0x3e8?this['createDeco'](_0x31cc15['view']):_0x59f56b>-0x1?this['updateRange'](_0x31cc15['view'],_0x35d07f['map'](_0x31cc15['changes']),_0xbcb1c1,_0x59f56b):_0x35d07f;}['updateRange'](_0x2177fd,_0x580dc8,_0x20ffbf,_0x336e1){for(let _0x44d86c of _0x2177fd['visibleRanges']){let _0x503613=Math['max'](_0x44d86c['from'],_0x20ffbf),_0xe87942=Math['min'](_0x44d86c['to'],_0x336e1);if(_0xe87942>=_0x503613){let _0x572dc4=_0x2177fd['state']['doc']['lineAt'](_0x503613),_0x31cac1=_0x572dc4['to']<_0xe87942?_0x2177fd['state']['doc']['lineAt'](_0xe87942):_0x572dc4,_0x296992=Math['max'](_0x44d86c['from'],_0x572dc4['from']),_0x594239=Math['min'](_0x44d86c['to'],_0x31cac1['to']);if(this['boundary']){for(;_0x503613>_0x572dc4['from'];_0x503613--)if(this['boundary']['test'](_0x572dc4['text'][_0x503613-0x1-_0x572dc4['from']])){_0x296992=_0x503613;break;}for(;_0xe87942<_0x31cac1['to'];_0xe87942++)if(this['boundary']['test'](_0x31cac1['text'][_0xe87942-_0x31cac1['from']])){_0x594239=_0xe87942;break;}}let _0x1dbde4,_0xbf9536=[],_0xb7dc5c=(_0x1b7c76,_0x58b1b7,_0x1755a9)=>_0xbf9536['push'](_0x1755a9['range'](_0x1b7c76,_0x58b1b7));if(_0x572dc4==_0x31cac1){for(this['regexp']['lastIndex']=_0x296992-_0x572dc4['from'];(_0x1dbde4=this['regexp']['exec'](_0x572dc4['text']))&&_0x1dbde4['index']<_0x594239-_0x572dc4['from'];)this['addMatch'](_0x1dbde4,_0x2177fd,_0x1dbde4['index']+_0x572dc4['from'],_0xb7dc5c);}else hA(_0x2177fd['state']['doc'],this['regexp'],_0x296992,_0x594239,(_0x3fd288,_0x108db2)=>this['addMatch'](_0x108db2,_0x2177fd,_0x3fd288,_0xb7dc5c));_0x580dc8=_0x580dc8['update']({'filterFrom':_0x296992,'filterTo':_0x594239,'filter':(_0x451829,_0x1e4a8c)=>_0x451829<_0x296992||_0x1e4a8c>_0x594239,'add':_0xbf9536});}}return _0x580dc8;}}const uA=null!=/x/['unicode']?'gu':'g',dA=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',uA),fA={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 mA=null;const gA=Facet['define']({'combine'(_0x5c7cb2){let _0x551858=a_(_0x5c7cb2,{'render':null,'specialChars':dA,'addSpecialChars':null});return(_0x551858['replaceTabs']=!(function(){var _0x1841c6;if(null==mA&&'undefined'!=typeof document&&document['body']){let _0x5b36a5=document['body']['style'];mA=null!=(null!==(_0x1841c6=_0x5b36a5['tabSize'])&&void 0x0!==_0x1841c6?_0x1841c6:_0x5b36a5['MozTabSize']);}return mA||!0x1;}()))&&(_0x551858['specialChars']=new RegExp('\x09|'+_0x551858['specialChars']['source'],uA)),_0x551858['addSpecialChars']&&(_0x551858['specialChars']=new RegExp(_0x551858['specialChars']['source']+'|'+_0x551858['addSpecialChars']['source'],uA)),_0x551858;}});function pA(_0x3859e3={}){return[gA['of'](_0x3859e3),OA||(OA=ViewPlugin['fromClass'](class{constructor(_0x1e3926){this['view']=_0x1e3926,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x1e3926['state']['facet'](gA)),this['decorations']=this['decorator']['createDeco'](_0x1e3926);}['makeDecorator'](_0x4cd3a0){return new MatchDecorator({'regexp':_0x4cd3a0['specialChars'],'decoration':(_0x138cf9,_0x593638,_0x4378ff)=>{let {doc:_0x3f1ac9}=_0x593638['state'],_0x3149d6=by(_0x138cf9[0x0],0x0);if(0x9==_0x3149d6){let _0xefd7f=_0x3f1ac9['lineAt'](_0x4378ff),_0x59f8ee=_0x593638['state']['tabSize'],_0x34e0d7=O_(_0xefd7f['text'],_0x59f8ee,_0x4378ff-_0xefd7f['from']);return Decoration['replace']({'widget':new TabWidget((_0x59f8ee-_0x34e0d7%_0x59f8ee)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x3149d6]||(this['decorationCache'][_0x3149d6]=Decoration['replace']({'widget':new SpecialCharWidget(_0x4cd3a0,_0x3149d6)}));},'boundary':_0x4cd3a0['replaceTabs']?void 0x0:/[^]/});}['update'](_0x50065b){let _0x4131bd=_0x50065b['state']['facet'](gA);_0x50065b['startState']['facet'](gA)!=_0x4131bd?(this['decorator']=this['makeDecorator'](_0x4131bd),this['decorations']=this['decorator']['createDeco'](_0x50065b['view'])):this['decorations']=this['decorator']['updateDeco'](_0x50065b,this['decorations']);}},{'decorations':_0x7417c3=>_0x7417c3['decorations']}))];}let OA=null;class SpecialCharWidget extends WidgetType{constructor(_0x3983c6,_0x5b8e8d){super(),this['options']=_0x3983c6,this['code']=_0x5b8e8d;}['eq'](_0x433f28){return _0x433f28['code']==this['code'];}['toDOM'](_0x465c1d){let _0x31ab85=function(_0x1e671c){return _0x1e671c>=0x20?'•':0xa==_0x1e671c?'␤':String['fromCharCode'](0x2400+_0x1e671c);}(this['code']),_0x353956=_0x465c1d['state']['phrase']('Control\x20character')+'\x20'+(fA[this['code']]||'0x'+this['code']['toString'](0x10)),_0x50e9bd=this['options']['render']&&this['options']['render'](this['code'],_0x353956,_0x31ab85);if(_0x50e9bd)return _0x50e9bd;let _0xfc1347=document['createElement']('span');return _0xfc1347['textContent']=_0x31ab85,_0xfc1347['title']=_0x353956,_0xfc1347['setAttribute']('aria-label',_0x353956),_0xfc1347['className']='cm-specialChar',_0xfc1347;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x5f22fc){super(),this['width']=_0x5f22fc;}['eq'](_0x64a5f5){return _0x64a5f5['width']==this['width'];}['toDOM'](){let _0x2e5919=document['createElement']('span');return _0x2e5919['textContent']='\x09',_0x2e5919['className']='cm-tab',_0x2e5919['style']['width']=this['width']+'px',_0x2e5919;}['ignoreEvent'](){return!0x1;}}function wA(){return yA;}const bA=Decoration['line']({'class':'cm-activeLine'}),yA=ViewPlugin['fromClass'](class{constructor(_0x224bd3){this['decorations']=this['getDeco'](_0x224bd3);}['update'](_0x19d4eb){(_0x19d4eb['docChanged']||_0x19d4eb['selectionSet'])&&(this['decorations']=this['getDeco'](_0x19d4eb['view']));}['getDeco'](_0xba6e8d){let _0x1a5001=-0x1,_0x247832=[];for(let _0x281ef6 of _0xba6e8d['state']['selection']['ranges']){let _0xba6fb4=_0xba6e8d['lineBlockAt'](_0x281ef6['head']);_0xba6fb4['from']>_0x1a5001&&(_0x247832['push'](bA['range'](_0xba6fb4['from'])),_0x1a5001=_0xba6fb4['from']);}return Decoration['set'](_0x247832);}},{'decorations':_0x5e7c96=>_0x5e7c96['decorations']}),_A=0x7d0;function vA(_0x1377f1,_0x2464b6){let _0x45a987=_0x1377f1['posAtCoords']({'x':_0x2464b6['clientX'],'y':_0x2464b6['clientY']},!0x1),_0x3d4105=_0x1377f1['state']['doc']['lineAt'](_0x45a987),_0x1037f2=_0x45a987-_0x3d4105['from'],_0x531a1d=_0x1037f2>_A?-0x1:_0x1037f2==_0x3d4105['length']?function(_0x4ff038,_0x37552b){let _0x1d7f9d=_0x4ff038['coordsAtPos'](_0x4ff038['viewport']['from']);return _0x1d7f9d?Math['round'](Math['abs']((_0x1d7f9d['left']-_0x37552b)/_0x4ff038['defaultCharacterWidth'])):-0x1;}(_0x1377f1,_0x2464b6['clientX']):O_(_0x3d4105['text'],_0x1377f1['state']['tabSize'],_0x45a987-_0x3d4105['from']);return{'line':_0x3d4105['number'],'col':_0x531a1d,'off':_0x1037f2};}function TA(_0x257605,_0x426ddb){let _0x4e2e2c=vA(_0x257605,_0x426ddb),_0x2e19e1=_0x257605['state']['selection'];return _0x4e2e2c?{'update'(_0xacf537){if(_0xacf537['docChanged']){let _0x27f8bd=_0xacf537['changes']['mapPos'](_0xacf537['startState']['doc']['line'](_0x4e2e2c['line'])['from']),_0x2846d3=_0xacf537['state']['doc']['lineAt'](_0x27f8bd);_0x4e2e2c={'line':_0x2846d3['number'],'col':_0x4e2e2c['col'],'off':Math['min'](_0x4e2e2c['off'],_0x2846d3['length'])},_0x2e19e1=_0x2e19e1['map'](_0xacf537['changes']);}},'get'(_0x26b904,_0x1e6e53,_0x2a17ed){let _0x416b15=vA(_0x257605,_0x26b904);if(!_0x416b15)return _0x2e19e1;let _0xed604f=function(_0x1f1831,_0xc9dd7a,_0x4ff6c7){let _0x262d1a=Math['min'](_0xc9dd7a['line'],_0x4ff6c7['line']),_0x11aa71=Math['max'](_0xc9dd7a['line'],_0x4ff6c7['line']),_0x13c84f=[];if(_0xc9dd7a['off']>_A||_0x4ff6c7['off']>_A||_0xc9dd7a['col']<0x0||_0x4ff6c7['col']<0x0){let _0x39cf19=Math['min'](_0xc9dd7a['off'],_0x4ff6c7['off']),_0xfc02d7=Math['max'](_0xc9dd7a['off'],_0x4ff6c7['off']);for(let _0x213cc1=_0x262d1a;_0x213cc1<=_0x11aa71;_0x213cc1++){let _0x299663=_0x1f1831['doc']['line'](_0x213cc1);_0x299663['length']<=_0xfc02d7&&_0x13c84f['push'](EditorSelection['range'](_0x299663['from']+_0x39cf19,_0x299663['to']+_0xfc02d7));}}else{let _0x337bce=Math['min'](_0xc9dd7a['col'],_0x4ff6c7['col']),_0x34c0eb=Math['max'](_0xc9dd7a['col'],_0x4ff6c7['col']);for(let _0x442708=_0x262d1a;_0x442708<=_0x11aa71;_0x442708++){let _0x51df28=_0x1f1831['doc']['line'](_0x442708),_0x503e2f=w_(_0x51df28['text'],_0x337bce,_0x1f1831['tabSize'],!0x0);if(_0x503e2f<0x0)_0x13c84f['push'](EditorSelection['cursor'](_0x51df28['to']));else{let _0x4c4c58=w_(_0x51df28['text'],_0x34c0eb,_0x1f1831['tabSize']);_0x13c84f['push'](EditorSelection['range'](_0x51df28['from']+_0x503e2f,_0x51df28['from']+_0x4c4c58));}}}return _0x13c84f;}(_0x257605['state'],_0x4e2e2c,_0x416b15);return _0xed604f['length']?_0x2a17ed?EditorSelection['create'](_0xed604f['concat'](_0x2e19e1['ranges'])):EditorSelection['create'](_0xed604f):_0x2e19e1;}}:null;}function EA(_0x3a686e){return EditorView['mouseSelectionStyle']['of']((_0x1e35a0,_0x428dd2)=>{return(_0xaa9896=_0x428dd2)['altKey']&&0x0==_0xaa9896['button']?TA(_0x1e35a0,_0x428dd2):null;var _0xaa9896;});}const AA={'Alt':[0x12,_0x35cdb4=>!!_0x35cdb4['altKey']],'Control':[0x11,_0x3b758c=>!!_0x3b758c['ctrlKey']],'Shift':[0x10,_0x563b9e=>!!_0x563b9e['shiftKey']],'Meta':[0x5b,_0x4fc2ce=>!!_0x4fc2ce['metaKey']]},SA={'style':'cursor:\x20crosshair'};function IA(_0x5d01f0={}){let [_0x568d67,_0x37850d]=AA[_0x5d01f0['key']||'Alt'],_0x217f0c=ViewPlugin['fromClass'](class{constructor(_0x24f0e3){this['view']=_0x24f0e3,this['isDown']=!0x1;}['set'](_0x4efebd){this['isDown']!=_0x4efebd&&(this['isDown']=_0x4efebd,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x43da28){this['set'](_0x43da28['keyCode']==_0x568d67||_0x37850d(_0x43da28));},'keyup'(_0x18aad1){_0x18aad1['keyCode']!=_0x568d67&&_0x37850d(_0x18aad1)||this['set'](!0x1);},'mousemove'(_0x14fb7a){this['set'](_0x37850d(_0x14fb7a));}}});return[_0x217f0c,EditorView['contentAttributes']['of'](_0x23d6ef=>{var _0x382de1;return(null===(_0x382de1=_0x23d6ef['plugin'](_0x217f0c))||void 0x0===_0x382de1?void 0x0:_0x382de1['isDown'])?SA:null;})];}const CA='-10000px';class TooltipViewManager{constructor(_0x3f4f3c,_0xfe6566,_0xf19868,_0x280abb){this['facet']=_0xfe6566,this['createTooltipView']=_0xf19868,this['removeTooltipView']=_0x280abb,this['input']=_0x3f4f3c['state']['facet'](_0xfe6566),this['tooltips']=this['input']['filter'](t=>t);let _0x780ca2=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x780ca2=_0xf19868(t,_0x780ca2));}['update'](_0x477a35,_0x19da0b){var _0x2063df;let _0x391ed4=_0x477a35['state']['facet'](this['facet']),_0x8d27dc=_0x391ed4['filter'](_0x2391bd=>_0x2391bd);if(_0x391ed4===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x477a35);return!0x1;}let _0x35ef21=[],_0x85a3e3=_0x19da0b?[]:null;for(let _0x502bd3=0x0;_0x502bd3<_0x8d27dc['length'];_0x502bd3++){let _0x411d4a=_0x8d27dc[_0x502bd3],_0x47f84c=-0x1;if(_0x411d4a){for(let _0x1dd969=0x0;_0x1dd969<this['tooltips']['length'];_0x1dd969++){let _0xdc5363=this['tooltips'][_0x1dd969];_0xdc5363&&_0xdc5363['create']==_0x411d4a['create']&&(_0x47f84c=_0x1dd969);}if(_0x47f84c<0x0)_0x35ef21[_0x502bd3]=this['createTooltipView'](_0x411d4a,_0x502bd3?_0x35ef21[_0x502bd3-0x1]:null),_0x85a3e3&&(_0x85a3e3[_0x502bd3]=!!_0x411d4a['above']);else{let _0x20532f=_0x35ef21[_0x502bd3]=this['tooltipViews'][_0x47f84c];_0x85a3e3&&(_0x85a3e3[_0x502bd3]=_0x19da0b[_0x47f84c]),_0x20532f['update']&&_0x20532f['update'](_0x477a35);}}}for(let t of this['tooltipViews'])_0x35ef21['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x2063df=t['destroy'])||void 0x0===_0x2063df||_0x2063df['call'](t));return _0x19da0b&&(_0x85a3e3['forEach']((_0x3dbe89,_0x444744)=>_0x19da0b[_0x444744]=_0x3dbe89),_0x19da0b['length']=_0x85a3e3['length']),this['input']=_0x391ed4,this['tooltips']=_0x8d27dc,this['tooltipViews']=_0x35ef21,!0x0;}}function kA(_0x14e401){let _0x66e437=_0x14e401['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x66e437['clientHeight'],'right':_0x66e437['clientWidth']};}const xA=Facet['define']({'combine':_0x2b3aa4=>{var _0x402a0c,_0x1ac136,_0x296009;return{'position':U_['ios']?'absolute':(null===(_0x402a0c=_0x2b3aa4['find'](_0x26944e=>_0x26944e['position']))||void 0x0===_0x402a0c?void 0x0:_0x402a0c['position'])||'fixed','parent':(null===(_0x1ac136=_0x2b3aa4['find'](_0x5c6007=>_0x5c6007['parent']))||void 0x0===_0x1ac136?void 0x0:_0x1ac136['parent'])||null,'tooltipSpace':(null===(_0x296009=_0x2b3aa4['find'](_0x3a9476=>_0x3a9476['tooltipSpace']))||void 0x0===_0x296009?void 0x0:_0x296009['tooltipSpace'])||kA};}}),RA=new WeakMap(),PA=ViewPlugin['fromClass'](class{constructor(_0x21a2fe){this['view']=_0x21a2fe,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x457958=_0x21a2fe['state']['facet'](xA);this['position']=_0x457958['position'],this['parent']=_0x457958['parent'],this['classes']=_0x21a2fe['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(_0x21a2fe,DA,(t,_0x180660)=>this['createTooltip'](t,_0x180660),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(_0xe599d2=>{Date['now']()>this['lastTransaction']-0x32&&_0xe599d2['length']>0x0&&_0xe599d2[_0xe599d2['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x21a2fe['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 _0x4b278e of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x4b278e['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x4748d2){_0x4748d2['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x1a759f=this['manager']['update'](_0x4748d2,this['above']);_0x1a759f&&this['observeIntersection']();let _0x13dd3f=_0x1a759f||_0x4748d2['geometryChanged'],_0x45f9ae=_0x4748d2['state']['facet'](xA);if(_0x45f9ae['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x45f9ae['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x13dd3f=!0x0;}if(_0x45f9ae['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x45f9ae['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x13dd3f=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x13dd3f&&this['maybeMeasure']();}['createTooltip'](_0x632c57,_0x5c71cf){let _0xc4b54b=_0x632c57['create'](this['view']),_0x40555d=_0x5c71cf?_0x5c71cf['dom']:null;if(_0xc4b54b['dom']['classList']['add']('cm-tooltip'),_0x632c57['arrow']&&!_0xc4b54b['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x54c6b1=document['createElement']('div');_0x54c6b1['className']='cm-tooltip-arrow',_0xc4b54b['dom']['appendChild'](_0x54c6b1);}return _0xc4b54b['dom']['style']['position']=this['position'],_0xc4b54b['dom']['style']['top']=CA,_0xc4b54b['dom']['style']['left']='0px',this['container']['insertBefore'](_0xc4b54b['dom'],_0x40555d),_0xc4b54b['mount']&&_0xc4b54b['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0xc4b54b['dom']),_0xc4b54b;}['destroy'](){var _0x146c82,_0x442808,_0xa58547;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0xf37e1b of this['manager']['tooltipViews'])_0xf37e1b['dom']['remove'](),null===(_0x146c82=_0xf37e1b['destroy'])||void 0x0===_0x146c82||_0x146c82['call'](_0xf37e1b);this['parent']&&this['container']['remove'](),null===(_0x442808=this['resizeObserver'])||void 0x0===_0x442808||_0x442808['disconnect'](),null===(_0xa58547=this['intersectionObserver'])||void 0x0===_0xa58547||_0xa58547['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x230adf=0x1,_0x1a94f7=0x1,_0x46bcd0=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x4d1d63}=this['manager']['tooltipViews'][0x0];if(U_['gecko'])_0x46bcd0=_0x4d1d63['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x4d1d63['style']['top']==CA&&'0px'==_0x4d1d63['style']['left']){let _0xe335ae=_0x4d1d63['getBoundingClientRect']();_0x46bcd0=Math['abs'](_0xe335ae['top']+0x2710)>0x1||Math['abs'](_0xe335ae['left'])>0x1;}}}if(_0x46bcd0||'absolute'==this['position']){if(this['parent']){let _0x4facab=this['parent']['getBoundingClientRect']();_0x4facab['width']&&_0x4facab['height']&&(_0x230adf=_0x4facab['width']/this['parent']['offsetWidth'],_0x1a94f7=_0x4facab['height']/this['parent']['offsetHeight']);}else({scaleX:_0x230adf,scaleY:_0x1a94f7}=this['view']['viewState']);}let _0x1313fc=this['view']['scrollDOM']['getBoundingClientRect'](),_0x4dc203=gT(this['view']);return{'visible':{'left':_0x1313fc['left']+_0x4dc203['left'],'top':_0x1313fc['top']+_0x4dc203['top'],'right':_0x1313fc['right']-_0x4dc203['right'],'bottom':_0x1313fc['bottom']-_0x4dc203['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x36d0e7)=>{let _0x4ae794=this['manager']['tooltipViews'][_0x36d0e7];return _0x4ae794['getCoords']?_0x4ae794['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x29a7f8})=>_0x29a7f8['getBoundingClientRect']()),'space':this['view']['state']['facet'](xA)['tooltipSpace'](this['view']),'scaleX':_0x230adf,'scaleY':_0x1a94f7,'makeAbsolute':_0x46bcd0};}['writeMeasure'](_0x1dcb8a){var _0x44a9d6;if(_0x1dcb8a['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x1b5150,space:_0x3f1d32,scaleX:_0x5c3b1c,scaleY:_0x300a24}=_0x1dcb8a,_0x32f2a1=[];for(let _0x95ea17=0x0;_0x95ea17<this['manager']['tooltips']['length'];_0x95ea17++){let _0x1aa9d2=this['manager']['tooltips'][_0x95ea17],_0x1a5f44=this['manager']['tooltipViews'][_0x95ea17],{dom:_0x2591d4}=_0x1a5f44,_0x528580=_0x1dcb8a['pos'][_0x95ea17],_0x1add24=_0x1dcb8a['size'][_0x95ea17];if(!_0x528580||!0x1!==_0x1aa9d2['clip']&&(_0x528580['bottom']<=Math['max'](_0x1b5150['top'],_0x3f1d32['top'])||_0x528580['top']>=Math['min'](_0x1b5150['bottom'],_0x3f1d32['bottom'])||_0x528580['right']<Math['max'](_0x1b5150['left'],_0x3f1d32['left'])-0.1||_0x528580['left']>Math['min'](_0x1b5150['right'],_0x3f1d32['right'])+0.1)){_0x2591d4['style']['top']=CA;continue;}let _0x3e581d=_0x1aa9d2['arrow']?_0x1a5f44['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x37cc8b=_0x3e581d?0x7:0x0,_0x55c758=_0x1add24['right']-_0x1add24['left'],_0x276b7c=null!==(_0x44a9d6=RA['get'](_0x1a5f44))&&void 0x0!==_0x44a9d6?_0x44a9d6:_0x1add24['bottom']-_0x1add24['top'],_0x788e24=_0x1a5f44['offset']||LA,_0x2a1560=this['view']['textDirection']==Av['LTR'],_0x39b809=_0x1add24['width']>_0x3f1d32['right']-_0x3f1d32['left']?_0x2a1560?_0x3f1d32['left']:_0x3f1d32['right']-_0x1add24['width']:_0x2a1560?Math['max'](_0x3f1d32['left'],Math['min'](_0x528580['left']-(_0x3e581d?0xe:0x0)+_0x788e24['x'],_0x3f1d32['right']-_0x55c758)):Math['min'](Math['max'](_0x3f1d32['left'],_0x528580['left']-_0x55c758+(_0x3e581d?0xe:0x0)-_0x788e24['x']),_0x3f1d32['right']-_0x55c758),_0x5f1f3a=this['above'][_0x95ea17];!_0x1aa9d2['strictSide']&&(_0x5f1f3a?_0x528580['top']-_0x276b7c-_0x37cc8b-_0x788e24['y']<_0x3f1d32['top']:_0x528580['bottom']+_0x276b7c+_0x37cc8b+_0x788e24['y']>_0x3f1d32['bottom'])&&_0x5f1f3a==_0x3f1d32['bottom']-_0x528580['bottom']>_0x528580['top']-_0x3f1d32['top']&&(_0x5f1f3a=this['above'][_0x95ea17]=!_0x5f1f3a);let _0x51c4fc=(_0x5f1f3a?_0x528580['top']-_0x3f1d32['top']:_0x3f1d32['bottom']-_0x528580['bottom'])-_0x37cc8b;if(_0x51c4fc<_0x276b7c&&!0x1!==_0x1a5f44['resize']){if(_0x51c4fc<this['view']['defaultLineHeight']){_0x2591d4['style']['top']=CA;continue;}RA['set'](_0x1a5f44,_0x276b7c),_0x2591d4['style']['height']=(_0x276b7c=_0x51c4fc)/_0x300a24+'px';}else _0x2591d4['style']['height']&&(_0x2591d4['style']['height']='');let _0x4ac36f=_0x5f1f3a?_0x528580['top']-_0x276b7c-_0x37cc8b-_0x788e24['y']:_0x528580['bottom']+_0x37cc8b+_0x788e24['y'],_0x28fb26=_0x39b809+_0x55c758;if(!0x0!==_0x1a5f44['overlap']){for(let _0x5904cd of _0x32f2a1)_0x5904cd['left']<_0x28fb26&&_0x5904cd['right']>_0x39b809&&_0x5904cd['top']<_0x4ac36f+_0x276b7c&&_0x5904cd['bottom']>_0x4ac36f&&(_0x4ac36f=_0x5f1f3a?_0x5904cd['top']-_0x276b7c-0x2-_0x37cc8b:_0x5904cd['bottom']+_0x37cc8b+0x2);}if('absolute'==this['position']?(_0x2591d4['style']['top']=(_0x4ac36f-_0x1dcb8a['parent']['top'])/_0x300a24+'px',MA(_0x2591d4,(_0x39b809-_0x1dcb8a['parent']['left'])/_0x5c3b1c)):(_0x2591d4['style']['top']=_0x4ac36f/_0x300a24+'px',MA(_0x2591d4,_0x39b809/_0x5c3b1c)),_0x3e581d){let _0x29b67a=_0x528580['left']+(_0x2a1560?_0x788e24['x']:-_0x788e24['x'])-(_0x39b809+0xe-0x7);_0x3e581d['style']['left']=_0x29b67a/_0x5c3b1c+'px';}!0x0!==_0x1a5f44['overlap']&&_0x32f2a1['push']({'left':_0x39b809,'top':_0x4ac36f,'right':_0x28fb26,'bottom':_0x4ac36f+_0x276b7c}),_0x2591d4['classList']['toggle']('cm-tooltip-above',_0x5f1f3a),_0x2591d4['classList']['toggle']('cm-tooltip-below',!_0x5f1f3a),_0x1a5f44['positioned']&&_0x1a5f44['positioned'](_0x1dcb8a['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 _0x37f15d of this['manager']['tooltipViews'])_0x37f15d['dom']['style']['top']=CA;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function MA(_0x30deb1,_0x539303){let _0x441d15=parseInt(_0x30deb1['style']['left'],0xa);(isNaN(_0x441d15)||Math['abs'](_0x539303-_0x441d15)>0x1)&&(_0x30deb1['style']['left']=_0x539303+'px');}const NA=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'}}}),LA={'x':0x0,'y':0x0},DA=Facet['define']({'enables':[PA,NA]});function QA(_0x397e2a,_0x47d4c6){let _0x3f2b7f=_0x397e2a['plugin'](PA);if(!_0x3f2b7f)return null;let _0x2aab7b=_0x3f2b7f['manager']['tooltips']['indexOf'](_0x47d4c6);return _0x2aab7b<0x0?null:_0x3f2b7f['manager']['tooltipViews'][_0x2aab7b];}class GutterMarker extends RangeValue{['compare'](_0x477f0b){return this==_0x477f0b||this['constructor']==_0x477f0b['constructor']&&this['eq'](_0x477f0b);}['eq'](_0x5cab7b){return!0x1;}['destroy'](_0xf87fab){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=Ty['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const $A=Facet['define'](),VA=Facet['define'](),UA={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},BA=Facet['define']();function FA(_0x37e920){return[HA(),BA['of']({...UA,..._0x37e920})];}const jA=Facet['define']({'combine':_0x20b0aa=>_0x20b0aa['some'](_0x2b7335=>_0x2b7335)});function HA(_0x179180){return[GA];}const GA=ViewPlugin['fromClass'](class{constructor(_0x462495){this['view']=_0x462495,this['domAfter']=null,this['prevViewport']=_0x462495['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']=_0x462495['state']['facet'](BA)['map'](_0x3f71a1=>new SingleGutterView(_0x462495,_0x3f71a1)),this['fixed']=!_0x462495['state']['facet'](jA);for(let _0x3dda8 of this['gutters'])'after'==_0x3dda8['config']['side']?this['getDOMAfter']()['appendChild'](_0x3dda8['dom']):this['dom']['appendChild'](_0x3dda8['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x462495['scrollDOM']['insertBefore'](this['dom'],_0x462495['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'](_0x28b47c){if(this['updateGutters'](_0x28b47c)){let _0xaa2377=this['prevViewport'],_0x528a4c=_0x28b47c['view']['viewport'],_0x396381=Math['min'](_0xaa2377['to'],_0x528a4c['to'])-Math['max'](_0xaa2377['from'],_0x528a4c['from']);this['syncGutters'](_0x396381<0.8*(_0x528a4c['to']-_0x528a4c['from']));}if(_0x28b47c['geometryChanged']){let _0x1f453a=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x1f453a,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x1f453a);}this['view']['state']['facet'](jA)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x28b47c['view']['viewport'];}['syncGutters'](_0x535da1){let _0x3cc9c0=this['dom']['nextSibling'];_0x535da1&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x1232e5=RangeSet['iter'](this['view']['state']['facet']($A),this['view']['viewport']['from']),_0x4e6fec=[],_0x4f2961=this['gutters']['map'](_0x5d4e2f=>new UpdateContext(_0x5d4e2f,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x5caab3 of this['view']['viewportLineBlocks'])if(_0x4e6fec['length']&&(_0x4e6fec=[]),Array['isArray'](_0x5caab3['type'])){let _0x45ef19=!0x0;for(let _0xab3234 of _0x5caab3['type'])if(_0xab3234['type']==_v['Text']&&_0x45ef19){XA(_0x1232e5,_0x4e6fec,_0xab3234['from']);for(let _0x22451a of _0x4f2961)_0x22451a['line'](this['view'],_0xab3234,_0x4e6fec);_0x45ef19=!0x1;}else{if(_0xab3234['widget']){for(let _0x2f2f5c of _0x4f2961)_0x2f2f5c['widget'](this['view'],_0xab3234);}}}else{if(_0x5caab3['type']==_v['Text']){XA(_0x1232e5,_0x4e6fec,_0x5caab3['from']);for(let _0x49cc5c of _0x4f2961)_0x49cc5c['line'](this['view'],_0x5caab3,_0x4e6fec);}else{if(_0x5caab3['widget']){for(let _0x41ce6a of _0x4f2961)_0x41ce6a['widget'](this['view'],_0x5caab3);}}}for(let _0x30f133 of _0x4f2961)_0x30f133['finish']();_0x535da1&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x3cc9c0),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x5f028b){let _0x1e1571=_0x5f028b['startState']['facet'](BA),_0x37840a=_0x5f028b['state']['facet'](BA),_0x5c01ec=_0x5f028b['docChanged']||_0x5f028b['heightChanged']||_0x5f028b['viewportChanged']||!RangeSet['eq'](_0x5f028b['startState']['facet']($A),_0x5f028b['state']['facet']($A),_0x5f028b['view']['viewport']['from'],_0x5f028b['view']['viewport']['to']);if(_0x1e1571==_0x37840a){for(let _0x184eea of this['gutters'])_0x184eea['update'](_0x5f028b)&&(_0x5c01ec=!0x0);}else{_0x5c01ec=!0x0;let _0x39c435=[];for(let _0x4f5014 of _0x37840a){let _0x4a4c41=_0x1e1571['indexOf'](_0x4f5014);_0x4a4c41<0x0?_0x39c435['push'](new SingleGutterView(this['view'],_0x4f5014)):(this['gutters'][_0x4a4c41]['update'](_0x5f028b),_0x39c435['push'](this['gutters'][_0x4a4c41]));}for(let _0x241d82 of this['gutters'])_0x241d82['dom']['remove'](),_0x39c435['indexOf'](_0x241d82)<0x0&&_0x241d82['destroy']();for(let _0x3ff580 of _0x39c435)'after'==_0x3ff580['config']['side']?this['getDOMAfter']()['appendChild'](_0x3ff580['dom']):this['dom']['appendChild'](_0x3ff580['dom']);this['gutters']=_0x39c435;}return _0x5c01ec;}['destroy'](){for(let _0x499171 of this['gutters'])_0x499171['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x53c1d2=>EditorView['scrollMargins']['of'](_0x150769=>{let _0x226249=_0x150769['plugin'](_0x53c1d2);if(!_0x226249||0x0==_0x226249['gutters']['length']||!_0x226249['fixed'])return null;let _0x281f93=_0x226249['dom']['offsetWidth']*_0x150769['scaleX'],_0x5dabf5=_0x226249['domAfter']?_0x226249['domAfter']['offsetWidth']*_0x150769['scaleX']:0x0;return _0x150769['textDirection']==Av['LTR']?{'left':_0x281f93,'right':_0x5dabf5}:{'right':_0x281f93,'left':_0x5dabf5};})});function ZA(_0x4d2419){return Array['isArray'](_0x4d2419)?_0x4d2419:[_0x4d2419];}function XA(_0x36ec71,_0x28a192,_0x52fd7b){for(;_0x36ec71['value']&&_0x36ec71['from']<=_0x52fd7b;)_0x36ec71['from']==_0x52fd7b&&_0x28a192['push'](_0x36ec71['value']),_0x36ec71['next']();}class UpdateContext{constructor(_0x527f5f,_0x342c41,_0x217597){this['gutter']=_0x527f5f,this['height']=_0x217597,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x527f5f['markers'],_0x342c41['from']);}['addElement'](_0x2c0a0d,_0x4c0141,_0x2a8263){let {gutter:_0x1da8c3}=this,_0x1f0a02=(_0x4c0141['top']-this['height'])/_0x2c0a0d['scaleY'],_0x40361a=_0x4c0141['height']/_0x2c0a0d['scaleY'];if(this['i']==_0x1da8c3['elements']['length']){let _0xd7c459=new GutterElement(_0x2c0a0d,_0x40361a,_0x1f0a02,_0x2a8263);_0x1da8c3['elements']['push'](_0xd7c459),_0x1da8c3['dom']['appendChild'](_0xd7c459['dom']);}else _0x1da8c3['elements'][this['i']]['update'](_0x2c0a0d,_0x40361a,_0x1f0a02,_0x2a8263);this['height']=_0x4c0141['bottom'],this['i']++;}['line'](_0x50cd2f,_0x41d896,_0xf23a57){let _0x565988=[];XA(this['cursor'],_0x565988,_0x41d896['from']),_0xf23a57['length']&&(_0x565988=_0x565988['concat'](_0xf23a57));let _0x46c0ea=this['gutter']['config']['lineMarker'](_0x50cd2f,_0x41d896,_0x565988);_0x46c0ea&&_0x565988['unshift'](_0x46c0ea);let _0x290ce8=this['gutter'];(0x0!=_0x565988['length']||_0x290ce8['config']['renderEmptyElements'])&&this['addElement'](_0x50cd2f,_0x41d896,_0x565988);}['widget'](_0x4a42d9,_0x4e2f84){let _0x2b4684=this['gutter']['config']['widgetMarker'](_0x4a42d9,_0x4e2f84['widget'],_0x4e2f84),_0x4c4cb8=_0x2b4684?[_0x2b4684]:null;for(let _0x43cf44 of _0x4a42d9['state']['facet'](VA)){let _0x393902=_0x43cf44(_0x4a42d9,_0x4e2f84['widget'],_0x4e2f84);_0x393902&&(_0x4c4cb8||(_0x4c4cb8=[]))['push'](_0x393902);}_0x4c4cb8&&this['addElement'](_0x4a42d9,_0x4e2f84,_0x4c4cb8);}['finish'](){let _0xf1b5a2=this['gutter'];for(;_0xf1b5a2['elements']['length']>this['i'];){let _0x5f484e=_0xf1b5a2['elements']['pop']();_0xf1b5a2['dom']['removeChild'](_0x5f484e['dom']),_0x5f484e['destroy']();}}}class SingleGutterView{constructor(_0x1a77d1,_0x375f52){this['view']=_0x1a77d1,this['config']=_0x375f52,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x35338d in _0x375f52['domEventHandlers'])this['dom']['addEventListener'](_0x35338d,_0x5bd8e9=>{let _0x401a8d,_0x476670=_0x5bd8e9['target'];if(_0x476670!=this['dom']&&this['dom']['contains'](_0x476670)){for(;_0x476670['parentNode']!=this['dom'];)_0x476670=_0x476670['parentNode'];let _0x3ef3a2=_0x476670['getBoundingClientRect']();_0x401a8d=(_0x3ef3a2['top']+_0x3ef3a2['bottom'])/0x2;}else _0x401a8d=_0x5bd8e9['clientY'];let _0x51d360=_0x1a77d1['lineBlockAtHeight'](_0x401a8d-_0x1a77d1['documentTop']);_0x375f52['domEventHandlers'][_0x35338d](_0x1a77d1,_0x51d360,_0x5bd8e9)&&_0x5bd8e9['preventDefault']();});this['markers']=ZA(_0x375f52['markers'](_0x1a77d1)),_0x375f52['initialSpacer']&&(this['spacer']=new GutterElement(_0x1a77d1,0x0,0x0,[_0x375f52['initialSpacer'](_0x1a77d1)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x24a7f3){let _0x2eeb98=this['markers'];if(this['markers']=ZA(this['config']['markers'](_0x24a7f3['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x13d112=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x24a7f3);_0x13d112!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x24a7f3['view'],0x0,0x0,[_0x13d112]);}let _0x5c5a43=_0x24a7f3['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x2eeb98,_0x5c5a43['from'],_0x5c5a43['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x24a7f3);}['destroy'](){for(let _0x456e2e of this['elements'])_0x456e2e['destroy']();}}class GutterElement{constructor(_0x946d81,_0xe4c302,_0x1a9cd5,_0x71b30d){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x946d81,_0xe4c302,_0x1a9cd5,_0x71b30d);}['update'](_0x2ed617,_0x52e08a,_0xdcc59f,_0x5364d8){this['height']!=_0x52e08a&&(this['height']=_0x52e08a,this['dom']['style']['height']=_0x52e08a+'px'),this['above']!=_0xdcc59f&&(this['dom']['style']['marginTop']=(this['above']=_0xdcc59f)?_0xdcc59f+'px':''),function(_0x2ab9ce,_0xa56816){if(_0x2ab9ce['length']!=_0xa56816['length'])return!0x1;for(let _0x46cddb=0x0;_0x46cddb<_0x2ab9ce['length'];_0x46cddb++)if(!_0x2ab9ce[_0x46cddb]['compare'](_0xa56816[_0x46cddb]))return!0x1;return!0x0;}(this['markers'],_0x5364d8)||this['setMarkers'](_0x2ed617,_0x5364d8);}['setMarkers'](_0x4b6e35,_0x48980e){let _0x59deb5='cm-gutterElement',_0xc3e448=this['dom']['firstChild'];for(let _0x25a12d=0x0,_0x21339e=0x0;;){let _0x1e68b6=_0x21339e,_0x1f7f2d=_0x25a12d<_0x48980e['length']?_0x48980e[_0x25a12d++]:null,_0x44f6a8=!0x1;if(_0x1f7f2d){let _0x184063=_0x1f7f2d['elementClass'];_0x184063&&(_0x59deb5+='\x20'+_0x184063);for(let _0x1dc501=_0x21339e;_0x1dc501<this['markers']['length'];_0x1dc501++)if(this['markers'][_0x1dc501]['compare'](_0x1f7f2d)){_0x1e68b6=_0x1dc501,_0x44f6a8=!0x0;break;}}else _0x1e68b6=this['markers']['length'];for(;_0x21339e<_0x1e68b6;){let _0x43007c=this['markers'][_0x21339e++];if(_0x43007c['toDOM']){_0x43007c['destroy'](_0xc3e448);let _0x330826=_0xc3e448['nextSibling'];_0xc3e448['remove'](),_0xc3e448=_0x330826;}}if(!_0x1f7f2d)break;_0x1f7f2d['toDOM']&&(_0x44f6a8?_0xc3e448=_0xc3e448['nextSibling']:this['dom']['insertBefore'](_0x1f7f2d['toDOM'](_0x4b6e35),_0xc3e448)),_0x44f6a8&&_0x21339e++;}this['dom']['className']=_0x59deb5,this['markers']=_0x48980e;}['destroy'](){this['setMarkers'](null,[]);}}const qA=Facet['define'](),WA=Facet['define'](),zA=Facet['define']({'combine':_0x1a7bfa=>a_(_0x1a7bfa,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x2047cb,_0x3dc852){let _0x25a1d0=Object['assign']({},_0x2047cb);for(let _0x2cad65 in _0x3dc852){let _0x454e4f=_0x25a1d0[_0x2cad65],_0x1a54cf=_0x3dc852[_0x2cad65];_0x25a1d0[_0x2cad65]=_0x454e4f?(_0x59607f,_0x1eedac,_0x4b804a)=>_0x454e4f(_0x59607f,_0x1eedac,_0x4b804a)||_0x1a54cf(_0x59607f,_0x1eedac,_0x4b804a):_0x1a54cf;}return _0x25a1d0;}})});class NumberMarker extends GutterMarker{constructor(_0x37ab3b){super(),this['number']=_0x37ab3b;}['eq'](_0xbe478c){return this['number']==_0xbe478c['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function YA(_0x37de97,_0x347d83){return _0x37de97['state']['facet'](zA)['formatNumber'](_0x347d83,_0x37de97['state']);}const KA=BA['compute']([zA],_0x23ac25=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x20b790=>_0x20b790['state']['facet'](qA),'lineMarker':(_0x406e33,_0x3b78f4,_0x261efb)=>_0x261efb['some'](_0x42cafb=>_0x42cafb['toDOM'])?null:new NumberMarker(YA(_0x406e33,_0x406e33['state']['doc']['lineAt'](_0x3b78f4['from'])['number'])),'widgetMarker':(_0x3e16f5,_0xc11d1e,_0x29024e)=>{for(let _0x2d0419 of _0x3e16f5['state']['facet'](WA)){let _0x381994=_0x2d0419(_0x3e16f5,_0xc11d1e,_0x29024e);if(_0x381994)return _0x381994;}return null;},'lineMarkerChange':_0x43dd97=>_0x43dd97['startState']['facet'](zA)!=_0x43dd97['state']['facet'](zA),'initialSpacer':_0x42bed5=>new NumberMarker(YA(_0x42bed5,tS(_0x42bed5['state']['doc']['lines']))),'updateSpacer'(_0x3d6875,_0x58ff09){let _0x1dd887=YA(_0x58ff09['view'],tS(_0x58ff09['view']['state']['doc']['lines']));return _0x1dd887==_0x3d6875['number']?_0x3d6875:new NumberMarker(_0x1dd887);},'domEventHandlers':_0x23ac25['facet'](zA)['domEventHandlers'],'side':'before'}));function JA(_0x5be91b={}){return[zA['of'](_0x5be91b),HA(),KA];}function tS(_0x3a1ee3){let _0x28489f=0x9;for(;_0x28489f<_0x3a1ee3;)_0x28489f=0xa*_0x28489f+0x9;return _0x28489f;}const eS=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),iS=$A['compute'](['selection'],_0x101d86=>{let _0x32915d=[],_0x137077=-0x1;for(let _0x227f12 of _0x101d86['selection']['ranges']){let _0x5d4f11=_0x101d86['doc']['lineAt'](_0x227f12['head'])['from'];_0x5d4f11>_0x137077&&(_0x137077=_0x5d4f11,_0x32915d['push'](eS['range'](_0x5d4f11)));}return RangeSet['of'](_0x32915d);});function sS(){return iS;}const nS=0x400;let rS=0x0;class Range{constructor(_0x4636ec,_0x2060f4){this['from']=_0x4636ec,this['to']=_0x2060f4;}}class NodeProp{constructor(_0x1aaec9={}){this['id']=rS++,this['perNode']=!!_0x1aaec9['perNode'],this['deserialize']=_0x1aaec9['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x1aaec9['combine']||null;}['add'](_0x30bb05){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x30bb05&&(_0x30bb05=NodeType['match'](_0x30bb05)),_0x57fc0=>{let _0x404f1f=_0x30bb05(_0x57fc0);return void 0x0===_0x404f1f?null:[this,_0x404f1f];};}}NodeProp['closedBy']=new NodeProp({'deserialize':_0x4b4a50=>_0x4b4a50['split']('\x20')}),NodeProp['openedBy']=new NodeProp({'deserialize':_0x316127=>_0x316127['split']('\x20')}),NodeProp['group']=new NodeProp({'deserialize':_0x507c6c=>_0x507c6c['split']('\x20')}),NodeProp['isolate']=new NodeProp({'deserialize':_0x459d85=>{if(_0x459d85&&'rtl'!=_0x459d85&&'ltr'!=_0x459d85&&'auto'!=_0x459d85)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x459d85);return _0x459d85||'auto';}}),NodeProp['contextHash']=new NodeProp({'perNode':!0x0}),NodeProp['lookAhead']=new NodeProp({'perNode':!0x0}),NodeProp['mounted']=new NodeProp({'perNode':!0x0});class MountedTree{constructor(_0x3a1cae,_0x644abd,_0x3360e6){this['tree']=_0x3a1cae,this['overlay']=_0x644abd,this['parser']=_0x3360e6;}static['get'](_0x1b3959){return _0x1b3959&&_0x1b3959['props']&&_0x1b3959['props'][NodeProp['mounted']['id']];}}const oS=Object['create'](null);class NodeType{constructor(_0x1ccc2b,_0x416f0a,_0x43dd7f,_0x1d972d=0x0){this['name']=_0x1ccc2b,this['props']=_0x416f0a,this['id']=_0x43dd7f,this['flags']=_0x1d972d;}static['define'](_0x2758b6){let _0x320207=_0x2758b6['props']&&_0x2758b6['props']['length']?Object['create'](null):oS,_0x561af7=(_0x2758b6['top']?0x1:0x0)|(_0x2758b6['skipped']?0x2:0x0)|(_0x2758b6['error']?0x4:0x0)|(null==_0x2758b6['name']?0x8:0x0),_0x4f6792=new NodeType(_0x2758b6['name']||'',_0x320207,_0x2758b6['id'],_0x561af7);if(_0x2758b6['props']){for(let _0x4a0cdb of _0x2758b6['props'])if(Array['isArray'](_0x4a0cdb)||(_0x4a0cdb=_0x4a0cdb(_0x4f6792)),_0x4a0cdb){if(_0x4a0cdb[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x320207[_0x4a0cdb[0x0]['id']]=_0x4a0cdb[0x1];}}return _0x4f6792;}['prop'](_0x4af0a3){return this['props'][_0x4af0a3['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'](_0xfc6978){if('string'==typeof _0xfc6978){if(this['name']==_0xfc6978)return!0x0;let _0x45ef5e=this['prop'](NodeProp['group']);return!!_0x45ef5e&&_0x45ef5e['indexOf'](_0xfc6978)>-0x1;}return this['id']==_0xfc6978;}static['match'](_0x315be5){let _0x34d44f=Object['create'](null);for(let _0x5d8cc1 in _0x315be5)for(let _0x5194e9 of _0x5d8cc1['split']('\x20'))_0x34d44f[_0x5194e9]=_0x315be5[_0x5d8cc1];return _0x581e1b=>{for(let _0x310060=_0x581e1b['prop'](NodeProp['group']),_0x35c03e=-0x1;_0x35c03e<(_0x310060?_0x310060['length']:0x0);_0x35c03e++){let _0x129e2b=_0x34d44f[_0x35c03e<0x0?_0x581e1b['name']:_0x310060[_0x35c03e]];if(_0x129e2b)return _0x129e2b;}};}}NodeType['none']=new NodeType('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x56d918){this['types']=_0x56d918;for(let _0x1c802d=0x0;_0x1c802d<_0x56d918['length'];_0x1c802d++)if(_0x56d918[_0x1c802d]['id']!=_0x1c802d)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x4eac28){let _0x124683=[];for(let _0x46e783 of this['types']){let _0x3d53e3=null;for(let _0x4bbd63 of _0x4eac28){let _0x443139=_0x4bbd63(_0x46e783);if(_0x443139){_0x3d53e3||(_0x3d53e3=Object['assign']({},_0x46e783['props']));let _0x12c411=_0x443139[0x1],_0x3a9f1c=_0x443139[0x0];_0x3a9f1c['combine']&&_0x3a9f1c['id']in _0x3d53e3&&(_0x12c411=_0x3a9f1c['combine'](_0x3d53e3[_0x3a9f1c['id']],_0x12c411)),_0x3d53e3[_0x3a9f1c['id']]=_0x12c411;}}_0x124683['push'](_0x3d53e3?new NodeType(_0x46e783['name'],_0x3d53e3,_0x46e783['id'],_0x46e783['flags']):_0x46e783);}return new NodeSet(_0x124683);}}const aS=new WeakMap(),cS=new WeakMap();var lS;!function(_0x483fd4){_0x483fd4[_0x483fd4['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x483fd4[_0x483fd4['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x483fd4[_0x483fd4['IgnoreMounts']=0x4]='IgnoreMounts',_0x483fd4[_0x483fd4['IgnoreOverlays']=0x8]='IgnoreOverlays';}(lS||(lS={}));class Tree{constructor(_0xd829d0,_0x2718a5,_0x18339,_0x479b94,_0x19ccd7){if(this['type']=_0xd829d0,this['children']=_0x2718a5,this['positions']=_0x18339,this['length']=_0x479b94,this['props']=null,_0x19ccd7&&_0x19ccd7['length']){this['props']=Object['create'](null);for(let [_0x6ad725,_0x37bd5b]of _0x19ccd7)this['props']['number'==typeof _0x6ad725?_0x6ad725:_0x6ad725['id']]=_0x37bd5b;}}['toString'](){let _0x25bd31=MountedTree['get'](this);if(_0x25bd31&&!_0x25bd31['overlay'])return _0x25bd31['tree']['toString']();let _0x4dc26e='';for(let _0x26f9c8 of this['children']){let _0x440ae3=_0x26f9c8['toString']();_0x440ae3&&(_0x4dc26e&&(_0x4dc26e+=','),_0x4dc26e+=_0x440ae3);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x4dc26e['length']?'('+_0x4dc26e+')':''):_0x4dc26e;}['cursor'](_0x3d1c30=0x0){return new TreeCursor(this['topNode'],_0x3d1c30);}['cursorAt'](_0x3b36f2,_0x482353=0x0,_0x9e1ade=0x0){let _0xf8c5d6=aS['get'](this)||this['topNode'],_0x439195=new TreeCursor(_0xf8c5d6);return _0x439195['moveTo'](_0x3b36f2,_0x482353),aS['set'](this,_0x439195['_tree']),_0x439195;}get['topNode'](){return new TreeNode(this,0x0,0x0,null);}['resolve'](_0x712974,_0x578df3=0x0){let _0x2a628=uS(aS['get'](this)||this['topNode'],_0x712974,_0x578df3,!0x1);return aS['set'](this,_0x2a628),_0x2a628;}['resolveInner'](_0x49511e,_0x4a57c2=0x0){let _0x34b534=uS(cS['get'](this)||this['topNode'],_0x49511e,_0x4a57c2,!0x0);return cS['set'](this,_0x34b534),_0x34b534;}['resolveStack'](_0x10b29e,_0x55f42c=0x0){return function(_0x5d8855,_0x54befb,_0x54f31b){let _0x4e1949=_0x5d8855['resolveInner'](_0x54befb,_0x54f31b),_0x5955ab=null;for(let _0x26394d=_0x4e1949 instanceof TreeNode?_0x4e1949:_0x4e1949['context']['parent'];_0x26394d;_0x26394d=_0x26394d['parent'])if(_0x26394d['index']<0x0){let _0x2b47fc=_0x26394d['parent'];(_0x5955ab||(_0x5955ab=[_0x4e1949]))['push'](_0x2b47fc['resolve'](_0x54befb,_0x54f31b)),_0x26394d=_0x2b47fc;}else{let _0x43e5fe=MountedTree['get'](_0x26394d['tree']);if(_0x43e5fe&&_0x43e5fe['overlay']&&_0x43e5fe['overlay'][0x0]['from']<=_0x54befb&&_0x43e5fe['overlay'][_0x43e5fe['overlay']['length']-0x1]['to']>=_0x54befb){let _0x58e9f7=new TreeNode(_0x43e5fe['tree'],_0x43e5fe['overlay'][0x0]['from']+_0x26394d['from'],-0x1,_0x26394d);(_0x5955ab||(_0x5955ab=[_0x4e1949]))['push'](uS(_0x58e9f7,_0x54befb,_0x54f31b,!0x1));}}return _0x5955ab?mS(_0x5955ab):_0x4e1949;}(this,_0x10b29e,_0x55f42c);}['iterate'](_0x28327c){let {enter:_0x34d144,leave:_0x346a85,from:_0x308b30=0x0,to:_0x52ec58=this['length']}=_0x28327c,_0x3b0b87=_0x28327c['mode']||0x0,_0x624835=(_0x3b0b87&lS['IncludeAnonymous'])>0x0;for(let _0x1722bd=this['cursor'](_0x3b0b87|lS['IncludeAnonymous']);;){let _0x931042=!0x1;if(_0x1722bd['from']<=_0x52ec58&&_0x1722bd['to']>=_0x308b30&&(!_0x624835&&_0x1722bd['type']['isAnonymous']||!0x1!==_0x34d144(_0x1722bd))){if(_0x1722bd['firstChild']())continue;_0x931042=!0x0;}for(;_0x931042&&_0x346a85&&(_0x624835||!_0x1722bd['type']['isAnonymous'])&&_0x346a85(_0x1722bd),!_0x1722bd['nextSibling']();){if(!_0x1722bd['parent']())return;_0x931042=!0x0;}}}['prop'](_0x2ff92f){return _0x2ff92f['perNode']?this['props']?this['props'][_0x2ff92f['id']]:void 0x0:this['type']['prop'](_0x2ff92f);}get['propValues'](){let _0x5032d7=[];if(this['props']){for(let _0x50c8f9 in this['props'])_0x5032d7['push']([+_0x50c8f9,this['props'][_0x50c8f9]]);}return _0x5032d7;}['balance'](_0x5ce106={}){return this['children']['length']<=0x8?this:wS(NodeType['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x314514,_0x14c152,_0x45079b)=>new Tree(this['type'],_0x314514,_0x14c152,_0x45079b,this['propValues']),_0x5ce106['makeTree']||((_0x144192,_0x3e4641,_0x405891)=>new Tree(NodeType['none'],_0x144192,_0x3e4641,_0x405891)));}static['build'](_0x355022){return function(_0x926e07){var _0x5e0c93;let {buffer:_0x3ac46a,nodeSet:_0x27096c,maxBufferLength:_0x42baba=nS,reused:_0x41b524=[],minRepeatType:_0x44869d=_0x27096c['types']['length']}=_0x926e07,_0x52b842=Array['isArray'](_0x3ac46a)?new FlatBufferCursor(_0x3ac46a,_0x3ac46a['length']):_0x3ac46a,_0x9c03f4=_0x27096c['types'],_0x4fb709=0x0,_0x54d18b=0x0;function _0x54e913(_0x46f7a9,_0x4cae27,_0x35b1de,_0x5e51ba,_0x473df7,_0x4a2c55){let {id:_0x41a163,start:_0x5974dc,end:_0x32e3e2,size:_0x468bb2}=_0x52b842,_0x24312c=_0x54d18b,_0x3fe3e5=_0x4fb709;if(_0x468bb2<0x0){if(_0x52b842['next'](),-0x1==_0x468bb2){let _0x1385f7=_0x41b524[_0x41a163];return _0x35b1de['push'](_0x1385f7),void _0x5e51ba['push'](_0x5974dc-_0x46f7a9);}if(-0x3==_0x468bb2)return void(_0x4fb709=_0x41a163);if(-0x4==_0x468bb2)return void(_0x54d18b=_0x41a163);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x468bb2);}let _0x47036a,_0x213866,_0x556f11=_0x9c03f4[_0x41a163],_0x1753e6=_0x5974dc-_0x46f7a9;if(_0x32e3e2-_0x5974dc<=_0x42baba&&(_0x213866=_0x59e058(_0x52b842['pos']-_0x4cae27,_0x473df7))){let _0xf6055=new Uint16Array(_0x213866['size']-_0x213866['skip']),_0x550655=_0x52b842['pos']-_0x213866['size'],_0x2fc485=_0xf6055['length'];for(;_0x52b842['pos']>_0x550655;)_0x2fc485=_0x3a3141(_0x213866['start'],_0xf6055,_0x2fc485);_0x47036a=new TreeBuffer(_0xf6055,_0x32e3e2-_0x213866['start'],_0x27096c),_0x1753e6=_0x213866['start']-_0x46f7a9;}else{let _0x1d9c4d=_0x52b842['pos']-_0x468bb2;_0x52b842['next']();let _0x2b7472=[],_0x4df258=[],_0x32c611=_0x41a163>=_0x44869d?_0x41a163:-0x1,_0x2000af=0x0,_0x2b2159=_0x32e3e2;for(;_0x52b842['pos']>_0x1d9c4d;)_0x32c611>=0x0&&_0x52b842['id']==_0x32c611&&_0x52b842['size']>=0x0?(_0x52b842['end']<=_0x2b2159-_0x42baba&&(_0x501199(_0x2b7472,_0x4df258,_0x5974dc,_0x2000af,_0x52b842['end'],_0x2b2159,_0x32c611,_0x24312c,_0x3fe3e5),_0x2000af=_0x2b7472['length'],_0x2b2159=_0x52b842['end']),_0x52b842['next']()):_0x4a2c55>0x9c4?_0x27af50(_0x5974dc,_0x1d9c4d,_0x2b7472,_0x4df258):_0x54e913(_0x5974dc,_0x1d9c4d,_0x2b7472,_0x4df258,_0x32c611,_0x4a2c55+0x1);if(_0x32c611>=0x0&&_0x2000af>0x0&&_0x2000af<_0x2b7472['length']&&_0x501199(_0x2b7472,_0x4df258,_0x5974dc,_0x2000af,_0x5974dc,_0x2b2159,_0x32c611,_0x24312c,_0x3fe3e5),_0x2b7472['reverse'](),_0x4df258['reverse'](),_0x32c611>-0x1&&_0x2000af>0x0){let _0x47840e=_0x4dc9ff(_0x556f11,_0x3fe3e5);_0x47036a=wS(_0x556f11,_0x2b7472,_0x4df258,0x0,_0x2b7472['length'],0x0,_0x32e3e2-_0x5974dc,_0x47840e,_0x47840e);}else _0x47036a=_0x228daa(_0x556f11,_0x2b7472,_0x4df258,_0x32e3e2-_0x5974dc,_0x24312c-_0x32e3e2,_0x3fe3e5);}_0x35b1de['push'](_0x47036a),_0x5e51ba['push'](_0x1753e6);}function _0x27af50(_0x43ead4,_0x19ffa2,_0x1af4b6,_0x27e0a0){let _0x4560ee=[],_0x2201f5=0x0,_0x614b51=-0x1;for(;_0x52b842['pos']>_0x19ffa2;){let {id:_0x542a2f,start:_0x139164,end:_0x5d52ba,size:_0x24e227}=_0x52b842;if(_0x24e227>0x4)_0x52b842['next']();else{if(_0x614b51>-0x1&&_0x139164<_0x614b51)break;_0x614b51<0x0&&(_0x614b51=_0x5d52ba-_0x42baba),_0x4560ee['push'](_0x542a2f,_0x139164,_0x5d52ba),_0x2201f5++,_0x52b842['next']();}}if(_0x2201f5){let _0x5b9648=new Uint16Array(0x4*_0x2201f5),_0x477bae=_0x4560ee[_0x4560ee['length']-0x2];for(let _0x53313d=_0x4560ee['length']-0x3,_0x5cecf7=0x0;_0x53313d>=0x0;_0x53313d-=0x3)_0x5b9648[_0x5cecf7++]=_0x4560ee[_0x53313d],_0x5b9648[_0x5cecf7++]=_0x4560ee[_0x53313d+0x1]-_0x477bae,_0x5b9648[_0x5cecf7++]=_0x4560ee[_0x53313d+0x2]-_0x477bae,_0x5b9648[_0x5cecf7++]=_0x5cecf7;_0x1af4b6['push'](new TreeBuffer(_0x5b9648,_0x4560ee[0x2]-_0x477bae,_0x27096c)),_0x27e0a0['push'](_0x477bae-_0x43ead4);}}function _0x4dc9ff(_0x45dba6,_0xae40c5){return(_0x230e4d,_0x1b6b6f,_0x2a41d0)=>{let _0x3cad23,_0x3570a0,_0x502405=0x0,_0x330f78=_0x230e4d['length']-0x1;if(_0x330f78>=0x0&&(_0x3cad23=_0x230e4d[_0x330f78])instanceof Tree){if(!_0x330f78&&_0x3cad23['type']==_0x45dba6&&_0x3cad23['length']==_0x2a41d0)return _0x3cad23;(_0x3570a0=_0x3cad23['prop'](NodeProp['lookAhead']))&&(_0x502405=_0x1b6b6f[_0x330f78]+_0x3cad23['length']+_0x3570a0);}return _0x228daa(_0x45dba6,_0x230e4d,_0x1b6b6f,_0x2a41d0,_0x502405,_0xae40c5);};}function _0x501199(_0x5e0c5d,_0x353096,_0x29df8a,_0x28f267,_0x4191e3,_0x5c6d71,_0x284115,_0x30ba67,_0x3a35bf){let _0x3e6377=[],_0x16e2bc=[];for(;_0x5e0c5d['length']>_0x28f267;)_0x3e6377['push'](_0x5e0c5d['pop']()),_0x16e2bc['push'](_0x353096['pop']()+_0x29df8a-_0x4191e3);_0x5e0c5d['push'](_0x228daa(_0x27096c['types'][_0x284115],_0x3e6377,_0x16e2bc,_0x5c6d71-_0x4191e3,_0x30ba67-_0x5c6d71,_0x3a35bf)),_0x353096['push'](_0x4191e3-_0x29df8a);}function _0x228daa(_0x4b7ec0,_0x466aec,_0x14bfcf,_0x468690,_0x344334,_0x89e547,_0x5781fd){if(_0x89e547){let _0x2fc308=[NodeProp['contextHash'],_0x89e547];_0x5781fd=_0x5781fd?[_0x2fc308]['concat'](_0x5781fd):[_0x2fc308];}if(_0x344334>0x19){let _0x97bacd=[NodeProp['lookAhead'],_0x344334];_0x5781fd=_0x5781fd?[_0x97bacd]['concat'](_0x5781fd):[_0x97bacd];}return new Tree(_0x4b7ec0,_0x466aec,_0x14bfcf,_0x468690,_0x5781fd);}function _0x59e058(_0x3754c7,_0x59404f){let _0x1545a9=_0x52b842['fork'](),_0x1b5486=0x0,_0x27e9b0=0x0,_0x1f981e=0x0,_0x452758=_0x1545a9['end']-_0x42baba,_0x4b52f6={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x32a5c7=_0x1545a9['pos']-_0x3754c7;_0x1545a9['pos']>_0x32a5c7;){let _0x48eb80=_0x1545a9['size'];if(_0x1545a9['id']==_0x59404f&&_0x48eb80>=0x0){_0x4b52f6['size']=_0x1b5486,_0x4b52f6['start']=_0x27e9b0,_0x4b52f6['skip']=_0x1f981e,_0x1f981e+=0x4,_0x1b5486+=0x4,_0x1545a9['next']();continue;}let _0x3ad58f=_0x1545a9['pos']-_0x48eb80;if(_0x48eb80<0x0||_0x3ad58f<_0x32a5c7||_0x1545a9['start']<_0x452758)break;let _0x24b224=_0x1545a9['id']>=_0x44869d?0x4:0x0,_0x426951=_0x1545a9['start'];for(_0x1545a9['next']();_0x1545a9['pos']>_0x3ad58f;){if(_0x1545a9['size']<0x0){if(-0x3!=_0x1545a9['size'])break t;_0x24b224+=0x4;}else _0x1545a9['id']>=_0x44869d&&(_0x24b224+=0x4);_0x1545a9['next']();}_0x27e9b0=_0x426951,_0x1b5486+=_0x48eb80,_0x1f981e+=_0x24b224;}return(_0x59404f<0x0||_0x1b5486==_0x3754c7)&&(_0x4b52f6['size']=_0x1b5486,_0x4b52f6['start']=_0x27e9b0,_0x4b52f6['skip']=_0x1f981e),_0x4b52f6['size']>0x4?_0x4b52f6:void 0x0;}function _0x3a3141(_0x8fb6f,_0x2319e9,_0x44d9e6){let {id:_0x4fa39f,start:_0x2e6595,end:_0x4844c9,size:_0x3f8034}=_0x52b842;if(_0x52b842['next'](),_0x3f8034>=0x0&&_0x4fa39f<_0x44869d){let _0x36ea88=_0x44d9e6;if(_0x3f8034>0x4){let _0x456256=_0x52b842['pos']-(_0x3f8034-0x4);for(;_0x52b842['pos']>_0x456256;)_0x44d9e6=_0x3a3141(_0x8fb6f,_0x2319e9,_0x44d9e6);}_0x2319e9[--_0x44d9e6]=_0x36ea88,_0x2319e9[--_0x44d9e6]=_0x4844c9-_0x8fb6f,_0x2319e9[--_0x44d9e6]=_0x2e6595-_0x8fb6f,_0x2319e9[--_0x44d9e6]=_0x4fa39f;}else-0x3==_0x3f8034?_0x4fb709=_0x4fa39f:-0x4==_0x3f8034&&(_0x54d18b=_0x4fa39f);return _0x44d9e6;}let _0x320f76=[],_0x47d72e=[];for(;_0x52b842['pos']>0x0;)_0x54e913(_0x926e07['start']||0x0,_0x926e07['bufferStart']||0x0,_0x320f76,_0x47d72e,-0x1,0x0);let _0x575894=null!==(_0x5e0c93=_0x926e07['length'])&&void 0x0!==_0x5e0c93?_0x5e0c93:_0x320f76['length']?_0x47d72e[0x0]+_0x320f76[0x0]['length']:0x0;return new Tree(_0x9c03f4[_0x926e07['topID']],_0x320f76['reverse'](),_0x47d72e['reverse'](),_0x575894);}(_0x355022);}}Tree['empty']=new Tree(NodeType['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x203fe5,_0x117186){this['buffer']=_0x203fe5,this['index']=_0x117186;}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 TreeBuffer{constructor(_0xa87119,_0x4f07ca,_0x5e5301){this['buffer']=_0xa87119,this['length']=_0x4f07ca,this['set']=_0x5e5301;}get['type'](){return NodeType['none'];}['toString'](){let _0xc6abca=[];for(let _0x28ced3=0x0;_0x28ced3<this['buffer']['length'];)_0xc6abca['push'](this['childString'](_0x28ced3)),_0x28ced3=this['buffer'][_0x28ced3+0x3];return _0xc6abca['join'](',');}['childString'](_0x53e15e){let _0x69637b=this['buffer'][_0x53e15e],_0x315f82=this['buffer'][_0x53e15e+0x3],_0x153062=this['set']['types'][_0x69637b],_0x3611d0=_0x153062['name'];if(/\W/['test'](_0x3611d0)&&!_0x153062['isError']&&(_0x3611d0=JSON['stringify'](_0x3611d0)),_0x315f82==(_0x53e15e+=0x4))return _0x3611d0;let _0x85a723=[];for(;_0x53e15e<_0x315f82;)_0x85a723['push'](this['childString'](_0x53e15e)),_0x53e15e=this['buffer'][_0x53e15e+0x3];return _0x3611d0+'('+_0x85a723['join'](',')+')';}['findChild'](_0x5a4799,_0x3759c1,_0x43a8f7,_0x580b54,_0x279dd8){let {buffer:_0x5c8010}=this,_0x28e8d7=-0x1;for(let _0x3904d3=_0x5a4799;_0x3904d3!=_0x3759c1&&!(hS(_0x279dd8,_0x580b54,_0x5c8010[_0x3904d3+0x1],_0x5c8010[_0x3904d3+0x2])&&(_0x28e8d7=_0x3904d3,_0x43a8f7>0x0));_0x3904d3=_0x5c8010[_0x3904d3+0x3]);return _0x28e8d7;}['slice'](_0x507969,_0x320e1e,_0x3a0847){let _0x2c3094=this['buffer'],_0xd01532=new Uint16Array(_0x320e1e-_0x507969),_0x221fce=0x0;for(let _0x19c9aa=_0x507969,_0x15146e=0x0;_0x19c9aa<_0x320e1e;){_0xd01532[_0x15146e++]=_0x2c3094[_0x19c9aa++],_0xd01532[_0x15146e++]=_0x2c3094[_0x19c9aa++]-_0x3a0847;let _0xf4bdaf=_0xd01532[_0x15146e++]=_0x2c3094[_0x19c9aa++]-_0x3a0847;_0xd01532[_0x15146e++]=_0x2c3094[_0x19c9aa++]-_0x507969,_0x221fce=Math['max'](_0x221fce,_0xf4bdaf);}return new TreeBuffer(_0xd01532,_0x221fce,this['set']);}}function hS(_0x4ce07e,_0x199ff9,_0x33e50b,_0x464193){switch(_0x4ce07e){case-0x2:return _0x33e50b<_0x199ff9;case-0x1:return _0x464193>=_0x199ff9&&_0x33e50b<_0x199ff9;case 0x0:return _0x33e50b<_0x199ff9&&_0x464193>_0x199ff9;case 0x1:return _0x33e50b<=_0x199ff9&&_0x464193>_0x199ff9;case 0x2:return _0x464193>_0x199ff9;case 0x4:return!0x0;}}function uS(_0x13ea8f,_0x50da33,_0x21dda6,_0x7f6bb9){for(var _0x443712;_0x13ea8f['from']==_0x13ea8f['to']||(_0x21dda6<0x1?_0x13ea8f['from']>=_0x50da33:_0x13ea8f['from']>_0x50da33)||(_0x21dda6>-0x1?_0x13ea8f['to']<=_0x50da33:_0x13ea8f['to']<_0x50da33);){let _0x1d1d9=!_0x7f6bb9&&_0x13ea8f instanceof TreeNode&&_0x13ea8f['index']<0x0?null:_0x13ea8f['parent'];if(!_0x1d1d9)return _0x13ea8f;_0x13ea8f=_0x1d1d9;}let _0x34c416=_0x7f6bb9?0x0:lS['IgnoreOverlays'];if(_0x7f6bb9){for(let _0x3e8c51=_0x13ea8f,_0xbe75af=_0x3e8c51['parent'];_0xbe75af;_0x3e8c51=_0xbe75af,_0xbe75af=_0x3e8c51['parent'])_0x3e8c51 instanceof TreeNode&&_0x3e8c51['index']<0x0&&(null===(_0x443712=_0xbe75af['enter'](_0x50da33,_0x21dda6,_0x34c416))||void 0x0===_0x443712?void 0x0:_0x443712['from'])!=_0x3e8c51['from']&&(_0x13ea8f=_0xbe75af);}for(;;){let _0x26e1fa=_0x13ea8f['enter'](_0x50da33,_0x21dda6,_0x34c416);if(!_0x26e1fa)return _0x13ea8f;_0x13ea8f=_0x26e1fa;}}class BaseNode{['cursor'](_0xd0b1d=0x0){return new TreeCursor(this,_0xd0b1d);}['getChild'](_0x1566a7,_0x170762=null,_0x121223=null){let _0xe1fa86=dS(this,_0x1566a7,_0x170762,_0x121223);return _0xe1fa86['length']?_0xe1fa86[0x0]:null;}['getChildren'](_0x1d9cf4,_0x3a20a0=null,_0x58c3e5=null){return dS(this,_0x1d9cf4,_0x3a20a0,_0x58c3e5);}['resolve'](_0x7d5ca8,_0x18b5e4=0x0){return uS(this,_0x7d5ca8,_0x18b5e4,!0x1);}['resolveInner'](_0xeae4d8,_0x422cff=0x0){return uS(this,_0xeae4d8,_0x422cff,!0x0);}['matchContext'](_0x48e2c2){return fS(this['parent'],_0x48e2c2);}['enterUnfinishedNodesBefore'](_0x55dc7d){let _0x5cec49=this['childBefore'](_0x55dc7d),_0x1badea=this;for(;_0x5cec49;){let _0x1e05d=_0x5cec49['lastChild'];if(!_0x1e05d||_0x1e05d['to']!=_0x5cec49['to'])break;_0x1e05d['type']['isError']&&_0x1e05d['from']==_0x1e05d['to']?(_0x1badea=_0x5cec49,_0x5cec49=_0x1e05d['prevSibling']):_0x5cec49=_0x1e05d;}return _0x1badea;}get['node'](){return this;}get['next'](){return this['parent'];}}class TreeNode extends BaseNode{constructor(_0x225ac9,_0x34d98e,_0x1d585c,_0x168513){super(),this['_tree']=_0x225ac9,this['from']=_0x34d98e,this['index']=_0x1d585c,this['_parent']=_0x168513;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x32c395,_0x11bc51,_0x2dbe96,_0x2f9d1f,_0xc72b6d=0x0){for(let _0xf52d88=this;;){for(let {children:_0x5856e9,positions:_0x3bdea3}=_0xf52d88['_tree'],_0x363129=_0x11bc51>0x0?_0x5856e9['length']:-0x1;_0x32c395!=_0x363129;_0x32c395+=_0x11bc51){let _0x92f337=_0x5856e9[_0x32c395],_0x1abf72=_0x3bdea3[_0x32c395]+_0xf52d88['from'];if(hS(_0x2f9d1f,_0x2dbe96,_0x1abf72,_0x1abf72+_0x92f337['length'])){if(_0x92f337 instanceof TreeBuffer){if(_0xc72b6d&lS['ExcludeBuffers'])continue;let _0x2a8859=_0x92f337['findChild'](0x0,_0x92f337['buffer']['length'],_0x11bc51,_0x2dbe96-_0x1abf72,_0x2f9d1f);if(_0x2a8859>-0x1)return new BufferNode(new BufferContext(_0xf52d88,_0x92f337,_0x32c395,_0x1abf72),null,_0x2a8859);}else{if(_0xc72b6d&lS['IncludeAnonymous']||!_0x92f337['type']['isAnonymous']||gS(_0x92f337)){let _0x497e4d;if(!(_0xc72b6d&lS['IgnoreMounts'])&&(_0x497e4d=MountedTree['get'](_0x92f337))&&!_0x497e4d['overlay'])return new TreeNode(_0x497e4d['tree'],_0x1abf72,_0x32c395,_0xf52d88);let _0x3186dd=new TreeNode(_0x92f337,_0x1abf72,_0x32c395,_0xf52d88);return _0xc72b6d&lS['IncludeAnonymous']||!_0x3186dd['type']['isAnonymous']?_0x3186dd:_0x3186dd['nextChild'](_0x11bc51<0x0?_0x92f337['children']['length']-0x1:0x0,_0x11bc51,_0x2dbe96,_0x2f9d1f);}}}}if(_0xc72b6d&lS['IncludeAnonymous']||!_0xf52d88['type']['isAnonymous'])return null;if(_0x32c395=_0xf52d88['index']>=0x0?_0xf52d88['index']+_0x11bc51:_0x11bc51<0x0?-0x1:_0xf52d88['_parent']['_tree']['children']['length'],_0xf52d88=_0xf52d88['_parent'],!_0xf52d88)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'](_0x5878c3){return this['nextChild'](0x0,0x1,_0x5878c3,0x2);}['childBefore'](_0x232b03){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x232b03,-0x2);}['enter'](_0x35a4c0,_0x457541,_0xe63d38=0x0){let _0x2fa7ee;if(!(_0xe63d38&lS['IgnoreOverlays'])&&(_0x2fa7ee=MountedTree['get'](this['_tree']))&&_0x2fa7ee['overlay']){let _0x321cad=_0x35a4c0-this['from'];for(let {from:_0x2dff85,to:_0x44da36}of _0x2fa7ee['overlay'])if((_0x457541>0x0?_0x2dff85<=_0x321cad:_0x2dff85<_0x321cad)&&(_0x457541<0x0?_0x44da36>=_0x321cad:_0x44da36>_0x321cad))return new TreeNode(_0x2fa7ee['tree'],_0x2fa7ee['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x35a4c0,_0x457541,_0xe63d38);}['nextSignificantParent'](){let _0x2f31ac=this;for(;_0x2f31ac['type']['isAnonymous']&&_0x2f31ac['_parent'];)_0x2f31ac=_0x2f31ac['_parent'];return _0x2f31ac;}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 dS(_0xe1419c,_0x2374da,_0x2af293,_0x57c02f){let _0x4b493d=_0xe1419c['cursor'](),_0x56d94e=[];if(!_0x4b493d['firstChild']())return _0x56d94e;if(null!=_0x2af293){for(let _0x1994e8=!0x1;!_0x1994e8;)if(_0x1994e8=_0x4b493d['type']['is'](_0x2af293),!_0x4b493d['nextSibling']())return _0x56d94e;}for(;;){if(null!=_0x57c02f&&_0x4b493d['type']['is'](_0x57c02f))return _0x56d94e;if(_0x4b493d['type']['is'](_0x2374da)&&_0x56d94e['push'](_0x4b493d['node']),!_0x4b493d['nextSibling']())return null==_0x57c02f?_0x56d94e:[];}}function fS(_0x30b719,_0x51db11,_0x957400=_0x51db11['length']-0x1){for(let _0x3a2f91=_0x30b719;_0x957400>=0x0;_0x3a2f91=_0x3a2f91['parent']){if(!_0x3a2f91)return!0x1;if(!_0x3a2f91['type']['isAnonymous']){if(_0x51db11[_0x957400]&&_0x51db11[_0x957400]!=_0x3a2f91['name'])return!0x1;_0x957400--;}}return!0x0;}class BufferContext{constructor(_0x467b1c,_0x46bc15,_0x47ffe8,_0x441d7e){this['parent']=_0x467b1c,this['buffer']=_0x46bc15,this['index']=_0x47ffe8,this['start']=_0x441d7e;}}class BufferNode extends BaseNode{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(_0x43a89f,_0x227221,_0x3db771){super(),this['context']=_0x43a89f,this['_parent']=_0x227221,this['index']=_0x3db771,this['type']=_0x43a89f['buffer']['set']['types'][_0x43a89f['buffer']['buffer'][_0x3db771]];}['child'](_0x35a8bc,_0x2922e9,_0x59926b){let {buffer:_0xd060e8}=this['context'],_0x7fdc9d=_0xd060e8['findChild'](this['index']+0x4,_0xd060e8['buffer'][this['index']+0x3],_0x35a8bc,_0x2922e9-this['context']['start'],_0x59926b);return _0x7fdc9d<0x0?null:new BufferNode(this['context'],this,_0x7fdc9d);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x589ef6){return this['child'](0x1,_0x589ef6,0x2);}['childBefore'](_0x37b958){return this['child'](-0x1,_0x37b958,-0x2);}['enter'](_0x5baf27,_0x4b57c5,_0x12e513=0x0){if(_0x12e513&lS['ExcludeBuffers'])return null;let {buffer:_0x12efdf}=this['context'],_0x3d20da=_0x12efdf['findChild'](this['index']+0x4,_0x12efdf['buffer'][this['index']+0x3],_0x4b57c5>0x0?0x1:-0x1,_0x5baf27-this['context']['start'],_0x4b57c5);return _0x3d20da<0x0?null:new BufferNode(this['context'],this,_0x3d20da);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x333d79){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x333d79,_0x333d79,0x0,0x4);}get['nextSibling'](){let {buffer:_0x3489ee}=this['context'],_0x2ed721=_0x3489ee['buffer'][this['index']+0x3];return _0x2ed721<(this['_parent']?_0x3489ee['buffer'][this['_parent']['index']+0x3]:_0x3489ee['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x2ed721):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x36cde7}=this['context'],_0x444167=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x444167?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x36cde7['findChild'](_0x444167,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x47e934=[],_0x397f95=[],{buffer:_0x11a2e2}=this['context'],_0x14c903=this['index']+0x4,_0x593297=_0x11a2e2['buffer'][this['index']+0x3];if(_0x593297>_0x14c903){let _0x12d60f=_0x11a2e2['buffer'][this['index']+0x1];_0x47e934['push'](_0x11a2e2['slice'](_0x14c903,_0x593297,_0x12d60f)),_0x397f95['push'](0x0);}return new Tree(this['type'],_0x47e934,_0x397f95,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function mS(_0x17eb5e){if(!_0x17eb5e['length'])return null;let _0x27a8c6=0x0,_0x472219=_0x17eb5e[0x0];for(let _0x33e8e5=0x1;_0x33e8e5<_0x17eb5e['length'];_0x33e8e5++){let _0x455677=_0x17eb5e[_0x33e8e5];(_0x455677['from']>_0x472219['from']||_0x455677['to']<_0x472219['to'])&&(_0x472219=_0x455677,_0x27a8c6=_0x33e8e5);}let _0x211bb7=_0x472219 instanceof TreeNode&&_0x472219['index']<0x0?null:_0x472219['parent'],_0x483438=_0x17eb5e['slice']();return _0x211bb7?_0x483438[_0x27a8c6]=_0x211bb7:_0x483438['splice'](_0x27a8c6,0x1),new StackIterator(_0x483438,_0x472219);}class StackIterator{constructor(_0x2ade40,_0x13cc96){this['heads']=_0x2ade40,this['node']=_0x13cc96;}get['next'](){return mS(this['heads']);}}class TreeCursor{get['name'](){return this['type']['name'];}constructor(_0x478d17,_0x5c069f=0x0){if(this['mode']=_0x5c069f,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x478d17 instanceof TreeNode)this['yieldNode'](_0x478d17);else{this['_tree']=_0x478d17['context']['parent'],this['buffer']=_0x478d17['context'];for(let _0x51ffb8=_0x478d17['_parent'];_0x51ffb8;_0x51ffb8=_0x51ffb8['_parent'])this['stack']['unshift'](_0x51ffb8['index']);this['bufferNode']=_0x478d17,this['yieldBuf'](_0x478d17['index']);}}['yieldNode'](_0x5f0e32){return!!_0x5f0e32&&(this['_tree']=_0x5f0e32,this['type']=_0x5f0e32['type'],this['from']=_0x5f0e32['from'],this['to']=_0x5f0e32['to'],!0x0);}['yieldBuf'](_0x5b1773,_0x5944af){this['index']=_0x5b1773;let {start:_0x3a562c,buffer:_0x3cecee}=this['buffer'];return this['type']=_0x5944af||_0x3cecee['set']['types'][_0x3cecee['buffer'][_0x5b1773]],this['from']=_0x3a562c+_0x3cecee['buffer'][_0x5b1773+0x1],this['to']=_0x3a562c+_0x3cecee['buffer'][_0x5b1773+0x2],!0x0;}['yield'](_0x3e6b5a){return!!_0x3e6b5a&&(_0x3e6b5a instanceof TreeNode?(this['buffer']=null,this['yieldNode'](_0x3e6b5a)):(this['buffer']=_0x3e6b5a['context'],this['yieldBuf'](_0x3e6b5a['index'],_0x3e6b5a['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x3f7750,_0x79c892,_0x568e40){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x3f7750<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x3f7750,_0x79c892,_0x568e40,this['mode']));let {buffer:_0x554b74}=this['buffer'],_0x5bee2f=_0x554b74['findChild'](this['index']+0x4,_0x554b74['buffer'][this['index']+0x3],_0x3f7750,_0x79c892-this['buffer']['start'],_0x568e40);return!(_0x5bee2f<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x5bee2f));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x4706b4){return this['enterChild'](0x1,_0x4706b4,0x2);}['childBefore'](_0x3d4459){return this['enterChild'](-0x1,_0x3d4459,-0x2);}['enter'](_0x303941,_0xdde68b,_0x59de78=this['mode']){return this['buffer']?!(_0x59de78&lS['ExcludeBuffers'])&&this['enterChild'](0x1,_0x303941,_0xdde68b):this['yield'](this['_tree']['enter'](_0x303941,_0xdde68b,_0x59de78));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&lS['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x2216e5=this['mode']&lS['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x2216e5);}['sibling'](_0x302e17){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x302e17,_0x302e17,0x0,0x4,this['mode']));let {buffer:_0x5ddb3a}=this['buffer'],_0x5345b1=this['stack']['length']-0x1;if(_0x302e17<0x0){let _0x1e6e17=_0x5345b1<0x0?0x0:this['stack'][_0x5345b1]+0x4;if(this['index']!=_0x1e6e17)return this['yieldBuf'](_0x5ddb3a['findChild'](_0x1e6e17,this['index'],-0x1,0x0,0x4));}else{let _0x1f3440=_0x5ddb3a['buffer'][this['index']+0x3];if(_0x1f3440<(_0x5345b1<0x0?_0x5ddb3a['buffer']['length']:_0x5ddb3a['buffer'][this['stack'][_0x5345b1]+0x3]))return this['yieldBuf'](_0x1f3440);}return _0x5345b1<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x302e17,_0x302e17,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x4ea9a9){let _0x5b3261,_0x230e20,{buffer:_0x361446}=this;if(_0x361446){if(_0x4ea9a9>0x0){if(this['index']<_0x361446['buffer']['buffer']['length'])return!0x1;}else{for(let _0x587ecd=0x0;_0x587ecd<this['index'];_0x587ecd++)if(_0x361446['buffer']['buffer'][_0x587ecd+0x3]<this['index'])return!0x1;}({index:_0x5b3261,parent:_0x230e20}=_0x361446);}else({index:_0x5b3261,_parent:_0x230e20}=this['_tree']);for(;_0x230e20;{index:_0x5b3261,_parent:_0x230e20}=_0x230e20)if(_0x5b3261>-0x1)for(let _0xb50e9c=_0x5b3261+_0x4ea9a9,_0x15c6b8=_0x4ea9a9<0x0?-0x1:_0x230e20['_tree']['children']['length'];_0xb50e9c!=_0x15c6b8;_0xb50e9c+=_0x4ea9a9){let _0x219948=_0x230e20['_tree']['children'][_0xb50e9c];if(this['mode']&lS['IncludeAnonymous']||_0x219948 instanceof TreeBuffer||!_0x219948['type']['isAnonymous']||gS(_0x219948))return!0x1;}return!0x0;}['move'](_0x1d1b56,_0x32b91b){if(_0x32b91b&&this['enterChild'](_0x1d1b56,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x1d1b56))return!0x0;if(this['atLastNode'](_0x1d1b56)||!this['parent']())return!0x1;}}['next'](_0x1d09a2=!0x0){return this['move'](0x1,_0x1d09a2);}['prev'](_0xaedc77=!0x0){return this['move'](-0x1,_0xaedc77);}['moveTo'](_0xfc5abc,_0x196660=0x0){for(;(this['from']==this['to']||(_0x196660<0x1?this['from']>=_0xfc5abc:this['from']>_0xfc5abc)||(_0x196660>-0x1?this['to']<=_0xfc5abc:this['to']<_0xfc5abc))&&this['parent'](););for(;this['enterChild'](0x1,_0xfc5abc,_0x196660););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x34e734=this['bufferNode'],_0x3b4fe9=null,_0x308182=0x0;if(_0x34e734&&_0x34e734['context']==this['buffer']){t:for(let _0x3ffb69=this['index'],_0x42ffe2=this['stack']['length'];_0x42ffe2>=0x0;){for(let _0x2a9f39=_0x34e734;_0x2a9f39;_0x2a9f39=_0x2a9f39['_parent'])if(_0x2a9f39['index']==_0x3ffb69){if(_0x3ffb69==this['index'])return _0x2a9f39;_0x3b4fe9=_0x2a9f39,_0x308182=_0x42ffe2+0x1;break t;}_0x3ffb69=this['stack'][--_0x42ffe2];}}for(let _0x3645a0=_0x308182;_0x3645a0<this['stack']['length'];_0x3645a0++)_0x3b4fe9=new BufferNode(this['buffer'],_0x3b4fe9,this['stack'][_0x3645a0]);return this['bufferNode']=new BufferNode(this['buffer'],_0x3b4fe9,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x4c358f,_0x1337bf){for(let _0x477672=0x0;;){let _0x1b2244=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x4c358f(this)){if(this['firstChild']()){_0x477672++;continue;}this['type']['isAnonymous']||(_0x1b2244=!0x0);}for(;;){if(_0x1b2244&&_0x1337bf&&_0x1337bf(this),_0x1b2244=this['type']['isAnonymous'],!_0x477672)return;if(this['nextSibling']())break;this['parent'](),_0x477672--,_0x1b2244=!0x0;}}}['matchContext'](_0x2ac05a){if(!this['buffer'])return fS(this['node']['parent'],_0x2ac05a);let {buffer:_0x1b44a7}=this['buffer'],{types:_0x42cf9f}=_0x1b44a7['set'];for(let _0x459dac=_0x2ac05a['length']-0x1,_0x59d3b8=this['stack']['length']-0x1;_0x459dac>=0x0;_0x59d3b8--){if(_0x59d3b8<0x0)return fS(this['_tree'],_0x2ac05a,_0x459dac);let _0x1c307e=_0x42cf9f[_0x1b44a7['buffer'][this['stack'][_0x59d3b8]]];if(!_0x1c307e['isAnonymous']){if(_0x2ac05a[_0x459dac]&&_0x2ac05a[_0x459dac]!=_0x1c307e['name'])return!0x1;_0x459dac--;}}return!0x0;}}function gS(_0x31ca1e){return _0x31ca1e['children']['some'](_0x28b09c=>_0x28b09c instanceof TreeBuffer||!_0x28b09c['type']['isAnonymous']||gS(_0x28b09c));}const pS=new WeakMap();function OS(_0x59ac5f,_0x5da190){if(!_0x59ac5f['isAnonymous']||_0x5da190 instanceof TreeBuffer||_0x5da190['type']!=_0x59ac5f)return 0x1;let _0x100b3a=pS['get'](_0x5da190);if(null==_0x100b3a){_0x100b3a=0x1;for(let _0x1e6faa of _0x5da190['children']){if(_0x1e6faa['type']!=_0x59ac5f||!(_0x1e6faa instanceof Tree)){_0x100b3a=0x1;break;}_0x100b3a+=OS(_0x59ac5f,_0x1e6faa);}pS['set'](_0x5da190,_0x100b3a);}return _0x100b3a;}function wS(_0x14eb22,_0x17e332,_0x317577,_0x17c4c3,_0x2bae79,_0x5a6e04,_0x4f5f9e,_0x32f0fd,_0x316a0b){let _0x45f557=0x0;for(let _0x101a56=_0x17c4c3;_0x101a56<_0x2bae79;_0x101a56++)_0x45f557+=OS(_0x14eb22,_0x17e332[_0x101a56]);let _0x58cfad=Math['ceil'](1.5*_0x45f557/0x8),_0x53ccda=[],_0x4058fc=[];return function _0x37450e(_0x208505,_0x45473b,_0xa9546f,_0x41a221,_0x34b65b){for(let _0x2114d3=_0xa9546f;_0x2114d3<_0x41a221;){let _0x207e6e=_0x2114d3,_0x303df9=_0x45473b[_0x2114d3],_0x3bee63=OS(_0x14eb22,_0x208505[_0x2114d3]);for(_0x2114d3++;_0x2114d3<_0x41a221;_0x2114d3++){let _0x3079e7=OS(_0x14eb22,_0x208505[_0x2114d3]);if(_0x3bee63+_0x3079e7>=_0x58cfad)break;_0x3bee63+=_0x3079e7;}if(_0x2114d3==_0x207e6e+0x1){if(_0x3bee63>_0x58cfad){let _0x131c16=_0x208505[_0x207e6e];_0x37450e(_0x131c16['children'],_0x131c16['positions'],0x0,_0x131c16['children']['length'],_0x45473b[_0x207e6e]+_0x34b65b);continue;}_0x53ccda['push'](_0x208505[_0x207e6e]);}else{let _0x25a681=_0x45473b[_0x2114d3-0x1]+_0x208505[_0x2114d3-0x1]['length']-_0x303df9;_0x53ccda['push'](wS(_0x14eb22,_0x208505,_0x45473b,_0x207e6e,_0x2114d3,_0x303df9,_0x25a681,null,_0x316a0b));}_0x4058fc['push'](_0x303df9+_0x34b65b-_0x5a6e04);}}(_0x17e332,_0x317577,_0x17c4c3,_0x2bae79,0x0),(_0x32f0fd||_0x316a0b)(_0x53ccda,_0x4058fc,_0x4f5f9e);}class NodeWeakMap{constructor(){this['map']=new WeakMap();}['setBuffer'](_0xebe0b6,_0x22971f,_0x44e52a){let _0x4ed74d=this['map']['get'](_0xebe0b6);_0x4ed74d||this['map']['set'](_0xebe0b6,_0x4ed74d=new Map()),_0x4ed74d['set'](_0x22971f,_0x44e52a);}['getBuffer'](_0x41bfb4,_0x492ba){let _0x37139f=this['map']['get'](_0x41bfb4);return _0x37139f&&_0x37139f['get'](_0x492ba);}['set'](_0x6393a2,_0x9749f8){_0x6393a2 instanceof BufferNode?this['setBuffer'](_0x6393a2['context']['buffer'],_0x6393a2['index'],_0x9749f8):_0x6393a2 instanceof TreeNode&&this['map']['set'](_0x6393a2['tree'],_0x9749f8);}['get'](_0x537637){return _0x537637 instanceof BufferNode?this['getBuffer'](_0x537637['context']['buffer'],_0x537637['index']):_0x537637 instanceof TreeNode?this['map']['get'](_0x537637['tree']):void 0x0;}['cursorSet'](_0x2fc4f0,_0x166434){_0x2fc4f0['buffer']?this['setBuffer'](_0x2fc4f0['buffer']['buffer'],_0x2fc4f0['index'],_0x166434):this['map']['set'](_0x2fc4f0['tree'],_0x166434);}['cursorGet'](_0x3c909b){return _0x3c909b['buffer']?this['getBuffer'](_0x3c909b['buffer']['buffer'],_0x3c909b['index']):this['map']['get'](_0x3c909b['tree']);}}class TreeFragment{constructor(_0x562783,_0x2b8a13,_0xc3a783,_0x5ecb25,_0x5383f6=!0x1,_0x195205=!0x1){this['from']=_0x562783,this['to']=_0x2b8a13,this['tree']=_0xc3a783,this['offset']=_0x5ecb25,this['open']=(_0x5383f6?0x1:0x0)|(_0x195205?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x5d85b3,_0xc77a6b=[],_0x174e3f=!0x1){let _0x5ae45a=[new TreeFragment(0x0,_0x5d85b3['length'],_0x5d85b3,0x0,!0x1,_0x174e3f)];for(let _0x4064f7 of _0xc77a6b)_0x4064f7['to']>_0x5d85b3['length']&&_0x5ae45a['push'](_0x4064f7);return _0x5ae45a;}static['applyChanges'](_0x451cc4,_0x1341cc,_0x24c589=0x80){if(!_0x1341cc['length'])return _0x451cc4;let _0x369607=[],_0x497ac4=0x1,_0x4e87a0=_0x451cc4['length']?_0x451cc4[0x0]:null;for(let _0x499142=0x0,_0x406665=0x0,_0x143775=0x0;;_0x499142++){let _0x475019=_0x499142<_0x1341cc['length']?_0x1341cc[_0x499142]:null,_0x5703c9=_0x475019?_0x475019['fromA']:0x3b9aca00;if(_0x5703c9-_0x406665>=_0x24c589)for(;_0x4e87a0&&_0x4e87a0['from']<_0x5703c9;){let _0x395508=_0x4e87a0;if(_0x406665>=_0x395508['from']||_0x5703c9<=_0x395508['to']||_0x143775){let _0x2b6742=Math['max'](_0x395508['from'],_0x406665)-_0x143775,_0x215b3b=Math['min'](_0x395508['to'],_0x5703c9)-_0x143775;_0x395508=_0x2b6742>=_0x215b3b?null:new TreeFragment(_0x2b6742,_0x215b3b,_0x395508['tree'],_0x395508['offset']+_0x143775,_0x499142>0x0,!!_0x475019);}if(_0x395508&&_0x369607['push'](_0x395508),_0x4e87a0['to']>_0x5703c9)break;_0x4e87a0=_0x497ac4<_0x451cc4['length']?_0x451cc4[_0x497ac4++]:null;}if(!_0x475019)break;_0x406665=_0x475019['toA'],_0x143775=_0x475019['toA']-_0x475019['toB'];}return _0x369607;}}class Parser{['startParse'](_0x199db9,_0x30fb67,_0x56d481){return'string'==typeof _0x199db9&&(_0x199db9=new StringInput(_0x199db9)),_0x56d481=_0x56d481?_0x56d481['length']?_0x56d481['map'](_0x2d454a=>new Range(_0x2d454a['from'],_0x2d454a['to'])):[new Range(0x0,0x0)]:[new Range(0x0,_0x199db9['length'])],this['createParse'](_0x199db9,_0x30fb67||[],_0x56d481);}['parse'](_0x3a9852,_0x4e7d27,_0x5692c3){let _0x19bb7f=this['startParse'](_0x3a9852,_0x4e7d27,_0x5692c3);for(;;){let _0x132c51=_0x19bb7f['advance']();if(_0x132c51)return _0x132c51;}}}class StringInput{constructor(_0xc2b448){this['string']=_0xc2b448;}get['length'](){return this['string']['length'];}['chunk'](_0x4f7ed4){return this['string']['slice'](_0x4f7ed4);}get['lineChunks'](){return!0x1;}['read'](_0x341adb,_0x170c5c){return this['string']['slice'](_0x341adb,_0x170c5c);}}function bS(_0x4555dd){return(_0x491421,_0x4486c0,_0x4116a2,_0x51cec7)=>new MixedParse(_0x491421,_0x4555dd,_0x4486c0,_0x4116a2,_0x51cec7);}class InnerParse{constructor(_0x302044,_0x280fd7,_0x3e0bcb,_0xe51292,_0x54f109){this['parser']=_0x302044,this['parse']=_0x280fd7,this['overlay']=_0x3e0bcb,this['target']=_0xe51292,this['from']=_0x54f109;}}function yS(_0x3101bf){if(!_0x3101bf['length']||_0x3101bf['some'](_0x49e3d1=>_0x49e3d1['from']>=_0x49e3d1['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x3101bf));}class ActiveOverlay{constructor(_0x42456b,_0x2bd0a4,_0x3b2e24,_0x24f735,_0x22a3f0,_0x696624,_0x380d69){this['parser']=_0x42456b,this['predicate']=_0x2bd0a4,this['mounts']=_0x3b2e24,this['index']=_0x24f735,this['start']=_0x22a3f0,this['target']=_0x696624,this['prev']=_0x380d69,this['depth']=0x0,this['ranges']=[];}}const _S=new NodeProp({'perNode':!0x0});class MixedParse{constructor(_0x2ca757,_0x1a0236,_0x2146d9,_0x11918d,_0x37edbd){this['nest']=_0x1a0236,this['input']=_0x2146d9,this['fragments']=_0x11918d,this['ranges']=_0x37edbd,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x2ca757;}['advance'](){if(this['baseParse']){let _0x4bee54=this['baseParse']['advance']();if(!_0x4bee54)return null;if(this['baseParse']=null,this['baseTree']=_0x4bee54,this['startInner'](),null!=this['stoppedAt']){for(let _0x18f7a6 of this['inner'])_0x18f7a6['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x4f7e69=this['baseTree'];return null!=this['stoppedAt']&&(_0x4f7e69=new Tree(_0x4f7e69['type'],_0x4f7e69['children'],_0x4f7e69['positions'],_0x4f7e69['length'],_0x4f7e69['propValues']['concat']([[_S,this['stoppedAt']]]))),_0x4f7e69;}let _0x171233=this['inner'][this['innerDone']],_0x14cf76=_0x171233['parse']['advance']();if(_0x14cf76){this['innerDone']++;let _0x5ad791=Object['assign'](Object['create'](null),_0x171233['target']['props']);_0x5ad791[NodeProp['mounted']['id']]=new MountedTree(_0x14cf76,_0x171233['overlay'],_0x171233['parser']),_0x171233['target']['props']=_0x5ad791;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x514a63=this['input']['length'];for(let _0x14f8e4=this['innerDone'];_0x14f8e4<this['inner']['length'];_0x14f8e4++)this['inner'][_0x14f8e4]['from']<_0x514a63&&(_0x514a63=Math['min'](_0x514a63,this['inner'][_0x14f8e4]['parse']['parsedPos']));return _0x514a63;}['stopAt'](_0x474b00){if(this['stoppedAt']=_0x474b00,this['baseParse'])this['baseParse']['stopAt'](_0x474b00);else{for(let _0x117579=this['innerDone'];_0x117579<this['inner']['length'];_0x117579++)this['inner'][_0x117579]['parse']['stopAt'](_0x474b00);}}['startInner'](){let _0x32e3c7=new AS(this['fragments']),_0x5a24e2=null,_0x56a210=null,_0x46e83d=new TreeCursor(new TreeNode(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),lS['IncludeAnonymous']|lS['IgnoreMounts']);t:for(let _0x459ba6,_0x1ad3fb;;){let _0x108879,_0xdad1e=!0x0;if(null!=this['stoppedAt']&&_0x46e83d['from']>=this['stoppedAt'])_0xdad1e=!0x1;else{if(_0x32e3c7['hasNode'](_0x46e83d)){if(_0x5a24e2){let _0xaafa6b=_0x5a24e2['mounts']['find'](_0x3b3dba=>_0x3b3dba['frag']['from']<=_0x46e83d['from']&&_0x3b3dba['frag']['to']>=_0x46e83d['to']&&_0x3b3dba['mount']['overlay']);if(_0xaafa6b)for(let _0x3f23e4 of _0xaafa6b['mount']['overlay']){let _0x1a7c9f=_0x3f23e4['from']+_0xaafa6b['pos'],_0x50f8fd=_0x3f23e4['to']+_0xaafa6b['pos'];_0x1a7c9f>=_0x46e83d['from']&&_0x50f8fd<=_0x46e83d['to']&&!_0x5a24e2['ranges']['some'](_0xb10eec=>_0xb10eec['from']<_0x50f8fd&&_0xb10eec['to']>_0x1a7c9f)&&_0x5a24e2['ranges']['push']({'from':_0x1a7c9f,'to':_0x50f8fd});}}_0xdad1e=!0x1;}else{if(_0x56a210&&(_0x1ad3fb=vS(_0x56a210['ranges'],_0x46e83d['from'],_0x46e83d['to'])))_0xdad1e=0x2!=_0x1ad3fb;else{if(!_0x46e83d['type']['isAnonymous']&&(_0x459ba6=this['nest'](_0x46e83d,this['input']))&&(_0x46e83d['from']<_0x46e83d['to']||!_0x459ba6['overlay'])){_0x46e83d['tree']||(ES(_0x46e83d),_0x5a24e2&&_0x5a24e2['depth']++,_0x56a210&&_0x56a210['depth']++);let _0x55c08f=_0x32e3c7['findMounts'](_0x46e83d['from'],_0x459ba6['parser']);if('function'==typeof _0x459ba6['overlay'])_0x5a24e2=new ActiveOverlay(_0x459ba6['parser'],_0x459ba6['overlay'],_0x55c08f,this['inner']['length'],_0x46e83d['from'],_0x46e83d['tree'],_0x5a24e2);else{let _0x22793e=SS(this['ranges'],_0x459ba6['overlay']||(_0x46e83d['from']<_0x46e83d['to']?[new Range(_0x46e83d['from'],_0x46e83d['to'])]:[]));_0x22793e['length']&&yS(_0x22793e),!_0x22793e['length']&&_0x459ba6['overlay']||this['inner']['push'](new InnerParse(_0x459ba6['parser'],_0x22793e['length']?_0x459ba6['parser']['startParse'](this['input'],CS(_0x55c08f,_0x22793e),_0x22793e):_0x459ba6['parser']['startParse'](''),_0x459ba6['overlay']?_0x459ba6['overlay']['map'](_0x414b35=>new Range(_0x414b35['from']-_0x46e83d['from'],_0x414b35['to']-_0x46e83d['from'])):null,_0x46e83d['tree'],_0x22793e['length']?_0x22793e[0x0]['from']:_0x46e83d['from'])),_0x459ba6['overlay']?_0x22793e['length']&&(_0x56a210={'ranges':_0x22793e,'depth':0x0,'prev':_0x56a210}):_0xdad1e=!0x1;}}else{if(_0x5a24e2&&(_0x108879=_0x5a24e2['predicate'](_0x46e83d))&&(!0x0===_0x108879&&(_0x108879=new Range(_0x46e83d['from'],_0x46e83d['to'])),_0x108879['from']<_0x108879['to'])){let _0x32b5b5=_0x5a24e2['ranges']['length']-0x1;_0x32b5b5>=0x0&&_0x5a24e2['ranges'][_0x32b5b5]['to']==_0x108879['from']?_0x5a24e2['ranges'][_0x32b5b5]={'from':_0x5a24e2['ranges'][_0x32b5b5]['from'],'to':_0x108879['to']}:_0x5a24e2['ranges']['push'](_0x108879);}}}}}if(_0xdad1e&&_0x46e83d['firstChild']())_0x5a24e2&&_0x5a24e2['depth']++,_0x56a210&&_0x56a210['depth']++;else for(;!_0x46e83d['nextSibling']();){if(!_0x46e83d['parent']())break t;if(_0x5a24e2&&!--_0x5a24e2['depth']){let _0x4c5bb6=SS(this['ranges'],_0x5a24e2['ranges']);_0x4c5bb6['length']&&(yS(_0x4c5bb6),this['inner']['splice'](_0x5a24e2['index'],0x0,new InnerParse(_0x5a24e2['parser'],_0x5a24e2['parser']['startParse'](this['input'],CS(_0x5a24e2['mounts'],_0x4c5bb6),_0x4c5bb6),_0x5a24e2['ranges']['map'](_0xbc0dd1=>new Range(_0xbc0dd1['from']-_0x5a24e2['start'],_0xbc0dd1['to']-_0x5a24e2['start'])),_0x5a24e2['target'],_0x4c5bb6[0x0]['from']))),_0x5a24e2=_0x5a24e2['prev'];}_0x56a210&&!--_0x56a210['depth']&&(_0x56a210=_0x56a210['prev']);}}}}function vS(_0x5ecd3c,_0x2265f2,_0x5430a4){for(let _0x1a559b of _0x5ecd3c){if(_0x1a559b['from']>=_0x5430a4)break;if(_0x1a559b['to']>_0x2265f2)return _0x1a559b['from']<=_0x2265f2&&_0x1a559b['to']>=_0x5430a4?0x2:0x1;}return 0x0;}function TS(_0x23e93e,_0x2c4945,_0x2e0520,_0x27860c,_0x238ac5,_0x217a0c){if(_0x2c4945<_0x2e0520){let _0x2962bf=_0x23e93e['buffer'][_0x2c4945+0x1];_0x27860c['push'](_0x23e93e['slice'](_0x2c4945,_0x2e0520,_0x2962bf)),_0x238ac5['push'](_0x2962bf-_0x217a0c);}}function ES(_0x537733){let {node:_0x5ad461}=_0x537733,_0x17d2a5=[],_0x93671c=_0x5ad461['context']['buffer'];do{_0x17d2a5['push'](_0x537733['index']),_0x537733['parent']();}while(!_0x537733['tree']);let _0x55af46=_0x537733['tree'],_0x3dacda=_0x55af46['children']['indexOf'](_0x93671c),_0x5b9291=_0x55af46['children'][_0x3dacda],_0x333173=_0x5b9291['buffer'],_0x4f9f4d=[_0x3dacda];_0x55af46['children'][_0x3dacda]=function _0x212f58(_0x49af66,_0x1c4fe1,_0x3ffa83,_0x5abe8c,_0x23cc9b,_0x1c614e){let _0x4ede94=_0x17d2a5[_0x1c614e],_0x5410cf=[],_0xefba25=[];TS(_0x5b9291,_0x49af66,_0x4ede94,_0x5410cf,_0xefba25,_0x5abe8c);let _0x4d28a8=_0x333173[_0x4ede94+0x1],_0x161018=_0x333173[_0x4ede94+0x2];_0x4f9f4d['push'](_0x5410cf['length']);let _0x522ba1=_0x1c614e?_0x212f58(_0x4ede94+0x4,_0x333173[_0x4ede94+0x3],_0x5b9291['set']['types'][_0x333173[_0x4ede94]],_0x4d28a8,_0x161018-_0x4d28a8,_0x1c614e-0x1):_0x5ad461['toTree']();return _0x5410cf['push'](_0x522ba1),_0xefba25['push'](_0x4d28a8-_0x5abe8c),TS(_0x5b9291,_0x333173[_0x4ede94+0x3],_0x1c4fe1,_0x5410cf,_0xefba25,_0x5abe8c),new Tree(_0x3ffa83,_0x5410cf,_0xefba25,_0x23cc9b);}(0x0,_0x333173['length'],NodeType['none'],0x0,_0x5b9291['length'],_0x17d2a5['length']-0x1);for(let _0x2ae5b4 of _0x4f9f4d){let _0x3e6426=_0x537733['tree']['children'][_0x2ae5b4],_0xc5d5ab=_0x537733['tree']['positions'][_0x2ae5b4];_0x537733['yield'](new TreeNode(_0x3e6426,_0xc5d5ab+_0x537733['from'],_0x2ae5b4,_0x537733['_tree']));}}class StructureCursor{constructor(_0x255598,_0xe10f5e){this['offset']=_0xe10f5e,this['done']=!0x1,this['cursor']=_0x255598['cursor'](lS['IncludeAnonymous']|lS['IgnoreMounts']);}['moveTo'](_0x3b2be8){let {cursor:_0x4915cc}=this,_0x5e7d6e=_0x3b2be8-this['offset'];for(;!this['done']&&_0x4915cc['from']<_0x5e7d6e;)_0x4915cc['to']>=_0x3b2be8&&_0x4915cc['enter'](_0x5e7d6e,0x1,lS['IgnoreOverlays']|lS['ExcludeBuffers'])||_0x4915cc['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x56f744){if(this['moveTo'](_0x56f744['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x56f744['from']&&this['cursor']['tree'])for(let _0x5c14e3=this['cursor']['tree'];;){if(_0x5c14e3==_0x56f744['tree'])return!0x0;if(!(_0x5c14e3['children']['length']&&0x0==_0x5c14e3['positions'][0x0]&&_0x5c14e3['children'][0x0]instanceof Tree))break;_0x5c14e3=_0x5c14e3['children'][0x0];}return!0x1;}}let AS=class FragmentCursor{constructor(_0x18f836){var _0xa814ad;if(this['fragments']=_0x18f836,this['curTo']=0x0,this['fragI']=0x0,_0x18f836['length']){let _0x4c8470=this['curFrag']=_0x18f836[0x0];this['curTo']=null!==(_0xa814ad=_0x4c8470['tree']['prop'](_S))&&void 0x0!==_0xa814ad?_0xa814ad:_0x4c8470['to'],this['inner']=new StructureCursor(_0x4c8470['tree'],-_0x4c8470['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x3c6b84){for(;this['curFrag']&&_0x3c6b84['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x3c6b84['from']&&this['curTo']>=_0x3c6b84['to']&&this['inner']['hasNode'](_0x3c6b84);}['nextFrag'](){var _0x325f68;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x28c2fe=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x325f68=_0x28c2fe['tree']['prop'](_S))&&void 0x0!==_0x325f68?_0x325f68:_0x28c2fe['to'],this['inner']=new StructureCursor(_0x28c2fe['tree'],-_0x28c2fe['offset']);}}['findMounts'](_0x2901d8,_0x144c48){var _0x2d9961;let _0x389c91=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x2901d8,0x1);for(let _0x4dfbd7=this['inner']['cursor']['node'];_0x4dfbd7;_0x4dfbd7=_0x4dfbd7['parent']){let _0x5dea15=null===(_0x2d9961=_0x4dfbd7['tree'])||void 0x0===_0x2d9961?void 0x0:_0x2d9961['prop'](NodeProp['mounted']);if(_0x5dea15&&_0x5dea15['parser']==_0x144c48)for(let _0x4673cb=this['fragI'];_0x4673cb<this['fragments']['length'];_0x4673cb++){let _0x9a8059=this['fragments'][_0x4673cb];if(_0x9a8059['from']>=_0x4dfbd7['to'])break;_0x9a8059['tree']==this['curFrag']['tree']&&_0x389c91['push']({'frag':_0x9a8059,'pos':_0x4dfbd7['from']-_0x9a8059['offset'],'mount':_0x5dea15});}}}return _0x389c91;}};function SS(_0xd90ac8,_0x1874cd){let _0x708a=null,_0x261511=_0x1874cd;for(let _0x404b04=0x1,_0x3dacc3=0x0;_0x404b04<_0xd90ac8['length'];_0x404b04++){let _0x1033e7=_0xd90ac8[_0x404b04-0x1]['to'],_0x4dab1f=_0xd90ac8[_0x404b04]['from'];for(;_0x3dacc3<_0x261511['length'];_0x3dacc3++){let _0x4d0fd7=_0x261511[_0x3dacc3];if(_0x4d0fd7['from']>=_0x4dab1f)break;_0x4d0fd7['to']<=_0x1033e7||(_0x708a||(_0x261511=_0x708a=_0x1874cd['slice']()),_0x4d0fd7['from']<_0x1033e7?(_0x708a[_0x3dacc3]=new Range(_0x4d0fd7['from'],_0x1033e7),_0x4d0fd7['to']>_0x4dab1f&&_0x708a['splice'](_0x3dacc3+0x1,0x0,new Range(_0x4dab1f,_0x4d0fd7['to']))):_0x4d0fd7['to']>_0x4dab1f?_0x708a[_0x3dacc3--]=new Range(_0x4dab1f,_0x4d0fd7['to']):_0x708a['splice'](_0x3dacc3--,0x1));}}return _0x261511;}function IS(_0x3799c2,_0x1999d0,_0x48b96d,_0x6e54f1){let _0x29ea1a=0x0,_0x3f4183=0x0,_0x5b1a9c=!0x1,_0x5b9059=!0x1,_0x4e116c=-0x3b9aca00,_0x246317=[];for(;;){let _0x32530b=_0x29ea1a==_0x3799c2['length']?0x3b9aca00:_0x5b1a9c?_0x3799c2[_0x29ea1a]['to']:_0x3799c2[_0x29ea1a]['from'],_0x3454a4=_0x3f4183==_0x1999d0['length']?0x3b9aca00:_0x5b9059?_0x1999d0[_0x3f4183]['to']:_0x1999d0[_0x3f4183]['from'];if(_0x5b1a9c!=_0x5b9059){let _0x38324a=Math['max'](_0x4e116c,_0x48b96d),_0x124ae5=Math['min'](_0x32530b,_0x3454a4,_0x6e54f1);_0x38324a<_0x124ae5&&_0x246317['push'](new Range(_0x38324a,_0x124ae5));}if(_0x4e116c=Math['min'](_0x32530b,_0x3454a4),0x3b9aca00==_0x4e116c)break;_0x32530b==_0x4e116c&&(_0x5b1a9c?(_0x5b1a9c=!0x1,_0x29ea1a++):_0x5b1a9c=!0x0),_0x3454a4==_0x4e116c&&(_0x5b9059?(_0x5b9059=!0x1,_0x3f4183++):_0x5b9059=!0x0);}return _0x246317;}function CS(_0x44cf41,_0x2e2dfa){let _0x4c440d=[];for(let {pos:_0x36295a,mount:_0x45e23f,frag:_0x267636}of _0x44cf41){let _0x5f189d=_0x36295a+(_0x45e23f['overlay']?_0x45e23f['overlay'][0x0]['from']:0x0),_0x34d160=_0x5f189d+_0x45e23f['tree']['length'],_0x4783e4=Math['max'](_0x267636['from'],_0x5f189d),_0x105336=Math['min'](_0x267636['to'],_0x34d160);if(_0x45e23f['overlay']){let _0x47bc8a=IS(_0x2e2dfa,_0x45e23f['overlay']['map'](_0x26e8a1=>new Range(_0x26e8a1['from']+_0x36295a,_0x26e8a1['to']+_0x36295a)),_0x4783e4,_0x105336);for(let _0xb5fccd=0x0,_0x45aa26=_0x4783e4;;_0xb5fccd++){let _0x2aaaed=_0xb5fccd==_0x47bc8a['length'],_0x32c4f5=_0x2aaaed?_0x105336:_0x47bc8a[_0xb5fccd]['from'];if(_0x32c4f5>_0x45aa26&&_0x4c440d['push'](new TreeFragment(_0x45aa26,_0x32c4f5,_0x45e23f['tree'],-_0x5f189d,_0x267636['from']>=_0x45aa26||_0x267636['openStart'],_0x267636['to']<=_0x32c4f5||_0x267636['openEnd'])),_0x2aaaed)break;_0x45aa26=_0x47bc8a[_0xb5fccd]['to'];}}else _0x4c440d['push'](new TreeFragment(_0x4783e4,_0x105336,_0x45e23f['tree'],-_0x5f189d,_0x267636['from']>=_0x5f189d||_0x267636['openStart'],_0x267636['to']<=_0x34d160||_0x267636['openEnd']));}return _0x4c440d;}let kS=0x0;class Tag{constructor(_0x465ca5,_0x119b04,_0x56341a,_0x211d8d){this['name']=_0x465ca5,this['set']=_0x119b04,this['base']=_0x56341a,this['modified']=_0x211d8d,this['id']=kS++;}['toString'](){let {name:_0x42c4b}=this;for(let _0x46d0cf of this['modified'])_0x46d0cf['name']&&(_0x42c4b=_0x46d0cf['name']+'('+_0x42c4b+')');return _0x42c4b;}static['define'](_0x3cb9ef,_0x226032){let _0xc130ff='string'==typeof _0x3cb9ef?_0x3cb9ef:'?';if(_0x3cb9ef instanceof Tag&&(_0x226032=_0x3cb9ef),null==_0x226032?void 0x0:_0x226032['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x3aad48=new Tag(_0xc130ff,[],null,[]);if(_0x3aad48['set']['push'](_0x3aad48),_0x226032){for(let t of _0x226032['set'])_0x3aad48['set']['push'](t);}return _0x3aad48;}static['defineModifier'](_0x11f943){let _0x2a8038=new Modifier(_0x11f943);return _0x159390=>_0x159390['modified']['indexOf'](_0x2a8038)>-0x1?_0x159390:Modifier['get'](_0x159390['base']||_0x159390,_0x159390['modified']['concat'](_0x2a8038)['sort']((_0x595c32,_0x1f8989)=>_0x595c32['id']-_0x1f8989['id']));}}let xS=0x0;class Modifier{constructor(_0x2854b5){this['name']=_0x2854b5,this['instances']=[],this['id']=xS++;}static['get'](_0xb045b1,_0x33f3e0){if(!_0x33f3e0['length'])return _0xb045b1;let _0x12cd87=_0x33f3e0[0x0]['instances']['find'](t=>t['base']==_0xb045b1&&function(_0x57a80d,_0x19a664){return _0x57a80d['length']==_0x19a664['length']&&_0x57a80d['every']((_0x4af7d0,_0x1bdeed)=>_0x4af7d0==_0x19a664[_0x1bdeed]);}(_0x33f3e0,t['modified']));if(_0x12cd87)return _0x12cd87;let _0x4eab78=[],_0x30cb8d=new Tag(_0xb045b1['name'],_0x4eab78,_0xb045b1,_0x33f3e0);for(let _0x134034 of _0x33f3e0)_0x134034['instances']['push'](_0x30cb8d);let _0x4a0cc4=function(_0x3aa4ca){let _0x3b0594=[[]];for(let _0x5e4d90=0x0;_0x5e4d90<_0x3aa4ca['length'];_0x5e4d90++)for(let _0x50cc81=0x0,_0x504591=_0x3b0594['length'];_0x50cc81<_0x504591;_0x50cc81++)_0x3b0594['push'](_0x3b0594[_0x50cc81]['concat'](_0x3aa4ca[_0x5e4d90]));return _0x3b0594['sort']((_0x5849db,_0x37090c)=>_0x37090c['length']-_0x5849db['length']);}(_0x33f3e0);for(let _0xdd45d7 of _0xb045b1['set'])if(!_0xdd45d7['modified']['length']){for(let _0x3cbb8e of _0x4a0cc4)_0x4eab78['push'](Modifier['get'](_0xdd45d7,_0x3cbb8e));}return _0x30cb8d;}}function RS(_0xe7e62a){let _0x2bcd27=Object['create'](null);for(let _0x2278c5 in _0xe7e62a){let _0x274702=_0xe7e62a[_0x2278c5];Array['isArray'](_0x274702)||(_0x274702=[_0x274702]);for(let _0x4dbb51 of _0x2278c5['split']('\x20'))if(_0x4dbb51){let _0xfff531=[],_0x5506cd=0x2,_0x58d048=_0x4dbb51;for(let _0x424246=0x0;;){if('...'==_0x58d048&&_0x424246>0x0&&_0x424246+0x3==_0x4dbb51['length']){_0x5506cd=0x1;break;}let _0x5c9224=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x58d048);if(!_0x5c9224)throw new RangeError('Invalid\x20path:\x20'+_0x4dbb51);if(_0xfff531['push']('*'==_0x5c9224[0x0]?'':'\x22'==_0x5c9224[0x0][0x0]?JSON['parse'](_0x5c9224[0x0]):_0x5c9224[0x0]),_0x424246+=_0x5c9224[0x0]['length'],_0x424246==_0x4dbb51['length'])break;let _0x526b07=_0x4dbb51[_0x424246++];if(_0x424246==_0x4dbb51['length']&&'!'==_0x526b07){_0x5506cd=0x0;break;}if('/'!=_0x526b07)throw new RangeError('Invalid\x20path:\x20'+_0x4dbb51);_0x58d048=_0x4dbb51['slice'](_0x424246);}let _0x37614e=_0xfff531['length']-0x1,_0xd10d23=_0xfff531[_0x37614e];if(!_0xd10d23)throw new RangeError('Invalid\x20path:\x20'+_0x4dbb51);let _0x56aed4=new Rule(_0x274702,_0x5506cd,_0x37614e>0x0?_0xfff531['slice'](0x0,_0x37614e):null);_0x2bcd27[_0xd10d23]=_0x56aed4['sort'](_0x2bcd27[_0xd10d23]);}}return PS['add'](_0x2bcd27);}const PS=new NodeProp({'combine'(_0xa123e3,_0x565350){let _0x5b4248,_0x36f466,_0x597cbe;for(;_0xa123e3||_0x565350;){if(!_0xa123e3||_0x565350&&_0xa123e3['depth']>=_0x565350['depth']?(_0x597cbe=_0x565350,_0x565350=_0x565350['next']):(_0x597cbe=_0xa123e3,_0xa123e3=_0xa123e3['next']),_0x5b4248&&_0x5b4248['mode']==_0x597cbe['mode']&&!_0x597cbe['context']&&!_0x5b4248['context'])continue;let _0x37a4a0=new Rule(_0x597cbe['tags'],_0x597cbe['mode'],_0x597cbe['context']);_0x5b4248?_0x5b4248['next']=_0x37a4a0:_0x36f466=_0x37a4a0,_0x5b4248=_0x37a4a0;}return _0x36f466;}});class Rule{constructor(_0x2bd64c,_0x4ce73b,_0x1fa01a,_0x22d356){this['tags']=_0x2bd64c,this['mode']=_0x4ce73b,this['context']=_0x1fa01a,this['next']=_0x22d356;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x5349b0){return!_0x5349b0||_0x5349b0['depth']<this['depth']?(this['next']=_0x5349b0,this):(_0x5349b0['next']=this['sort'](_0x5349b0['next']),_0x5349b0);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function MS(_0x1713b9,_0xa0dee3){let _0x34f2a6=Object['create'](null);for(let _0x4e5b49 of _0x1713b9)if(Array['isArray'](_0x4e5b49['tag'])){for(let _0x3acfca of _0x4e5b49['tag'])_0x34f2a6[_0x3acfca['id']]=_0x4e5b49['class'];}else _0x34f2a6[_0x4e5b49['tag']['id']]=_0x4e5b49['class'];let {scope:_0x40b339,all:_0x168380=null}=_0xa0dee3||{};return{'style':_0x332dd1=>{let _0x357c47=_0x168380;for(let _0x398a9c of _0x332dd1)for(let _0x4068c4 of _0x398a9c['set']){let _0xe98dcb=_0x34f2a6[_0x4068c4['id']];if(_0xe98dcb){_0x357c47=_0x357c47?_0x357c47+'\x20'+_0xe98dcb:_0xe98dcb;break;}}return _0x357c47;},'scope':_0x40b339};}function NS(_0x323445,_0x10f06b,_0x202333,_0x315f01=0x0,_0x19517c=_0x323445['length']){let _0x431987=new HighlightBuilder(_0x315f01,Array['isArray'](_0x10f06b)?_0x10f06b:[_0x10f06b],_0x202333);_0x431987['highlightRange'](_0x323445['cursor'](),_0x315f01,_0x19517c,'',_0x431987['highlighters']),_0x431987['flush'](_0x19517c);}Rule['empty']=new Rule([],0x2,null);class HighlightBuilder{constructor(_0x2a4c9f,_0x197fc6,_0x2d4367){this['at']=_0x2a4c9f,this['highlighters']=_0x197fc6,this['span']=_0x2d4367,this['class']='';}['startSpan'](_0x5054b5,_0x15c86a){_0x15c86a!=this['class']&&(this['flush'](_0x5054b5),_0x5054b5>this['at']&&(this['at']=_0x5054b5),this['class']=_0x15c86a);}['flush'](_0x1e12a0){_0x1e12a0>this['at']&&this['class']&&this['span'](this['at'],_0x1e12a0,this['class']);}['highlightRange'](_0x454fce,_0x304b3a,_0x5c1b52,_0x589c75,_0x517ec2){let {type:_0x2261fc,from:_0x44a924,to:_0x4f2bdd}=_0x454fce;if(_0x44a924>=_0x5c1b52||_0x4f2bdd<=_0x304b3a)return;_0x2261fc['isTop']&&(_0x517ec2=this['highlighters']['filter'](_0x4a0513=>!_0x4a0513['scope']||_0x4a0513['scope'](_0x2261fc)));let _0x2994ce=_0x589c75,_0xe8a8fa=function(_0x3184a3){let _0x3d60d3=_0x3184a3['type']['prop'](PS);for(;_0x3d60d3&&_0x3d60d3['context']&&!_0x3184a3['matchContext'](_0x3d60d3['context']);)_0x3d60d3=_0x3d60d3['next'];return _0x3d60d3||null;}(_0x454fce)||Rule['empty'],_0x179246=function(_0x3707f8,_0x42da2c){let _0x19e401=null;for(let _0x46471c of _0x3707f8){let _0x40b28c=_0x46471c['style'](_0x42da2c);_0x40b28c&&(_0x19e401=_0x19e401?_0x19e401+'\x20'+_0x40b28c:_0x40b28c);}return _0x19e401;}(_0x517ec2,_0xe8a8fa['tags']);if(_0x179246&&(_0x2994ce&&(_0x2994ce+='\x20'),_0x2994ce+=_0x179246,0x1==_0xe8a8fa['mode']&&(_0x589c75+=(_0x589c75?'\x20':'')+_0x179246)),this['startSpan'](Math['max'](_0x304b3a,_0x44a924),_0x2994ce),_0xe8a8fa['opaque'])return;let _0x5c25c3=_0x454fce['tree']&&_0x454fce['tree']['prop'](NodeProp['mounted']);if(_0x5c25c3&&_0x5c25c3['overlay']){let _0x48b8da=_0x454fce['node']['enter'](_0x5c25c3['overlay'][0x0]['from']+_0x44a924,0x1),_0xd263d9=this['highlighters']['filter'](_0x4aeb51=>!_0x4aeb51['scope']||_0x4aeb51['scope'](_0x5c25c3['tree']['type'])),_0x51a6ee=_0x454fce['firstChild']();for(let _0x461396=0x0,_0x46f965=_0x44a924;;_0x461396++){let _0x121713=_0x461396<_0x5c25c3['overlay']['length']?_0x5c25c3['overlay'][_0x461396]:null,_0x484e9f=_0x121713?_0x121713['from']+_0x44a924:_0x4f2bdd,_0x523185=Math['max'](_0x304b3a,_0x46f965),_0x25dc58=Math['min'](_0x5c1b52,_0x484e9f);if(_0x523185<_0x25dc58&&_0x51a6ee){for(;_0x454fce['from']<_0x25dc58&&(this['highlightRange'](_0x454fce,_0x523185,_0x25dc58,_0x589c75,_0x517ec2),this['startSpan'](Math['min'](_0x25dc58,_0x454fce['to']),_0x2994ce),!(_0x454fce['to']>=_0x484e9f)&&_0x454fce['nextSibling']()););}if(!_0x121713||_0x484e9f>_0x5c1b52)break;_0x46f965=_0x121713['to']+_0x44a924,_0x46f965>_0x304b3a&&(this['highlightRange'](_0x48b8da['cursor'](),Math['max'](_0x304b3a,_0x121713['from']+_0x44a924),Math['min'](_0x5c1b52,_0x46f965),'',_0xd263d9),this['startSpan'](Math['min'](_0x5c1b52,_0x46f965),_0x2994ce));}_0x51a6ee&&_0x454fce['parent']();}else{if(_0x454fce['firstChild']()){_0x5c25c3&&(_0x589c75='');do{if(!(_0x454fce['to']<=_0x304b3a)){if(_0x454fce['from']>=_0x5c1b52)break;this['highlightRange'](_0x454fce,_0x304b3a,_0x5c1b52,_0x589c75,_0x517ec2),this['startSpan'](Math['min'](_0x5c1b52,_0x454fce['to']),_0x2994ce);}}while(_0x454fce['nextSibling']());_0x454fce['parent']();}}}}const t=Tag['define'],LS=t(),DS=t(),QS=t(DS),$S=t(DS),VS=t(),US=t(VS),BS=t(VS),FS=t(),jS=t(FS),HS=t(),GS=t(),ZS=t(),XS=t(ZS),qS=t(),zS={'comment':LS,'lineComment':t(LS),'blockComment':t(LS),'docComment':t(LS),'name':DS,'variableName':t(DS),'typeName':QS,'tagName':t(QS),'propertyName':$S,'attributeName':t($S),'className':t(DS),'labelName':t(DS),'namespace':t(DS),'macroName':t(DS),'literal':VS,'string':US,'docString':t(US),'character':t(US),'attributeValue':t(US),'number':BS,'integer':t(BS),'float':t(BS),'bool':t(VS),'regexp':t(VS),'escape':t(VS),'color':t(VS),'url':t(VS),'keyword':HS,'self':t(HS),'null':t(HS),'atom':t(HS),'unit':t(HS),'modifier':t(HS),'operatorKeyword':t(HS),'controlKeyword':t(HS),'definitionKeyword':t(HS),'moduleKeyword':t(HS),'operator':GS,'derefOperator':t(GS),'arithmeticOperator':t(GS),'logicOperator':t(GS),'bitwiseOperator':t(GS),'compareOperator':t(GS),'updateOperator':t(GS),'definitionOperator':t(GS),'typeOperator':t(GS),'controlOperator':t(GS),'punctuation':ZS,'separator':t(ZS),'bracket':XS,'angleBracket':t(XS),'squareBracket':t(XS),'paren':t(XS),'brace':t(XS),'content':FS,'heading':jS,'heading1':t(jS),'heading2':t(jS),'heading3':t(jS),'heading4':t(jS),'heading5':t(jS),'heading6':t(jS),'contentSeparator':t(FS),'list':t(FS),'quote':t(FS),'emphasis':t(FS),'strong':t(FS),'link':t(FS),'monospace':t(FS),'strikethrough':t(FS),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':qS,'documentMeta':t(qS),'annotation':t(qS),'processingInstruction':t(qS),'definition':Tag['defineModifier']('definition'),'constant':Tag['defineModifier']('constant'),'function':Tag['defineModifier']('function'),'standard':Tag['defineModifier']('standard'),'local':Tag['defineModifier']('local'),'special':Tag['defineModifier']('special')};for(let e in zS){let i=zS[e];i instanceof Tag&&(i['name']=e);}var YS;MS([{'tag':zS['link'],'class':'tok-link'},{'tag':zS['heading'],'class':'tok-heading'},{'tag':zS['emphasis'],'class':'tok-emphasis'},{'tag':zS['strong'],'class':'tok-strong'},{'tag':zS['keyword'],'class':'tok-keyword'},{'tag':zS['atom'],'class':'tok-atom'},{'tag':zS['bool'],'class':'tok-bool'},{'tag':zS['url'],'class':'tok-url'},{'tag':zS['labelName'],'class':'tok-labelName'},{'tag':zS['inserted'],'class':'tok-inserted'},{'tag':zS['deleted'],'class':'tok-deleted'},{'tag':zS['literal'],'class':'tok-literal'},{'tag':zS['string'],'class':'tok-string'},{'tag':zS['number'],'class':'tok-number'},{'tag':[zS['regexp'],zS['escape'],zS['special'](zS['string'])],'class':'tok-string2'},{'tag':zS['variableName'],'class':'tok-variableName'},{'tag':zS['local'](zS['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':zS['definition'](zS['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':zS['special'](zS['variableName']),'class':'tok-variableName2'},{'tag':zS['definition'](zS['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':zS['typeName'],'class':'tok-typeName'},{'tag':zS['namespace'],'class':'tok-namespace'},{'tag':zS['className'],'class':'tok-className'},{'tag':zS['macroName'],'class':'tok-macroName'},{'tag':zS['propertyName'],'class':'tok-propertyName'},{'tag':zS['operator'],'class':'tok-operator'},{'tag':zS['comment'],'class':'tok-comment'},{'tag':zS['meta'],'class':'tok-meta'},{'tag':zS['invalid'],'class':'tok-invalid'},{'tag':zS['punctuation'],'class':'tok-punctuation'}]);const KS=new NodeProp();function JS(_0x17f809){return Facet['define']({'combine':_0x17f809?_0x5d5c65=>_0x5d5c65['concat'](_0x17f809):void 0x0});}const tI=new NodeProp();class Language{constructor(_0x147006,_0x5182fb,_0x5cca50=[],_0x247a24=''){this['data']=_0x147006,this['name']=_0x247a24,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return iI(this);}}),this['parser']=_0x5182fb,this['extension']=[cI['of'](this),EditorState['languageData']['of']((_0xabc9ce,_0x1925ab,_0x53ee7a)=>{let _0x560ec3=eI(_0xabc9ce,_0x1925ab,_0x53ee7a),_0x88ce27=_0x560ec3['type']['prop'](KS);if(!_0x88ce27)return[];let _0x306e8f=_0xabc9ce['facet'](_0x88ce27),_0x4609ee=_0x560ec3['type']['prop'](tI);if(_0x4609ee){let _0x55ae5b=_0x560ec3['resolve'](_0x1925ab-_0x560ec3['from'],_0x53ee7a);for(let _0x43dc0f of _0x4609ee)if(_0x43dc0f['test'](_0x55ae5b,_0xabc9ce)){let _0x4f9b1e=_0xabc9ce['facet'](_0x43dc0f['facet']);return'replace'==_0x43dc0f['type']?_0x4f9b1e:_0x4f9b1e['concat'](_0x306e8f);}}return _0x306e8f;})]['concat'](_0x5cca50);}['isActiveAt'](_0x4cc935,_0x1e8d46,_0x14db3c=-0x1){return eI(_0x4cc935,_0x1e8d46,_0x14db3c)['type']['prop'](KS)==this['data'];}['findRegions'](_0x58e38b){let _0x51e0a4=_0x58e38b['facet'](cI);if((null==_0x51e0a4?void 0x0:_0x51e0a4['data'])==this['data'])return[{'from':0x0,'to':_0x58e38b['doc']['length']}];if(!_0x51e0a4||!_0x51e0a4['allowsNesting'])return[];let _0xa498c0=[],_0x2e8448=(_0x3c7054,_0x4be477)=>{if(_0x3c7054['prop'](KS)==this['data'])return void _0xa498c0['push']({'from':_0x4be477,'to':_0x4be477+_0x3c7054['length']});let _0x33e4ad=_0x3c7054['prop'](NodeProp['mounted']);if(_0x33e4ad){if(_0x33e4ad['tree']['prop'](KS)==this['data']){if(_0x33e4ad['overlay']){for(let _0x9627a6 of _0x33e4ad['overlay'])_0xa498c0['push']({'from':_0x9627a6['from']+_0x4be477,'to':_0x9627a6['to']+_0x4be477});}else _0xa498c0['push']({'from':_0x4be477,'to':_0x4be477+_0x3c7054['length']});return;}if(_0x33e4ad['overlay']){let _0x44d423=_0xa498c0['length'];if(_0x2e8448(_0x33e4ad['tree'],_0x33e4ad['overlay'][0x0]['from']+_0x4be477),_0xa498c0['length']>_0x44d423)return;}}for(let _0x2f4527=0x0;_0x2f4527<_0x3c7054['children']['length'];_0x2f4527++){let _0x3dd23c=_0x3c7054['children'][_0x2f4527];_0x3dd23c instanceof Tree&&_0x2e8448(_0x3dd23c,_0x3c7054['positions'][_0x2f4527]+_0x4be477);}};return _0x2e8448(iI(_0x58e38b),0x0),_0xa498c0;}get['allowsNesting'](){return!0x0;}}function eI(_0x4751ea,_0x103e6c,_0x2c35ff){let _0x146168=_0x4751ea['facet'](cI),_0x1e8db9=iI(_0x4751ea)['topNode'];if(!_0x146168||_0x146168['allowsNesting']){for(let _0x371efc=_0x1e8db9;_0x371efc;_0x371efc=_0x371efc['enter'](_0x103e6c,_0x2c35ff,lS['ExcludeBuffers']))_0x371efc['type']['isTop']&&(_0x1e8db9=_0x371efc);}return _0x1e8db9;}Language['setState']=StateEffect['define']();class LRLanguage extends Language{constructor(_0x1a695f,_0xd5bde8,_0x557737){super(_0x1a695f,_0xd5bde8,[],_0x557737),this['parser']=_0xd5bde8;}static['define'](_0x156d3d){let _0x56e3c6=JS(_0x156d3d['languageData']);return new LRLanguage(_0x56e3c6,_0x156d3d['parser']['configure']({'props':[KS['add'](_0x1e6e22=>_0x1e6e22['isTop']?_0x56e3c6:void 0x0)]}),_0x156d3d['name']);}['configure'](_0x5a74a6,_0x4ce427){return new LRLanguage(this['data'],this['parser']['configure'](_0x5a74a6),_0x4ce427||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function iI(_0x44868d){let _0x2be550=_0x44868d['field'](Language['state'],!0x1);return _0x2be550?_0x2be550['tree']:Tree['empty'];}class DocInput{constructor(_0x5f2bc4){this['doc']=_0x5f2bc4,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x5f2bc4['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x5b1b44){return this['string']=this['cursor']['next'](_0x5b1b44-this['cursorPos'])['value'],this['cursorPos']=_0x5b1b44+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x3bbf2a){return this['syncTo'](_0x3bbf2a),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x2d75c0,_0x2c3224){let _0x593809=this['cursorPos']-this['string']['length'];return _0x2d75c0<_0x593809||_0x2c3224>=this['cursorPos']?this['doc']['sliceString'](_0x2d75c0,_0x2c3224):this['string']['slice'](_0x2d75c0-_0x593809,_0x2c3224-_0x593809);}}let sI=null;class ParseContext{constructor(_0x40e200,_0x45c8e9,_0x43cd09=[],_0x41259a,_0x131455,_0x49ce24,_0x11a3a0,_0xabf873){this['parser']=_0x40e200,this['state']=_0x45c8e9,this['fragments']=_0x43cd09,this['tree']=_0x41259a,this['treeLen']=_0x131455,this['viewport']=_0x49ce24,this['skipped']=_0x11a3a0,this['scheduleOn']=_0xabf873,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x1407d5,_0x43be78,_0x592b5e){return new ParseContext(_0x1407d5,_0x43be78,[],Tree['empty'],0x0,_0x592b5e,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x526ee7,_0x2929a7){return null!=_0x2929a7&&_0x2929a7>=this['state']['doc']['length']&&(_0x2929a7=void 0x0),this['tree']!=Tree['empty']&&this['isDone'](null!=_0x2929a7?_0x2929a7:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x3f55e4;if('number'==typeof _0x526ee7){let _0x5234db=Date['now']()+_0x526ee7;_0x526ee7=()=>Date['now']()>_0x5234db;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x2929a7&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x2929a7)&&_0x2929a7<this['state']['doc']['length']&&this['parse']['stopAt'](_0x2929a7);;){let _0x29bd1b=this['parse']['advance']();if(_0x29bd1b){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x29bd1b,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x3f55e4=this['parse']['stoppedAt'])&&void 0x0!==_0x3f55e4?_0x3f55e4:this['state']['doc']['length'],this['tree']=_0x29bd1b,this['parse']=null,!(this['treeLen']<(null!=_0x2929a7?_0x2929a7:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x526ee7())return!0x1;}});}['takeTree'](){let _0x277d7b,_0x226cc2;this['parse']&&(_0x277d7b=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x277d7b)&&this['parse']['stopAt'](_0x277d7b),this['withContext'](()=>{for(;!(_0x226cc2=this['parse']['advance']()););}),this['treeLen']=_0x277d7b,this['tree']=_0x226cc2,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x32bcc5){let _0x3bc793=sI;sI=this;try{return _0x32bcc5();}finally{sI=_0x3bc793;}}['withoutTempSkipped'](_0x588e49){for(let _0x1d02e5;_0x1d02e5=this['tempSkipped']['pop']();)_0x588e49=nI(_0x588e49,_0x1d02e5['from'],_0x1d02e5['to']);return _0x588e49;}['changes'](_0x33b1ce,_0x3d54f2){let {fragments:_0x58c85f,tree:_0x1b9177,treeLen:_0x5c4b94,viewport:_0x950382,skipped:_0x155972}=this;if(this['takeTree'](),!_0x33b1ce['empty']){let _0x54a4b7=[];if(_0x33b1ce['iterChangedRanges']((_0x5c2098,_0x192176,_0xd084c3,_0x4a6b0e)=>_0x54a4b7['push']({'fromA':_0x5c2098,'toA':_0x192176,'fromB':_0xd084c3,'toB':_0x4a6b0e})),_0x58c85f=TreeFragment['applyChanges'](_0x58c85f,_0x54a4b7),_0x1b9177=Tree['empty'],_0x5c4b94=0x0,_0x950382={'from':_0x33b1ce['mapPos'](_0x950382['from'],-0x1),'to':_0x33b1ce['mapPos'](_0x950382['to'],0x1)},this['skipped']['length']){_0x155972=[];for(let _0x3c1539 of this['skipped']){let _0x1f0dda=_0x33b1ce['mapPos'](_0x3c1539['from'],0x1),_0xa0469d=_0x33b1ce['mapPos'](_0x3c1539['to'],-0x1);_0x1f0dda<_0xa0469d&&_0x155972['push']({'from':_0x1f0dda,'to':_0xa0469d});}}}return new ParseContext(this['parser'],_0x3d54f2,_0x58c85f,_0x1b9177,_0x5c4b94,_0x950382,_0x155972,this['scheduleOn']);}['updateViewport'](_0x5c1879){if(this['viewport']['from']==_0x5c1879['from']&&this['viewport']['to']==_0x5c1879['to'])return!0x1;this['viewport']=_0x5c1879;let _0x3694dc=this['skipped']['length'];for(let _0x4c8914=0x0;_0x4c8914<this['skipped']['length'];_0x4c8914++){let {from:_0x95f2db,to:_0x3aa2f8}=this['skipped'][_0x4c8914];_0x95f2db<_0x5c1879['to']&&_0x3aa2f8>_0x5c1879['from']&&(this['fragments']=nI(this['fragments'],_0x95f2db,_0x3aa2f8),this['skipped']['splice'](_0x4c8914--,0x1));}return!(this['skipped']['length']>=_0x3694dc)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x259b44,_0x564750){this['skipped']['push']({'from':_0x259b44,'to':_0x564750});}static['getSkippingParser'](_0x449eee){return new class extends Parser{['createParse'](_0x184e73,_0x5732b2,_0x454999){let _0x4b7e0b=_0x454999[0x0]['from'],_0x10274e=_0x454999[_0x454999['length']-0x1]['to'];return{'parsedPos':_0x4b7e0b,'advance'(){let _0x59fcb3=sI;if(_0x59fcb3){for(let _0x2a2f10 of _0x454999)_0x59fcb3['tempSkipped']['push'](_0x2a2f10);_0x449eee&&(_0x59fcb3['scheduleOn']=_0x59fcb3['scheduleOn']?Promise['all']([_0x59fcb3['scheduleOn'],_0x449eee]):_0x449eee);}return this['parsedPos']=_0x10274e,new Tree(NodeType['none'],[],[],_0x10274e-_0x4b7e0b);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x3f395b){_0x3f395b=Math['min'](_0x3f395b,this['state']['doc']['length']);let _0x202a88=this['fragments'];return this['treeLen']>=_0x3f395b&&_0x202a88['length']&&0x0==_0x202a88[0x0]['from']&&_0x202a88[0x0]['to']>=_0x3f395b;}static['get'](){return sI;}}function nI(_0x3e38aa,_0x3a6813,_0x2233f3){return TreeFragment['applyChanges'](_0x3e38aa,[{'fromA':_0x3a6813,'toA':_0x2233f3,'fromB':_0x3a6813,'toB':_0x2233f3}]);}class LanguageState{constructor(_0x5b2dc2){this['context']=_0x5b2dc2,this['tree']=_0x5b2dc2['tree'];}['apply'](_0x28f999){if(!_0x28f999['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x579c48=this['context']['changes'](_0x28f999['changes'],_0x28f999['state']),_0x62faa3=this['context']['treeLen']==_0x28f999['startState']['doc']['length']?void 0x0:Math['max'](_0x28f999['changes']['mapPos'](this['context']['treeLen']),_0x579c48['viewport']['to']);return _0x579c48['work'](0x14,_0x62faa3)||_0x579c48['takeTree'](),new LanguageState(_0x579c48);}static['init'](_0x5edb72){let _0x32bb69=Math['min'](0xbb8,_0x5edb72['doc']['length']),_0x14b132=ParseContext['create'](_0x5edb72['facet'](cI)['parser'],_0x5edb72,{'from':0x0,'to':_0x32bb69});return _0x14b132['work'](0x14,_0x32bb69)||_0x14b132['takeTree'](),new LanguageState(_0x14b132);}}Language['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x341bf5,_0x480a24){for(let _0x5db30c of _0x480a24['effects'])if(_0x5db30c['is'](Language['setState']))return _0x5db30c['value'];return _0x480a24['startState']['facet'](cI)!=_0x480a24['state']['facet'](cI)?LanguageState['init'](_0x480a24['state']):_0x341bf5['apply'](_0x480a24);}});let rI=_0x29f204=>{let _0x97cae1=setTimeout(()=>_0x29f204(),0x1f4);return()=>clearTimeout(_0x97cae1);};'undefined'!=typeof requestIdleCallback&&(rI=_0xe6af9c=>{let _0x54a288=-0x1,_0x41eeb1=setTimeout(()=>{_0x54a288=requestIdleCallback(_0xe6af9c,{'timeout':0x190});},0x64);return()=>_0x54a288<0x0?clearTimeout(_0x41eeb1):cancelIdleCallback(_0x54a288);});const oI='undefined'!=typeof navigator&&(null===(YS=navigator['scheduling'])||void 0x0===YS?void 0x0:YS['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,aI=ViewPlugin['fromClass'](class ParseWorker{constructor(_0x33eb41){this['view']=_0x33eb41,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x70723e){let _0x446e30=this['view']['state']['field'](Language['state'])['context'];(_0x446e30['updateViewport'](_0x70723e['view']['viewport'])||this['view']['viewport']['to']>_0x446e30['treeLen'])&&this['scheduleWork'](),(_0x70723e['docChanged']||_0x70723e['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x446e30);}['scheduleWork'](){if(this['working'])return;let {state:_0x476f7f}=this['view'],_0x504ea9=_0x476f7f['field'](Language['state']);_0x504ea9['tree']==_0x504ea9['context']['tree']&&_0x504ea9['context']['isDone'](_0x476f7f['doc']['length'])||(this['working']=rI(this['work']));}['work'](_0x1a1acb){this['working']=null;let _0x4a012c=Date['now']();if(this['chunkEnd']<_0x4a012c&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x4a012c+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x4695f6,viewport:{to:_0x2acf14}}=this['view'],_0x209265=_0x4695f6['field'](Language['state']);if(_0x209265['tree']==_0x209265['context']['tree']&&_0x209265['context']['isDone'](_0x2acf14+0x186a0))return;let _0xb0d4ff=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x1a1acb&&!oI?Math['max'](0x19,_0x1a1acb['timeRemaining']()-0x5):0x3b9aca00),_0xe552d1=_0x209265['context']['treeLen']<_0x2acf14&&_0x4695f6['doc']['length']>_0x2acf14+0x3e8,_0xf7d6a7=_0x209265['context']['work'](()=>oI&&oI()||Date['now']()>_0xb0d4ff,_0x2acf14+(_0xe552d1?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x4a012c,(_0xf7d6a7||this['chunkBudget']<=0x0)&&(_0x209265['context']['takeTree'](),this['view']['dispatch']({'effects':Language['setState']['of'](new LanguageState(_0x209265['context']))})),this['chunkBudget']>0x0&&(!_0xf7d6a7||_0xe552d1)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x209265['context']);}['checkAsyncSchedule'](_0x1d36b8){_0x1d36b8['scheduleOn']&&(this['workScheduled']++,_0x1d36b8['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x2196a9=>sT(this['view']['state'],_0x2196a9))['then'](()=>this['workScheduled']--),_0x1d36b8['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),cI=Facet['define']({'combine':_0x20970a=>_0x20970a['length']?_0x20970a[0x0]:null,'enables':_0x3e33b9=>[Language['state'],aI,EditorView['contentAttributes']['compute']([_0x3e33b9],_0x54c95e=>{let _0x39737d=_0x54c95e['facet'](_0x3e33b9);return _0x39737d&&_0x39737d['name']?{'data-language':_0x39737d['name']}:{};})]});class LanguageSupport{constructor(_0x51e069,_0x2df14d=[]){this['language']=_0x51e069,this['support']=_0x2df14d,this['extension']=[_0x51e069,_0x2df14d];}}class LanguageDescription{constructor(_0x5bd8c6,_0x349afe,_0x540ace,_0x42dac3,_0x2d992c,_0xc20cac=void 0x0){this['name']=_0x5bd8c6,this['alias']=_0x349afe,this['extensions']=_0x540ace,this['filename']=_0x42dac3,this['loadFunc']=_0x2d992c,this['support']=_0xc20cac,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x3230b2=>this['support']=_0x3230b2,_0x5eadb9=>{throw this['loading']=null,_0x5eadb9;}));}static['of'](_0x5b62b7){let {load:_0x1cd6ca,support:_0x3e5ba3}=_0x5b62b7;if(!_0x1cd6ca){if(!_0x3e5ba3)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x1cd6ca=()=>Promise['resolve'](_0x3e5ba3);}return new LanguageDescription(_0x5b62b7['name'],(_0x5b62b7['alias']||[])['concat'](_0x5b62b7['name'])['map'](_0x5bc0be=>_0x5bc0be['toLowerCase']()),_0x5b62b7['extensions']||[],_0x5b62b7['filename'],_0x1cd6ca,_0x3e5ba3);}static['matchFilename'](_0x52e588,_0x32825b){for(let _0x54ac71 of _0x52e588)if(_0x54ac71['filename']&&_0x54ac71['filename']['test'](_0x32825b))return _0x54ac71;let _0x48062b=/\.([^.]+)$/['exec'](_0x32825b);if(_0x48062b){for(let _0x38ee43 of _0x52e588)if(_0x38ee43['extensions']['indexOf'](_0x48062b[0x1])>-0x1)return _0x38ee43;}return null;}static['matchLanguageName'](_0xd0f6fa,_0x7cce58,_0x3cf458=!0x0){_0x7cce58=_0x7cce58['toLowerCase']();for(let _0x28d221 of _0xd0f6fa)if(_0x28d221['alias']['some'](_0x1b252f=>_0x1b252f==_0x7cce58))return _0x28d221;if(_0x3cf458){for(let _0x55beac of _0xd0f6fa)for(let _0x587153 of _0x55beac['alias']){let _0x25c33b=_0x7cce58['indexOf'](_0x587153);if(_0x25c33b>-0x1&&(_0x587153['length']>0x2||!/\w/['test'](_0x7cce58[_0x25c33b-0x1])&&!/\w/['test'](_0x7cce58[_0x25c33b+_0x587153['length']])))return _0x55beac;}}return null;}}const lI=Facet['define'](),hI=Facet['define']({'combine':_0x405377=>{if(!_0x405377['length'])return'\x20\x20';let _0x573be6=_0x405377[0x0];if(!_0x573be6||/\S/['test'](_0x573be6)||Array['from'](_0x573be6)['some'](_0x89db18=>_0x89db18!=_0x573be6[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x405377[0x0]));return _0x573be6;}});function uI(_0x5e5258){let _0x576bda=_0x5e5258['facet'](hI);return 0x9==_0x576bda['charCodeAt'](0x0)?_0x5e5258['tabSize']*_0x576bda['length']:_0x576bda['length'];}function dI(_0x460264,_0x5a8dc8){let _0x326d1b='',_0xffbd03=_0x460264['tabSize'],_0x3a73ea=_0x460264['facet'](hI)[0x0];if('\x09'==_0x3a73ea){for(;_0x5a8dc8>=_0xffbd03;)_0x326d1b+='\x09',_0x5a8dc8-=_0xffbd03;_0x3a73ea='\x20';}for(let _0x276f0d=0x0;_0x276f0d<_0x5a8dc8;_0x276f0d++)_0x326d1b+=_0x3a73ea;return _0x326d1b;}function fI(_0x56663c,_0x2597b7){_0x56663c instanceof EditorState&&(_0x56663c=new IndentContext(_0x56663c));for(let _0x586fc3 of _0x56663c['state']['facet'](lI)){let _0x5efbf9=_0x586fc3(_0x56663c,_0x2597b7);if(void 0x0!==_0x5efbf9)return _0x5efbf9;}let _0x5a8b80=iI(_0x56663c['state']);return _0x5a8b80['length']>=_0x2597b7?function(_0x1e5ff5,_0x36d606,_0x1ea47d){let _0x1393af=_0x36d606['resolveStack'](_0x1ea47d),_0x13e0f9=_0x36d606['resolveInner'](_0x1ea47d,-0x1)['resolve'](_0x1ea47d,0x0)['enterUnfinishedNodesBefore'](_0x1ea47d);if(_0x13e0f9!=_0x1393af['node']){let _0x563e43=[];for(let _0x361084=_0x13e0f9;_0x361084&&!(_0x361084['from']<_0x1393af['node']['from']||_0x361084['to']>_0x1393af['node']['to']||_0x361084['from']==_0x1393af['node']['from']&&_0x361084['type']==_0x1393af['node']['type']);_0x361084=_0x361084['parent'])_0x563e43['push'](_0x361084);for(let _0xcb87f0=_0x563e43['length']-0x1;_0xcb87f0>=0x0;_0xcb87f0--)_0x1393af={'node':_0x563e43[_0xcb87f0],'next':_0x1393af};}return gI(_0x1393af,_0x1e5ff5,_0x1ea47d);}(_0x56663c,_0x5a8b80,_0x2597b7):null;}class IndentContext{constructor(_0x120644,_0xaad1ff={}){this['state']=_0x120644,this['options']=_0xaad1ff,this['unit']=uI(_0x120644);}['lineAt'](_0x17010d,_0x2ca353=0x1){let _0x427fd5=this['state']['doc']['lineAt'](_0x17010d),{simulateBreak:_0xcae322,simulateDoubleBreak:_0x2cda4b}=this['options'];return null!=_0xcae322&&_0xcae322>=_0x427fd5['from']&&_0xcae322<=_0x427fd5['to']?_0x2cda4b&&_0xcae322==_0x17010d?{'text':'','from':_0x17010d}:(_0x2ca353<0x0?_0xcae322<_0x17010d:_0xcae322<=_0x17010d)?{'text':_0x427fd5['text']['slice'](_0xcae322-_0x427fd5['from']),'from':_0xcae322}:{'text':_0x427fd5['text']['slice'](0x0,_0xcae322-_0x427fd5['from']),'from':_0x427fd5['from']}:_0x427fd5;}['textAfterPos'](_0x15213e,_0x3800ee=0x1){if(this['options']['simulateDoubleBreak']&&_0x15213e==this['options']['simulateBreak'])return'';let {text:_0x201480,from:_0x45a425}=this['lineAt'](_0x15213e,_0x3800ee);return _0x201480['slice'](_0x15213e-_0x45a425,Math['min'](_0x201480['length'],_0x15213e+0x64-_0x45a425));}['column'](_0x24d5bb,_0x504330=0x1){let {text:_0x9f8261,from:_0x47cc49}=this['lineAt'](_0x24d5bb,_0x504330),_0x2a5c4e=this['countColumn'](_0x9f8261,_0x24d5bb-_0x47cc49),_0x32ede1=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x47cc49):-0x1;return _0x32ede1>-0x1&&(_0x2a5c4e+=_0x32ede1-this['countColumn'](_0x9f8261,_0x9f8261['search'](/\S|$/))),_0x2a5c4e;}['countColumn'](_0x4fd65c,_0x8baeb=_0x4fd65c['length']){return O_(_0x4fd65c,this['state']['tabSize'],_0x8baeb);}['lineIndent'](_0x3a2614,_0x415b4c=0x1){let {text:_0x5d464c,from:_0x1b0443}=this['lineAt'](_0x3a2614,_0x415b4c),_0x363ce8=this['options']['overrideIndentation'];if(_0x363ce8){let _0x2d3cba=_0x363ce8(_0x1b0443);if(_0x2d3cba>-0x1)return _0x2d3cba;}return this['countColumn'](_0x5d464c,_0x5d464c['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const mI=new NodeProp();function gI(_0x3918a5,_0x5754b3,_0x13e226){for(let _0xc38fe1=_0x3918a5;_0xc38fe1;_0xc38fe1=_0xc38fe1['next']){let _0x23e8fe=pI(_0xc38fe1['node']);if(_0x23e8fe)return _0x23e8fe(TreeIndentContext['create'](_0x5754b3,_0x13e226,_0xc38fe1));}return 0x0;}function pI(_0x4167fc){let _0x181e4f=_0x4167fc['type']['prop'](mI);if(_0x181e4f)return _0x181e4f;let _0x337464,_0x4b53c8=_0x4167fc['firstChild'];if(_0x4b53c8&&(_0x337464=_0x4b53c8['type']['prop'](NodeProp['closedBy']))){let _0x4fab00=_0x4167fc['lastChild'],_0x5bb2b3=_0x4fab00&&_0x337464['indexOf'](_0x4fab00['name'])>-0x1;return _0x1ef048=>yI(_0x1ef048,!0x0,0x1,void 0x0,_0x5bb2b3&&!function(_0x427256){return _0x427256['pos']==_0x427256['options']['simulateBreak']&&_0x427256['options']['simulateDoubleBreak'];}(_0x1ef048)?_0x4fab00['from']:void 0x0);}return null==_0x4167fc['parent']?OI:null;}function OI(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x3217ff,_0x148f4f,_0x1ecc90){super(_0x3217ff['state'],_0x3217ff['options']),this['base']=_0x3217ff,this['pos']=_0x148f4f,this['context']=_0x1ecc90;}get['node'](){return this['context']['node'];}static['create'](_0xf0a63e,_0x4a3ed7,_0xfd7d76){return new TreeIndentContext(_0xf0a63e,_0x4a3ed7,_0xfd7d76);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x188673){let _0x3bbaf5=this['state']['doc']['lineAt'](_0x188673['from']);for(;;){let _0x144128=_0x188673['resolve'](_0x3bbaf5['from']);for(;_0x144128['parent']&&_0x144128['parent']['from']==_0x144128['from'];)_0x144128=_0x144128['parent'];if(wI(_0x144128,_0x188673))break;_0x3bbaf5=this['state']['doc']['lineAt'](_0x144128['from']);}return this['lineIndent'](_0x3bbaf5['from']);}['continue'](){return gI(this['context']['next'],this['base'],this['pos']);}}function wI(_0x2ea896,_0x55fb66){for(let _0x3e480d=_0x55fb66;_0x3e480d;_0x3e480d=_0x3e480d['parent'])if(_0x2ea896==_0x3e480d)return!0x0;return!0x1;}function bI({closing:_0x11d066,align:_0x407eff=!0x0,units:_0x48da90=0x1}){return _0x449dea=>yI(_0x449dea,_0x407eff,_0x48da90,_0x11d066);}function yI(_0x8051ff,_0x2d733d,_0x121426,_0x24137b,_0x167738){let _0x3b5c76=_0x8051ff['textAfter'],_0x227d76=_0x3b5c76['match'](/^\s*/)[0x0]['length'],_0x4128ab=_0x24137b&&_0x3b5c76['slice'](_0x227d76,_0x227d76+_0x24137b['length'])==_0x24137b||_0x167738==_0x8051ff['pos']+_0x227d76,_0x12319e=_0x2d733d?function(_0x4703cb){let _0x5b01ce=_0x4703cb['node'],_0x103d20=_0x5b01ce['childAfter'](_0x5b01ce['from']),_0x392259=_0x5b01ce['lastChild'];if(!_0x103d20)return null;let _0x28f953=_0x4703cb['options']['simulateBreak'],_0x475b85=_0x4703cb['state']['doc']['lineAt'](_0x103d20['from']),_0x34578b=null==_0x28f953||_0x28f953<=_0x475b85['from']?_0x475b85['to']:Math['min'](_0x475b85['to'],_0x28f953);for(let _0x4759d9=_0x103d20['to'];;){let _0x24cee5=_0x5b01ce['childAfter'](_0x4759d9);if(!_0x24cee5||_0x24cee5==_0x392259)return null;if(!_0x24cee5['type']['isSkipped']){if(_0x24cee5['from']>=_0x34578b)return null;let _0x2014e1=/^ */['exec'](_0x475b85['text']['slice'](_0x103d20['to']-_0x475b85['from']))[0x0]['length'];return{'from':_0x103d20['from'],'to':_0x103d20['to']+_0x2014e1};}_0x4759d9=_0x24cee5['to'];}}(_0x8051ff):null;return _0x12319e?_0x4128ab?_0x8051ff['column'](_0x12319e['from']):_0x8051ff['column'](_0x12319e['to']):_0x8051ff['baseIndent']+(_0x4128ab?0x0:_0x8051ff['unit']*_0x121426);}function _I({except:_0x2e6236,units:_0x21aa32=0x1}={}){return _0x308352=>{let _0x118e38=_0x2e6236&&_0x2e6236['test'](_0x308352['textAfter']);return _0x308352['baseIndent']+(_0x118e38?0x0:_0x21aa32*_0x308352['unit']);};}function vI(){return EditorState['transactionFilter']['of'](_0x1e4208=>{if(!_0x1e4208['docChanged']||!_0x1e4208['isUserEvent']('input.type')&&!_0x1e4208['isUserEvent']('input.complete'))return _0x1e4208;let _0x4bca54=_0x1e4208['startState']['languageDataAt']('indentOnInput',_0x1e4208['startState']['selection']['main']['head']);if(!_0x4bca54['length'])return _0x1e4208;let _0x40e078=_0x1e4208['newDoc'],{head:_0x5d51ec}=_0x1e4208['newSelection']['main'],_0x1c1aec=_0x40e078['lineAt'](_0x5d51ec);if(_0x5d51ec>_0x1c1aec['from']+0xc8)return _0x1e4208;let _0x30d41f=_0x40e078['sliceString'](_0x1c1aec['from'],_0x5d51ec);if(!_0x4bca54['some'](_0x2126fc=>_0x2126fc['test'](_0x30d41f)))return _0x1e4208;let {state:_0x35d96d}=_0x1e4208,_0x215dfc=-0x1,_0x3d0a65=[];for(let {head:_0x55fade}of _0x35d96d['selection']['ranges']){let _0x21501c=_0x35d96d['doc']['lineAt'](_0x55fade);if(_0x21501c['from']==_0x215dfc)continue;_0x215dfc=_0x21501c['from'];let _0x4c8455=fI(_0x35d96d,_0x21501c['from']);if(null==_0x4c8455)continue;let _0x4b134a=/^\s*/['exec'](_0x21501c['text'])[0x0],_0x31ddae=dI(_0x35d96d,_0x4c8455);_0x4b134a!=_0x31ddae&&_0x3d0a65['push']({'from':_0x21501c['from'],'to':_0x21501c['from']+_0x4b134a['length'],'insert':_0x31ddae});}return _0x3d0a65['length']?[_0x1e4208,{'changes':_0x3d0a65,'sequential':!0x0}]:_0x1e4208;});}const TI=Facet['define'](),EI=new NodeProp();function AI(_0x1408eb){let _0xcde4d=_0x1408eb['firstChild'],_0x4c4e53=_0x1408eb['lastChild'];return _0xcde4d&&_0xcde4d['to']<_0x4c4e53['from']?{'from':_0xcde4d['to'],'to':_0x4c4e53['type']['isError']?_0x1408eb['to']:_0x4c4e53['from']}:null;}function SI(_0x5d79cb){let _0x240f9a=_0x5d79cb['lastChild'];return _0x240f9a&&_0x240f9a['to']==_0x5d79cb['to']&&_0x240f9a['type']['isError'];}function II(_0x3ff9a7,_0x2707c3,_0x469b0c){for(let _0x319c5d of _0x3ff9a7['facet'](TI)){let _0x20d831=_0x319c5d(_0x3ff9a7,_0x2707c3,_0x469b0c);if(_0x20d831)return _0x20d831;}return function(_0x5c3a86,_0x1bd334,_0x52db53){let _0x5b3902=iI(_0x5c3a86);if(_0x5b3902['length']<_0x52db53)return null;let _0x32bf70=null;for(let _0x47efb9=_0x5b3902['resolveStack'](_0x52db53,0x1);_0x47efb9;_0x47efb9=_0x47efb9['next']){let _0x540e4f=_0x47efb9['node'];if(_0x540e4f['to']<=_0x52db53||_0x540e4f['from']>_0x52db53)continue;if(_0x32bf70&&_0x540e4f['from']<_0x1bd334)break;let _0x202df1=_0x540e4f['type']['prop'](EI);if(_0x202df1&&(_0x540e4f['to']<_0x5b3902['length']-0x32||_0x5b3902['length']==_0x5c3a86['doc']['length']||!SI(_0x540e4f))){let _0x8fe41e=_0x202df1(_0x540e4f,_0x5c3a86);_0x8fe41e&&_0x8fe41e['from']<=_0x52db53&&_0x8fe41e['from']>=_0x1bd334&&_0x8fe41e['to']>_0x52db53&&(_0x32bf70=_0x8fe41e);}}return _0x32bf70;}(_0x3ff9a7,_0x2707c3,_0x469b0c);}function CI(_0x17b887,_0x204b6e){let _0x564c95=_0x204b6e['mapPos'](_0x17b887['from'],0x1),_0x1cbacb=_0x204b6e['mapPos'](_0x17b887['to'],-0x1);return _0x564c95>=_0x1cbacb?void 0x0:{'from':_0x564c95,'to':_0x1cbacb};}const kI=StateEffect['define']({'map':CI}),xI=StateEffect['define']({'map':CI});function RI(_0x1636c3){let _0xf3250=[];for(let {head:_0x2b355d}of _0x1636c3['state']['selection']['ranges'])_0xf3250['some'](_0x294877=>_0x294877['from']<=_0x2b355d&&_0x294877['to']>=_0x2b355d)||_0xf3250['push'](_0x1636c3['lineBlockAt'](_0x2b355d));return _0xf3250;}const PI=StateField['define']({'create':()=>Decoration['none'],'update'(_0x4b3630,_0x420f19){_0x420f19['isUserEvent']('delete')&&_0x420f19['changes']['iterChangedRanges']((_0x3ff94f,_0x13b38d)=>_0x4b3630=MI(_0x4b3630,_0x3ff94f,_0x13b38d)),_0x4b3630=_0x4b3630['map'](_0x420f19['changes']);for(let _0xe6b02a of _0x420f19['effects'])if(_0xe6b02a['is'](kI)&&!LI(_0x4b3630,_0xe6b02a['value']['from'],_0xe6b02a['value']['to'])){let {preparePlaceholder:_0x4c7da4}=_0x420f19['state']['facet'](UI),_0x31c1f3=_0x4c7da4?Decoration['replace']({'widget':new PreparedFoldWidget(_0x4c7da4(_0x420f19['state'],_0xe6b02a['value']))}):jI;_0x4b3630=_0x4b3630['update']({'add':[_0x31c1f3['range'](_0xe6b02a['value']['from'],_0xe6b02a['value']['to'])]});}else _0xe6b02a['is'](xI)&&(_0x4b3630=_0x4b3630['update']({'filter':(_0x75ddce,_0x3b517a)=>_0xe6b02a['value']['from']!=_0x75ddce||_0xe6b02a['value']['to']!=_0x3b517a,'filterFrom':_0xe6b02a['value']['from'],'filterTo':_0xe6b02a['value']['to']}));return _0x420f19['selection']&&(_0x4b3630=MI(_0x4b3630,_0x420f19['selection']['main']['head'])),_0x4b3630;},'provide':_0x573f83=>EditorView['decorations']['from'](_0x573f83),'toJSON'(_0x4a799e,_0x1fe437){let _0x182d51=[];return _0x4a799e['between'](0x0,_0x1fe437['doc']['length'],(_0x2b2a5d,_0xbf381b)=>{_0x182d51['push'](_0x2b2a5d,_0xbf381b);}),_0x182d51;},'fromJSON'(_0x56d9c6){if(!Array['isArray'](_0x56d9c6)||_0x56d9c6['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x291be5=[];for(let _0x2f4373=0x0;_0x2f4373<_0x56d9c6['length'];){let _0x5e7ee9=_0x56d9c6[_0x2f4373++],_0x5d6043=_0x56d9c6[_0x2f4373++];if('number'!=typeof _0x5e7ee9||'number'!=typeof _0x5d6043)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x291be5['push'](jI['range'](_0x5e7ee9,_0x5d6043));}return Decoration['set'](_0x291be5,!0x0);}});function MI(_0x4d30ae,_0x57b954,_0x4830b2=_0x57b954){let _0x1df6e1=!0x1;return _0x4d30ae['between'](_0x57b954,_0x4830b2,(_0x1af677,_0x1e5f21)=>{_0x1af677<_0x4830b2&&_0x1e5f21>_0x57b954&&(_0x1df6e1=!0x0);}),_0x1df6e1?_0x4d30ae['update']({'filterFrom':_0x57b954,'filterTo':_0x4830b2,'filter':(_0x34d487,_0x42adf8)=>_0x34d487>=_0x4830b2||_0x42adf8<=_0x57b954}):_0x4d30ae;}function NI(_0x27afc6,_0x51efea,_0x262be7){var _0x40368b;let _0x29b38e=null;return null===(_0x40368b=_0x27afc6['field'](PI,!0x1))||void 0x0===_0x40368b||_0x40368b['between'](_0x51efea,_0x262be7,(_0x595c53,_0x4a14bf)=>{(!_0x29b38e||_0x29b38e['from']>_0x595c53)&&(_0x29b38e={'from':_0x595c53,'to':_0x4a14bf});}),_0x29b38e;}function LI(_0x47590b,_0x31722e,_0x282e4d){let _0x59c4b4=!0x1;return _0x47590b['between'](_0x31722e,_0x31722e,(_0x428c4d,_0x3f6bd5)=>{_0x428c4d==_0x31722e&&_0x3f6bd5==_0x282e4d&&(_0x59c4b4=!0x0);}),_0x59c4b4;}function DI(_0x16633f,_0x17875c){return _0x16633f['field'](PI,!0x1)?_0x17875c:_0x17875c['concat'](StateEffect['appendConfig']['of'](BI()));}function QI(_0x51e17d,_0x1222fb,_0x4eb4da=!0x0){let _0x52d8ca=_0x51e17d['state']['doc']['lineAt'](_0x1222fb['from'])['number'],_0x5e0611=_0x51e17d['state']['doc']['lineAt'](_0x1222fb['to'])['number'];return EditorView['announce']['of'](_0x51e17d['state']['phrase'](_0x4eb4da?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x52d8ca+'\x20'+_0x51e17d['state']['phrase']('to')+'\x20'+_0x5e0611+'.');}const $I=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x4b4b38=>{for(let _0x98a152 of RI(_0x4b4b38)){let _0x184752=II(_0x4b4b38['state'],_0x98a152['from'],_0x98a152['to']);if(_0x184752)return _0x4b4b38['dispatch']({'effects':DI(_0x4b4b38['state'],[kI['of'](_0x184752),QI(_0x4b4b38,_0x184752)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x381ad7=>{if(!_0x381ad7['state']['field'](PI,!0x1))return!0x1;let _0x114bf9=[];for(let _0x34f38c of RI(_0x381ad7)){let _0x27b5f2=NI(_0x381ad7['state'],_0x34f38c['from'],_0x34f38c['to']);_0x27b5f2&&_0x114bf9['push'](xI['of'](_0x27b5f2),QI(_0x381ad7,_0x27b5f2,!0x1));}return _0x114bf9['length']&&_0x381ad7['dispatch']({'effects':_0x114bf9}),_0x114bf9['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x581b5c=>{let {state:_0x120d55}=_0x581b5c,_0x311ccd=[];for(let _0x2a165f=0x0;_0x2a165f<_0x120d55['doc']['length'];){let _0x271b89=_0x581b5c['lineBlockAt'](_0x2a165f),_0x1a662a=II(_0x120d55,_0x271b89['from'],_0x271b89['to']);_0x1a662a&&_0x311ccd['push'](kI['of'](_0x1a662a)),_0x2a165f=(_0x1a662a?_0x581b5c['lineBlockAt'](_0x1a662a['to']):_0x271b89)['to']+0x1;}return _0x311ccd['length']&&_0x581b5c['dispatch']({'effects':DI(_0x581b5c['state'],_0x311ccd)}),!!_0x311ccd['length'];}},{'key':'Ctrl-Alt-]','run':_0x3f0ad1=>{let _0x294978=_0x3f0ad1['state']['field'](PI,!0x1);if(!_0x294978||!_0x294978['size'])return!0x1;let _0x295304=[];return _0x294978['between'](0x0,_0x3f0ad1['state']['doc']['length'],(_0x4a6f38,_0x3db441)=>{_0x295304['push'](xI['of']({'from':_0x4a6f38,'to':_0x3db441}));}),_0x3f0ad1['dispatch']({'effects':_0x295304}),!0x0;}}],VI={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},UI=Facet['define']({'combine':_0x4181bc=>a_(_0x4181bc,VI)});function BI(_0x5d59b4){return[PI,ZI];}function FI(_0x59081c,_0xa4efd){let {state:_0x323c6c}=_0x59081c,_0x2f3d4b=_0x323c6c['facet'](UI),_0x3ad1d5=_0x24c875=>{let _0x5f459d=_0x59081c['lineBlockAt'](_0x59081c['posAtDOM'](_0x24c875['target'])),_0x2a6d6f=NI(_0x59081c['state'],_0x5f459d['from'],_0x5f459d['to']);_0x2a6d6f&&_0x59081c['dispatch']({'effects':xI['of'](_0x2a6d6f)}),_0x24c875['preventDefault']();};if(_0x2f3d4b['placeholderDOM'])return _0x2f3d4b['placeholderDOM'](_0x59081c,_0x3ad1d5,_0xa4efd);let _0x37896c=document['createElement']('span');return _0x37896c['textContent']=_0x2f3d4b['placeholderText'],_0x37896c['setAttribute']('aria-label',_0x323c6c['phrase']('folded\x20code')),_0x37896c['title']=_0x323c6c['phrase']('unfold'),_0x37896c['className']='cm-foldPlaceholder',_0x37896c['onclick']=_0x3ad1d5,_0x37896c;}const jI=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x5cb7e9){return FI(_0x5cb7e9,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x4c4c52){super(),this['value']=_0x4c4c52;}['eq'](_0x35dd31){return this['value']==_0x35dd31['value'];}['toDOM'](_0x1188f2){return FI(_0x1188f2,this['value']);}}const HI={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class FoldMarker extends GutterMarker{constructor(_0x383aa8,_0x4a80bb){super(),this['config']=_0x383aa8,this['open']=_0x4a80bb;}['eq'](_0x5a83aa){return this['config']==_0x5a83aa['config']&&this['open']==_0x5a83aa['open'];}['toDOM'](_0x23b88d){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x27d12c=document['createElement']('span');return _0x27d12c['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x27d12c['title']=_0x23b88d['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x27d12c;}}function GI(_0x32f681={}){let _0x450885={...HI,..._0x32f681},_0xb7b80e=new FoldMarker(_0x450885,!0x0),_0x4d61e9=new FoldMarker(_0x450885,!0x1),_0x312349=ViewPlugin['fromClass'](class{constructor(_0x1fa217){this['from']=_0x1fa217['viewport']['from'],this['markers']=this['buildMarkers'](_0x1fa217);}['update'](_0x230b7e){(_0x230b7e['docChanged']||_0x230b7e['viewportChanged']||_0x230b7e['startState']['facet'](cI)!=_0x230b7e['state']['facet'](cI)||_0x230b7e['startState']['field'](PI,!0x1)!=_0x230b7e['state']['field'](PI,!0x1)||iI(_0x230b7e['startState'])!=iI(_0x230b7e['state'])||_0x450885['foldingChanged'](_0x230b7e))&&(this['markers']=this['buildMarkers'](_0x230b7e['view']));}['buildMarkers'](_0xd001a4){let _0x464aa8=new RangeSetBuilder();for(let _0x232135 of _0xd001a4['viewportLineBlocks']){let _0x4e4681=NI(_0xd001a4['state'],_0x232135['from'],_0x232135['to'])?_0x4d61e9:II(_0xd001a4['state'],_0x232135['from'],_0x232135['to'])?_0xb7b80e:null;_0x4e4681&&_0x464aa8['add'](_0x232135['from'],_0x232135['from'],_0x4e4681);}return _0x464aa8['finish']();}}),{domEventHandlers:_0x59a09d}=_0x450885;return[_0x312349,FA({'class':'cm-foldGutter','markers'(_0x4ab4e4){var _0x28781c;return(null===(_0x28781c=_0x4ab4e4['plugin'](_0x312349))||void 0x0===_0x28781c?void 0x0:_0x28781c['markers'])||RangeSet['empty'];},'initialSpacer':()=>new FoldMarker(_0x450885,!0x1),'domEventHandlers':{..._0x59a09d,'click':(_0x58d738,_0x5f388d,_0x5a4055)=>{if(_0x59a09d['click']&&_0x59a09d['click'](_0x58d738,_0x5f388d,_0x5a4055))return!0x0;let _0x204c15=NI(_0x58d738['state'],_0x5f388d['from'],_0x5f388d['to']);if(_0x204c15)return _0x58d738['dispatch']({'effects':xI['of'](_0x204c15)}),!0x0;let _0x40d46d=II(_0x58d738['state'],_0x5f388d['from'],_0x5f388d['to']);return!!_0x40d46d&&(_0x58d738['dispatch']({'effects':kI['of'](_0x40d46d)}),!0x0);}}}),BI()];}const ZI=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(_0x3aaa67,_0x4858f8){let _0x47736c;function _0xe6fcbd(_0x268fce){let _0x35f5ff=StyleModule['newName']();return(_0x47736c||(_0x47736c=Object['create'](null)))['.'+_0x35f5ff]=_0x268fce,_0x35f5ff;}this['specs']=_0x3aaa67;const _0x21278a='string'==typeof _0x4858f8['all']?_0x4858f8['all']:_0x4858f8['all']?_0xe6fcbd(_0x4858f8['all']):void 0x0,_0x55042b=_0x4858f8['scope'];this['scope']=_0x55042b instanceof Language?_0x45dfbf=>_0x45dfbf['prop'](KS)==_0x55042b['data']:_0x55042b?_0x20fa3c=>_0x20fa3c==_0x55042b:void 0x0,this['style']=MS(_0x3aaa67['map'](_0x348ba7=>({'tag':_0x348ba7['tag'],'class':_0x348ba7['class']||_0xe6fcbd(Object['assign']({},_0x348ba7,{'tag':null}))})),{'all':_0x21278a})['style'],this['module']=_0x47736c?new StyleModule(_0x47736c):null,this['themeType']=_0x4858f8['themeType'];}static['define'](_0x583a3a,_0x33e0ef){return new HighlightStyle(_0x583a3a,_0x33e0ef||{});}}const XI=Facet['define'](),qI=Facet['define']({'combine':_0x34e034=>_0x34e034['length']?[_0x34e034[0x0]]:null});function WI(_0x47897f){let _0xccc258=_0x47897f['facet'](XI);return _0xccc258['length']?_0xccc258:_0x47897f['facet'](qI);}function zI(_0x2c6c79,_0x32f96c){let _0x2c877a,_0x3abfe9=[YI];return _0x2c6c79 instanceof HighlightStyle&&(_0x2c6c79['module']&&_0x3abfe9['push'](EditorView['styleModule']['of'](_0x2c6c79['module'])),_0x2c877a=_0x2c6c79['themeType']),(null==_0x32f96c?void 0x0:_0x32f96c['fallback'])?_0x3abfe9['push'](qI['of'](_0x2c6c79)):_0x2c877a?_0x3abfe9['push'](XI['computeN']([EditorView['darkTheme']],_0x485494=>_0x485494['facet'](EditorView['darkTheme'])==('dark'==_0x2c877a)?[_0x2c6c79]:[])):_0x3abfe9['push'](XI['of'](_0x2c6c79)),_0x3abfe9;}class TreeHighlighter{constructor(_0xa47b26){this['markCache']=Object['create'](null),this['tree']=iI(_0xa47b26['state']),this['decorations']=this['buildDeco'](_0xa47b26,WI(_0xa47b26['state'])),this['decoratedTo']=_0xa47b26['viewport']['to'];}['update'](_0x438dc0){let _0x2a488b=iI(_0x438dc0['state']),_0xac72fc=WI(_0x438dc0['state']),_0x69db1f=_0xac72fc!=WI(_0x438dc0['startState']),{viewport:_0x203697}=_0x438dc0['view'],_0x285fe6=_0x438dc0['changes']['mapPos'](this['decoratedTo'],0x1);_0x2a488b['length']<_0x203697['to']&&!_0x69db1f&&_0x2a488b['type']==this['tree']['type']&&_0x285fe6>=_0x203697['to']?(this['decorations']=this['decorations']['map'](_0x438dc0['changes']),this['decoratedTo']=_0x285fe6):(_0x2a488b!=this['tree']||_0x438dc0['viewportChanged']||_0x69db1f)&&(this['tree']=_0x2a488b,this['decorations']=this['buildDeco'](_0x438dc0['view'],_0xac72fc),this['decoratedTo']=_0x203697['to']);}['buildDeco'](_0x1201a6,_0x12dcfb){if(!_0x12dcfb||!this['tree']['length'])return Decoration['none'];let _0x307ce0=new RangeSetBuilder();for(let {from:_0x4ad9f1,to:_0x2b6a30}of _0x1201a6['visibleRanges'])NS(this['tree'],_0x12dcfb,(_0x6dff7e,_0x4e30aa,_0x2fd1a4)=>{_0x307ce0['add'](_0x6dff7e,_0x4e30aa,this['markCache'][_0x2fd1a4]||(this['markCache'][_0x2fd1a4]=Decoration['mark']({'class':_0x2fd1a4})));},_0x4ad9f1,_0x2b6a30);return _0x307ce0['finish']();}}const YI=By['high'](ViewPlugin['fromClass'](TreeHighlighter,{'decorations':_0x15e997=>_0x15e997['decorations']})),KI=HighlightStyle['define']([{'tag':zS['meta'],'color':'#404740'},{'tag':zS['link'],'textDecoration':'underline'},{'tag':zS['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':zS['emphasis'],'fontStyle':'italic'},{'tag':zS['strong'],'fontWeight':'bold'},{'tag':zS['strikethrough'],'textDecoration':'line-through'},{'tag':zS['keyword'],'color':'#708'},{'tag':[zS['atom'],zS['bool'],zS['url'],zS['contentSeparator'],zS['labelName']],'color':'#219'},{'tag':[zS['literal'],zS['inserted']],'color':'#164'},{'tag':[zS['string'],zS['deleted']],'color':'#a11'},{'tag':[zS['regexp'],zS['escape'],zS['special'](zS['string'])],'color':'#e40'},{'tag':zS['definition'](zS['variableName']),'color':'#00f'},{'tag':zS['local'](zS['variableName']),'color':'#30a'},{'tag':[zS['typeName'],zS['namespace']],'color':'#085'},{'tag':zS['className'],'color':'#167'},{'tag':[zS['special'](zS['variableName']),zS['macroName']],'color':'#256'},{'tag':zS['definition'](zS['propertyName']),'color':'#00c'},{'tag':zS['comment'],'color':'#940'},{'tag':zS['invalid'],'color':'#f00'}]),JI=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),tC='()[]{}',eC=Facet['define']({'combine':_0x431f63=>a_(_0x431f63,{'afterCursor':!0x0,'brackets':tC,'maxScanDistance':0x2710,'renderMatch':nC})}),iC=Decoration['mark']({'class':'cm-matchingBracket'}),sC=Decoration['mark']({'class':'cm-nonmatchingBracket'});function nC(_0x24fe87){let _0x1d31da=[],_0x258964=_0x24fe87['matched']?iC:sC;return _0x1d31da['push'](_0x258964['range'](_0x24fe87['start']['from'],_0x24fe87['start']['to'])),_0x24fe87['end']&&_0x1d31da['push'](_0x258964['range'](_0x24fe87['end']['from'],_0x24fe87['end']['to'])),_0x1d31da;}const rC=StateField['define']({'create':()=>Decoration['none'],'update'(_0x13d6cc,_0x2b8c5b){if(!_0x2b8c5b['docChanged']&&!_0x2b8c5b['selection'])return _0x13d6cc;let _0x58d92b=[],_0x13dabe=_0x2b8c5b['state']['facet'](eC);for(let _0x1eb9fd of _0x2b8c5b['state']['selection']['ranges']){if(!_0x1eb9fd['empty'])continue;let _0x1efcee=uC(_0x2b8c5b['state'],_0x1eb9fd['head'],-0x1,_0x13dabe)||_0x1eb9fd['head']>0x0&&uC(_0x2b8c5b['state'],_0x1eb9fd['head']-0x1,0x1,_0x13dabe)||_0x13dabe['afterCursor']&&(uC(_0x2b8c5b['state'],_0x1eb9fd['head'],0x1,_0x13dabe)||_0x1eb9fd['head']<_0x2b8c5b['state']['doc']['length']&&uC(_0x2b8c5b['state'],_0x1eb9fd['head']+0x1,-0x1,_0x13dabe));_0x1efcee&&(_0x58d92b=_0x58d92b['concat'](_0x13dabe['renderMatch'](_0x1efcee,_0x2b8c5b['state'])));}return Decoration['set'](_0x58d92b,!0x0);},'provide':_0x4f5448=>EditorView['decorations']['from'](_0x4f5448)}),oC=[rC,JI];function aC(_0x452a26={}){return[eC['of'](_0x452a26),oC];}const cC=new NodeProp();function lC(_0x3f7cdc,_0x390280,_0x2d4e9a){let _0x50b323=_0x3f7cdc['prop'](_0x390280<0x0?NodeProp['openedBy']:NodeProp['closedBy']);if(_0x50b323)return _0x50b323;if(0x1==_0x3f7cdc['name']['length']){let _0x27c235=_0x2d4e9a['indexOf'](_0x3f7cdc['name']);if(_0x27c235>-0x1&&_0x27c235%0x2==(_0x390280<0x0?0x1:0x0))return[_0x2d4e9a[_0x27c235+_0x390280]];}return null;}function hC(_0x1d20f5){let _0x1ad2e7=_0x1d20f5['type']['prop'](cC);return _0x1ad2e7?_0x1ad2e7(_0x1d20f5['node']):_0x1d20f5;}function uC(_0x2bb9bc,_0x485ece,_0x2636bd,_0x99d23d={}){let _0x135af4=_0x99d23d['maxScanDistance']||0x2710,_0x37822a=_0x99d23d['brackets']||tC,_0x5a9ecd=iI(_0x2bb9bc),_0x4c865a=_0x5a9ecd['resolveInner'](_0x485ece,_0x2636bd);for(let _0x2c9664=_0x4c865a;_0x2c9664;_0x2c9664=_0x2c9664['parent']){let _0x7978d4=lC(_0x2c9664['type'],_0x2636bd,_0x37822a);if(_0x7978d4&&_0x2c9664['from']<_0x2c9664['to']){let _0x55f8d3=hC(_0x2c9664);if(_0x55f8d3&&(_0x2636bd>0x0?_0x485ece>=_0x55f8d3['from']&&_0x485ece<_0x55f8d3['to']:_0x485ece>_0x55f8d3['from']&&_0x485ece<=_0x55f8d3['to']))return dC(_0x2bb9bc,_0x485ece,_0x2636bd,_0x2c9664,_0x55f8d3,_0x7978d4,_0x37822a);}}return function(_0x1ba009,_0x16b87d,_0x31f290,_0x308c74,_0x32d4ab,_0x17d432,_0x475ba6){let _0x521efa=_0x31f290<0x0?_0x1ba009['sliceDoc'](_0x16b87d-0x1,_0x16b87d):_0x1ba009['sliceDoc'](_0x16b87d,_0x16b87d+0x1),_0x55075f=_0x475ba6['indexOf'](_0x521efa);if(_0x55075f<0x0||_0x55075f%0x2==0x0!=_0x31f290>0x0)return null;let _0x2f80b1={'from':_0x31f290<0x0?_0x16b87d-0x1:_0x16b87d,'to':_0x31f290>0x0?_0x16b87d+0x1:_0x16b87d},_0x30977b=_0x1ba009['doc']['iterRange'](_0x16b87d,_0x31f290>0x0?_0x1ba009['doc']['length']:0x0),_0x3cb7c3=0x0;for(let _0x149527=0x0;!_0x30977b['next']()['done']&&_0x149527<=_0x17d432;){let _0xda8b64=_0x30977b['value'];_0x31f290<0x0&&(_0x149527+=_0xda8b64['length']);let _0x1f01b5=_0x16b87d+_0x149527*_0x31f290;for(let _0x1c8617=_0x31f290>0x0?0x0:_0xda8b64['length']-0x1,_0xf83426=_0x31f290>0x0?_0xda8b64['length']:-0x1;_0x1c8617!=_0xf83426;_0x1c8617+=_0x31f290){let _0x148eb4=_0x475ba6['indexOf'](_0xda8b64[_0x1c8617]);if(!(_0x148eb4<0x0||_0x308c74['resolveInner'](_0x1f01b5+_0x1c8617,0x1)['type']!=_0x32d4ab)){if(_0x148eb4%0x2==0x0==_0x31f290>0x0)_0x3cb7c3++;else{if(0x1==_0x3cb7c3)return{'start':_0x2f80b1,'end':{'from':_0x1f01b5+_0x1c8617,'to':_0x1f01b5+_0x1c8617+0x1},'matched':_0x148eb4>>0x1==_0x55075f>>0x1};_0x3cb7c3--;}}}_0x31f290>0x0&&(_0x149527+=_0xda8b64['length']);}return _0x30977b['done']?{'start':_0x2f80b1,'matched':!0x1}:null;}(_0x2bb9bc,_0x485ece,_0x2636bd,_0x5a9ecd,_0x4c865a['type'],_0x135af4,_0x37822a);}function dC(_0x5ca64e,_0x28ed7e,_0x2dc5b3,_0xa28ac7,_0x427824,_0x22ddd1,_0x3eb30a){let _0x477039=_0xa28ac7['parent'],_0x396166={'from':_0x427824['from'],'to':_0x427824['to']},_0x1fec92=0x0,_0x4d5218=null==_0x477039?void 0x0:_0x477039['cursor']();if(_0x4d5218&&(_0x2dc5b3<0x0?_0x4d5218['childBefore'](_0xa28ac7['from']):_0x4d5218['childAfter'](_0xa28ac7['to'])))do{if(_0x2dc5b3<0x0?_0x4d5218['to']<=_0xa28ac7['from']:_0x4d5218['from']>=_0xa28ac7['to']){if(0x0==_0x1fec92&&_0x22ddd1['indexOf'](_0x4d5218['type']['name'])>-0x1&&_0x4d5218['from']<_0x4d5218['to']){let _0x55c64b=hC(_0x4d5218);return{'start':_0x396166,'end':_0x55c64b?{'from':_0x55c64b['from'],'to':_0x55c64b['to']}:void 0x0,'matched':!0x0};}if(lC(_0x4d5218['type'],_0x2dc5b3,_0x3eb30a))_0x1fec92++;else{if(lC(_0x4d5218['type'],-_0x2dc5b3,_0x3eb30a)){if(0x0==_0x1fec92){let _0x46cb4b=hC(_0x4d5218);return{'start':_0x396166,'end':_0x46cb4b&&_0x46cb4b['from']<_0x46cb4b['to']?{'from':_0x46cb4b['from'],'to':_0x46cb4b['to']}:void 0x0,'matched':!0x1};}_0x1fec92--;}}}}while(_0x2dc5b3<0x0?_0x4d5218['prevSibling']():_0x4d5218['nextSibling']());return{'start':_0x396166,'matched':!0x1};}const fC=Object['create'](null),mC=[NodeType['none']],gC=[],pC=Object['create'](null),OC=Object['create'](null);for(let [e,i]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']])OC[e]=bC(fC,i);function wC(_0x9ff110,_0x2e41ea){gC['indexOf'](_0x9ff110)>-0x1||(gC['push'](_0x9ff110),console['warn'](_0x2e41ea));}function bC(_0xc017fe,_0x50dca7){let _0x426eb9=[];for(let _0x4e42c7 of _0x50dca7['split']('\x20')){let _0x21df97=[];for(let _0x32b005 of _0x4e42c7['split']('.')){let _0x12ac38=_0xc017fe[_0x32b005]||zS[_0x32b005];_0x12ac38?'function'==typeof _0x12ac38?_0x21df97['length']?_0x21df97=_0x21df97['map'](_0x12ac38):wC(_0x32b005,'Modifier\x20'+_0x32b005+'\x20used\x20at\x20start\x20of\x20tag'):_0x21df97['length']?wC(_0x32b005,'Tag\x20'+_0x32b005+'\x20used\x20as\x20modifier'):_0x21df97=Array['isArray'](_0x12ac38)?_0x12ac38:[_0x12ac38]:wC(_0x32b005,'Unknown\x20highlighting\x20tag\x20'+_0x32b005);}for(let _0x3fc07c of _0x21df97)_0x426eb9['push'](_0x3fc07c);}if(!_0x426eb9['length'])return 0x0;let _0x3533f4=_0x50dca7['replace'](/ /g,'_'),_0x58fca4=_0x3533f4+'\x20'+_0x426eb9['map'](t=>t['id']),_0x1c6960=pC[_0x58fca4];if(_0x1c6960)return _0x1c6960['id'];let _0x260096=pC[_0x58fca4]=NodeType['define']({'id':mC['length'],'name':_0x3533f4,'props':[RS({[_0x3533f4]:_0x426eb9})]});return mC['push'](_0x260096),_0x260096['id'];}Av['RTL'],Av['LTR'];function yC(_0x484b6e,_0x2189ff){return({state:_0x2cd50a,dispatch:_0x8ee8d9})=>{if(_0x2cd50a['readOnly'])return!0x1;let _0x32655d=_0x484b6e(_0x2189ff,_0x2cd50a);return!!_0x32655d&&(_0x8ee8d9(_0x2cd50a['update'](_0x32655d)),!0x0);};}const _C=yC(IC,0x0),vC=yC(SC,0x0),TC=yC((_0x6cd022,_0x57b522)=>SC(_0x6cd022,_0x57b522,function(_0x5fdede){let _0x5bb8df=[];for(let _0x1f26bf of _0x5fdede['selection']['ranges']){let _0x3b2840=_0x5fdede['doc']['lineAt'](_0x1f26bf['from']),_0x56ef24=_0x1f26bf['to']<=_0x3b2840['to']?_0x3b2840:_0x5fdede['doc']['lineAt'](_0x1f26bf['to']);_0x56ef24['from']>_0x3b2840['from']&&_0x56ef24['from']==_0x1f26bf['to']&&(_0x56ef24=_0x1f26bf['to']==_0x3b2840['to']+0x1?_0x3b2840:_0x5fdede['doc']['lineAt'](_0x1f26bf['to']-0x1));let _0x31b95e=_0x5bb8df['length']-0x1;_0x31b95e>=0x0&&_0x5bb8df[_0x31b95e]['to']>_0x3b2840['from']?_0x5bb8df[_0x31b95e]['to']=_0x56ef24['to']:_0x5bb8df['push']({'from':_0x3b2840['from']+/^\s*/['exec'](_0x3b2840['text'])[0x0]['length'],'to':_0x56ef24['to']});}return _0x5bb8df;}(_0x57b522)),0x0);function EC(_0x1d8e80,_0x279a42){let _0x3451bf=_0x1d8e80['languageDataAt']('commentTokens',_0x279a42,0x1);return _0x3451bf['length']?_0x3451bf[0x0]:{};}const AC=0x32;function SC(_0x197a5e,_0x3237cd,_0x15a7cf=_0x3237cd['selection']['ranges']){let _0x1274fa=_0x15a7cf['map'](_0x12ea70=>EC(_0x3237cd,_0x12ea70['from'])['block']);if(!_0x1274fa['every'](_0x5c6031=>_0x5c6031))return null;let _0x180033=_0x15a7cf['map']((_0xae3795,_0xa41946)=>function(_0x344b88,{open:_0x1922d1,close:_0x1c7d0e},_0x3fde22,_0x59f735){let _0x125fcf,_0x3fac2c,_0x4e29cd=_0x344b88['sliceDoc'](_0x3fde22-AC,_0x3fde22),_0x13257b=_0x344b88['sliceDoc'](_0x59f735,_0x59f735+AC),_0x4409b9=/\s*$/['exec'](_0x4e29cd)[0x0]['length'],_0x16fa88=/^\s*/['exec'](_0x13257b)[0x0]['length'],_0x334d77=_0x4e29cd['length']-_0x4409b9;if(_0x4e29cd['slice'](_0x334d77-_0x1922d1['length'],_0x334d77)==_0x1922d1&&_0x13257b['slice'](_0x16fa88,_0x16fa88+_0x1c7d0e['length'])==_0x1c7d0e)return{'open':{'pos':_0x3fde22-_0x4409b9,'margin':_0x4409b9&&0x1},'close':{'pos':_0x59f735+_0x16fa88,'margin':_0x16fa88&&0x1}};_0x59f735-_0x3fde22<=0x2*AC?_0x125fcf=_0x3fac2c=_0x344b88['sliceDoc'](_0x3fde22,_0x59f735):(_0x125fcf=_0x344b88['sliceDoc'](_0x3fde22,_0x3fde22+AC),_0x3fac2c=_0x344b88['sliceDoc'](_0x59f735-AC,_0x59f735));let _0x1a4a49=/^\s*/['exec'](_0x125fcf)[0x0]['length'],_0x86112a=/\s*$/['exec'](_0x3fac2c)[0x0]['length'],_0x432430=_0x3fac2c['length']-_0x86112a-_0x1c7d0e['length'];return _0x125fcf['slice'](_0x1a4a49,_0x1a4a49+_0x1922d1['length'])==_0x1922d1&&_0x3fac2c['slice'](_0x432430,_0x432430+_0x1c7d0e['length'])==_0x1c7d0e?{'open':{'pos':_0x3fde22+_0x1a4a49+_0x1922d1['length'],'margin':/\s/['test'](_0x125fcf['charAt'](_0x1a4a49+_0x1922d1['length']))?0x1:0x0},'close':{'pos':_0x59f735-_0x86112a-_0x1c7d0e['length'],'margin':/\s/['test'](_0x3fac2c['charAt'](_0x432430-0x1))?0x1:0x0}}:null;}(_0x3237cd,_0x1274fa[_0xa41946],_0xae3795['from'],_0xae3795['to']));if(0x2!=_0x197a5e&&!_0x180033['every'](_0x2ac79b=>_0x2ac79b))return{'changes':_0x3237cd['changes'](_0x15a7cf['map']((_0x151d82,_0x281f9b)=>_0x180033[_0x281f9b]?[]:[{'from':_0x151d82['from'],'insert':_0x1274fa[_0x281f9b]['open']+'\x20'},{'from':_0x151d82['to'],'insert':'\x20'+_0x1274fa[_0x281f9b]['close']}]))};if(0x1!=_0x197a5e&&_0x180033['some'](_0x5dabd7=>_0x5dabd7)){let _0x215aab=[];for(let _0x51dab7,_0x17a79f=0x0;_0x17a79f<_0x180033['length'];_0x17a79f++)if(_0x51dab7=_0x180033[_0x17a79f]){let _0x2154c5=_0x1274fa[_0x17a79f],{open:_0x4146e0,close:_0x5bc1ae}=_0x51dab7;_0x215aab['push']({'from':_0x4146e0['pos']-_0x2154c5['open']['length'],'to':_0x4146e0['pos']+_0x4146e0['margin']},{'from':_0x5bc1ae['pos']-_0x5bc1ae['margin'],'to':_0x5bc1ae['pos']+_0x2154c5['close']['length']});}return{'changes':_0x215aab};}return null;}function IC(_0x4d09f6,_0x41359f,_0x289462=_0x41359f['selection']['ranges']){let _0xafdbfe=[],_0x2cc7d3=-0x1;for(let {from:_0x366798,to:_0x38643c}of _0x289462){let _0x49c480=_0xafdbfe['length'],_0x28aad5=0x3b9aca00,_0x2f0852=EC(_0x41359f,_0x366798)['line'];if(_0x2f0852){for(let _0x447551=_0x366798;_0x447551<=_0x38643c;){let _0x18a3de=_0x41359f['doc']['lineAt'](_0x447551);if(_0x18a3de['from']>_0x2cc7d3&&(_0x366798==_0x38643c||_0x38643c>_0x18a3de['from'])){_0x2cc7d3=_0x18a3de['from'];let _0x25a0d4=/^\s*/['exec'](_0x18a3de['text'])[0x0]['length'],_0x3f8e3c=_0x25a0d4==_0x18a3de['length'],_0x3008b5=_0x18a3de['text']['slice'](_0x25a0d4,_0x25a0d4+_0x2f0852['length'])==_0x2f0852?_0x25a0d4:-0x1;_0x25a0d4<_0x18a3de['text']['length']&&_0x25a0d4<_0x28aad5&&(_0x28aad5=_0x25a0d4),_0xafdbfe['push']({'line':_0x18a3de,'comment':_0x3008b5,'token':_0x2f0852,'indent':_0x25a0d4,'empty':_0x3f8e3c,'single':!0x1});}_0x447551=_0x18a3de['to']+0x1;}if(_0x28aad5<0x3b9aca00){for(let _0x2c608f=_0x49c480;_0x2c608f<_0xafdbfe['length'];_0x2c608f++)_0xafdbfe[_0x2c608f]['indent']<_0xafdbfe[_0x2c608f]['line']['text']['length']&&(_0xafdbfe[_0x2c608f]['indent']=_0x28aad5);}_0xafdbfe['length']==_0x49c480+0x1&&(_0xafdbfe[_0x49c480]['single']=!0x0);}}if(0x2!=_0x4d09f6&&_0xafdbfe['some'](_0x22dc1f=>_0x22dc1f['comment']<0x0&&(!_0x22dc1f['empty']||_0x22dc1f['single']))){let _0x39bbb4=[];for(let {line:_0x4ed425,token:_0x43970e,indent:_0x3cd3b8,empty:_0x77126d,single:_0x467974}of _0xafdbfe)!_0x467974&&_0x77126d||_0x39bbb4['push']({'from':_0x4ed425['from']+_0x3cd3b8,'insert':_0x43970e+'\x20'});let _0x4a713e=_0x41359f['changes'](_0x39bbb4);return{'changes':_0x4a713e,'selection':_0x41359f['selection']['map'](_0x4a713e,0x1)};}if(0x1!=_0x4d09f6&&_0xafdbfe['some'](_0x688851=>_0x688851['comment']>=0x0)){let _0x4bb521=[];for(let {line:_0x403441,comment:_0x58aa96,token:_0x4fb03e}of _0xafdbfe)if(_0x58aa96>=0x0){let _0x3bfeae=_0x403441['from']+_0x58aa96,_0x4d8888=_0x3bfeae+_0x4fb03e['length'];'\x20'==_0x403441['text'][_0x4d8888-_0x403441['from']]&&_0x4d8888++,_0x4bb521['push']({'from':_0x3bfeae,'to':_0x4d8888});}return{'changes':_0x4bb521};}return null;}const CC=Annotation['define'](),kC=Annotation['define'](),xC=Facet['define'](),RC=Facet['define']({'combine':_0x330e17=>a_(_0x330e17,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x50027d,_0x2e9df4)=>_0x2e9df4},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x420804,_0x131134)=>(_0x442ae5,_0x5051dd)=>_0x420804(_0x442ae5,_0x5051dd)||_0x131134(_0x442ae5,_0x5051dd)})}),PC=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x592e9b,_0x27acf0){let _0x45d920=_0x27acf0['state']['facet'](RC),_0x131380=_0x27acf0['annotation'](CC);if(_0x131380){let _0x27362d=HistEvent['fromTransaction'](_0x27acf0,_0x131380['selection']),_0x167699=_0x131380['side'],_0x6b4892=0x0==_0x167699?_0x592e9b['undone']:_0x592e9b['done'];return _0x6b4892=_0x27362d?VC(_0x6b4892,_0x6b4892['length'],_0x45d920['minDepth'],_0x27362d):jC(_0x6b4892,_0x27acf0['startState']['selection']),new HistoryState(0x0==_0x167699?_0x131380['rest']:_0x6b4892,0x0==_0x167699?_0x6b4892:_0x131380['rest']);}let _0x34ae5e=_0x27acf0['annotation'](kC);if('full'!=_0x34ae5e&&'before'!=_0x34ae5e||(_0x592e9b=_0x592e9b['isolate']()),!0x1===_0x27acf0['annotation'](Transaction['addToHistory']))return _0x27acf0['changes']['empty']?_0x592e9b:_0x592e9b['addMapping'](_0x27acf0['changes']['desc']);let _0x3d9362=HistEvent['fromTransaction'](_0x27acf0),_0xe74c5e=_0x27acf0['annotation'](Transaction['time']),_0x46fa60=_0x27acf0['annotation'](Transaction['userEvent']);return _0x3d9362?_0x592e9b=_0x592e9b['addChanges'](_0x3d9362,_0xe74c5e,_0x46fa60,_0x45d920,_0x27acf0):_0x27acf0['selection']&&(_0x592e9b=_0x592e9b['addSelection'](_0x27acf0['startState']['selection'],_0xe74c5e,_0x46fa60,_0x45d920['newGroupDelay'])),'full'!=_0x34ae5e&&'after'!=_0x34ae5e||(_0x592e9b=_0x592e9b['isolate']()),_0x592e9b;},'toJSON':_0x7d3914=>({'done':_0x7d3914['done']['map'](_0x15e41b=>_0x15e41b['toJSON']()),'undone':_0x7d3914['undone']['map'](_0x456912=>_0x456912['toJSON']())}),'fromJSON':_0x16c838=>new HistoryState(_0x16c838['done']['map'](HistEvent['fromJSON']),_0x16c838['undone']['map'](HistEvent['fromJSON']))});function MC(_0x335019={}){return[PC,RC['of'](_0x335019),EditorView['domEventHandlers']({'beforeinput'(_0x39e095,_0x2077f8){let _0x93d362='historyUndo'==_0x39e095['inputType']?LC:'historyRedo'==_0x39e095['inputType']?DC:null;return!!_0x93d362&&(_0x39e095['preventDefault'](),_0x93d362(_0x2077f8));}})];}function NC(_0xe45264,_0x35ffd1){return function({state:_0x5c7613,dispatch:_0x54eee3}){if(!_0x35ffd1&&_0x5c7613['readOnly'])return!0x1;let _0x820299=_0x5c7613['field'](PC,!0x1);if(!_0x820299)return!0x1;let _0x59fa0e=_0x820299['pop'](_0xe45264,_0x5c7613,_0x35ffd1);return!!_0x59fa0e&&(_0x54eee3(_0x59fa0e),!0x0);};}const LC=NC(0x0,!0x1),DC=NC(0x1,!0x1),QC=NC(0x0,!0x0),$C=NC(0x1,!0x0);class HistEvent{constructor(_0x2ec964,_0x38a07f,_0x555458,_0x2d0895,_0x3be911){this['changes']=_0x2ec964,this['effects']=_0x38a07f,this['mapped']=_0x555458,this['startSelection']=_0x2d0895,this['selectionsAfter']=_0x3be911;}['setSelAfter'](_0x24c136){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x24c136);}['toJSON'](){var _0x55526b,_0x47c867,_0x5d561b;return{'changes':null===(_0x55526b=this['changes'])||void 0x0===_0x55526b?void 0x0:_0x55526b['toJSON'](),'mapped':null===(_0x47c867=this['mapped'])||void 0x0===_0x47c867?void 0x0:_0x47c867['toJSON'](),'startSelection':null===(_0x5d561b=this['startSelection'])||void 0x0===_0x5d561b?void 0x0:_0x5d561b['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x143ede=>_0x143ede['toJSON']())};}static['fromJSON'](_0x15fec9){return new HistEvent(_0x15fec9['changes']&&ChangeSet['fromJSON'](_0x15fec9['changes']),[],_0x15fec9['mapped']&&ChangeDesc['fromJSON'](_0x15fec9['mapped']),_0x15fec9['startSelection']&&EditorSelection['fromJSON'](_0x15fec9['startSelection']),_0x15fec9['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x17638f,_0x24b75c){let _0x56f384=BC;for(let _0x90c762 of _0x17638f['startState']['facet'](xC)){let _0x32d617=_0x90c762(_0x17638f);_0x32d617['length']&&(_0x56f384=_0x56f384['concat'](_0x32d617));}return!_0x56f384['length']&&_0x17638f['changes']['empty']?null:new HistEvent(_0x17638f['changes']['invert'](_0x17638f['startState']['doc']),_0x56f384,void 0x0,_0x24b75c||_0x17638f['startState']['selection'],BC);}static['selection'](_0x3b8d98){return new HistEvent(void 0x0,BC,void 0x0,void 0x0,_0x3b8d98);}}function VC(_0x21a402,_0x320f12,_0x1eae83,_0x4e7c75){let _0x315660=_0x320f12+0x1>_0x1eae83+0x14?_0x320f12-_0x1eae83-0x1:0x0,_0x557569=_0x21a402['slice'](_0x315660,_0x320f12);return _0x557569['push'](_0x4e7c75),_0x557569;}function UC(_0x8a78d9,_0x42f0e4){return _0x8a78d9['length']?_0x42f0e4['length']?_0x8a78d9['concat'](_0x42f0e4):_0x8a78d9:_0x42f0e4;}const BC=[],FC=0xc8;function jC(_0xc1201e,_0x4f5298){if(_0xc1201e['length']){let _0x17e14e=_0xc1201e[_0xc1201e['length']-0x1],_0x5343fb=_0x17e14e['selectionsAfter']['slice'](Math['max'](0x0,_0x17e14e['selectionsAfter']['length']-FC));return _0x5343fb['length']&&_0x5343fb[_0x5343fb['length']-0x1]['eq'](_0x4f5298)?_0xc1201e:(_0x5343fb['push'](_0x4f5298),VC(_0xc1201e,_0xc1201e['length']-0x1,0x3b9aca00,_0x17e14e['setSelAfter'](_0x5343fb)));}return[HistEvent['selection']([_0x4f5298])];}function HC(_0x133c8c){let _0xa61e88=_0x133c8c[_0x133c8c['length']-0x1],_0x309453=_0x133c8c['slice']();return _0x309453[_0x133c8c['length']-0x1]=_0xa61e88['setSelAfter'](_0xa61e88['selectionsAfter']['slice'](0x0,_0xa61e88['selectionsAfter']['length']-0x1)),_0x309453;}function GC(_0x54686c,_0x24dd69){if(!_0x54686c['length'])return _0x54686c;let _0x44ccd9=_0x54686c['length'],_0x140283=BC;for(;_0x44ccd9;){let _0x4cc8a1=ZC(_0x54686c[_0x44ccd9-0x1],_0x24dd69,_0x140283);if(_0x4cc8a1['changes']&&!_0x4cc8a1['changes']['empty']||_0x4cc8a1['effects']['length']){let _0x467eaf=_0x54686c['slice'](0x0,_0x44ccd9);return _0x467eaf[_0x44ccd9-0x1]=_0x4cc8a1,_0x467eaf;}_0x24dd69=_0x4cc8a1['mapped'],_0x44ccd9--,_0x140283=_0x4cc8a1['selectionsAfter'];}return _0x140283['length']?[HistEvent['selection'](_0x140283)]:BC;}function ZC(_0x40fe3d,_0x402c73,_0x4ec0d2){let _0x72684c=UC(_0x40fe3d['selectionsAfter']['length']?_0x40fe3d['selectionsAfter']['map'](_0x113174=>_0x113174['map'](_0x402c73)):BC,_0x4ec0d2);if(!_0x40fe3d['changes'])return HistEvent['selection'](_0x72684c);let _0x4e28c2=_0x40fe3d['changes']['map'](_0x402c73),_0x46e2f0=_0x402c73['mapDesc'](_0x40fe3d['changes'],!0x0),_0x2dc446=_0x40fe3d['mapped']?_0x40fe3d['mapped']['composeDesc'](_0x46e2f0):_0x46e2f0;return new HistEvent(_0x4e28c2,StateEffect['mapEffects'](_0x40fe3d['effects'],_0x402c73),_0x2dc446,_0x40fe3d['startSelection']['map'](_0x46e2f0),_0x72684c);}const XC=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x3233d1,_0x90ad32,_0xda086e=0x0,_0x364c81=void 0x0){this['done']=_0x3233d1,this['undone']=_0x90ad32,this['prevTime']=_0xda086e,this['prevUserEvent']=_0x364c81;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x6d3683,_0x2dc504,_0xd8fea6,_0x244e67,_0x36fbc2){let _0x34ace2=this['done'],_0x18b4c8=_0x34ace2[_0x34ace2['length']-0x1];return _0x34ace2=_0x18b4c8&&_0x18b4c8['changes']&&!_0x18b4c8['changes']['empty']&&_0x6d3683['changes']&&(!_0xd8fea6||XC['test'](_0xd8fea6))&&(!_0x18b4c8['selectionsAfter']['length']&&_0x2dc504-this['prevTime']<_0x244e67['newGroupDelay']&&_0x244e67['joinToEvent'](_0x36fbc2,function(_0x484bd4,_0x27efd9){let _0x481018=[],_0x5528bd=!0x1;return _0x484bd4['iterChangedRanges']((_0xab80db,t)=>_0x481018['push'](_0xab80db,t)),_0x27efd9['iterChangedRanges']((_0x54b257,_0x38dfc3,_0xddf5d5,t)=>{for(let _0x54a201=0x0;_0x54a201<_0x481018['length'];){let _0x302bce=_0x481018[_0x54a201++],_0x2ecfdc=_0x481018[_0x54a201++];t>=_0x302bce&&_0xddf5d5<=_0x2ecfdc&&(_0x5528bd=!0x0);}}),_0x5528bd;}(_0x18b4c8['changes'],_0x6d3683['changes']))||'input.type.compose'==_0xd8fea6)?VC(_0x34ace2,_0x34ace2['length']-0x1,_0x244e67['minDepth'],new HistEvent(_0x6d3683['changes']['compose'](_0x18b4c8['changes']),UC(StateEffect['mapEffects'](_0x6d3683['effects'],_0x18b4c8['changes']),_0x18b4c8['effects']),_0x18b4c8['mapped'],_0x18b4c8['startSelection'],BC)):VC(_0x34ace2,_0x34ace2['length'],_0x244e67['minDepth'],_0x6d3683),new HistoryState(_0x34ace2,BC,_0x2dc504,_0xd8fea6);}['addSelection'](_0x3f9a69,_0x2c738d,_0x5864c4,_0x14f64b){let _0x7932ad=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:BC;return _0x7932ad['length']>0x0&&_0x2c738d-this['prevTime']<_0x14f64b&&_0x5864c4==this['prevUserEvent']&&_0x5864c4&&/^select($|\.)/['test'](_0x5864c4)&&function(_0x264961,_0x30eb51){return _0x264961['ranges']['length']==_0x30eb51['ranges']['length']&&0x0===_0x264961['ranges']['filter']((_0x3d0605,_0x4d8663)=>_0x3d0605['empty']!=_0x30eb51['ranges'][_0x4d8663]['empty'])['length'];}(_0x7932ad[_0x7932ad['length']-0x1],_0x3f9a69)?this:new HistoryState(jC(this['done'],_0x3f9a69),this['undone'],_0x2c738d,_0x5864c4);}['addMapping'](_0x3a3292){return new HistoryState(GC(this['done'],_0x3a3292),GC(this['undone'],_0x3a3292),this['prevTime'],this['prevUserEvent']);}['pop'](_0x1dc0a3,_0x1e0a68,_0x1c69eb){let _0x8c99e9=0x0==_0x1dc0a3?this['done']:this['undone'];if(0x0==_0x8c99e9['length'])return null;let _0x120aba=_0x8c99e9[_0x8c99e9['length']-0x1],_0x2196ae=_0x120aba['selectionsAfter'][0x0]||_0x1e0a68['selection'];if(_0x1c69eb&&_0x120aba['selectionsAfter']['length'])return _0x1e0a68['update']({'selection':_0x120aba['selectionsAfter'][_0x120aba['selectionsAfter']['length']-0x1],'annotations':CC['of']({'side':_0x1dc0a3,'rest':HC(_0x8c99e9),'selection':_0x2196ae}),'userEvent':0x0==_0x1dc0a3?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x120aba['changes']){let _0x4ec8cf=0x1==_0x8c99e9['length']?BC:_0x8c99e9['slice'](0x0,_0x8c99e9['length']-0x1);return _0x120aba['mapped']&&(_0x4ec8cf=GC(_0x4ec8cf,_0x120aba['mapped'])),_0x1e0a68['update']({'changes':_0x120aba['changes'],'selection':_0x120aba['startSelection'],'effects':_0x120aba['effects'],'annotations':CC['of']({'side':_0x1dc0a3,'rest':_0x4ec8cf,'selection':_0x2196ae}),'filter':!0x1,'userEvent':0x0==_0x1dc0a3?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(BC,BC);const qC=[{'key':'Mod-z','run':LC,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':DC,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':DC,'preventDefault':!0x0},{'key':'Mod-u','run':QC,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':$C,'preventDefault':!0x0}];function WC(_0x2d183a,_0x10222a){return EditorSelection['create'](_0x2d183a['ranges']['map'](_0x10222a),_0x2d183a['mainIndex']);}function zC(_0x3d8171,_0x36f9e5){return _0x3d8171['update']({'selection':_0x36f9e5,'scrollIntoView':!0x0,'userEvent':'select'});}function YC({state:_0x3b6c89,dispatch:_0x1235fb},_0x433b53){let _0x5e5651=WC(_0x3b6c89['selection'],_0x433b53);return!_0x5e5651['eq'](_0x3b6c89['selection'],!0x0)&&(_0x1235fb(zC(_0x3b6c89,_0x5e5651)),!0x0);}function KC(_0x94251f,_0x31d678){return EditorSelection['cursor'](_0x31d678?_0x94251f['to']:_0x94251f['from']);}function JC(_0x490f44,_0x210622){return YC(_0x490f44,_0x3f5cbd=>_0x3f5cbd['empty']?_0x490f44['moveByChar'](_0x3f5cbd,_0x210622):KC(_0x3f5cbd,_0x210622));}function tk(_0x20853e){return _0x20853e['textDirectionAt'](_0x20853e['state']['selection']['main']['head'])==Av['LTR'];}const ek=_0x4803c8=>JC(_0x4803c8,!tk(_0x4803c8)),ik=_0x470211=>JC(_0x470211,tk(_0x470211));function sk(_0x50792e,_0x1830a5){return YC(_0x50792e,_0x529e62=>_0x529e62['empty']?_0x50792e['moveByGroup'](_0x529e62,_0x1830a5):KC(_0x529e62,_0x1830a5));}function nk(_0x2497bc,_0x376c09,_0x1e28aa){if(_0x376c09['type']['prop'](_0x1e28aa))return!0x0;let _0x304f08=_0x376c09['to']-_0x376c09['from'];return _0x304f08&&(_0x304f08>0x2||/[^\s,.;:]/['test'](_0x2497bc['sliceDoc'](_0x376c09['from'],_0x376c09['to'])))||_0x376c09['firstChild'];}function rk(_0x32652b,_0x5a3d91,_0x46e14f){let _0x271f3c,_0x591f00,_0x3ddca1=iI(_0x32652b)['resolveInner'](_0x5a3d91['head']),_0x3e9d12=_0x46e14f?NodeProp['closedBy']:NodeProp['openedBy'];for(let _0x28e05b=_0x5a3d91['head'];;){let _0x449384=_0x46e14f?_0x3ddca1['childAfter'](_0x28e05b):_0x3ddca1['childBefore'](_0x28e05b);if(!_0x449384)break;nk(_0x32652b,_0x449384,_0x3e9d12)?_0x3ddca1=_0x449384:_0x28e05b=_0x46e14f?_0x449384['to']:_0x449384['from'];}return _0x591f00=_0x3ddca1['type']['prop'](_0x3e9d12)&&(_0x271f3c=_0x46e14f?uC(_0x32652b,_0x3ddca1['from'],0x1):uC(_0x32652b,_0x3ddca1['to'],-0x1))&&_0x271f3c['matched']?_0x46e14f?_0x271f3c['end']['to']:_0x271f3c['end']['from']:_0x46e14f?_0x3ddca1['to']:_0x3ddca1['from'],EditorSelection['cursor'](_0x591f00,_0x46e14f?-0x1:0x1);}function ok(_0x583049,_0x4636f1){return YC(_0x583049,_0x10429c=>{if(!_0x10429c['empty'])return KC(_0x10429c,_0x4636f1);let _0x29e2da=_0x583049['moveVertically'](_0x10429c,_0x4636f1);return _0x29e2da['head']!=_0x10429c['head']?_0x29e2da:_0x583049['moveToLineBoundary'](_0x10429c,_0x4636f1);});}const ak=_0x19155b=>ok(_0x19155b,!0x1),ck=_0x2f9bf8=>ok(_0x2f9bf8,!0x0);function lk(_0x54074c){let _0x1afca7,_0x5695ae=_0x54074c['scrollDOM']['clientHeight']<_0x54074c['scrollDOM']['scrollHeight']-0x2,_0x18ddcf=0x0,_0x2331b6=0x0;if(_0x5695ae){for(let _0x1e48f3 of _0x54074c['state']['facet'](EditorView['scrollMargins'])){let _0x4a5745=_0x1e48f3(_0x54074c);(null==_0x4a5745?void 0x0:_0x4a5745['top'])&&(_0x18ddcf=Math['max'](null==_0x4a5745?void 0x0:_0x4a5745['top'],_0x18ddcf)),(null==_0x4a5745?void 0x0:_0x4a5745['bottom'])&&(_0x2331b6=Math['max'](null==_0x4a5745?void 0x0:_0x4a5745['bottom'],_0x2331b6));}_0x1afca7=_0x54074c['scrollDOM']['clientHeight']-_0x18ddcf-_0x2331b6;}else _0x1afca7=(_0x54074c['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x18ddcf,'marginBottom':_0x2331b6,'selfScroll':_0x5695ae,'height':Math['max'](_0x54074c['defaultLineHeight'],_0x1afca7-0x5)};}function hk(_0x3a7441,_0x445994){let _0x501db7,_0xf80898=lk(_0x3a7441),{state:_0x5c9bb9}=_0x3a7441,_0x2835cf=WC(_0x5c9bb9['selection'],_0x331eac=>_0x331eac['empty']?_0x3a7441['moveVertically'](_0x331eac,_0x445994,_0xf80898['height']):KC(_0x331eac,_0x445994));if(_0x2835cf['eq'](_0x5c9bb9['selection']))return!0x1;if(_0xf80898['selfScroll']){let _0x3c4f00=_0x3a7441['coordsAtPos'](_0x5c9bb9['selection']['main']['head']),_0x54e28e=_0x3a7441['scrollDOM']['getBoundingClientRect'](),_0xfdc475=_0x54e28e['top']+_0xf80898['marginTop'],_0xe93f64=_0x54e28e['bottom']-_0xf80898['marginBottom'];_0x3c4f00&&_0x3c4f00['top']>_0xfdc475&&_0x3c4f00['bottom']<_0xe93f64&&(_0x501db7=EditorView['scrollIntoView'](_0x2835cf['main']['head'],{'y':'start','yMargin':_0x3c4f00['top']-_0xfdc475}));}return _0x3a7441['dispatch'](zC(_0x5c9bb9,_0x2835cf),{'effects':_0x501db7}),!0x0;}const uk=_0x582bc7=>hk(_0x582bc7,!0x1),dk=_0x3db0bd=>hk(_0x3db0bd,!0x0);function fk(_0x41ded1,_0x4aa666,_0xf20a4a){let _0x5b87ff=_0x41ded1['lineBlockAt'](_0x4aa666['head']),_0x5d4269=_0x41ded1['moveToLineBoundary'](_0x4aa666,_0xf20a4a);if(_0x5d4269['head']==_0x4aa666['head']&&_0x5d4269['head']!=(_0xf20a4a?_0x5b87ff['to']:_0x5b87ff['from'])&&(_0x5d4269=_0x41ded1['moveToLineBoundary'](_0x4aa666,_0xf20a4a,!0x1)),!_0xf20a4a&&_0x5d4269['head']==_0x5b87ff['from']&&_0x5b87ff['length']){let _0x4ef2bd=/^\s*/['exec'](_0x41ded1['state']['sliceDoc'](_0x5b87ff['from'],Math['min'](_0x5b87ff['from']+0x64,_0x5b87ff['to'])))[0x0]['length'];_0x4ef2bd&&_0x4aa666['head']!=_0x5b87ff['from']+_0x4ef2bd&&(_0x5d4269=EditorSelection['cursor'](_0x5b87ff['from']+_0x4ef2bd));}return _0x5d4269;}function mk(_0x3c2d76,_0x2692c0){let _0xb32598=WC(_0x3c2d76['state']['selection'],_0x532570=>{let _0x35c981=_0x2692c0(_0x532570);return EditorSelection['range'](_0x532570['anchor'],_0x35c981['head'],_0x35c981['goalColumn'],_0x35c981['bidiLevel']||void 0x0);});return!_0xb32598['eq'](_0x3c2d76['state']['selection'])&&(_0x3c2d76['dispatch'](zC(_0x3c2d76['state'],_0xb32598)),!0x0);}function gk(_0x334da5,_0x13bd5c){return mk(_0x334da5,_0x48393b=>_0x334da5['moveByChar'](_0x48393b,_0x13bd5c));}const pk=_0xe99adf=>gk(_0xe99adf,!tk(_0xe99adf)),Ok=_0x2cbfb2=>gk(_0x2cbfb2,tk(_0x2cbfb2));function wk(_0x267433,_0xfe09e5){return mk(_0x267433,_0x5d4e31=>_0x267433['moveByGroup'](_0x5d4e31,_0xfe09e5));}function bk(_0x896da,_0x567054){return mk(_0x896da,_0x227ddd=>_0x896da['moveVertically'](_0x227ddd,_0x567054));}const yk=_0x17c8a9=>bk(_0x17c8a9,!0x1),_k=_0x149cf6=>bk(_0x149cf6,!0x0);function vk(_0xfb7002,_0x4e401b){return mk(_0xfb7002,_0x18d122=>_0xfb7002['moveVertically'](_0x18d122,_0x4e401b,lk(_0xfb7002)['height']));}const Tk=_0x34919f=>vk(_0x34919f,!0x1),Ek=_0x4416aa=>vk(_0x4416aa,!0x0),Ak=({state:_0x45dc97,dispatch:_0x1aa6d2})=>(_0x1aa6d2(zC(_0x45dc97,{'anchor':0x0})),!0x0),Sk=({state:_0x3421b3,dispatch:_0x2b8d84})=>(_0x2b8d84(zC(_0x3421b3,{'anchor':_0x3421b3['doc']['length']})),!0x0),Ik=({state:_0x3597c9,dispatch:_0x29803b})=>(_0x29803b(zC(_0x3597c9,{'anchor':_0x3597c9['selection']['main']['anchor'],'head':0x0})),!0x0),Ck=({state:_0xe06a80,dispatch:_0x5a95f0})=>(_0x5a95f0(zC(_0xe06a80,{'anchor':_0xe06a80['selection']['main']['anchor'],'head':_0xe06a80['doc']['length']})),!0x0);function kk(_0x4beb3f,_0x318ce9){if(_0x4beb3f['state']['readOnly'])return!0x1;let _0x348596='delete.selection',{state:_0x1b83fb}=_0x4beb3f,_0x177a9d=_0x1b83fb['changeByRange'](_0x339192=>{let {from:_0x49c62a,to:_0x2435e8}=_0x339192;if(_0x49c62a==_0x2435e8){let _0x4cf5b0=_0x318ce9(_0x339192);_0x4cf5b0<_0x49c62a?(_0x348596='delete.backward',_0x4cf5b0=xk(_0x4beb3f,_0x4cf5b0,!0x1)):_0x4cf5b0>_0x49c62a&&(_0x348596='delete.forward',_0x4cf5b0=xk(_0x4beb3f,_0x4cf5b0,!0x0)),_0x49c62a=Math['min'](_0x49c62a,_0x4cf5b0),_0x2435e8=Math['max'](_0x2435e8,_0x4cf5b0);}else _0x49c62a=xk(_0x4beb3f,_0x49c62a,!0x1),_0x2435e8=xk(_0x4beb3f,_0x2435e8,!0x0);return _0x49c62a==_0x2435e8?{'range':_0x339192}:{'changes':{'from':_0x49c62a,'to':_0x2435e8},'range':EditorSelection['cursor'](_0x49c62a,_0x49c62a<_0x339192['head']?-0x1:0x1)};});return!_0x177a9d['changes']['empty']&&(_0x4beb3f['dispatch'](_0x1b83fb['update'](_0x177a9d,{'scrollIntoView':!0x0,'userEvent':_0x348596,'effects':'delete.selection'==_0x348596?EditorView['announce']['of'](_0x1b83fb['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function xk(_0x198480,_0x32390d,_0x23c663){if(_0x198480 instanceof EditorView){for(let _0x24745 of _0x198480['state']['facet'](EditorView['atomicRanges'])['map'](_0xe68d65=>_0xe68d65(_0x198480)))_0x24745['between'](_0x32390d,_0x32390d,(_0x30871e,_0x168997)=>{_0x30871e<_0x32390d&&_0x168997>_0x32390d&&(_0x32390d=_0x23c663?_0x168997:_0x30871e);});}return _0x32390d;}const Rk=(_0x2fa42a,_0x4518e6,_0x59d9e5)=>kk(_0x2fa42a,_0x2e762f=>{let _0x5df05b,_0x4bb1a7,_0x28a9cd=_0x2e762f['from'],{state:_0x4c6d52}=_0x2fa42a,_0x2e3a31=_0x4c6d52['doc']['lineAt'](_0x28a9cd);if(_0x59d9e5&&!_0x4518e6&&_0x28a9cd>_0x2e3a31['from']&&_0x28a9cd<_0x2e3a31['from']+0xc8&&!/[^ \t]/['test'](_0x5df05b=_0x2e3a31['text']['slice'](0x0,_0x28a9cd-_0x2e3a31['from']))){if('\x09'==_0x5df05b[_0x5df05b['length']-0x1])return _0x28a9cd-0x1;let _0x2effa5=O_(_0x5df05b,_0x4c6d52['tabSize'])%uI(_0x4c6d52)||uI(_0x4c6d52);for(let _0x3c8e8e=0x0;_0x3c8e8e<_0x2effa5&&'\x20'==_0x5df05b[_0x5df05b['length']-0x1-_0x3c8e8e];_0x3c8e8e++)_0x28a9cd--;_0x4bb1a7=_0x28a9cd;}else _0x4bb1a7=wy(_0x2e3a31['text'],_0x28a9cd-_0x2e3a31['from'],_0x4518e6,_0x4518e6)+_0x2e3a31['from'],_0x4bb1a7==_0x28a9cd&&_0x2e3a31['number']!=(_0x4518e6?_0x4c6d52['doc']['lines']:0x1)?_0x4bb1a7+=_0x4518e6?0x1:-0x1:!_0x4518e6&&/[\ufe00-\ufe0f]/['test'](_0x2e3a31['text']['slice'](_0x4bb1a7-_0x2e3a31['from'],_0x28a9cd-_0x2e3a31['from']))&&(_0x4bb1a7=wy(_0x2e3a31['text'],_0x4bb1a7-_0x2e3a31['from'],!0x1,!0x1)+_0x2e3a31['from']);return _0x4bb1a7;}),Pk=_0x2882a3=>Rk(_0x2882a3,!0x1,!0x0),Mk=_0x58647c=>Rk(_0x58647c,!0x0,!0x1),Nk=(_0x55a51a,_0x54146d)=>kk(_0x55a51a,_0x49b810=>{let _0x381452=_0x49b810['head'],{state:_0x48d08f}=_0x55a51a,_0x3d431e=_0x48d08f['doc']['lineAt'](_0x381452),_0xcab98a=_0x48d08f['charCategorizer'](_0x381452);for(let _0x1016d3=null;;){if(_0x381452==(_0x54146d?_0x3d431e['to']:_0x3d431e['from'])){_0x381452==_0x49b810['head']&&_0x3d431e['number']!=(_0x54146d?_0x48d08f['doc']['lines']:0x1)&&(_0x381452+=_0x54146d?0x1:-0x1);break;}let _0x481305=wy(_0x3d431e['text'],_0x381452-_0x3d431e['from'],_0x54146d)+_0x3d431e['from'],_0x2b6206=_0x3d431e['text']['slice'](Math['min'](_0x381452,_0x481305)-_0x3d431e['from'],Math['max'](_0x381452,_0x481305)-_0x3d431e['from']),_0x1dd8cb=_0xcab98a(_0x2b6206);if(null!=_0x1016d3&&_0x1dd8cb!=_0x1016d3)break;'\x20'==_0x2b6206&&_0x381452==_0x49b810['head']||(_0x1016d3=_0x1dd8cb),_0x381452=_0x481305;}return _0x381452;}),Lk=_0x280cd6=>Nk(_0x280cd6,!0x1);function Dk(_0xd298d5){let _0x4dfdcd=[],_0xe09d9d=-0x1;for(let _0x1a6a07 of _0xd298d5['selection']['ranges']){let _0x515999=_0xd298d5['doc']['lineAt'](_0x1a6a07['from']),_0x39f432=_0xd298d5['doc']['lineAt'](_0x1a6a07['to']);if(_0x1a6a07['empty']||_0x1a6a07['to']!=_0x39f432['from']||(_0x39f432=_0xd298d5['doc']['lineAt'](_0x1a6a07['to']-0x1)),_0xe09d9d>=_0x515999['number']){let _0x126262=_0x4dfdcd[_0x4dfdcd['length']-0x1];_0x126262['to']=_0x39f432['to'],_0x126262['ranges']['push'](_0x1a6a07);}else _0x4dfdcd['push']({'from':_0x515999['from'],'to':_0x39f432['to'],'ranges':[_0x1a6a07]});_0xe09d9d=_0x39f432['number']+0x1;}return _0x4dfdcd;}function Qk(_0x41340e,_0x30e770,_0xad130e){if(_0x41340e['readOnly'])return!0x1;let _0x75957c=[],_0x5d8575=[];for(let _0x4a75e7 of Dk(_0x41340e)){if(_0xad130e?_0x4a75e7['to']==_0x41340e['doc']['length']:0x0==_0x4a75e7['from'])continue;let _0x353f99=_0x41340e['doc']['lineAt'](_0xad130e?_0x4a75e7['to']+0x1:_0x4a75e7['from']-0x1),_0xfea2f2=_0x353f99['length']+0x1;if(_0xad130e){_0x75957c['push']({'from':_0x4a75e7['to'],'to':_0x353f99['to']},{'from':_0x4a75e7['from'],'insert':_0x353f99['text']+_0x41340e['lineBreak']});for(let _0x531fd4 of _0x4a75e7['ranges'])_0x5d8575['push'](EditorSelection['range'](Math['min'](_0x41340e['doc']['length'],_0x531fd4['anchor']+_0xfea2f2),Math['min'](_0x41340e['doc']['length'],_0x531fd4['head']+_0xfea2f2)));}else{_0x75957c['push']({'from':_0x353f99['from'],'to':_0x4a75e7['from']},{'from':_0x4a75e7['to'],'insert':_0x41340e['lineBreak']+_0x353f99['text']});for(let _0x30a721 of _0x4a75e7['ranges'])_0x5d8575['push'](EditorSelection['range'](_0x30a721['anchor']-_0xfea2f2,_0x30a721['head']-_0xfea2f2));}}return!!_0x75957c['length']&&(_0x30e770(_0x41340e['update']({'changes':_0x75957c,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x5d8575,_0x41340e['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function $k(_0x4f49a1,_0x1199ce,_0x3eafce){if(_0x4f49a1['readOnly'])return!0x1;let _0x210e3e=[];for(let _0x11a54d of Dk(_0x4f49a1))_0x3eafce?_0x210e3e['push']({'from':_0x11a54d['from'],'insert':_0x4f49a1['doc']['slice'](_0x11a54d['from'],_0x11a54d['to'])+_0x4f49a1['lineBreak']}):_0x210e3e['push']({'from':_0x11a54d['to'],'insert':_0x4f49a1['lineBreak']+_0x4f49a1['doc']['slice'](_0x11a54d['from'],_0x11a54d['to'])});return _0x1199ce(_0x4f49a1['update']({'changes':_0x210e3e,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const Vk=Bk(!0x1),Uk=Bk(!0x0);function Bk(_0x3ab2ee){return({state:_0x2a424d,dispatch:_0x372a59})=>{if(_0x2a424d['readOnly'])return!0x1;let _0x32bc4a=_0x2a424d['changeByRange'](_0x677f0a=>{let {from:_0x50ff6a,to:_0x3e0db0}=_0x677f0a,_0x27643b=_0x2a424d['doc']['lineAt'](_0x50ff6a),_0x5061be=!_0x3ab2ee&&_0x50ff6a==_0x3e0db0&&function(_0x185a55,_0x2ae56c){if(/\(\)|\[\]|\{\}/['test'](_0x185a55['sliceDoc'](_0x2ae56c-0x1,_0x2ae56c+0x1)))return{'from':_0x2ae56c,'to':_0x2ae56c};let _0x406916,_0x1cfbf2=iI(_0x185a55)['resolveInner'](_0x2ae56c),_0x366e43=_0x1cfbf2['childBefore'](_0x2ae56c),_0xed79c5=_0x1cfbf2['childAfter'](_0x2ae56c);return _0x366e43&&_0xed79c5&&_0x366e43['to']<=_0x2ae56c&&_0xed79c5['from']>=_0x2ae56c&&(_0x406916=_0x366e43['type']['prop'](NodeProp['closedBy']))&&_0x406916['indexOf'](_0xed79c5['name'])>-0x1&&_0x185a55['doc']['lineAt'](_0x366e43['to'])['from']==_0x185a55['doc']['lineAt'](_0xed79c5['from'])['from']&&!/\S/['test'](_0x185a55['sliceDoc'](_0x366e43['to'],_0xed79c5['from']))?{'from':_0x366e43['to'],'to':_0xed79c5['from']}:null;}(_0x2a424d,_0x50ff6a);_0x3ab2ee&&(_0x50ff6a=_0x3e0db0=(_0x3e0db0<=_0x27643b['to']?_0x27643b:_0x2a424d['doc']['lineAt'](_0x3e0db0))['to']);let _0x56676a=new IndentContext(_0x2a424d,{'simulateBreak':_0x50ff6a,'simulateDoubleBreak':!!_0x5061be}),_0x34a14a=fI(_0x56676a,_0x50ff6a);for(null==_0x34a14a&&(_0x34a14a=O_(/^\s*/['exec'](_0x2a424d['doc']['lineAt'](_0x50ff6a)['text'])[0x0],_0x2a424d['tabSize']));_0x3e0db0<_0x27643b['to']&&/\s/['test'](_0x27643b['text'][_0x3e0db0-_0x27643b['from']]);)_0x3e0db0++;_0x5061be?{from:_0x50ff6a,to:_0x3e0db0}=_0x5061be:_0x50ff6a>_0x27643b['from']&&_0x50ff6a<_0x27643b['from']+0x64&&!/\S/['test'](_0x27643b['text']['slice'](0x0,_0x50ff6a))&&(_0x50ff6a=_0x27643b['from']);let _0x3ad2b3=['',dI(_0x2a424d,_0x34a14a)];return _0x5061be&&_0x3ad2b3['push'](dI(_0x2a424d,_0x56676a['lineIndent'](_0x27643b['from'],-0x1))),{'changes':{'from':_0x50ff6a,'to':_0x3e0db0,'insert':Text['of'](_0x3ad2b3)},'range':EditorSelection['cursor'](_0x50ff6a+0x1+_0x3ad2b3[0x1]['length'])};});return _0x372a59(_0x2a424d['update'](_0x32bc4a,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function Fk(_0x10d576,_0x44c861){let _0x2f0421=-0x1;return _0x10d576['changeByRange'](_0x104edd=>{let _0x5b04e0=[];for(let _0x48e351=_0x104edd['from'];_0x48e351<=_0x104edd['to'];){let _0x66060e=_0x10d576['doc']['lineAt'](_0x48e351);_0x66060e['number']>_0x2f0421&&(_0x104edd['empty']||_0x104edd['to']>_0x66060e['from'])&&(_0x44c861(_0x66060e,_0x5b04e0,_0x104edd),_0x2f0421=_0x66060e['number']),_0x48e351=_0x66060e['to']+0x1;}let _0x2db687=_0x10d576['changes'](_0x5b04e0);return{'changes':_0x5b04e0,'range':EditorSelection['range'](_0x2db687['mapPos'](_0x104edd['anchor'],0x1),_0x2db687['mapPos'](_0x104edd['head'],0x1))};});}const jk=({state:_0x17b08f,dispatch:_0xf0b86c})=>!_0x17b08f['readOnly']&&(_0xf0b86c(_0x17b08f['update'](Fk(_0x17b08f,(_0x354d47,_0x6f3108)=>{_0x6f3108['push']({'from':_0x354d47['from'],'insert':_0x17b08f['facet'](hI)});}),{'userEvent':'input.indent'})),!0x0),Hk=({state:_0x3de697,dispatch:_0x2d2407})=>!_0x3de697['readOnly']&&(_0x2d2407(_0x3de697['update'](Fk(_0x3de697,(_0x5e9fc3,_0x1a883b)=>{let _0x1be309=/^\s*/['exec'](_0x5e9fc3['text'])[0x0];if(!_0x1be309)return;let _0x58cecb=O_(_0x1be309,_0x3de697['tabSize']),_0x100e98=0x0,_0x20a82e=dI(_0x3de697,Math['max'](0x0,_0x58cecb-uI(_0x3de697)));for(;_0x100e98<_0x1be309['length']&&_0x100e98<_0x20a82e['length']&&_0x1be309['charCodeAt'](_0x100e98)==_0x20a82e['charCodeAt'](_0x100e98);)_0x100e98++;_0x1a883b['push']({'from':_0x5e9fc3['from']+_0x100e98,'to':_0x5e9fc3['from']+_0x1be309['length'],'insert':_0x20a82e['slice'](_0x100e98)});}),{'userEvent':'delete.dedent'})),!0x0),Gk=_0xdac774=>(_0xdac774['setTabFocusMode'](),!0x0),Zk=[{'key':'Ctrl-b','run':ek,'shift':pk,'preventDefault':!0x0},{'key':'Ctrl-f','run':ik,'shift':Ok},{'key':'Ctrl-p','run':ak,'shift':yk},{'key':'Ctrl-n','run':ck,'shift':_k},{'key':'Ctrl-a','run':_0x538b23=>YC(_0x538b23,_0x17e6fc=>EditorSelection['cursor'](_0x538b23['lineBlockAt'](_0x17e6fc['head'])['from'],0x1)),'shift':_0x4752b1=>mk(_0x4752b1,_0x58abf9=>EditorSelection['cursor'](_0x4752b1['lineBlockAt'](_0x58abf9['head'])['from']))},{'key':'Ctrl-e','run':_0x26775b=>YC(_0x26775b,_0x27b0ff=>EditorSelection['cursor'](_0x26775b['lineBlockAt'](_0x27b0ff['head'])['to'],-0x1)),'shift':_0xc11fc6=>mk(_0xc11fc6,_0x2dc63f=>EditorSelection['cursor'](_0xc11fc6['lineBlockAt'](_0x2dc63f['head'])['to']))},{'key':'Ctrl-d','run':Mk},{'key':'Ctrl-h','run':Pk},{'key':'Ctrl-k','run':_0x51e40d=>kk(_0x51e40d,_0x54dc2f=>{let _0x1fae7a=_0x51e40d['lineBlockAt'](_0x54dc2f['head'])['to'];return _0x54dc2f['head']<_0x1fae7a?_0x1fae7a:Math['min'](_0x51e40d['state']['doc']['length'],_0x54dc2f['head']+0x1);})},{'key':'Ctrl-Alt-h','run':Lk},{'key':'Ctrl-o','run':({state:_0x3da062,dispatch:_0x421846})=>{if(_0x3da062['readOnly'])return!0x1;let _0x32123a=_0x3da062['changeByRange'](_0x50e765=>({'changes':{'from':_0x50e765['from'],'to':_0x50e765['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x50e765['from'])}));return _0x421846(_0x3da062['update'](_0x32123a,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x5b6bd6,dispatch:_0x1f527d})=>{if(_0x5b6bd6['readOnly'])return!0x1;let _0xee1345=_0x5b6bd6['changeByRange'](_0x48570f=>{if(!_0x48570f['empty']||0x0==_0x48570f['from']||_0x48570f['from']==_0x5b6bd6['doc']['length'])return{'range':_0x48570f};let _0x1ba110=_0x48570f['from'],_0x7da72e=_0x5b6bd6['doc']['lineAt'](_0x1ba110),_0x5e4482=_0x1ba110==_0x7da72e['from']?_0x1ba110-0x1:wy(_0x7da72e['text'],_0x1ba110-_0x7da72e['from'],!0x1)+_0x7da72e['from'],_0x11b294=_0x1ba110==_0x7da72e['to']?_0x1ba110+0x1:wy(_0x7da72e['text'],_0x1ba110-_0x7da72e['from'],!0x0)+_0x7da72e['from'];return{'changes':{'from':_0x5e4482,'to':_0x11b294,'insert':_0x5b6bd6['doc']['slice'](_0x1ba110,_0x11b294)['append'](_0x5b6bd6['doc']['slice'](_0x5e4482,_0x1ba110))},'range':EditorSelection['cursor'](_0x11b294)};});return!_0xee1345['changes']['empty']&&(_0x1f527d(_0x5b6bd6['update'](_0xee1345,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':dk}],Xk=[{'key':'ArrowLeft','run':ek,'shift':pk,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x40cfc4=>sk(_0x40cfc4,!tk(_0x40cfc4)),'shift':_0x2ea409=>wk(_0x2ea409,!tk(_0x2ea409)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x145f6f=>YC(_0x145f6f,_0x4b7899=>fk(_0x145f6f,_0x4b7899,!tk(_0x145f6f))),'shift':_0x1bcc4b=>mk(_0x1bcc4b,_0x3696b5=>fk(_0x1bcc4b,_0x3696b5,!tk(_0x1bcc4b))),'preventDefault':!0x0},{'key':'ArrowRight','run':ik,'shift':Ok,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x3027b0=>sk(_0x3027b0,tk(_0x3027b0)),'shift':_0x43c6cf=>wk(_0x43c6cf,tk(_0x43c6cf)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x4bc940=>YC(_0x4bc940,_0x158898=>fk(_0x4bc940,_0x158898,tk(_0x4bc940))),'shift':_0x4ac280=>mk(_0x4ac280,_0x3449a0=>fk(_0x4ac280,_0x3449a0,tk(_0x4ac280))),'preventDefault':!0x0},{'key':'ArrowUp','run':ak,'shift':yk,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':Ak,'shift':Ik},{'mac':'Ctrl-ArrowUp','run':uk,'shift':Tk},{'key':'ArrowDown','run':ck,'shift':_k,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':Sk,'shift':Ck},{'mac':'Ctrl-ArrowDown','run':dk,'shift':Ek},{'key':'PageUp','run':uk,'shift':Tk},{'key':'PageDown','run':dk,'shift':Ek},{'key':'Home','run':_0x25cf92=>YC(_0x25cf92,_0x39752d=>fk(_0x25cf92,_0x39752d,!0x1)),'shift':_0x225527=>mk(_0x225527,_0x5b95a0=>fk(_0x225527,_0x5b95a0,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':Ak,'shift':Ik},{'key':'End','run':_0x2e73f4=>YC(_0x2e73f4,_0x52bb90=>fk(_0x2e73f4,_0x52bb90,!0x0)),'shift':_0x2c4018=>mk(_0x2c4018,_0x2e07aa=>fk(_0x2c4018,_0x2e07aa,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':Sk,'shift':Ck},{'key':'Enter','run':Vk,'shift':Vk},{'key':'Mod-a','run':({state:_0xa6a1e7,dispatch:_0x2dda21})=>(_0x2dda21(_0xa6a1e7['update']({'selection':{'anchor':0x0,'head':_0xa6a1e7['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':Pk,'shift':Pk},{'key':'Delete','run':Mk},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':Lk},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x2320a4=>Nk(_0x2320a4,!0x0)},{'mac':'Mod-Backspace','run':_0x26e1e2=>kk(_0x26e1e2,_0x39a53a=>{let _0x49a366=_0x26e1e2['moveToLineBoundary'](_0x39a53a,!0x1)['head'];return _0x39a53a['head']>_0x49a366?_0x49a366:Math['max'](0x0,_0x39a53a['head']-0x1);})},{'mac':'Mod-Delete','run':_0x1b180f=>kk(_0x1b180f,_0x3bcc3e=>{let _0x3a6ff2=_0x1b180f['moveToLineBoundary'](_0x3bcc3e,!0x0)['head'];return _0x3bcc3e['head']<_0x3a6ff2?_0x3a6ff2:Math['min'](_0x1b180f['state']['doc']['length'],_0x3bcc3e['head']+0x1);})}]['concat'](Zk['map'](_0xd428ab=>({'mac':_0xd428ab['key'],'run':_0xd428ab['run'],'shift':_0xd428ab['shift']}))),qk=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x2c1d82=>YC(_0x2c1d82,_0x12f9e5=>rk(_0x2c1d82['state'],_0x12f9e5,!tk(_0x2c1d82))),'shift':_0x247cf1=>mk(_0x247cf1,_0xb29a80=>rk(_0x247cf1['state'],_0xb29a80,!tk(_0x247cf1)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x588223=>YC(_0x588223,_0x3023d5=>rk(_0x588223['state'],_0x3023d5,tk(_0x588223))),'shift':_0x2544b9=>mk(_0x2544b9,_0x41a38c=>rk(_0x2544b9['state'],_0x41a38c,tk(_0x2544b9)))},{'key':'Alt-ArrowUp','run':({state:_0xb19f06,dispatch:_0x4bf798})=>Qk(_0xb19f06,_0x4bf798,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x4acf3a,dispatch:_0x22c760})=>$k(_0x4acf3a,_0x22c760,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x40a795,dispatch:_0x16dcd5})=>Qk(_0x40a795,_0x16dcd5,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x4d5558,dispatch:_0x531872})=>$k(_0x4d5558,_0x531872,!0x0)},{'key':'Escape','run':({state:_0x49f760,dispatch:_0x483ad8})=>{let _0x14a0fe=_0x49f760['selection'],_0xa2ea6e=null;return _0x14a0fe['ranges']['length']>0x1?_0xa2ea6e=EditorSelection['create']([_0x14a0fe['main']]):_0x14a0fe['main']['empty']||(_0xa2ea6e=EditorSelection['create']([EditorSelection['cursor'](_0x14a0fe['main']['head'])])),!!_0xa2ea6e&&(_0x483ad8(zC(_0x49f760,_0xa2ea6e)),!0x0);}},{'key':'Mod-Enter','run':Uk},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x57a8b9,dispatch:_0x83740a})=>{let _0xc034f4=Dk(_0x57a8b9)['map'](({from:_0x22924e,to:_0x5a970c})=>EditorSelection['range'](_0x22924e,Math['min'](_0x5a970c+0x1,_0x57a8b9['doc']['length'])));return _0x83740a(_0x57a8b9['update']({'selection':EditorSelection['create'](_0xc034f4),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0xf4a6e6,dispatch:_0x3d7958})=>{let _0x2b75fe=WC(_0xf4a6e6['selection'],_0x4db9c0=>{let _0x59b1ec=iI(_0xf4a6e6),_0x4a9f8c=_0x59b1ec['resolveStack'](_0x4db9c0['from'],0x1);if(_0x4db9c0['empty']){let _0x459c01=_0x59b1ec['resolveStack'](_0x4db9c0['from'],-0x1);_0x459c01['node']['from']>=_0x4a9f8c['node']['from']&&_0x459c01['node']['to']<=_0x4a9f8c['node']['to']&&(_0x4a9f8c=_0x459c01);}for(let _0x473d0a=_0x4a9f8c;_0x473d0a;_0x473d0a=_0x473d0a['next']){let {node:_0x424089}=_0x473d0a;if((_0x424089['from']<_0x4db9c0['from']&&_0x424089['to']>=_0x4db9c0['to']||_0x424089['to']>_0x4db9c0['to']&&_0x424089['from']<=_0x4db9c0['from'])&&_0x473d0a['next'])return EditorSelection['range'](_0x424089['to'],_0x424089['from']);}return _0x4db9c0;});return!_0x2b75fe['eq'](_0xf4a6e6['selection'])&&(_0x3d7958(zC(_0xf4a6e6,_0x2b75fe)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':Hk},{'key':'Mod-]','run':jk},{'key':'Mod-Alt-\x5c','run':({state:_0x298942,dispatch:_0x2e9bb5})=>{if(_0x298942['readOnly'])return!0x1;let _0x540397=Object['create'](null),_0x305f67=new IndentContext(_0x298942,{'overrideIndentation':_0x59e218=>{let _0x552d32=_0x540397[_0x59e218];return null==_0x552d32?-0x1:_0x552d32;}}),_0x457be7=Fk(_0x298942,(_0x3a3798,_0x144d54,_0x88f231)=>{let _0x16315c=fI(_0x305f67,_0x3a3798['from']);if(null==_0x16315c)return;/\S/['test'](_0x3a3798['text'])||(_0x16315c=0x0);let _0x4d5d2a=/^\s*/['exec'](_0x3a3798['text'])[0x0],_0x4b6f8f=dI(_0x298942,_0x16315c);(_0x4d5d2a!=_0x4b6f8f||_0x88f231['from']<_0x3a3798['from']+_0x4d5d2a['length'])&&(_0x540397[_0x3a3798['from']]=_0x16315c,_0x144d54['push']({'from':_0x3a3798['from'],'to':_0x3a3798['from']+_0x4d5d2a['length'],'insert':_0x4b6f8f}));});return _0x457be7['changes']['empty']||_0x2e9bb5(_0x298942['update'](_0x457be7,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x386ab5=>{if(_0x386ab5['state']['readOnly'])return!0x1;let {state:_0x308c77}=_0x386ab5,_0xf5cd9f=_0x308c77['changes'](Dk(_0x308c77)['map'](({from:_0x5b7dd7,to:_0x276dd0})=>(_0x5b7dd7>0x0?_0x5b7dd7--:_0x276dd0<_0x308c77['doc']['length']&&_0x276dd0++,{'from':_0x5b7dd7,'to':_0x276dd0}))),_0x2ac551=WC(_0x308c77['selection'],_0x237c5e=>{let _0x5bcf0c;if(_0x386ab5['lineWrapping']){let _0xfa4e9f=_0x386ab5['lineBlockAt'](_0x237c5e['head']),_0x1cbd62=_0x386ab5['coordsAtPos'](_0x237c5e['head'],_0x237c5e['assoc']||0x1);_0x1cbd62&&(_0x5bcf0c=_0xfa4e9f['bottom']+_0x386ab5['documentTop']-_0x1cbd62['bottom']+_0x386ab5['defaultLineHeight']/0x2);}return _0x386ab5['moveVertically'](_0x237c5e,!0x0,_0x5bcf0c);})['map'](_0xf5cd9f);return _0x386ab5['dispatch']({'changes':_0xf5cd9f,'selection':_0x2ac551,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x193222,dispatch:_0x18f858})=>function(_0x2d18e6,_0x15d3e9){let _0x313a6a=!0x1,_0x213694=WC(_0x2d18e6['selection'],_0x4ba225=>{let _0x51da35=uC(_0x2d18e6,_0x4ba225['head'],-0x1)||uC(_0x2d18e6,_0x4ba225['head'],0x1)||_0x4ba225['head']>0x0&&uC(_0x2d18e6,_0x4ba225['head']-0x1,0x1)||_0x4ba225['head']<_0x2d18e6['doc']['length']&&uC(_0x2d18e6,_0x4ba225['head']+0x1,-0x1);if(!_0x51da35||!_0x51da35['end'])return _0x4ba225;_0x313a6a=!0x0;let _0x206813=_0x51da35['start']['from']==_0x4ba225['head']?_0x51da35['end']['to']:_0x51da35['end']['from'];return EditorSelection['cursor'](_0x206813);});return!!_0x313a6a&&(_0x15d3e9(zC(_0x2d18e6,_0x213694)),!0x0);}(_0x193222,_0x18f858)},{'key':'Mod-/','run':_0x38f3a=>{let {state:_0x26cde5}=_0x38f3a,_0x14d47b=_0x26cde5['doc']['lineAt'](_0x26cde5['selection']['main']['from']),_0x5c5da3=EC(_0x38f3a['state'],_0x14d47b['from']);return _0x5c5da3['line']?_C(_0x38f3a):!!_0x5c5da3['block']&&TC(_0x38f3a);}},{'key':'Alt-A','run':vC},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':Gk}]['concat'](Xk);class CompletionContext{constructor(_0x372846,_0x826d28,_0x712581,_0x44de08){this['state']=_0x372846,this['pos']=_0x826d28,this['explicit']=_0x712581,this['view']=_0x44de08,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x3fdb1f){let _0x1d62c1=iI(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x1d62c1&&_0x3fdb1f['indexOf'](_0x1d62c1['name'])<0x0;)_0x1d62c1=_0x1d62c1['parent'];return _0x1d62c1?{'from':_0x1d62c1['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x1d62c1['from'],this['pos']),'type':_0x1d62c1['type']}:null;}['matchBefore'](_0xea284c){let _0x3102b7=this['state']['doc']['lineAt'](this['pos']),_0x3011aa=Math['max'](_0x3102b7['from'],this['pos']-0xfa),_0x54caf2=_0x3102b7['text']['slice'](_0x3011aa-_0x3102b7['from'],this['pos']-_0x3102b7['from']),_0x1566cd=_0x54caf2['search'](Kk(_0xea284c,!0x1));return _0x1566cd<0x0?null:{'from':_0x3011aa+_0x1566cd,'to':this['pos'],'text':_0x54caf2['slice'](_0x1566cd)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x43364b,_0x3e3a2e,_0x3a6ad5){'abort'==_0x43364b&&this['abortListeners']&&(this['abortListeners']['push'](_0x3e3a2e),_0x3a6ad5&&_0x3a6ad5['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function Wk(_0xdaa4ac){let _0x329bdd=Object['keys'](_0xdaa4ac)['join'](''),_0x3ca00e=/\w/['test'](_0x329bdd);return _0x3ca00e&&(_0x329bdd=_0x329bdd['replace'](/\w/g,'')),'['+(_0x3ca00e?'\x5cw':'')+_0x329bdd['replace'](/[^\w\s]/g,'\x5c$&')+']';}function zk(_0x43db2b){let _0x17fbd0=_0x43db2b['map'](_0x3d39c9=>'string'==typeof _0x3d39c9?{'label':_0x3d39c9}:_0x3d39c9),[_0x369a65,_0x15a0fd]=_0x17fbd0['every'](_0x5751ce=>/^\w+$/['test'](_0x5751ce['label']))?[/\w*$/,/\w+$/]:function(_0x5efa22){let _0x15789e=Object['create'](null),_0x74da20=Object['create'](null);for(let {label:_0x72b3c6}of _0x5efa22){_0x15789e[_0x72b3c6[0x0]]=!0x0;for(let _0x93da0f=0x1;_0x93da0f<_0x72b3c6['length'];_0x93da0f++)_0x74da20[_0x72b3c6[_0x93da0f]]=!0x0;}let _0x1254cc=Wk(_0x15789e)+Wk(_0x74da20)+'*$';return[new RegExp('^'+_0x1254cc),new RegExp(_0x1254cc)];}(_0x17fbd0);return _0x773719=>{let _0x338c95=_0x773719['matchBefore'](_0x15a0fd);return _0x338c95||_0x773719['explicit']?{'from':_0x338c95?_0x338c95['from']:_0x773719['pos'],'options':_0x17fbd0,'validFor':_0x369a65}:null;};}class Option{constructor(_0x374024,_0x5e9c3e,_0x29eb47,_0x505592){this['completion']=_0x374024,this['source']=_0x5e9c3e,this['match']=_0x29eb47,this['score']=_0x505592;}}function Yk(_0x72e473){return _0x72e473['selection']['main']['from'];}function Kk(_0x532e78,_0x5a11a2){var _0x32a83d;let {source:_0x5d6aa5}=_0x532e78,_0x224e04=_0x5a11a2&&'^'!=_0x5d6aa5[0x0],_0x5b9d4d='$'!=_0x5d6aa5[_0x5d6aa5['length']-0x1];return _0x224e04||_0x5b9d4d?new RegExp((_0x224e04?'^':'')+'(?:'+_0x5d6aa5+')'+(_0x5b9d4d?'$':''),null!==(_0x32a83d=_0x532e78['flags'])&&void 0x0!==_0x32a83d?_0x32a83d:_0x532e78['ignoreCase']?'i':''):_0x532e78;}const Jk=Annotation['define']();function tx(_0x1291fe,_0xe20a5a,_0x533a36,_0x4021b0){let {main:_0x4d28ad}=_0x1291fe['selection'],_0x58911d=_0x533a36-_0x4d28ad['from'],_0x4e82e8=_0x4021b0-_0x4d28ad['from'];return{..._0x1291fe['changeByRange'](_0x354d3d=>{if(_0x354d3d!=_0x4d28ad&&_0x533a36!=_0x4021b0&&_0x1291fe['sliceDoc'](_0x354d3d['from']+_0x58911d,_0x354d3d['from']+_0x4e82e8)!=_0x1291fe['sliceDoc'](_0x533a36,_0x4021b0))return{'range':_0x354d3d};let _0x4cc9a9=_0x1291fe['toText'](_0xe20a5a);return{'changes':{'from':_0x354d3d['from']+_0x58911d,'to':_0x4021b0==_0x4d28ad['from']?_0x354d3d['to']:_0x354d3d['from']+_0x4e82e8,'insert':_0x4cc9a9},'range':EditorSelection['cursor'](_0x354d3d['from']+_0x58911d+_0x4cc9a9['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const ex=new WeakMap();function ix(_0x21b939){if(!Array['isArray'](_0x21b939))return _0x21b939;let _0x4581e7=ex['get'](_0x21b939);return _0x4581e7||ex['set'](_0x21b939,_0x4581e7=zk(_0x21b939)),_0x4581e7;}const sx=StateEffect['define'](),nx=StateEffect['define']();class FuzzyMatcher{constructor(_0x409cf7){this['pattern']=_0x409cf7,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x45748e=0x0;_0x45748e<_0x409cf7['length'];){let _0x32abeb=by(_0x409cf7,_0x45748e),_0x2b9cd9=_y(_0x32abeb);this['chars']['push'](_0x32abeb);let _0x5eae9a=_0x409cf7['slice'](_0x45748e,_0x45748e+_0x2b9cd9),_0x4188dc=_0x5eae9a['toUpperCase']();this['folded']['push'](by(_0x4188dc==_0x5eae9a?_0x5eae9a['toLowerCase']():_0x4188dc,0x0)),_0x45748e+=_0x2b9cd9;}this['astral']=_0x409cf7['length']!=this['chars']['length'];}['ret'](_0x34db43,_0x3da08e){return this['score']=_0x34db43,this['matched']=_0x3da08e,this;}['match'](_0x3be64f){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x3be64f['length']<this['pattern']['length'])return null;let {chars:_0x1c528d,folded:_0x15b25b,any:_0xbd6604,precise:_0x2ad8c6,byWord:_0x192804}=this;if(0x1==_0x1c528d['length']){let _0x13bfd3=by(_0x3be64f,0x0),_0x34fea=_y(_0x13bfd3),_0x1d43c5=_0x34fea==_0x3be64f['length']?0x0:-0x64;if(_0x13bfd3==_0x1c528d[0x0]);else{if(_0x13bfd3!=_0x15b25b[0x0])return null;_0x1d43c5+=-0xc8;}return this['ret'](_0x1d43c5,[0x0,_0x34fea]);}let _0x60e7b5=_0x3be64f['indexOf'](this['pattern']);if(0x0==_0x60e7b5)return this['ret'](_0x3be64f['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x4e2297=_0x1c528d['length'],_0x1072e7=0x0;if(_0x60e7b5<0x0){for(let _0x53e81e=0x0,_0x22d868=Math['min'](_0x3be64f['length'],0xc8);_0x53e81e<_0x22d868&&_0x1072e7<_0x4e2297;){let _0x559d11=by(_0x3be64f,_0x53e81e);_0x559d11!=_0x1c528d[_0x1072e7]&&_0x559d11!=_0x15b25b[_0x1072e7]||(_0xbd6604[_0x1072e7++]=_0x53e81e),_0x53e81e+=_y(_0x559d11);}if(_0x1072e7<_0x4e2297)return null;}let _0x1246a4=0x0,_0x122f91=0x0,_0xf7b109=!0x1,_0x3f3a63=0x0,_0x415e7b=-0x1,_0x2539b6=-0x1,_0x330d8b=/[a-z]/['test'](_0x3be64f),_0x466dec=!0x0;for(let _0x10fc04=0x0,_0x220029=Math['min'](_0x3be64f['length'],0xc8),_0x189527=0x0;_0x10fc04<_0x220029&&_0x122f91<_0x4e2297;){let _0x29a36f=by(_0x3be64f,_0x10fc04);_0x60e7b5<0x0&&(_0x1246a4<_0x4e2297&&_0x29a36f==_0x1c528d[_0x1246a4]&&(_0x2ad8c6[_0x1246a4++]=_0x10fc04),_0x3f3a63<_0x4e2297&&(_0x29a36f==_0x1c528d[_0x3f3a63]||_0x29a36f==_0x15b25b[_0x3f3a63]?(0x0==_0x3f3a63&&(_0x415e7b=_0x10fc04),_0x2539b6=_0x10fc04+0x1,_0x3f3a63++):_0x3f3a63=0x0));let _0x34a211,_0x2b1c23=_0x29a36f<0xff?_0x29a36f>=0x30&&_0x29a36f<=0x39||_0x29a36f>=0x61&&_0x29a36f<=0x7a?0x2:_0x29a36f>=0x41&&_0x29a36f<=0x5a?0x1:0x0:(_0x34a211=yy(_0x29a36f))!=_0x34a211['toLowerCase']()?0x1:_0x34a211!=_0x34a211['toUpperCase']()?0x2:0x0;(!_0x10fc04||0x1==_0x2b1c23&&_0x330d8b||0x0==_0x189527&&0x0!=_0x2b1c23)&&(_0x1c528d[_0x122f91]==_0x29a36f||_0x15b25b[_0x122f91]==_0x29a36f&&(_0xf7b109=!0x0)?_0x192804[_0x122f91++]=_0x10fc04:_0x192804['length']&&(_0x466dec=!0x1)),_0x189527=_0x2b1c23,_0x10fc04+=_y(_0x29a36f);}return _0x122f91==_0x4e2297&&0x0==_0x192804[0x0]&&_0x466dec?this['result']((_0xf7b109?-0xc8:0x0)-0x64,_0x192804,_0x3be64f):_0x3f3a63==_0x4e2297&&0x0==_0x415e7b?this['ret'](-0xc8-_0x3be64f['length']+(_0x2539b6==_0x3be64f['length']?0x0:-0x64),[0x0,_0x2539b6]):_0x60e7b5>-0x1?this['ret'](-0x2bc-_0x3be64f['length'],[_0x60e7b5,_0x60e7b5+this['pattern']['length']]):_0x3f3a63==_0x4e2297?this['ret'](-0x384-_0x3be64f['length'],[_0x415e7b,_0x2539b6]):_0x122f91==_0x4e2297?this['result']((_0xf7b109?-0xc8:0x0)-0x64-0x2bc+(_0x466dec?0x0:-0x44c),_0x192804,_0x3be64f):0x2==_0x1c528d['length']?null:this['result']((_0xbd6604[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0xbd6604,_0x3be64f);}['result'](_0x4f8332,_0x235753,_0x21788a){let _0x30bf1f=[],_0x3b6bd3=0x0;for(let _0x546c42 of _0x235753){let _0x4ea4ac=_0x546c42+(this['astral']?_y(by(_0x21788a,_0x546c42)):0x1);_0x3b6bd3&&_0x30bf1f[_0x3b6bd3-0x1]==_0x546c42?_0x30bf1f[_0x3b6bd3-0x1]=_0x4ea4ac:(_0x30bf1f[_0x3b6bd3++]=_0x546c42,_0x30bf1f[_0x3b6bd3++]=_0x4ea4ac);}return this['ret'](_0x4f8332-_0x21788a['length'],_0x30bf1f);}}class StrictMatcher{constructor(_0xc8d044){this['pattern']=_0xc8d044,this['matched']=[],this['score']=0x0,this['folded']=_0xc8d044['toLowerCase']();}['match'](_0x55e0f6){if(_0x55e0f6['length']<this['pattern']['length'])return null;let _0x44c0b8=_0x55e0f6['slice'](0x0,this['pattern']['length']),_0x5d60bb=_0x44c0b8==this['pattern']?0x0:_0x44c0b8['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x5d60bb?null:(this['matched']=[0x0,_0x44c0b8['length']],this['score']=_0x5d60bb+(_0x55e0f6['length']==this['pattern']['length']?0x0:-0x64),this);}}const rx=Facet['define']({'combine':_0x1b9615=>a_(_0x1b9615,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':ax,'filterStrict':!0x1,'compareCompletions':(_0x26a4d0,_0x5153bb)=>_0x26a4d0['label']['localeCompare'](_0x5153bb['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x874b52,_0x4545fc)=>_0x874b52&&_0x4545fc,'closeOnBlur':(_0xb1cc49,_0x4d2978)=>_0xb1cc49&&_0x4d2978,'icons':(_0x59ade6,_0x4fcdf2)=>_0x59ade6&&_0x4fcdf2,'tooltipClass':(_0x25da66,_0x4c2b26)=>_0x1f30f9=>ox(_0x25da66(_0x1f30f9),_0x4c2b26(_0x1f30f9)),'optionClass':(_0x286f80,_0x24dea6)=>_0x2fb3f1=>ox(_0x286f80(_0x2fb3f1),_0x24dea6(_0x2fb3f1)),'addToOptions':(_0x23c107,_0x20d7fd)=>_0x23c107['concat'](_0x20d7fd),'filterStrict':(_0xeac8bf,_0x349492)=>_0xeac8bf||_0x349492})});function ox(_0x3fc33e,_0x4c444b){return _0x3fc33e?_0x4c444b?_0x3fc33e+'\x20'+_0x4c444b:_0x3fc33e:_0x4c444b;}function ax(_0x15dc74,_0x214011,_0x11793d,_0x208864,_0xa58d87,_0x578e49){let _0x5db7ef,_0x49b1e8,_0x3cce70=_0x15dc74['textDirection']==Av['RTL'],_0x43c5d9=_0x3cce70,_0x213ade=!0x1,_0x42d72f='top',_0x126ea3=_0x214011['left']-_0xa58d87['left'],_0x13ee1d=_0xa58d87['right']-_0x214011['right'],_0x152650=_0x208864['right']-_0x208864['left'],_0x1c6d07=_0x208864['bottom']-_0x208864['top'];if(_0x43c5d9&&_0x126ea3<Math['min'](_0x152650,_0x13ee1d)?_0x43c5d9=!0x1:!_0x43c5d9&&_0x13ee1d<Math['min'](_0x152650,_0x126ea3)&&(_0x43c5d9=!0x0),_0x152650<=(_0x43c5d9?_0x126ea3:_0x13ee1d))_0x5db7ef=Math['max'](_0xa58d87['top'],Math['min'](_0x11793d['top'],_0xa58d87['bottom']-_0x1c6d07))-_0x214011['top'],_0x49b1e8=Math['min'](0x190,_0x43c5d9?_0x126ea3:_0x13ee1d);else{_0x213ade=!0x0,_0x49b1e8=Math['min'](0x190,(_0x3cce70?_0x214011['right']:_0xa58d87['right']-_0x214011['left'])-0x1e);let _0x17ea76=_0xa58d87['bottom']-_0x214011['bottom'];_0x17ea76>=_0x1c6d07||_0x17ea76>_0x214011['top']?_0x5db7ef=_0x11793d['bottom']-_0x214011['top']:(_0x42d72f='bottom',_0x5db7ef=_0x214011['bottom']-_0x11793d['top']);}return{'style':_0x42d72f+':\x20'+_0x5db7ef/((_0x214011['bottom']-_0x214011['top'])/_0x578e49['offsetHeight'])+'px;\x20max-width:\x20'+_0x49b1e8/((_0x214011['right']-_0x214011['left'])/_0x578e49['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x213ade?_0x3cce70?'left-narrow':'right-narrow':_0x43c5d9?'left':'right')};}function cx(_0xbff588,_0x34e2ff,_0x572e20){if(_0xbff588<=_0x572e20)return{'from':0x0,'to':_0xbff588};if(_0x34e2ff<0x0&&(_0x34e2ff=0x0),_0x34e2ff<=_0xbff588>>0x1){let _0x262418=Math['floor'](_0x34e2ff/_0x572e20);return{'from':_0x262418*_0x572e20,'to':(_0x262418+0x1)*_0x572e20};}let _0x23b6bf=Math['floor']((_0xbff588-_0x34e2ff)/_0x572e20);return{'from':_0xbff588-(_0x23b6bf+0x1)*_0x572e20,'to':_0xbff588-_0x23b6bf*_0x572e20};}class CompletionTooltip{constructor(_0x16276c,_0x4bfe5f,_0x4d53a8){this['view']=_0x16276c,this['stateField']=_0x4bfe5f,this['applyCompletion']=_0x4d53a8,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x51fef0=>this['placeInfo'](_0x51fef0),'key':this},this['space']=null,this['currentClass']='';let _0x16b8b9=_0x16276c['state']['field'](_0x4bfe5f),{options:_0x51b530,selected:_0x1de39c}=_0x16b8b9['open'],_0x1ad1e3=_0x16276c['state']['facet'](rx);this['optionContent']=function(_0x43923b){let _0x156d8d=_0x43923b['addToOptions']['slice']();return _0x43923b['icons']&&_0x156d8d['push']({'render'(_0x145eab){let _0x423eac=document['createElement']('div');return _0x423eac['classList']['add']('cm-completionIcon'),_0x145eab['type']&&_0x423eac['classList']['add'](..._0x145eab['type']['split'](/\s+/g)['map'](_0x1997b9=>'cm-completionIcon-'+_0x1997b9)),_0x423eac['setAttribute']('aria-hidden','true'),_0x423eac;},'position':0x14}),_0x156d8d['push']({'render'(_0xfe51d8,_0x2f3f81,_0xa46f37,_0x99287a){let _0x25f5de=document['createElement']('span');_0x25f5de['className']='cm-completionLabel';let _0x4e73f4=_0xfe51d8['displayLabel']||_0xfe51d8['label'],_0x97df53=0x0;for(let _0x1190d2=0x0;_0x1190d2<_0x99287a['length'];){let _0x3fddbb=_0x99287a[_0x1190d2++],_0xb531bf=_0x99287a[_0x1190d2++];_0x3fddbb>_0x97df53&&_0x25f5de['appendChild'](document['createTextNode'](_0x4e73f4['slice'](_0x97df53,_0x3fddbb)));let _0xbb8bb8=_0x25f5de['appendChild'](document['createElement']('span'));_0xbb8bb8['appendChild'](document['createTextNode'](_0x4e73f4['slice'](_0x3fddbb,_0xb531bf))),_0xbb8bb8['className']='cm-completionMatchedText',_0x97df53=_0xb531bf;}return _0x97df53<_0x4e73f4['length']&&_0x25f5de['appendChild'](document['createTextNode'](_0x4e73f4['slice'](_0x97df53))),_0x25f5de;},'position':0x32},{'render'(_0x3753bc){if(!_0x3753bc['detail'])return null;let _0x2d5509=document['createElement']('span');return _0x2d5509['className']='cm-completionDetail',_0x2d5509['textContent']=_0x3753bc['detail'],_0x2d5509;},'position':0x50}),_0x156d8d['sort']((_0x135fd6,_0x33f520)=>_0x135fd6['position']-_0x33f520['position'])['map'](_0x52475d=>_0x52475d['render']);}(_0x1ad1e3),this['optionClass']=_0x1ad1e3['optionClass'],this['tooltipClass']=_0x1ad1e3['tooltipClass'],this['range']=cx(_0x51b530['length'],_0x1de39c,_0x1ad1e3['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x16276c['state']),this['dom']['addEventListener']('mousedown',_0x43eaff=>{let {options:_0x3d3125}=_0x16276c['state']['field'](_0x4bfe5f)['open'];for(let _0x211b3a,_0x3fe5e2=_0x43eaff['target'];_0x3fe5e2&&_0x3fe5e2!=this['dom'];_0x3fe5e2=_0x3fe5e2['parentNode'])if('LI'==_0x3fe5e2['nodeName']&&(_0x211b3a=/-(\d+)$/['exec'](_0x3fe5e2['id']))&&+_0x211b3a[0x1]<_0x3d3125['length'])return this['applyCompletion'](_0x16276c,_0x3d3125[+_0x211b3a[0x1]]),void _0x43eaff['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x6b425b=>{let _0x1b3c13=_0x16276c['state']['field'](this['stateField'],!0x1);_0x1b3c13&&_0x1b3c13['tooltip']&&_0x16276c['state']['facet'](rx)['closeOnBlur']&&_0x6b425b['relatedTarget']!=_0x16276c['contentDOM']&&_0x16276c['dispatch']({'effects':nx['of'](null)});}),this['showOptions'](_0x51b530,_0x16b8b9['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x1be4c3,_0x3443d3){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x1be4c3,_0x3443d3,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x2e727c){var _0x1842e9;let _0x148061=_0x2e727c['state']['field'](this['stateField']),_0x19cc24=_0x2e727c['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x2e727c['state']),_0x148061!=_0x19cc24){let {options:_0x12b2ed,selected:_0x4db270,disabled:_0x57c43f}=_0x148061['open'];_0x19cc24['open']&&_0x19cc24['open']['options']==_0x12b2ed||(this['range']=cx(_0x12b2ed['length'],_0x4db270,_0x2e727c['state']['facet'](rx)['maxRenderedOptions']),this['showOptions'](_0x12b2ed,_0x148061['id'])),this['updateSel'](),_0x57c43f!=(null===(_0x1842e9=_0x19cc24['open'])||void 0x0===_0x1842e9?void 0x0:_0x1842e9['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x57c43f);}}['updateTooltipClass'](_0x1b6c61){let _0x19ca7a=this['tooltipClass'](_0x1b6c61);if(_0x19ca7a!=this['currentClass']){for(let _0x29097f of this['currentClass']['split']('\x20'))_0x29097f&&this['dom']['classList']['remove'](_0x29097f);for(let _0xece403 of _0x19ca7a['split']('\x20'))_0xece403&&this['dom']['classList']['add'](_0xece403);this['currentClass']=_0x19ca7a;}}['positioned'](_0x5d32c3){this['space']=_0x5d32c3,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x46ec5d=this['view']['state']['field'](this['stateField']),_0x2b499f=_0x46ec5d['open'];(_0x2b499f['selected']>-0x1&&_0x2b499f['selected']<this['range']['from']||_0x2b499f['selected']>=this['range']['to'])&&(this['range']=cx(_0x2b499f['options']['length'],_0x2b499f['selected'],this['view']['state']['facet'](rx)['maxRenderedOptions']),this['showOptions'](_0x2b499f['options'],_0x46ec5d['id']));let _0x3cb0d0=this['updateSelectedOption'](_0x2b499f['selected']);if(_0x3cb0d0){this['destroyInfo']();let {completion:_0x5cff4e}=_0x2b499f['options'][_0x2b499f['selected']],{info:_0x27de7c}=_0x5cff4e;if(!_0x27de7c)return;let _0x393b74='string'==typeof _0x27de7c?document['createTextNode'](_0x27de7c):_0x27de7c(_0x5cff4e);if(!_0x393b74)return;'then'in _0x393b74?_0x393b74['then'](_0x55a0dc=>{_0x55a0dc&&this['view']['state']['field'](this['stateField'],!0x1)==_0x46ec5d&&this['addInfoPane'](_0x55a0dc,_0x5cff4e);})['catch'](_0x25d909=>sT(this['view']['state'],_0x25d909,'completion\x20info')):(this['addInfoPane'](_0x393b74,_0x5cff4e),_0x3cb0d0['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x13e038,_0x125b64){this['destroyInfo']();let _0x59acea=this['info']=document['createElement']('div');if(_0x59acea['className']='cm-tooltip\x20cm-completionInfo',_0x59acea['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x13e038['nodeType'])_0x59acea['appendChild'](_0x13e038),this['infoDestroy']=null;else{let {dom:_0x462b20,destroy:_0x144c7e}=_0x13e038;_0x59acea['appendChild'](_0x462b20),this['infoDestroy']=_0x144c7e||null;}this['dom']['appendChild'](_0x59acea),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x56ee8b){let _0x21139f=null;for(let _0x4eb6c7=this['list']['firstChild'],_0x19977b=this['range']['from'];_0x4eb6c7;_0x4eb6c7=_0x4eb6c7['nextSibling'],_0x19977b++)'LI'==_0x4eb6c7['nodeName']&&_0x4eb6c7['id']?_0x19977b==_0x56ee8b?_0x4eb6c7['hasAttribute']('aria-selected')||(_0x4eb6c7['setAttribute']('aria-selected','true'),_0x21139f=_0x4eb6c7):_0x4eb6c7['hasAttribute']('aria-selected')&&(_0x4eb6c7['removeAttribute']('aria-selected'),_0x4eb6c7['removeAttribute']('aria-describedby')):_0x19977b--;return _0x21139f&&function(_0x55114b,_0x29a574){let _0x3b13a9=_0x55114b['getBoundingClientRect'](),_0x3d3343=_0x29a574['getBoundingClientRect'](),_0x5d1e80=_0x3b13a9['height']/_0x55114b['offsetHeight'];_0x3d3343['top']<_0x3b13a9['top']?_0x55114b['scrollTop']-=(_0x3b13a9['top']-_0x3d3343['top'])/_0x5d1e80:_0x3d3343['bottom']>_0x3b13a9['bottom']&&(_0x55114b['scrollTop']+=(_0x3d3343['bottom']-_0x3b13a9['bottom'])/_0x5d1e80);}(this['list'],_0x21139f),_0x21139f;}['measureInfo'](){let _0x456a40=this['dom']['querySelector']('[aria-selected]');if(!_0x456a40||!this['info'])return null;let _0x442e69=this['dom']['getBoundingClientRect'](),_0x41e0ec=this['info']['getBoundingClientRect'](),_0x2b00ea=_0x456a40['getBoundingClientRect'](),_0x276b19=this['space'];if(!_0x276b19){let _0x5be376=this['dom']['ownerDocument']['documentElement'];_0x276b19={'left':0x0,'top':0x0,'right':_0x5be376['clientWidth'],'bottom':_0x5be376['clientHeight']};}return _0x2b00ea['top']>Math['min'](_0x276b19['bottom'],_0x442e69['bottom'])-0xa||_0x2b00ea['bottom']<Math['max'](_0x276b19['top'],_0x442e69['top'])+0xa?null:this['view']['state']['facet'](rx)['positionInfo'](this['view'],_0x442e69,_0x2b00ea,_0x41e0ec,_0x276b19,this['dom']);}['placeInfo'](_0x46c9b5){this['info']&&(_0x46c9b5?(_0x46c9b5['style']&&(this['info']['style']['cssText']=_0x46c9b5['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x46c9b5['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x2b956a,_0x17e1ca,_0x590a93){const _0x47c406=document['createElement']('ul');_0x47c406['id']=_0x17e1ca,_0x47c406['setAttribute']('role','listbox'),_0x47c406['setAttribute']('aria-expanded','true'),_0x47c406['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x47c406['addEventListener']('mousedown',_0x24ab04=>{_0x24ab04['target']==_0x47c406&&_0x24ab04['preventDefault']();});let _0x3d4bee=null;for(let _0x3c19c3=_0x590a93['from'];_0x3c19c3<_0x590a93['to'];_0x3c19c3++){let {completion:_0x196f42,match:_0x278b46}=_0x2b956a[_0x3c19c3],{section:_0x26b359}=_0x196f42;if(_0x26b359){let _0xe58e20='string'==typeof _0x26b359?_0x26b359:_0x26b359['name'];if(_0xe58e20!=_0x3d4bee&&(_0x3c19c3>_0x590a93['from']||0x0==_0x590a93['from'])){if(_0x3d4bee=_0xe58e20,'string'!=typeof _0x26b359&&_0x26b359['header'])_0x47c406['appendChild'](_0x26b359['header'](_0x26b359));else _0x47c406['appendChild'](document['createElement']('completion-section'))['textContent']=_0xe58e20;}}const _0x251783=_0x47c406['appendChild'](document['createElement']('li'));_0x251783['id']=_0x17e1ca+'-'+_0x3c19c3,_0x251783['setAttribute']('role','option');let _0x29a495=this['optionClass'](_0x196f42);_0x29a495&&(_0x251783['className']=_0x29a495);for(let _0x5d0923 of this['optionContent']){let _0x48a7a3=_0x5d0923(_0x196f42,this['view']['state'],this['view'],_0x278b46);_0x48a7a3&&_0x251783['appendChild'](_0x48a7a3);}}return _0x590a93['from']&&_0x47c406['classList']['add']('cm-completionListIncompleteTop'),_0x590a93['to']<_0x2b956a['length']&&_0x47c406['classList']['add']('cm-completionListIncompleteBottom'),_0x47c406;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function lx(_0x56be42,_0xfb4b5f){return _0x5c786f=>new CompletionTooltip(_0x5c786f,_0x56be42,_0xfb4b5f);}function hx(_0x278961){return 0x64*(_0x278961['boost']||0x0)+(_0x278961['apply']?0xa:0x0)+(_0x278961['info']?0x5:0x0)+(_0x278961['type']?0x1:0x0);}class CompletionDialog{constructor(_0x272d15,_0x41d44a,_0x3bae30,_0x5a17c7,_0x96bfe6,_0x287e78){this['options']=_0x272d15,this['attrs']=_0x41d44a,this['tooltip']=_0x3bae30,this['timestamp']=_0x5a17c7,this['selected']=_0x96bfe6,this['disabled']=_0x287e78;}['setSelected'](_0xaa3d52,_0x722d02){return _0xaa3d52==this['selected']||_0xaa3d52>=this['options']['length']?this:new CompletionDialog(this['options'],fx(_0x722d02,_0xaa3d52),this['tooltip'],this['timestamp'],_0xaa3d52,this['disabled']);}static['build'](_0x4c5e53,_0x555285,_0x278e7d,_0x317229,_0x552f64,_0x2746ff){if(_0x317229&&!_0x2746ff&&_0x4c5e53['some'](_0x2cf1d5=>_0x2cf1d5['isPending']))return _0x317229['setDisabled']();let _0x174eae=function(_0x323eaa,_0x503bed){let _0x36d671=[],_0x4d2e53=null,_0x3a2439=null,_0x544daa=_0x5d01f2=>{_0x36d671['push'](_0x5d01f2);let {section:_0x2af24a}=_0x5d01f2['completion'];if(_0x2af24a){_0x4d2e53||(_0x4d2e53=[]);let _0x38f1a0='string'==typeof _0x2af24a?_0x2af24a:_0x2af24a['name'];_0x4d2e53['some'](_0x2bb1df=>_0x2bb1df['name']==_0x38f1a0)||_0x4d2e53['push']('string'==typeof _0x2af24a?{'name':_0x38f1a0}:_0x2af24a);}},_0x27f127=_0x503bed['facet'](rx);for(let _0x391881 of _0x323eaa)if(_0x391881['hasResult']()){let _0x48f4b6=_0x391881['result']['getMatch'];if(!0x1===_0x391881['result']['filter']){for(let _0x51b41f of _0x391881['result']['options'])_0x544daa(new Option(_0x51b41f,_0x391881['source'],_0x48f4b6?_0x48f4b6(_0x51b41f):[],0x3b9aca00-_0x36d671['length']));}else{let _0x548e47,_0x1476b8=_0x503bed['sliceDoc'](_0x391881['from'],_0x391881['to']),_0x319177=_0x27f127['filterStrict']?new StrictMatcher(_0x1476b8):new FuzzyMatcher(_0x1476b8);for(let _0x1fdcbd of _0x391881['result']['options'])if(_0x548e47=_0x319177['match'](_0x1fdcbd['label'])){let _0x23a9de=_0x1fdcbd['displayLabel']?_0x48f4b6?_0x48f4b6(_0x1fdcbd,_0x548e47['matched']):[]:_0x548e47['matched'],_0x5dfdcc=_0x548e47['score']+(_0x1fdcbd['boost']||0x0);if(_0x544daa(new Option(_0x1fdcbd,_0x391881['source'],_0x23a9de,_0x5dfdcc)),'object'==typeof _0x1fdcbd['section']&&'dynamic'===_0x1fdcbd['section']['rank']){let {name:_0x1fd580}=_0x1fdcbd['section'];_0x3a2439||(_0x3a2439=Object['create'](null)),_0x3a2439[_0x1fd580]=Math['max'](_0x5dfdcc,_0x3a2439[_0x1fd580]||-0x3b9aca00);}}}}if(_0x4d2e53){let _0x9c65c=Object['create'](null),_0x3bb449=0x0,_0x9628df=(_0x553612,_0x32caa5)=>('dynamic'===_0x553612['rank']&&'dynamic'===_0x32caa5['rank']?_0x3a2439[_0x32caa5['name']]-_0x3a2439[_0x553612['name']]:0x0)||('number'==typeof _0x553612['rank']?_0x553612['rank']:0x3b9aca00)-('number'==typeof _0x32caa5['rank']?_0x32caa5['rank']:0x3b9aca00)||(_0x553612['name']<_0x32caa5['name']?-0x1:0x1);for(let _0x28c32d of _0x4d2e53['sort'](_0x9628df))_0x3bb449-=0x186a0,_0x9c65c[_0x28c32d['name']]=_0x3bb449;for(let _0x549e05 of _0x36d671){let {section:_0x17857f}=_0x549e05['completion'];_0x17857f&&(_0x549e05['score']+=_0x9c65c['string'==typeof _0x17857f?_0x17857f:_0x17857f['name']]);}}let _0x3eeb54=[],_0xcdbd1d=null,_0x1048c2=_0x27f127['compareCompletions'];for(let _0x419af5 of _0x36d671['sort']((_0x2cbc6f,_0x53d240)=>_0x53d240['score']-_0x2cbc6f['score']||_0x1048c2(_0x2cbc6f['completion'],_0x53d240['completion']))){let _0x5e3da4=_0x419af5['completion'];!_0xcdbd1d||_0xcdbd1d['label']!=_0x5e3da4['label']||_0xcdbd1d['detail']!=_0x5e3da4['detail']||null!=_0xcdbd1d['type']&&null!=_0x5e3da4['type']&&_0xcdbd1d['type']!=_0x5e3da4['type']||_0xcdbd1d['apply']!=_0x5e3da4['apply']||_0xcdbd1d['boost']!=_0x5e3da4['boost']?_0x3eeb54['push'](_0x419af5):hx(_0x419af5['completion'])>hx(_0xcdbd1d)&&(_0x3eeb54[_0x3eeb54['length']-0x1]=_0x419af5),_0xcdbd1d=_0x419af5['completion'];}return _0x3eeb54;}(_0x4c5e53,_0x555285);if(!_0x174eae['length'])return _0x317229&&_0x4c5e53['some'](_0x3b9dfc=>_0x3b9dfc['isPending'])?_0x317229['setDisabled']():null;let _0x1afffc=_0x555285['facet'](rx)['selectOnOpen']?0x0:-0x1;if(_0x317229&&_0x317229['selected']!=_0x1afffc&&-0x1!=_0x317229['selected']){let _0x221f49=_0x317229['options'][_0x317229['selected']]['completion'];for(let _0x24cdc0=0x0;_0x24cdc0<_0x174eae['length'];_0x24cdc0++)if(_0x174eae[_0x24cdc0]['completion']==_0x221f49){_0x1afffc=_0x24cdc0;break;}}return new CompletionDialog(_0x174eae,fx(_0x278e7d,_0x1afffc),{'pos':_0x4c5e53['reduce']((_0xe840c2,_0x82fd5c)=>_0x82fd5c['hasResult']()?Math['min'](_0xe840c2,_0x82fd5c['from']):_0xe840c2,0x5f5e100),'create':yx,'above':_0x552f64['aboveCursor']},_0x317229?_0x317229['timestamp']:Date['now'](),_0x1afffc,!0x1);}['map'](_0xc6947){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0xc6947['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(_0x322b72,_0x72293d,_0x5abba3){this['active']=_0x322b72,this['id']=_0x72293d,this['open']=_0x5abba3;}static['start'](){return new CompletionState(mx,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x3ef5ac){let {state:_0x2f0f61}=_0x3ef5ac,_0x22440a=_0x2f0f61['facet'](rx),_0x8e4820=(_0x22440a['override']||_0x2f0f61['languageDataAt']('autocomplete',Yk(_0x2f0f61))['map'](ix))['map'](_0xac6460=>{let _0x195af9=this['active']['find'](_0x406a23=>_0x406a23['source']==_0xac6460)||new ActiveSource(_0xac6460,this['active']['some'](_0x168bcf=>0x0!=_0x168bcf['state'])?0x1:0x0);return _0x195af9['update'](_0x3ef5ac,_0x22440a);});_0x8e4820['length']==this['active']['length']&&_0x8e4820['every']((_0x249503,_0x4841b0)=>_0x249503==this['active'][_0x4841b0])&&(_0x8e4820=this['active']);let _0x5cd6a9=this['open'],_0x1d667a=_0x3ef5ac['effects']['some'](_0x4bce48=>_0x4bce48['is'](px));_0x5cd6a9&&_0x3ef5ac['docChanged']&&(_0x5cd6a9=_0x5cd6a9['map'](_0x3ef5ac['changes'])),_0x3ef5ac['selection']||_0x8e4820['some'](_0x58a2cf=>_0x58a2cf['hasResult']()&&_0x3ef5ac['changes']['touchesRange'](_0x58a2cf['from'],_0x58a2cf['to']))||!function(_0x4a0e26,_0x323386){if(_0x4a0e26==_0x323386)return!0x0;for(let _0x3d2e0d=0x0,_0x11a6f7=0x0;;){for(;_0x3d2e0d<_0x4a0e26['length']&&!_0x4a0e26[_0x3d2e0d]['hasResult']();)_0x3d2e0d++;for(;_0x11a6f7<_0x323386['length']&&!_0x323386[_0x11a6f7]['hasResult']();)_0x11a6f7++;let _0x26709b=_0x3d2e0d==_0x4a0e26['length'],_0x408dc3=_0x11a6f7==_0x323386['length'];if(_0x26709b||_0x408dc3)return _0x26709b==_0x408dc3;if(_0x4a0e26[_0x3d2e0d++]['result']!=_0x323386[_0x11a6f7++]['result'])return!0x1;}}(_0x8e4820,this['active'])||_0x1d667a?_0x5cd6a9=CompletionDialog['build'](_0x8e4820,_0x2f0f61,this['id'],_0x5cd6a9,_0x22440a,_0x1d667a):_0x5cd6a9&&_0x5cd6a9['disabled']&&!_0x8e4820['some'](_0x2f2783=>_0x2f2783['isPending'])&&(_0x5cd6a9=null),!_0x5cd6a9&&_0x8e4820['every'](_0x1477dd=>!_0x1477dd['isPending'])&&_0x8e4820['some'](_0x3fa6b4=>_0x3fa6b4['hasResult']())&&(_0x8e4820=_0x8e4820['map'](_0x1a969f=>_0x1a969f['hasResult']()?new ActiveSource(_0x1a969f['source'],0x0):_0x1a969f));for(let _0x5ab175 of _0x3ef5ac['effects'])_0x5ab175['is'](Ox)&&(_0x5cd6a9=_0x5cd6a9&&_0x5cd6a9['setSelected'](_0x5ab175['value'],this['id']));return _0x8e4820==this['active']&&_0x5cd6a9==this['open']?this:new CompletionState(_0x8e4820,this['id'],_0x5cd6a9);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?ux:dx;}}const ux={'aria-autocomplete':'list'},dx={};function fx(_0x1e3919,_0x45a734){let _0x481a89={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x1e3919};return _0x45a734>-0x1&&(_0x481a89['aria-activedescendant']=_0x1e3919+'-'+_0x45a734),_0x481a89;}const mx=[];function gx(_0x14233d,_0x558a2c){if(_0x14233d['isUserEvent']('input.complete')){let _0x2308e0=_0x14233d['annotation'](Jk);if(_0x2308e0&&_0x558a2c['activateOnCompletion'](_0x2308e0))return 0xc;}let _0x476d1d=_0x14233d['isUserEvent']('input.type');return _0x476d1d&&_0x558a2c['activateOnTyping']?0x5:_0x476d1d?0x1:_0x14233d['isUserEvent']('delete.backward')?0x2:_0x14233d['selection']?0x8:_0x14233d['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x1c1e4d,_0x248b6b,_0x4c48e8=!0x1){this['source']=_0x1c1e4d,this['state']=_0x248b6b,this['explicit']=_0x4c48e8;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x41fd7a,_0x3d3aac){let _0x41f4d5=gx(_0x41fd7a,_0x3d3aac),_0x47f0b8=this;(0x8&_0x41f4d5||0x10&_0x41f4d5&&this['touches'](_0x41fd7a))&&(_0x47f0b8=new ActiveSource(_0x47f0b8['source'],0x0)),0x4&_0x41f4d5&&0x0==_0x47f0b8['state']&&(_0x47f0b8=new ActiveSource(this['source'],0x1)),_0x47f0b8=_0x47f0b8['updateFor'](_0x41fd7a,_0x41f4d5);for(let _0x9004b7 of _0x41fd7a['effects'])if(_0x9004b7['is'](sx))_0x47f0b8=new ActiveSource(_0x47f0b8['source'],0x1,_0x9004b7['value']);else{if(_0x9004b7['is'](nx))_0x47f0b8=new ActiveSource(_0x47f0b8['source'],0x0);else{if(_0x9004b7['is'](px)){for(let _0x52bb91 of _0x9004b7['value'])_0x52bb91['source']==_0x47f0b8['source']&&(_0x47f0b8=_0x52bb91);}}}return _0x47f0b8;}['updateFor'](_0x21bea2,_0x7ce9c1){return this['map'](_0x21bea2['changes']);}['map'](_0x803125){return this;}['touches'](_0x3d3927){return _0x3d3927['changes']['touchesRange'](Yk(_0x3d3927['state']));}}class ActiveResult extends ActiveSource{constructor(_0x81b394,_0x546ad0,_0x1c8039,_0xfa0a46,_0x1ab6f1,_0x2ce380){super(_0x81b394,0x3,_0x546ad0),this['limit']=_0x1c8039,this['result']=_0xfa0a46,this['from']=_0x1ab6f1,this['to']=_0x2ce380;}['hasResult'](){return!0x0;}['updateFor'](_0x5dc73d,_0x326bdf){var _0x41fae3;if(!(0x3&_0x326bdf))return this['map'](_0x5dc73d['changes']);let _0xa6e761=this['result'];_0xa6e761['map']&&!_0x5dc73d['changes']['empty']&&(_0xa6e761=_0xa6e761['map'](_0xa6e761,_0x5dc73d['changes']));let _0x1ed1f4=_0x5dc73d['changes']['mapPos'](this['from']),_0x3e3583=_0x5dc73d['changes']['mapPos'](this['to'],0x1),_0x31be65=Yk(_0x5dc73d['state']);if(_0x31be65>_0x3e3583||!_0xa6e761||0x2&_0x326bdf&&(Yk(_0x5dc73d['startState'])==this['from']||_0x31be65<this['limit']))return new ActiveSource(this['source'],0x4&_0x326bdf?0x1:0x0);let _0x3fb0bd=_0x5dc73d['changes']['mapPos'](this['limit']);return function(_0x1f1f1c,_0x579224,_0x38b68d,_0x3107f4){if(!_0x1f1f1c)return!0x1;let _0x3d558d=_0x579224['sliceDoc'](_0x38b68d,_0x3107f4);return'function'==typeof _0x1f1f1c?_0x1f1f1c(_0x3d558d,_0x38b68d,_0x3107f4,_0x579224):Kk(_0x1f1f1c,!0x0)['test'](_0x3d558d);}(_0xa6e761['validFor'],_0x5dc73d['state'],_0x1ed1f4,_0x3e3583)?new ActiveResult(this['source'],this['explicit'],_0x3fb0bd,_0xa6e761,_0x1ed1f4,_0x3e3583):_0xa6e761['update']&&(_0xa6e761=_0xa6e761['update'](_0xa6e761,_0x1ed1f4,_0x3e3583,new CompletionContext(_0x5dc73d['state'],_0x31be65,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x3fb0bd,_0xa6e761,_0xa6e761['from'],null!==(_0x41fae3=_0xa6e761['to'])&&void 0x0!==_0x41fae3?_0x41fae3:Yk(_0x5dc73d['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x244c81){if(_0x244c81['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x244c81):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x244c81['mapPos'](this['limit']),this['result'],_0x244c81['mapPos'](this['from']),_0x244c81['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x315d20){return _0x315d20['changes']['touchesRange'](this['from'],this['to']);}}const px=StateEffect['define']({'map':(_0x472d6b,_0x348270)=>_0x472d6b['map'](_0x5b18e2=>_0x5b18e2['map'](_0x348270))}),Ox=StateEffect['define'](),wx=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x43ae17,_0x5e39a0)=>_0x43ae17['update'](_0x5e39a0),'provide':_0xf6a30d=>[DA['from'](_0xf6a30d,_0x3060ca=>_0x3060ca['tooltip']),EditorView['contentAttributes']['from'](_0xf6a30d,_0x3a8f77=>_0x3a8f77['attrs'])]});function bx(_0x4d4780,_0x1522ba){const _0x550051=_0x1522ba['completion']['apply']||_0x1522ba['completion']['label'];let _0x4bc9c5=_0x4d4780['state']['field'](wx)['active']['find'](_0x456bdc=>_0x456bdc['source']==_0x1522ba['source']);return _0x4bc9c5 instanceof ActiveResult&&('string'==typeof _0x550051?_0x4d4780['dispatch']({...tx(_0x4d4780['state'],_0x550051,_0x4bc9c5['from'],_0x4bc9c5['to']),'annotations':Jk['of'](_0x1522ba['completion'])}):_0x550051(_0x4d4780,_0x1522ba['completion'],_0x4bc9c5['from'],_0x4bc9c5['to']),!0x0);}const yx=lx(wx,bx);function _x(_0x506813,_0x284431='option'){return _0x5c95df=>{let _0xe357cf=_0x5c95df['state']['field'](wx,!0x1);if(!_0xe357cf||!_0xe357cf['open']||_0xe357cf['open']['disabled']||Date['now']()-_0xe357cf['open']['timestamp']<_0x5c95df['state']['facet'](rx)['interactionDelay'])return!0x1;let _0x12bd15,_0x6e55f=0x1;'page'==_0x284431&&(_0x12bd15=QA(_0x5c95df,_0xe357cf['open']['tooltip']))&&(_0x6e55f=Math['max'](0x2,Math['floor'](_0x12bd15['dom']['offsetHeight']/_0x12bd15['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0xdf80ba}=_0xe357cf['open']['options'],_0x50c727=_0xe357cf['open']['selected']>-0x1?_0xe357cf['open']['selected']+_0x6e55f*(_0x506813?0x1:-0x1):_0x506813?0x0:_0xdf80ba-0x1;return _0x50c727<0x0?_0x50c727='page'==_0x284431?0x0:_0xdf80ba-0x1:_0x50c727>=_0xdf80ba&&(_0x50c727='page'==_0x284431?_0xdf80ba-0x1:0x0),_0x5c95df['dispatch']({'effects':Ox['of'](_0x50c727)}),!0x0;};}const vx=_0x2f0839=>!!_0x2f0839['state']['field'](wx,!0x1)&&(_0x2f0839['dispatch']({'effects':sx['of'](!0x0)}),!0x0);class RunningQuery{constructor(_0x3a61c2,_0x19d116){this['active']=_0x3a61c2,this['context']=_0x19d116,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const Tx=ViewPlugin['fromClass'](class{constructor(_0xc5134d){this['view']=_0xc5134d,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x4b435f of _0xc5134d['state']['field'](wx)['active'])_0x4b435f['isPending']&&this['startQuery'](_0x4b435f);}['update'](_0x4b3704){let _0x205b96=_0x4b3704['state']['field'](wx),_0x44872f=_0x4b3704['state']['facet'](rx);if(!_0x4b3704['selectionSet']&&!_0x4b3704['docChanged']&&_0x4b3704['startState']['field'](wx)==_0x205b96)return;let _0x2a87aa=_0x4b3704['transactions']['some'](_0x315723=>{let _0x4df200=gx(_0x315723,_0x44872f);return 0x8&_0x4df200||(_0x315723['selection']||_0x315723['docChanged'])&&!(0x3&_0x4df200);});for(let _0x42aa58=0x0;_0x42aa58<this['running']['length'];_0x42aa58++){let _0x5b08b1=this['running'][_0x42aa58];if(_0x2a87aa||_0x5b08b1['context']['abortOnDocChange']&&_0x4b3704['docChanged']||_0x5b08b1['updates']['length']+_0x4b3704['transactions']['length']>0x32&&Date['now']()-_0x5b08b1['time']>0x3e8){for(let _0x4d063e of _0x5b08b1['context']['abortListeners'])try{_0x4d063e();}catch(_0x12d57c){sT(this['view']['state'],_0x12d57c);}_0x5b08b1['context']['abortListeners']=null,this['running']['splice'](_0x42aa58--,0x1);}else _0x5b08b1['updates']['push'](..._0x4b3704['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x4b3704['transactions']['some'](_0x144e95=>_0x144e95['effects']['some'](_0x21dd8d=>_0x21dd8d['is'](sx)))&&(this['pendingStart']=!0x0);let _0x4f4eb1=this['pendingStart']?0x32:_0x44872f['activateOnTypingDelay'];if(this['debounceUpdate']=_0x205b96['active']['some'](_0x30880f=>_0x30880f['isPending']&&!this['running']['some'](_0x38f3fa=>_0x38f3fa['active']['source']==_0x30880f['source']))?setTimeout(()=>this['startUpdate'](),_0x4f4eb1):-0x1,0x0!=this['composing']){for(let _0xff861f of _0x4b3704['transactions'])_0xff861f['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0xff861f['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x4dc26b}=this['view'],_0x211c5d=_0x4dc26b['field'](wx);for(let _0x5f4758 of _0x211c5d['active'])_0x5f4758['isPending']&&!this['running']['some'](_0x274a95=>_0x274a95['active']['source']==_0x5f4758['source'])&&this['startQuery'](_0x5f4758);this['running']['length']&&_0x211c5d['open']&&_0x211c5d['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](rx)['updateSyncTime']));}['startQuery'](_0x2ecc09){let {state:_0x3a7c5b}=this['view'],_0x4ecbe9=Yk(_0x3a7c5b),_0x44865f=new CompletionContext(_0x3a7c5b,_0x4ecbe9,_0x2ecc09['explicit'],this['view']),_0x564d65=new RunningQuery(_0x2ecc09,_0x44865f);this['running']['push'](_0x564d65),Promise['resolve'](_0x2ecc09['source'](_0x44865f))['then'](_0x2e2673=>{_0x564d65['context']['aborted']||(_0x564d65['done']=_0x2e2673||null,this['scheduleAccept']());},_0x253b2c=>{this['view']['dispatch']({'effects':nx['of'](null)}),sT(this['view']['state'],_0x253b2c);});}['scheduleAccept'](){this['running']['every'](_0x32ba97=>void 0x0!==_0x32ba97['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](rx)['updateSyncTime']));}['accept'](){var _0x1dd023;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x4644f0=[],_0x21383d=this['view']['state']['facet'](rx),_0x1607c2=this['view']['state']['field'](wx);for(let _0x50a7a0=0x0;_0x50a7a0<this['running']['length'];_0x50a7a0++){let _0x33d3ae=this['running'][_0x50a7a0];if(void 0x0===_0x33d3ae['done'])continue;if(this['running']['splice'](_0x50a7a0--,0x1),_0x33d3ae['done']){let _0x389d85=Yk(_0x33d3ae['updates']['length']?_0x33d3ae['updates'][0x0]['startState']:this['view']['state']),_0x31c47d=Math['min'](_0x389d85,_0x33d3ae['done']['from']+(_0x33d3ae['active']['explicit']?0x0:0x1)),_0x38527c=new ActiveResult(_0x33d3ae['active']['source'],_0x33d3ae['active']['explicit'],_0x31c47d,_0x33d3ae['done'],_0x33d3ae['done']['from'],null!==(_0x1dd023=_0x33d3ae['done']['to'])&&void 0x0!==_0x1dd023?_0x1dd023:_0x389d85);for(let _0x1cd5bb of _0x33d3ae['updates'])_0x38527c=_0x38527c['update'](_0x1cd5bb,_0x21383d);if(_0x38527c['hasResult']()){_0x4644f0['push'](_0x38527c);continue;}}let _0x71b834=_0x1607c2['active']['find'](_0x516c23=>_0x516c23['source']==_0x33d3ae['active']['source']);if(_0x71b834&&_0x71b834['isPending']){if(null==_0x33d3ae['done']){let _0x5c0b2c=new ActiveSource(_0x33d3ae['active']['source'],0x0);for(let _0x201f13 of _0x33d3ae['updates'])_0x5c0b2c=_0x5c0b2c['update'](_0x201f13,_0x21383d);_0x5c0b2c['isPending']||_0x4644f0['push'](_0x5c0b2c);}else this['startQuery'](_0x71b834);}}(_0x4644f0['length']||_0x1607c2['open']&&_0x1607c2['open']['disabled'])&&this['view']['dispatch']({'effects':px['of'](_0x4644f0)});}},{'eventHandlers':{'blur'(_0x5776f9){let _0x25fcd8=this['view']['state']['field'](wx,!0x1);if(_0x25fcd8&&_0x25fcd8['tooltip']&&this['view']['state']['facet'](rx)['closeOnBlur']){let _0x352f5d=_0x25fcd8['open']&&QA(this['view'],_0x25fcd8['open']['tooltip']);_0x352f5d&&_0x352f5d['dom']['contains'](_0x5776f9['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':nx['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':sx['of'](!0x1)}),0x14),this['composing']=0x0;}}}),Ex='object'==typeof navigator&&/Win/['test'](navigator['platform']),Ax=By['highest'](EditorView['domEventHandlers']({'keydown'(_0x18909d,_0x43913c){let _0x50fa81=_0x43913c['state']['field'](wx,!0x1);if(!_0x50fa81||!_0x50fa81['open']||_0x50fa81['open']['disabled']||_0x50fa81['open']['selected']<0x0||_0x18909d['key']['length']>0x1||_0x18909d['ctrlKey']&&(!Ex||!_0x18909d['altKey'])||_0x18909d['metaKey'])return!0x1;let _0x2651be=_0x50fa81['open']['options'][_0x50fa81['open']['selected']],_0x25c978=_0x50fa81['active']['find'](_0x393735=>_0x393735['source']==_0x2651be['source']),_0x8a73a1=_0x2651be['completion']['commitCharacters']||_0x25c978['result']['commitCharacters'];return _0x8a73a1&&_0x8a73a1['indexOf'](_0x18909d['key'])>-0x1&&bx(_0x43913c,_0x2651be),!0x1;}})),Sx=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 FieldPos{constructor(_0x1e4330,_0x514a8d,_0x5aeb0d,_0x54f5a0){this['field']=_0x1e4330,this['line']=_0x514a8d,this['from']=_0x5aeb0d,this['to']=_0x54f5a0;}}class FieldRange{constructor(_0x307a60,_0x3c96e0,_0x127707){this['field']=_0x307a60,this['from']=_0x3c96e0,this['to']=_0x127707;}['map'](_0xfe5392){let _0x57f416=_0xfe5392['mapPos'](this['from'],-0x1,Ty['TrackDel']),_0x17593d=_0xfe5392['mapPos'](this['to'],0x1,Ty['TrackDel']);return null==_0x57f416||null==_0x17593d?null:new FieldRange(this['field'],_0x57f416,_0x17593d);}}class Snippet{constructor(_0x256f4f,_0x1ca9e4){this['lines']=_0x256f4f,this['fieldPositions']=_0x1ca9e4;}['instantiate'](_0xd31a67,_0x59ecaa){let _0x35b091=[],_0x5e9430=[_0x59ecaa],_0x23a23c=_0xd31a67['doc']['lineAt'](_0x59ecaa),_0x2b2a20=/^\s*/['exec'](_0x23a23c['text'])[0x0];for(let _0x7ae5de of this['lines']){if(_0x35b091['length']){let _0x33c3ca=_0x2b2a20,_0x141ea5=/^\t*/['exec'](_0x7ae5de)[0x0]['length'];for(let _0x242dd8=0x0;_0x242dd8<_0x141ea5;_0x242dd8++)_0x33c3ca+=_0xd31a67['facet'](hI);_0x5e9430['push'](_0x59ecaa+_0x33c3ca['length']-_0x141ea5),_0x7ae5de=_0x33c3ca+_0x7ae5de['slice'](_0x141ea5);}_0x35b091['push'](_0x7ae5de),_0x59ecaa+=_0x7ae5de['length']+0x1;}let _0xa1b975=this['fieldPositions']['map'](_0x40ee3d=>new FieldRange(_0x40ee3d['field'],_0x5e9430[_0x40ee3d['line']]+_0x40ee3d['from'],_0x5e9430[_0x40ee3d['line']]+_0x40ee3d['to']));return{'text':_0x35b091,'ranges':_0xa1b975};}static['parse'](_0x205d57){let _0x544124,_0x3715f1=[],_0x245e70=[],_0x547899=[];for(let _0x18acf0 of _0x205d57['split'](/\r\n?|\n/)){for(;_0x544124=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x18acf0);){let _0x1ed012=_0x544124[0x1]?+_0x544124[0x1]:null,_0x1f7698=_0x544124[0x2]||_0x544124[0x3]||'',_0x4fbd98=-0x1,_0x9a318b=_0x1f7698['replace'](/\\[{}]/g,_0x565b8b=>_0x565b8b[0x1]);for(let _0xc658ab=0x0;_0xc658ab<_0x3715f1['length'];_0xc658ab++)(null!=_0x1ed012?_0x3715f1[_0xc658ab]['seq']==_0x1ed012:_0x9a318b&&_0x3715f1[_0xc658ab]['name']==_0x9a318b)&&(_0x4fbd98=_0xc658ab);if(_0x4fbd98<0x0){let _0x2d2570=0x0;for(;_0x2d2570<_0x3715f1['length']&&(null==_0x1ed012||null!=_0x3715f1[_0x2d2570]['seq']&&_0x3715f1[_0x2d2570]['seq']<_0x1ed012);)_0x2d2570++;_0x3715f1['splice'](_0x2d2570,0x0,{'seq':_0x1ed012,'name':_0x9a318b}),_0x4fbd98=_0x2d2570;for(let _0x535126 of _0x547899)_0x535126['field']>=_0x4fbd98&&_0x535126['field']++;}for(let _0x323544 of _0x547899)if(_0x323544['line']==_0x245e70['length']&&_0x323544['from']>_0x544124['index']){let _0x5bb517=_0x544124[0x2]?0x3+(_0x544124[0x1]||'')['length']:0x2;_0x323544['from']-=_0x5bb517,_0x323544['to']-=_0x5bb517;}_0x547899['push'](new FieldPos(_0x4fbd98,_0x245e70['length'],_0x544124['index'],_0x544124['index']+_0x9a318b['length'])),_0x18acf0=_0x18acf0['slice'](0x0,_0x544124['index'])+_0x1f7698+_0x18acf0['slice'](_0x544124['index']+_0x544124[0x0]['length']);}_0x18acf0=_0x18acf0['replace'](/\\([{}])/g,(_0x7050cb,_0x453cc8,_0x34b7f4)=>{for(let _0x5c700f of _0x547899)_0x5c700f['line']==_0x245e70['length']&&_0x5c700f['from']>_0x34b7f4&&(_0x5c700f['from']--,_0x5c700f['to']--);return _0x453cc8;}),_0x245e70['push'](_0x18acf0);}return new Snippet(_0x245e70,_0x547899);}}let Ix=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x520ebf=document['createElement']('span');return _0x520ebf['className']='cm-snippetFieldPosition',_0x520ebf;}['ignoreEvent'](){return!0x1;}}()}),Cx=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x5cd142,_0x4bc4be){this['ranges']=_0x5cd142,this['active']=_0x4bc4be,this['deco']=Decoration['set'](_0x5cd142['map'](_0x1b4976=>(_0x1b4976['from']==_0x1b4976['to']?Ix:Cx)['range'](_0x1b4976['from'],_0x1b4976['to'])),!0x0);}['map'](_0x4432e7){let _0x432316=[];for(let _0x596ff9 of this['ranges']){let _0x292e8e=_0x596ff9['map'](_0x4432e7);if(!_0x292e8e)return null;_0x432316['push'](_0x292e8e);}return new ActiveSnippet(_0x432316,this['active']);}['selectionInsideField'](_0x5cd86f){return _0x5cd86f['ranges']['every'](_0x233937=>this['ranges']['some'](_0x7d1a61=>_0x7d1a61['field']==this['active']&&_0x7d1a61['from']<=_0x233937['from']&&_0x7d1a61['to']>=_0x233937['to']));}}const kx=StateEffect['define']({'map':(_0x54a2dd,_0x3acaea)=>_0x54a2dd&&_0x54a2dd['map'](_0x3acaea)}),xx=StateEffect['define'](),Rx=StateField['define']({'create':()=>null,'update'(_0x50d02b,_0x10bf9c){for(let _0x21e72d of _0x10bf9c['effects']){if(_0x21e72d['is'](kx))return _0x21e72d['value'];if(_0x21e72d['is'](xx)&&_0x50d02b)return new ActiveSnippet(_0x50d02b['ranges'],_0x21e72d['value']);}return _0x50d02b&&_0x10bf9c['docChanged']&&(_0x50d02b=_0x50d02b['map'](_0x10bf9c['changes'])),_0x50d02b&&_0x10bf9c['selection']&&!_0x50d02b['selectionInsideField'](_0x10bf9c['selection'])&&(_0x50d02b=null),_0x50d02b;},'provide':_0x4a7bc9=>EditorView['decorations']['from'](_0x4a7bc9,_0xbd16fe=>_0xbd16fe?_0xbd16fe['deco']:Decoration['none'])});function Px(_0x1716e1,_0x2fe8d8){return EditorSelection['create'](_0x1716e1['filter'](_0x331733=>_0x331733['field']==_0x2fe8d8)['map'](_0x228df5=>EditorSelection['range'](_0x228df5['from'],_0x228df5['to'])));}function Mx(_0x542f70){let _0x31b64f=Snippet['parse'](_0x542f70);return(_0x20b14e,_0x1a2f37,_0x1174fb,_0x12a203)=>{let {text:_0xf90e29,ranges:_0x551865}=_0x31b64f['instantiate'](_0x20b14e['state'],_0x1174fb),{main:_0x9fb734}=_0x20b14e['state']['selection'],_0x453c1c={'changes':{'from':_0x1174fb,'to':_0x12a203==_0x9fb734['from']?_0x9fb734['to']:_0x12a203,'insert':Text['of'](_0xf90e29)},'scrollIntoView':!0x0,'annotations':_0x1a2f37?[Jk['of'](_0x1a2f37),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x551865['length']&&(_0x453c1c['selection']=Px(_0x551865,0x0)),_0x551865['some'](_0x19008d=>_0x19008d['field']>0x0)){let _0x3a7d5b=new ActiveSnippet(_0x551865,0x0),_0x1efc32=_0x453c1c['effects']=[kx['of'](_0x3a7d5b)];void 0x0===_0x20b14e['state']['field'](Rx,!0x1)&&_0x1efc32['push'](StateEffect['appendConfig']['of']([Rx,Qx,Vx,Sx]));}_0x20b14e['dispatch'](_0x20b14e['state']['update'](_0x453c1c));};}function Nx(_0x5170e3){return({state:_0x4ac594,dispatch:_0x28c7f5})=>{let _0x49f22b=_0x4ac594['field'](Rx,!0x1);if(!_0x49f22b||_0x5170e3<0x0&&0x0==_0x49f22b['active'])return!0x1;let _0x8c27be=_0x49f22b['active']+_0x5170e3,_0x58d6c4=_0x5170e3>0x0&&!_0x49f22b['ranges']['some'](_0x2d3d2c=>_0x2d3d2c['field']==_0x8c27be+_0x5170e3);return _0x28c7f5(_0x4ac594['update']({'selection':Px(_0x49f22b['ranges'],_0x8c27be),'effects':kx['of'](_0x58d6c4?null:new ActiveSnippet(_0x49f22b['ranges'],_0x8c27be)),'scrollIntoView':!0x0})),!0x0;};}const Lx=[{'key':'Tab','run':Nx(0x1),'shift':Nx(-0x1)},{'key':'Escape','run':({state:_0x42dd5a,dispatch:_0x3390a8})=>!!_0x42dd5a['field'](Rx,!0x1)&&(_0x3390a8(_0x42dd5a['update']({'effects':kx['of'](null)})),!0x0)}],Dx=Facet['define']({'combine':_0x1ce73d=>_0x1ce73d['length']?_0x1ce73d[0x0]:Lx}),Qx=By['highest'](HE['compute']([Dx],_0x5d703e=>_0x5d703e['facet'](Dx)));function $x(_0x45f7ba,_0x2e3642){return{..._0x2e3642,'apply':Mx(_0x45f7ba)};}const Vx=EditorView['domEventHandlers']({'mousedown'(_0xb8115d,_0x4b81f1){let _0xa7866a,_0x22bd85=_0x4b81f1['state']['field'](Rx,!0x1);if(!_0x22bd85||null==(_0xa7866a=_0x4b81f1['posAtCoords']({'x':_0xb8115d['clientX'],'y':_0xb8115d['clientY']})))return!0x1;let _0x4e9adb=_0x22bd85['ranges']['find'](_0x22b4b0=>_0x22b4b0['from']<=_0xa7866a&&_0x22b4b0['to']>=_0xa7866a);return!(!_0x4e9adb||_0x4e9adb['field']==_0x22bd85['active'])&&(_0x4b81f1['dispatch']({'selection':Px(_0x22bd85['ranges'],_0x4e9adb['field']),'effects':kx['of'](_0x22bd85['ranges']['some'](_0x4f6eaf=>_0x4f6eaf['field']>_0x4e9adb['field'])?new ActiveSnippet(_0x22bd85['ranges'],_0x4e9adb['field']):null),'scrollIntoView':!0x0}),!0x0);}}),Ux={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},Bx=StateEffect['define']({'map'(_0x4efc8e,_0x39f544){let _0x1643ac=_0x39f544['mapPos'](_0x4efc8e,-0x1,Ty['TrackAfter']);return null==_0x1643ac?void 0x0:_0x1643ac;}}),Fx=new class extends RangeValue{}();Fx['startSide']=0x1,Fx['endSide']=-0x1;const jx=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x2c8e91,_0xf8234f){if(_0x2c8e91=_0x2c8e91['map'](_0xf8234f['changes']),_0xf8234f['selection']){let _0x5b2aa2=_0xf8234f['state']['doc']['lineAt'](_0xf8234f['selection']['main']['head']);_0x2c8e91=_0x2c8e91['update']({'filter':_0x475002=>_0x475002>=_0x5b2aa2['from']&&_0x475002<=_0x5b2aa2['to']});}for(let _0xa35244 of _0xf8234f['effects'])_0xa35244['is'](Bx)&&(_0x2c8e91=_0x2c8e91['update']({'add':[Fx['range'](_0xa35244['value'],_0xa35244['value']+0x1)]}));return _0x2c8e91;}});function Hx(){return[Wx,jx];}const Gx='()[]{}<>«»»«［］｛｝';function Zx(_0x4d12bd){for(let _0x29e7a8=0x0;_0x29e7a8<0x10;_0x29e7a8+=0x2)if(Gx['charCodeAt'](_0x29e7a8)==_0x4d12bd)return Gx['charAt'](_0x29e7a8+0x1);return yy(_0x4d12bd<0x80?_0x4d12bd:_0x4d12bd+0x1);}function Xx(_0x358c85,_0x4be1ae){return _0x358c85['languageDataAt']('closeBrackets',_0x4be1ae)[0x0]||Ux;}const qx='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),Wx=EditorView['inputHandler']['of']((_0x3d0a1a,_0x5b9e4f,_0x1bbdf8,_0x166ae6)=>{if((qx?_0x3d0a1a['composing']:_0x3d0a1a['compositionStarted'])||_0x3d0a1a['state']['readOnly'])return!0x1;let _0x14fe05=_0x3d0a1a['state']['selection']['main'];if(_0x166ae6['length']>0x2||0x2==_0x166ae6['length']&&0x1==_y(by(_0x166ae6,0x0))||_0x5b9e4f!=_0x14fe05['from']||_0x1bbdf8!=_0x14fe05['to'])return!0x1;let _0x1ba9b7=function(_0x1ae6ed,_0x456944){let _0x5e63b8=Xx(_0x1ae6ed,_0x1ae6ed['selection']['main']['head']),_0x173c37=_0x5e63b8['brackets']||Ux['brackets'];for(let _0x228c0f of _0x173c37){let _0x800828=Zx(by(_0x228c0f,0x0));if(_0x456944==_0x228c0f)return _0x800828==_0x228c0f?eR(_0x1ae6ed,_0x228c0f,_0x173c37['indexOf'](_0x228c0f+_0x228c0f+_0x228c0f)>-0x1,_0x5e63b8):Jx(_0x1ae6ed,_0x228c0f,_0x800828,_0x5e63b8['before']||Ux['before']);if(_0x456944==_0x800828&&Yx(_0x1ae6ed,_0x1ae6ed['selection']['main']['from']))return tR(_0x1ae6ed,_0x228c0f,_0x800828);}return null;}(_0x3d0a1a['state'],_0x166ae6);return!!_0x1ba9b7&&(_0x3d0a1a['dispatch'](_0x1ba9b7),!0x0);}),zx=[{'key':'Backspace','run':({state:_0x3f24b9,dispatch:_0x2e9a2f})=>{if(_0x3f24b9['readOnly'])return!0x1;let _0x361fae=Xx(_0x3f24b9,_0x3f24b9['selection']['main']['head'])['brackets']||Ux['brackets'],_0x38309e=null,_0x4a0afb=_0x3f24b9['changeByRange'](_0x441b0c=>{if(_0x441b0c['empty']){let _0x2543e0=function(_0x2854bd,_0x2c4c30){let _0x2b6aa3=_0x2854bd['sliceString'](_0x2c4c30-0x2,_0x2c4c30);return _y(by(_0x2b6aa3,0x0))==_0x2b6aa3['length']?_0x2b6aa3:_0x2b6aa3['slice'](0x1);}(_0x3f24b9['doc'],_0x441b0c['head']);for(let _0x512af8 of _0x361fae)if(_0x512af8==_0x2543e0&&Kx(_0x3f24b9['doc'],_0x441b0c['head'])==Zx(by(_0x512af8,0x0)))return{'changes':{'from':_0x441b0c['head']-_0x512af8['length'],'to':_0x441b0c['head']+_0x512af8['length']},'range':EditorSelection['cursor'](_0x441b0c['head']-_0x512af8['length'])};}return{'range':_0x38309e=_0x441b0c};});return _0x38309e||_0x2e9a2f(_0x3f24b9['update'](_0x4a0afb,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x38309e;}}];function Yx(_0x2b4305,_0x1faadb){let _0x4c7749=!0x1;return _0x2b4305['field'](jx)['between'](0x0,_0x2b4305['doc']['length'],_0x2be3ff=>{_0x2be3ff==_0x1faadb&&(_0x4c7749=!0x0);}),_0x4c7749;}function Kx(_0x48f57c,_0x2a1053){let _0x45f295=_0x48f57c['sliceString'](_0x2a1053,_0x2a1053+0x2);return _0x45f295['slice'](0x0,_y(by(_0x45f295,0x0)));}function Jx(_0x4ac733,_0x1bea2c,_0x3fa870,_0x1fa4c4){let _0x1bf7aa=null,_0xacf1e3=_0x4ac733['changeByRange'](_0xa596aa=>{if(!_0xa596aa['empty'])return{'changes':[{'insert':_0x1bea2c,'from':_0xa596aa['from']},{'insert':_0x3fa870,'from':_0xa596aa['to']}],'effects':Bx['of'](_0xa596aa['to']+_0x1bea2c['length']),'range':EditorSelection['range'](_0xa596aa['anchor']+_0x1bea2c['length'],_0xa596aa['head']+_0x1bea2c['length'])};let _0x4f7de4=Kx(_0x4ac733['doc'],_0xa596aa['head']);return!_0x4f7de4||/\s/['test'](_0x4f7de4)||_0x1fa4c4['indexOf'](_0x4f7de4)>-0x1?{'changes':{'insert':_0x1bea2c+_0x3fa870,'from':_0xa596aa['head']},'effects':Bx['of'](_0xa596aa['head']+_0x1bea2c['length']),'range':EditorSelection['cursor'](_0xa596aa['head']+_0x1bea2c['length'])}:{'range':_0x1bf7aa=_0xa596aa};});return _0x1bf7aa?null:_0x4ac733['update'](_0xacf1e3,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function tR(_0x2b52e3,_0x1f3773,_0x19de7f){let _0x7ea262=null,_0x399693=_0x2b52e3['changeByRange'](_0x20342c=>_0x20342c['empty']&&Kx(_0x2b52e3['doc'],_0x20342c['head'])==_0x19de7f?{'changes':{'from':_0x20342c['head'],'to':_0x20342c['head']+_0x19de7f['length'],'insert':_0x19de7f},'range':EditorSelection['cursor'](_0x20342c['head']+_0x19de7f['length'])}:_0x7ea262={'range':_0x20342c});return _0x7ea262?null:_0x2b52e3['update'](_0x399693,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function eR(_0x4714fc,_0x4c0d9f,_0xf95872,_0x425bf5){let _0x5a3859=_0x425bf5['stringPrefixes']||Ux['stringPrefixes'],_0x61a050=null,_0x312907=_0x4714fc['changeByRange'](_0x42a24e=>{if(!_0x42a24e['empty'])return{'changes':[{'insert':_0x4c0d9f,'from':_0x42a24e['from']},{'insert':_0x4c0d9f,'from':_0x42a24e['to']}],'effects':Bx['of'](_0x42a24e['to']+_0x4c0d9f['length']),'range':EditorSelection['range'](_0x42a24e['anchor']+_0x4c0d9f['length'],_0x42a24e['head']+_0x4c0d9f['length'])};let _0x3c9174,_0x5e8424=_0x42a24e['head'],_0x43845b=Kx(_0x4714fc['doc'],_0x5e8424);if(_0x43845b==_0x4c0d9f){if(iR(_0x4714fc,_0x5e8424))return{'changes':{'insert':_0x4c0d9f+_0x4c0d9f,'from':_0x5e8424},'effects':Bx['of'](_0x5e8424+_0x4c0d9f['length']),'range':EditorSelection['cursor'](_0x5e8424+_0x4c0d9f['length'])};if(Yx(_0x4714fc,_0x5e8424)){let _0x19f201=_0xf95872&&_0x4714fc['sliceDoc'](_0x5e8424,_0x5e8424+0x3*_0x4c0d9f['length'])==_0x4c0d9f+_0x4c0d9f+_0x4c0d9f?_0x4c0d9f+_0x4c0d9f+_0x4c0d9f:_0x4c0d9f;return{'changes':{'from':_0x5e8424,'to':_0x5e8424+_0x19f201['length'],'insert':_0x19f201},'range':EditorSelection['cursor'](_0x5e8424+_0x19f201['length'])};}}else{if(_0xf95872&&_0x4714fc['sliceDoc'](_0x5e8424-0x2*_0x4c0d9f['length'],_0x5e8424)==_0x4c0d9f+_0x4c0d9f&&(_0x3c9174=sR(_0x4714fc,_0x5e8424-0x2*_0x4c0d9f['length'],_0x5a3859))>-0x1&&iR(_0x4714fc,_0x3c9174))return{'changes':{'insert':_0x4c0d9f+_0x4c0d9f+_0x4c0d9f+_0x4c0d9f,'from':_0x5e8424},'effects':Bx['of'](_0x5e8424+_0x4c0d9f['length']),'range':EditorSelection['cursor'](_0x5e8424+_0x4c0d9f['length'])};if(_0x4714fc['charCategorizer'](_0x5e8424)(_0x43845b)!=s_['Word']&&sR(_0x4714fc,_0x5e8424,_0x5a3859)>-0x1&&!function(_0x722f2a,_0x3804f9,_0x3e63b7,_0x2bb5e0){let _0x4eb44a=iI(_0x722f2a)['resolveInner'](_0x3804f9,-0x1),_0x33a63e=_0x2bb5e0['reduce']((_0x4c4660,_0x4e158e)=>Math['max'](_0x4c4660,_0x4e158e['length']),0x0);for(let _0x32a726=0x0;_0x32a726<0x5;_0x32a726++){let _0x7e8f10=_0x722f2a['sliceDoc'](_0x4eb44a['from'],Math['min'](_0x4eb44a['to'],_0x4eb44a['from']+_0x3e63b7['length']+_0x33a63e)),_0x3f124c=_0x7e8f10['indexOf'](_0x3e63b7);if(!_0x3f124c||_0x3f124c>-0x1&&_0x2bb5e0['indexOf'](_0x7e8f10['slice'](0x0,_0x3f124c))>-0x1){let _0x286139=_0x4eb44a['firstChild'];for(;_0x286139&&_0x286139['from']==_0x4eb44a['from']&&_0x286139['to']-_0x286139['from']>_0x3e63b7['length']+_0x3f124c;){if(_0x722f2a['sliceDoc'](_0x286139['to']-_0x3e63b7['length'],_0x286139['to'])==_0x3e63b7)return!0x1;_0x286139=_0x286139['firstChild'];}return!0x0;}let _0x5983c6=_0x4eb44a['to']==_0x3804f9&&_0x4eb44a['parent'];if(!_0x5983c6)break;_0x4eb44a=_0x5983c6;}return!0x1;}(_0x4714fc,_0x5e8424,_0x4c0d9f,_0x5a3859))return{'changes':{'insert':_0x4c0d9f+_0x4c0d9f,'from':_0x5e8424},'effects':Bx['of'](_0x5e8424+_0x4c0d9f['length']),'range':EditorSelection['cursor'](_0x5e8424+_0x4c0d9f['length'])};}return{'range':_0x61a050=_0x42a24e};});return _0x61a050?null:_0x4714fc['update'](_0x312907,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function iR(_0x27558b,_0x2f2c1b){let _0x352254=iI(_0x27558b)['resolveInner'](_0x2f2c1b+0x1);return _0x352254['parent']&&_0x352254['from']==_0x2f2c1b;}function sR(_0x372c51,_0x3fb380,_0x14cc40){let _0xcbd8bb=_0x372c51['charCategorizer'](_0x3fb380);if(_0xcbd8bb(_0x372c51['sliceDoc'](_0x3fb380-0x1,_0x3fb380))!=s_['Word'])return _0x3fb380;for(let _0xdb522d of _0x14cc40){let _0x399fb6=_0x3fb380-_0xdb522d['length'];if(_0x372c51['sliceDoc'](_0x399fb6,_0x3fb380)==_0xdb522d&&_0xcbd8bb(_0x372c51['sliceDoc'](_0x399fb6-0x1,_0x399fb6))!=s_['Word'])return _0x399fb6;}return-0x1;}function nR(_0x293e87={}){return[Ax,wx,rx['of'](_0x293e87),Tx,oR,Sx];}const rR=[{'key':'Ctrl-Space','run':vx},{'mac':'Alt-`','run':vx},{'mac':'Alt-i','run':vx},{'key':'Escape','run':_0x4259e6=>{let _0x5738c1=_0x4259e6['state']['field'](wx,!0x1);return!(!_0x5738c1||!_0x5738c1['active']['some'](_0xd89571=>0x0!=_0xd89571['state']))&&(_0x4259e6['dispatch']({'effects':nx['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_x(!0x0)},{'key':'ArrowUp','run':_x(!0x1)},{'key':'PageDown','run':_x(!0x0,'page')},{'key':'PageUp','run':_x(!0x1,'page')},{'key':'Enter','run':_0x28c069=>{let _0x1966a3=_0x28c069['state']['field'](wx,!0x1);return!(_0x28c069['state']['readOnly']||!_0x1966a3||!_0x1966a3['open']||_0x1966a3['open']['selected']<0x0||_0x1966a3['open']['disabled']||Date['now']()-_0x1966a3['open']['timestamp']<_0x28c069['state']['facet'](rx)['interactionDelay'])&&bx(_0x28c069,_0x1966a3['open']['options'][_0x1966a3['open']['selected']]);}}],oR=By['highest'](HE['computeN']([rx],_0x1e4118=>_0x1e4118['facet'](rx)['defaultKeymap']?[rR]:[]));class Stack{constructor(_0x2c1e8e,_0x3e2a43,_0x42a161,_0x2c6bb5,_0x648704,_0x1d6657,_0x3a60cf,_0x3ff39d,_0x25865b,_0x3f2477=0x0,_0x1a9d68){this['p']=_0x2c1e8e,this['stack']=_0x3e2a43,this['state']=_0x42a161,this['reducePos']=_0x2c6bb5,this['pos']=_0x648704,this['score']=_0x1d6657,this['buffer']=_0x3a60cf,this['bufferBase']=_0x3ff39d,this['curContext']=_0x25865b,this['lookAhead']=_0x3f2477,this['parent']=_0x1a9d68;}['toString'](){return'['+this['stack']['filter']((_0x31854b,_0x4f6f22)=>_0x4f6f22%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x4b7275,_0x549d6d,_0x578226=0x0){let _0x56a10c=_0x4b7275['parser']['context'];return new Stack(_0x4b7275,[],_0x549d6d,_0x578226,_0x578226,0x0,[],0x0,_0x56a10c?new StackContext(_0x56a10c,_0x56a10c['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x4e3c67,_0x4eb6e3){this['stack']['push'](this['state'],_0x4eb6e3,this['bufferBase']+this['buffer']['length']),this['state']=_0x4e3c67;}['reduce'](_0x3cf1d9){var _0x4e3b5c;let _0x898663=_0x3cf1d9>>0x13,_0x40adb9=0xffff&_0x3cf1d9,{parser:_0x2d0eec}=this['p'],_0x18ac82=this['reducePos']<this['pos']-0x19;_0x18ac82&&this['setLookAhead'](this['pos']);let _0x2a85fd=_0x2d0eec['dynamicPrecedence'](_0x40adb9);if(_0x2a85fd&&(this['score']+=_0x2a85fd),0x0==_0x898663)return this['pushState'](_0x2d0eec['getGoto'](this['state'],_0x40adb9,!0x0),this['reducePos']),_0x40adb9<_0x2d0eec['minRepeatTerm']&&this['storeNode'](_0x40adb9,this['reducePos'],this['reducePos'],_0x18ac82?0x8:0x4,!0x0),void this['reduceContext'](_0x40adb9,this['reducePos']);let _0x433dda=this['stack']['length']-0x3*(_0x898663-0x1)-(0x40000&_0x3cf1d9?0x6:0x0),_0x16d390=_0x433dda?this['stack'][_0x433dda-0x2]:this['p']['ranges'][0x0]['from'],_0x18fdca=this['reducePos']-_0x16d390;_0x18fdca>=0x7d0&&!(null===(_0x4e3b5c=this['p']['parser']['nodeSet']['types'][_0x40adb9])||void 0x0===_0x4e3b5c?void 0x0:_0x4e3b5c['isAnonymous'])&&(_0x16d390==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x18fdca):this['p']['lastBigReductionSize']<_0x18fdca&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x16d390,this['p']['lastBigReductionSize']=_0x18fdca));let _0x4dc06a=_0x433dda?this['stack'][_0x433dda-0x1]:0x0,_0x2f004c=this['bufferBase']+this['buffer']['length']-_0x4dc06a;if(_0x40adb9<_0x2d0eec['minRepeatTerm']||0x20000&_0x3cf1d9){let _0x5781d6=_0x2d0eec['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x40adb9,_0x16d390,_0x5781d6,_0x2f004c+0x4,!0x0);}if(0x40000&_0x3cf1d9)this['state']=this['stack'][_0x433dda];else{let _0x148d06=this['stack'][_0x433dda-0x3];this['state']=_0x2d0eec['getGoto'](_0x148d06,_0x40adb9,!0x0);}for(;this['stack']['length']>_0x433dda;)this['stack']['pop']();this['reduceContext'](_0x40adb9,_0x16d390);}['storeNode'](_0x174e08,_0x527324,_0x1e85ba,_0x598797=0x4,_0x255e98=!0x1){if(0x0==_0x174e08&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x1de3da=this,_0x11e033=this['buffer']['length'];if(0x0==_0x11e033&&_0x1de3da['parent']&&(_0x11e033=_0x1de3da['bufferBase']-_0x1de3da['parent']['bufferBase'],_0x1de3da=_0x1de3da['parent']),_0x11e033>0x0&&0x0==_0x1de3da['buffer'][_0x11e033-0x4]&&_0x1de3da['buffer'][_0x11e033-0x1]>-0x1){if(_0x527324==_0x1e85ba)return;if(_0x1de3da['buffer'][_0x11e033-0x2]>=_0x527324)return void(_0x1de3da['buffer'][_0x11e033-0x2]=_0x1e85ba);}}if(_0x255e98&&this['pos']!=_0x1e85ba){let _0x4f98cb=this['buffer']['length'];if(_0x4f98cb>0x0&&(0x0!=this['buffer'][_0x4f98cb-0x4]||this['buffer'][_0x4f98cb-0x1]<0x0)){let _0x494c1d=!0x1;for(let _0x1f8d24=_0x4f98cb;_0x1f8d24>0x0&&this['buffer'][_0x1f8d24-0x2]>_0x1e85ba;_0x1f8d24-=0x4)if(this['buffer'][_0x1f8d24-0x1]>=0x0){_0x494c1d=!0x0;break;}if(_0x494c1d){for(;_0x4f98cb>0x0&&this['buffer'][_0x4f98cb-0x2]>_0x1e85ba;)this['buffer'][_0x4f98cb]=this['buffer'][_0x4f98cb-0x4],this['buffer'][_0x4f98cb+0x1]=this['buffer'][_0x4f98cb-0x3],this['buffer'][_0x4f98cb+0x2]=this['buffer'][_0x4f98cb-0x2],this['buffer'][_0x4f98cb+0x3]=this['buffer'][_0x4f98cb-0x1],_0x4f98cb-=0x4,_0x598797>0x4&&(_0x598797-=0x4);}}this['buffer'][_0x4f98cb]=_0x174e08,this['buffer'][_0x4f98cb+0x1]=_0x527324,this['buffer'][_0x4f98cb+0x2]=_0x1e85ba,this['buffer'][_0x4f98cb+0x3]=_0x598797;}else this['buffer']['push'](_0x174e08,_0x527324,_0x1e85ba,_0x598797);}['shift'](_0x143677,_0x234b76,_0x4d04c3,_0x3d0ed6){if(0x20000&_0x143677)this['pushState'](0xffff&_0x143677,this['pos']);else{if(0x40000&_0x143677)this['pos']=_0x3d0ed6,this['shiftContext'](_0x234b76,_0x4d04c3),_0x234b76<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x234b76,_0x4d04c3,_0x3d0ed6,0x4);else{let _0x249833=_0x143677,{parser:_0x9c85c9}=this['p'];(_0x3d0ed6>this['pos']||_0x234b76<=_0x9c85c9['maxNode'])&&(this['pos']=_0x3d0ed6,_0x9c85c9['stateFlag'](_0x249833,0x1)||(this['reducePos']=_0x3d0ed6)),this['pushState'](_0x249833,_0x4d04c3),this['shiftContext'](_0x234b76,_0x4d04c3),_0x234b76<=_0x9c85c9['maxNode']&&this['buffer']['push'](_0x234b76,_0x4d04c3,_0x3d0ed6,0x4);}}}['apply'](_0x2eee0e,_0x4e6d25,_0x2d3fd9,_0x4b6351){0x10000&_0x2eee0e?this['reduce'](_0x2eee0e):this['shift'](_0x2eee0e,_0x4e6d25,_0x2d3fd9,_0x4b6351);}['useNode'](_0x52d37d,_0x58c7a3){let _0x4dd39a=this['p']['reused']['length']-0x1;(_0x4dd39a<0x0||this['p']['reused'][_0x4dd39a]!=_0x52d37d)&&(this['p']['reused']['push'](_0x52d37d),_0x4dd39a++);let _0x1d23a8=this['pos'];this['reducePos']=this['pos']=_0x1d23a8+_0x52d37d['length'],this['pushState'](_0x58c7a3,_0x1d23a8),this['buffer']['push'](_0x4dd39a,_0x1d23a8,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x52d37d,this,this['p']['stream']['reset'](this['pos']-_0x52d37d['length'])));}['split'](){let _0x3199a0=this,_0x165ad6=_0x3199a0['buffer']['length'];for(;_0x165ad6>0x0&&_0x3199a0['buffer'][_0x165ad6-0x2]>_0x3199a0['reducePos'];)_0x165ad6-=0x4;let _0x5c0863=_0x3199a0['buffer']['slice'](_0x165ad6),_0x509ce2=_0x3199a0['bufferBase']+_0x165ad6;for(;_0x3199a0&&_0x509ce2==_0x3199a0['bufferBase'];)_0x3199a0=_0x3199a0['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x5c0863,_0x509ce2,this['curContext'],this['lookAhead'],_0x3199a0);}['recoverByDelete'](_0x14dfaf,_0x3e4dfe){let _0x1806bd=_0x14dfaf<=this['p']['parser']['maxNode'];_0x1806bd&&this['storeNode'](_0x14dfaf,this['pos'],_0x3e4dfe,0x4),this['storeNode'](0x0,this['pos'],_0x3e4dfe,_0x1806bd?0x8:0x4),this['pos']=this['reducePos']=_0x3e4dfe,this['score']-=0xbe;}['canShift'](_0x28d34f){for(let _0x2878c2=new SimulatedStack(this);;){let _0x303604=this['p']['parser']['stateSlot'](_0x2878c2['state'],0x4)||this['p']['parser']['hasAction'](_0x2878c2['state'],_0x28d34f);if(0x0==_0x303604)return!0x1;if(!(0x10000&_0x303604))return!0x0;_0x2878c2['reduce'](_0x303604);}}['recoverByInsert'](_0x12d4c7){if(this['stack']['length']>=0x12c)return[];let _0x227582=this['p']['parser']['nextStates'](this['state']);if(_0x227582['length']>0x8||this['stack']['length']>=0x78){let _0x2a9487=[];for(let _0x138e54,_0x24548c=0x0;_0x24548c<_0x227582['length'];_0x24548c+=0x2)(_0x138e54=_0x227582[_0x24548c+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x138e54,_0x12d4c7)&&_0x2a9487['push'](_0x227582[_0x24548c],_0x138e54);if(this['stack']['length']<0x78)for(let _0x4849f2=0x0;_0x2a9487['length']<0x8&&_0x4849f2<_0x227582['length'];_0x4849f2+=0x2){let _0x4ad9fc=_0x227582[_0x4849f2+0x1];_0x2a9487['some']((_0x1bc383,_0x435506)=>0x1&_0x435506&&_0x1bc383==_0x4ad9fc)||_0x2a9487['push'](_0x227582[_0x4849f2],_0x4ad9fc);}_0x227582=_0x2a9487;}let _0x16453f=[];for(let _0xacd013=0x0;_0xacd013<_0x227582['length']&&_0x16453f['length']<0x4;_0xacd013+=0x2){let _0x499db4=_0x227582[_0xacd013+0x1];if(_0x499db4==this['state'])continue;let _0x19cbd5=this['split']();_0x19cbd5['pushState'](_0x499db4,this['pos']),_0x19cbd5['storeNode'](0x0,_0x19cbd5['pos'],_0x19cbd5['pos'],0x4,!0x0),_0x19cbd5['shiftContext'](_0x227582[_0xacd013],this['pos']),_0x19cbd5['reducePos']=this['pos'],_0x19cbd5['score']-=0xc8,_0x16453f['push'](_0x19cbd5);}return _0x16453f;}['forceReduce'](){let {parser:_0x1079a4}=this['p'],_0x45e1b0=_0x1079a4['stateSlot'](this['state'],0x5);if(!(0x10000&_0x45e1b0))return!0x1;if(!_0x1079a4['validAction'](this['state'],_0x45e1b0)){let _0x464536=_0x45e1b0>>0x13,_0x5c97d3=0xffff&_0x45e1b0,_0x550113=this['stack']['length']-0x3*_0x464536;if(_0x550113<0x0||_0x1079a4['getGoto'](this['stack'][_0x550113],_0x5c97d3,!0x1)<0x0){let _0x5edebe=this['findForcedReduction']();if(null==_0x5edebe)return!0x1;_0x45e1b0=_0x5edebe;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x45e1b0),!0x0;}['findForcedReduction'](){let {parser:_0x3382f1}=this['p'],_0x5e6cc6=[],_0x2cb5b6=(_0x4bb037,_0x554b6f)=>{if(!_0x5e6cc6['includes'](_0x4bb037))return _0x5e6cc6['push'](_0x4bb037),_0x3382f1['allActions'](_0x4bb037,_0x4382a9=>{if(0x60000&_0x4382a9);else{if(0x10000&_0x4382a9){let _0x24a572=(_0x4382a9>>0x13)-_0x554b6f;if(_0x24a572>0x1){let _0x32b8b5=0xffff&_0x4382a9,_0x50d311=this['stack']['length']-0x3*_0x24a572;if(_0x50d311>=0x0&&_0x3382f1['getGoto'](this['stack'][_0x50d311],_0x32b8b5,!0x1)>=0x0)return _0x24a572<<0x13|0x10000|_0x32b8b5;}}else{let _0x53b783=_0x2cb5b6(_0x4382a9,_0x554b6f+0x1);if(null!=_0x53b783)return _0x53b783;}}});};return _0x2cb5b6(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:_0x52a26c}=this['p'];return 0xffff==_0x52a26c['data'][_0x52a26c['stateSlot'](this['state'],0x1)]&&!_0x52a26c['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x47f09a){if(this['state']!=_0x47f09a['state']||this['stack']['length']!=_0x47f09a['stack']['length'])return!0x1;for(let _0xe41be4=0x0;_0xe41be4<this['stack']['length'];_0xe41be4+=0x3)if(this['stack'][_0xe41be4]!=_0x47f09a['stack'][_0xe41be4])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x144dd8){return this['p']['parser']['dialect']['flags'][_0x144dd8];}['shiftContext'](_0x9c28fc,_0x963d33){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x9c28fc,this,this['p']['stream']['reset'](_0x963d33)));}['reduceContext'](_0x27bb38,_0x1b1605){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x27bb38,this,this['p']['stream']['reset'](_0x1b1605)));}['emitContext'](){let _0x101063=this['buffer']['length']-0x1;(_0x101063<0x0||-0x3!=this['buffer'][_0x101063])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x1e20e3=this['buffer']['length']-0x1;(_0x1e20e3<0x0||-0x4!=this['buffer'][_0x1e20e3])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x47c63f){if(_0x47c63f!=this['curContext']['context']){let _0x2af8f0=new StackContext(this['curContext']['tracker'],_0x47c63f);_0x2af8f0['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x2af8f0;}}['setLookAhead'](_0x481b6d){_0x481b6d>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x481b6d);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x3debca,_0xcc157c){this['tracker']=_0x3debca,this['context']=_0xcc157c,this['hash']=_0x3debca['strict']?_0x3debca['hash'](_0xcc157c):0x0;}}class SimulatedStack{constructor(_0xca6f14){this['start']=_0xca6f14,this['state']=_0xca6f14['state'],this['stack']=_0xca6f14['stack'],this['base']=this['stack']['length'];}['reduce'](_0x24d707){let _0x1f4f07=0xffff&_0x24d707,_0xb60d01=_0x24d707>>0x13;0x0==_0xb60d01?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0xb60d01-0x1);let _0xbc2e76=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x1f4f07,!0x0);this['state']=_0xbc2e76;}}class StackBufferCursor{constructor(_0xbae5f9,_0x5eedf7,_0x500099){this['stack']=_0xbae5f9,this['pos']=_0x5eedf7,this['index']=_0x500099,this['buffer']=_0xbae5f9['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x4ccdce,_0x223fd5=_0x4ccdce['bufferBase']+_0x4ccdce['buffer']['length']){return new StackBufferCursor(_0x4ccdce,_0x223fd5,_0x223fd5-_0x4ccdce['bufferBase']);}['maybeNext'](){let _0xe18164=this['stack']['parent'];null!=_0xe18164&&(this['index']=this['stack']['bufferBase']-_0xe18164['bufferBase'],this['stack']=_0xe18164,this['buffer']=_0xe18164['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 aR(_0x2ae4d1,_0x280271=Uint16Array){if('string'!=typeof _0x2ae4d1)return _0x2ae4d1;let _0x4d4cc1=null;for(let _0x545a71=0x0,_0x22700a=0x0;_0x545a71<_0x2ae4d1['length'];){let _0x318d5c=0x0;for(;;){let _0x389dae=_0x2ae4d1['charCodeAt'](_0x545a71++),_0x4f7557=!0x1;if(0x7e==_0x389dae){_0x318d5c=0xffff;break;}_0x389dae>=0x5c&&_0x389dae--,_0x389dae>=0x22&&_0x389dae--;let _0x105ff2=_0x389dae-0x20;if(_0x105ff2>=0x2e&&(_0x105ff2-=0x2e,_0x4f7557=!0x0),_0x318d5c+=_0x105ff2,_0x4f7557)break;_0x318d5c*=0x2e;}_0x4d4cc1?_0x4d4cc1[_0x22700a++]=_0x318d5c:_0x4d4cc1=new _0x280271(_0x318d5c);}return _0x4d4cc1;}class CachedToken{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const cR=new CachedToken();class InputStream{constructor(_0x9f88fa,_0x147ba4){this['input']=_0x9f88fa,this['ranges']=_0x147ba4,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=cR,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x147ba4[0x0]['from'],this['range']=_0x147ba4[0x0],this['end']=_0x147ba4[_0x147ba4['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x27118b,_0x52aa59){let _0x4106e1=this['range'],_0x42a2af=this['rangeIndex'],_0x42fdf0=this['pos']+_0x27118b;for(;_0x42fdf0<_0x4106e1['from'];){if(!_0x42a2af)return null;let _0x5d3a5e=this['ranges'][--_0x42a2af];_0x42fdf0-=_0x4106e1['from']-_0x5d3a5e['to'],_0x4106e1=_0x5d3a5e;}for(;_0x52aa59<0x0?_0x42fdf0>_0x4106e1['to']:_0x42fdf0>=_0x4106e1['to'];){if(_0x42a2af==this['ranges']['length']-0x1)return null;let _0x14326e=this['ranges'][++_0x42a2af];_0x42fdf0+=_0x14326e['from']-_0x4106e1['to'],_0x4106e1=_0x14326e;}return _0x42fdf0;}['clipPos'](_0x4f903c){if(_0x4f903c>=this['range']['from']&&_0x4f903c<this['range']['to'])return _0x4f903c;for(let _0xb9aa72 of this['ranges'])if(_0xb9aa72['to']>_0x4f903c)return Math['max'](_0x4f903c,_0xb9aa72['from']);return this['end'];}['peek'](_0x139093){let _0x3969d6,_0x32cfec,_0x129b4f=this['chunkOff']+_0x139093;if(_0x129b4f>=0x0&&_0x129b4f<this['chunk']['length'])_0x3969d6=this['pos']+_0x139093,_0x32cfec=this['chunk']['charCodeAt'](_0x129b4f);else{let _0x5924c9=this['resolveOffset'](_0x139093,0x1);if(null==_0x5924c9)return-0x1;if(_0x3969d6=_0x5924c9,_0x3969d6>=this['chunk2Pos']&&_0x3969d6<this['chunk2Pos']+this['chunk2']['length'])_0x32cfec=this['chunk2']['charCodeAt'](_0x3969d6-this['chunk2Pos']);else{let _0x346fcd=this['rangeIndex'],_0x2097d8=this['range'];for(;_0x2097d8['to']<=_0x3969d6;)_0x2097d8=this['ranges'][++_0x346fcd];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x3969d6),_0x3969d6+this['chunk2']['length']>_0x2097d8['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x2097d8['to']-_0x3969d6)),_0x32cfec=this['chunk2']['charCodeAt'](0x0);}}return _0x3969d6>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x3969d6+0x1),_0x32cfec;}['acceptToken'](_0x150639,_0x181a88=0x0){let _0x448e28=_0x181a88?this['resolveOffset'](_0x181a88,-0x1):this['pos'];if(null==_0x448e28||_0x448e28<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x150639,this['token']['end']=_0x448e28;}['acceptTokenTo'](_0x3242e9,_0x329028){this['token']['value']=_0x3242e9,this['token']['end']=_0x329028;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x6f4025,chunkPos:_0x96f347}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x6f4025,this['chunk2Pos']=_0x96f347,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0xe65ff5=this['input']['chunk'](this['pos']),_0x1e3638=this['pos']+_0xe65ff5['length'];this['chunk']=_0x1e3638>this['range']['to']?_0xe65ff5['slice'](0x0,this['range']['to']-this['pos']):_0xe65ff5,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'](_0x5d913d=0x1){for(this['chunkOff']+=_0x5d913d;this['pos']+_0x5d913d>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x5d913d-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x5d913d,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'](_0x1d1332,_0x1bc727){if(_0x1bc727?(this['token']=_0x1bc727,_0x1bc727['start']=_0x1d1332,_0x1bc727['lookAhead']=_0x1d1332+0x1,_0x1bc727['value']=_0x1bc727['extended']=-0x1):this['token']=cR,this['pos']!=_0x1d1332){if(this['pos']=_0x1d1332,_0x1d1332==this['end'])return this['setDone'](),this;for(;_0x1d1332<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x1d1332>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x1d1332>=this['chunkPos']&&_0x1d1332<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x1d1332-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x1e39e7,_0x5e90cd){if(_0x1e39e7>=this['chunkPos']&&_0x5e90cd<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x1e39e7-this['chunkPos'],_0x5e90cd-this['chunkPos']);if(_0x1e39e7>=this['chunk2Pos']&&_0x5e90cd<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x1e39e7-this['chunk2Pos'],_0x5e90cd-this['chunk2Pos']);if(_0x1e39e7>=this['range']['from']&&_0x5e90cd<=this['range']['to'])return this['input']['read'](_0x1e39e7,_0x5e90cd);let _0x2b1c69='';for(let _0x2d8228 of this['ranges']){if(_0x2d8228['from']>=_0x5e90cd)break;_0x2d8228['to']>_0x1e39e7&&(_0x2b1c69+=this['input']['read'](Math['max'](_0x2d8228['from'],_0x1e39e7),Math['min'](_0x2d8228['to'],_0x5e90cd)));}return _0x2b1c69;}}class TokenGroup{constructor(_0x5e0a5a,_0x79f076){this['data']=_0x5e0a5a,this['id']=_0x79f076;}['token'](_0x25d1a2,_0x3a3905){let {parser:_0x4eddf4}=_0x3a3905['p'];lR(this['data'],_0x25d1a2,_0x3a3905,this['id'],_0x4eddf4['data'],_0x4eddf4['tokenPrecTable']);}}TokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class LocalTokenGroup{constructor(_0xc60dcc,_0x228f74,_0x321d4b){this['precTable']=_0x228f74,this['elseToken']=_0x321d4b,this['data']='string'==typeof _0xc60dcc?aR(_0xc60dcc):_0xc60dcc;}['token'](_0x182a34,_0x535d77){let _0x42da5c=_0x182a34['pos'],_0x26520f=0x0;for(;;){let _0x4711ef=_0x182a34['next']<0x0,_0x261f6d=_0x182a34['resolveOffset'](0x1,0x1);if(lR(this['data'],_0x182a34,_0x535d77,0x0,this['data'],this['precTable']),_0x182a34['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x4711ef||_0x26520f++,null==_0x261f6d)break;_0x182a34['reset'](_0x261f6d,_0x182a34['token']);}_0x26520f&&(_0x182a34['reset'](_0x42da5c,_0x182a34['token']),_0x182a34['acceptToken'](this['elseToken'],_0x26520f));}}LocalTokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x3114ed,_0x4edce6={}){this['token']=_0x3114ed,this['contextual']=!!_0x4edce6['contextual'],this['fallback']=!!_0x4edce6['fallback'],this['extend']=!!_0x4edce6['extend'];}}function lR(_0xcac977,_0x475cfa,_0x108ad9,_0x497fd0,_0x4ad6fc,_0x53dd48){let _0x262157=0x0,_0x443009=0x1<<_0x497fd0,{dialect:_0x394892}=_0x108ad9['p']['parser'];t:for(;0x0!=(_0x443009&_0xcac977[_0x262157]);){let _0x2fc821=_0xcac977[_0x262157+0x1];for(let _0x5baaff=_0x262157+0x3;_0x5baaff<_0x2fc821;_0x5baaff+=0x2)if((_0xcac977[_0x5baaff+0x1]&_0x443009)>0x0){let _0x692d65=_0xcac977[_0x5baaff];if(_0x394892['allows'](_0x692d65)&&(-0x1==_0x475cfa['token']['value']||_0x475cfa['token']['value']==_0x692d65||uR(_0x692d65,_0x475cfa['token']['value'],_0x4ad6fc,_0x53dd48))){_0x475cfa['acceptToken'](_0x692d65);break;}}let _0x475291=_0x475cfa['next'],_0x19e59b=0x0,_0x5ea14c=_0xcac977[_0x262157+0x2];if(!(_0x475cfa['next']<0x0&&_0x5ea14c>_0x19e59b&&0xffff==_0xcac977[_0x2fc821+0x3*_0x5ea14c-0x3])){for(;_0x19e59b<_0x5ea14c;){let _0x178739=_0x19e59b+_0x5ea14c>>0x1,_0xcaa183=_0x2fc821+_0x178739+(_0x178739<<0x1),_0xb221db=_0xcac977[_0xcaa183],_0x41a7c4=_0xcac977[_0xcaa183+0x1]||0x10000;if(_0x475291<_0xb221db)_0x5ea14c=_0x178739;else{if(!(_0x475291>=_0x41a7c4)){_0x262157=_0xcac977[_0xcaa183+0x2],_0x475cfa['advance']();continue t;}_0x19e59b=_0x178739+0x1;}}break;}_0x262157=_0xcac977[_0x2fc821+0x3*_0x5ea14c-0x1];}}function hR(_0x4ffc96,_0x1b0bbf,_0x8b49d2){for(let _0x2bd18e,_0x552ee5=_0x1b0bbf;0xffff!=(_0x2bd18e=_0x4ffc96[_0x552ee5]);_0x552ee5++)if(_0x2bd18e==_0x8b49d2)return _0x552ee5-_0x1b0bbf;return-0x1;}function uR(_0xb0ae91,_0x2f8bd9,_0x49d4c5,_0x247036){let _0x3a5923=hR(_0x49d4c5,_0x247036,_0x2f8bd9);return _0x3a5923<0x0||hR(_0x49d4c5,_0x247036,_0xb0ae91)<_0x3a5923;}const dR='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let fR=null;function mR(_0x5eb6a1,_0x54d79a,_0x2647be){let _0x28a37a=_0x5eb6a1['cursor'](lS['IncludeAnonymous']);for(_0x28a37a['moveTo'](_0x54d79a);;)if(!(_0x2647be<0x0?_0x28a37a['childBefore'](_0x54d79a):_0x28a37a['childAfter'](_0x54d79a)))for(;;){if((_0x2647be<0x0?_0x28a37a['to']<_0x54d79a:_0x28a37a['from']>_0x54d79a)&&!_0x28a37a['type']['isError'])return _0x2647be<0x0?Math['max'](0x0,Math['min'](_0x28a37a['to']-0x1,_0x54d79a-0x19)):Math['min'](_0x5eb6a1['length'],Math['max'](_0x28a37a['from']+0x1,_0x54d79a+0x19));if(_0x2647be<0x0?_0x28a37a['prevSibling']():_0x28a37a['nextSibling']())break;if(!_0x28a37a['parent']())return _0x2647be<0x0?0x0:_0x5eb6a1['length'];}}let gR=class FragmentCursor{constructor(_0x57b25b,_0x298633){this['fragments']=_0x57b25b,this['nodeSet']=_0x298633,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x534e0c=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x534e0c){for(this['safeFrom']=_0x534e0c['openStart']?mR(_0x534e0c['tree'],_0x534e0c['from']+_0x534e0c['offset'],0x1)-_0x534e0c['offset']:_0x534e0c['from'],this['safeTo']=_0x534e0c['openEnd']?mR(_0x534e0c['tree'],_0x534e0c['to']+_0x534e0c['offset'],-0x1)-_0x534e0c['offset']:_0x534e0c['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x534e0c['tree']),this['start']['push'](-_0x534e0c['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x3474a8){if(_0x3474a8<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x3474a8;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x157a7e=this['trees']['length']-0x1;if(_0x157a7e<0x0)return this['nextFragment'](),null;let _0x43fec5=this['trees'][_0x157a7e],_0x51c42f=this['index'][_0x157a7e];if(_0x51c42f==_0x43fec5['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0xee419=_0x43fec5['children'][_0x51c42f],_0x5d01f3=this['start'][_0x157a7e]+_0x43fec5['positions'][_0x51c42f];if(_0x5d01f3>_0x3474a8)return this['nextStart']=_0x5d01f3,null;if(_0xee419 instanceof Tree){if(_0x5d01f3==_0x3474a8){if(_0x5d01f3<this['safeFrom'])return null;let _0x3d2ac3=_0x5d01f3+_0xee419['length'];if(_0x3d2ac3<=this['safeTo']){let _0x4ddc9d=_0xee419['prop'](NodeProp['lookAhead']);if(!_0x4ddc9d||_0x3d2ac3+_0x4ddc9d<this['fragment']['to'])return _0xee419;}}this['index'][_0x157a7e]++,_0x5d01f3+_0xee419['length']>=Math['max'](this['safeFrom'],_0x3474a8)&&(this['trees']['push'](_0xee419),this['start']['push'](_0x5d01f3),this['index']['push'](0x0));}else this['index'][_0x157a7e]++,this['nextStart']=_0x5d01f3+_0xee419['length'];}}};class TokenCache{constructor(_0x2ec0f5,_0x34ad37){this['stream']=_0x34ad37,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x2ec0f5['tokenizers']['map'](_0x19a64e=>new CachedToken());}['getActions'](_0x52b9e3){let _0x29849e=0x0,_0x56e26c=null,{parser:_0x5ab8d7}=_0x52b9e3['p'],{tokenizers:_0x58994c}=_0x5ab8d7,_0x4baed7=_0x5ab8d7['stateSlot'](_0x52b9e3['state'],0x3),_0x178166=_0x52b9e3['curContext']?_0x52b9e3['curContext']['hash']:0x0,_0x334724=0x0;for(let _0x3f68fb=0x0;_0x3f68fb<_0x58994c['length'];_0x3f68fb++){if(!(0x1<<_0x3f68fb&_0x4baed7))continue;let _0x360631=_0x58994c[_0x3f68fb],_0x37d529=this['tokens'][_0x3f68fb];if((!_0x56e26c||_0x360631['fallback'])&&((_0x360631['contextual']||_0x37d529['start']!=_0x52b9e3['pos']||_0x37d529['mask']!=_0x4baed7||_0x37d529['context']!=_0x178166)&&(this['updateCachedToken'](_0x37d529,_0x360631,_0x52b9e3),_0x37d529['mask']=_0x4baed7,_0x37d529['context']=_0x178166),_0x37d529['lookAhead']>_0x37d529['end']+0x19&&(_0x334724=Math['max'](_0x37d529['lookAhead'],_0x334724)),0x0!=_0x37d529['value'])){let _0xffda10=_0x29849e;if(_0x37d529['extended']>-0x1&&(_0x29849e=this['addActions'](_0x52b9e3,_0x37d529['extended'],_0x37d529['end'],_0x29849e)),_0x29849e=this['addActions'](_0x52b9e3,_0x37d529['value'],_0x37d529['end'],_0x29849e),!_0x360631['extend']&&(_0x56e26c=_0x37d529,_0x29849e>_0xffda10))break;}}for(;this['actions']['length']>_0x29849e;)this['actions']['pop']();return _0x334724&&_0x52b9e3['setLookAhead'](_0x334724),_0x56e26c||_0x52b9e3['pos']!=this['stream']['end']||(_0x56e26c=new CachedToken(),_0x56e26c['value']=_0x52b9e3['p']['parser']['eofTerm'],_0x56e26c['start']=_0x56e26c['end']=_0x52b9e3['pos'],_0x29849e=this['addActions'](_0x52b9e3,_0x56e26c['value'],_0x56e26c['end'],_0x29849e)),this['mainToken']=_0x56e26c,this['actions'];}['getMainToken'](_0x339db3){if(this['mainToken'])return this['mainToken'];let _0x450391=new CachedToken(),{pos:_0x319a89,p:_0x4b5a9a}=_0x339db3;return _0x450391['start']=_0x319a89,_0x450391['end']=Math['min'](_0x319a89+0x1,_0x4b5a9a['stream']['end']),_0x450391['value']=_0x319a89==_0x4b5a9a['stream']['end']?_0x4b5a9a['parser']['eofTerm']:0x0,_0x450391;}['updateCachedToken'](_0x17f256,_0xa9291b,_0x597674){let _0x36154=this['stream']['clipPos'](_0x597674['pos']);if(_0xa9291b['token'](this['stream']['reset'](_0x36154,_0x17f256),_0x597674),_0x17f256['value']>-0x1){let {parser:_0x49fb0c}=_0x597674['p'];for(let _0x137f47=0x0;_0x137f47<_0x49fb0c['specialized']['length'];_0x137f47++)if(_0x49fb0c['specialized'][_0x137f47]==_0x17f256['value']){let _0x39097e=_0x49fb0c['specializers'][_0x137f47](this['stream']['read'](_0x17f256['start'],_0x17f256['end']),_0x597674);if(_0x39097e>=0x0&&_0x597674['p']['parser']['dialect']['allows'](_0x39097e>>0x1)){0x1&_0x39097e?_0x17f256['extended']=_0x39097e>>0x1:_0x17f256['value']=_0x39097e>>0x1;break;}}}else _0x17f256['value']=0x0,_0x17f256['end']=this['stream']['clipPos'](_0x36154+0x1);}['putAction'](_0x496b6c,_0x279778,_0x1d1c90,_0x20bb6a){for(let _0x238116=0x0;_0x238116<_0x20bb6a;_0x238116+=0x3)if(this['actions'][_0x238116]==_0x496b6c)return _0x20bb6a;return this['actions'][_0x20bb6a++]=_0x496b6c,this['actions'][_0x20bb6a++]=_0x279778,this['actions'][_0x20bb6a++]=_0x1d1c90,_0x20bb6a;}['addActions'](_0x5bb862,_0x30195b,_0x236aa5,_0x355fc6){let {state:_0x1ece80}=_0x5bb862,{parser:_0x9c2974}=_0x5bb862['p'],{data:_0x763ed1}=_0x9c2974;for(let _0x598230=0x0;_0x598230<0x2;_0x598230++)for(let _0x5a0492=_0x9c2974['stateSlot'](_0x1ece80,_0x598230?0x2:0x1);;_0x5a0492+=0x3){if(0xffff==_0x763ed1[_0x5a0492]){if(0x1!=_0x763ed1[_0x5a0492+0x1]){0x0==_0x355fc6&&0x2==_0x763ed1[_0x5a0492+0x1]&&(_0x355fc6=this['putAction'](wR(_0x763ed1,_0x5a0492+0x2),_0x30195b,_0x236aa5,_0x355fc6));break;}_0x5a0492=wR(_0x763ed1,_0x5a0492+0x2);}_0x763ed1[_0x5a0492]==_0x30195b&&(_0x355fc6=this['putAction'](wR(_0x763ed1,_0x5a0492+0x1),_0x30195b,_0x236aa5,_0x355fc6));}return _0x355fc6;}}class Parse{constructor(_0x4fffd5,_0x2855b1,_0x3df583,_0x36e291){this['parser']=_0x4fffd5,this['input']=_0x2855b1,this['ranges']=_0x36e291,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(_0x2855b1,_0x36e291),this['tokens']=new TokenCache(_0x4fffd5,this['stream']),this['topTerm']=_0x4fffd5['top'][0x1];let {from:_0x32eb72}=_0x36e291[0x0];this['stacks']=[Stack['start'](this,_0x4fffd5['top'][0x0],_0x32eb72)],this['fragments']=_0x3df583['length']&&this['stream']['end']-_0x32eb72>0x4*_0x4fffd5['bufferLength']?new gR(_0x3df583,_0x4fffd5['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x4b6af9,_0x527a0b,_0x389494=this['stacks'],_0x32f339=this['minStackPos'],_0x5a911d=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x389494['length']){let [_0x263a70]=_0x389494;for(;_0x263a70['forceReduce']()&&_0x263a70['stack']['length']&&_0x263a70['stack'][_0x263a70['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x54cec6=0x0;_0x54cec6<_0x389494['length'];_0x54cec6++){let _0x423de2=_0x389494[_0x54cec6];for(;;){if(this['tokens']['mainToken']=null,_0x423de2['pos']>_0x32f339)_0x5a911d['push'](_0x423de2);else{if(this['advanceStack'](_0x423de2,_0x5a911d,_0x389494))continue;{_0x4b6af9||(_0x4b6af9=[],_0x527a0b=[]),_0x4b6af9['push'](_0x423de2);let _0x251c79=this['tokens']['getMainToken'](_0x423de2);_0x527a0b['push'](_0x251c79['value'],_0x251c79['end']);}}break;}}if(!_0x5a911d['length']){let _0x4d7ca7=_0x4b6af9&&function(_0x81dfd3){let _0xbb2a2=null;for(let _0xea54b1 of _0x81dfd3){let _0x5d7784=_0xea54b1['p']['stoppedAt'];(_0xea54b1['pos']==_0xea54b1['p']['stream']['end']||null!=_0x5d7784&&_0xea54b1['pos']>_0x5d7784)&&_0xea54b1['p']['parser']['stateFlag'](_0xea54b1['state'],0x2)&&(!_0xbb2a2||_0xbb2a2['score']<_0xea54b1['score'])&&(_0xbb2a2=_0xea54b1);}return _0xbb2a2;}(_0x4b6af9);if(_0x4d7ca7)return dR&&console['log']('Finish\x20with\x20'+this['stackID'](_0x4d7ca7)),this['stackToTree'](_0x4d7ca7);if(this['parser']['strict'])throw dR&&_0x4b6af9&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x32f339);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x4b6af9){let _0x49643f=null!=this['stoppedAt']&&_0x4b6af9[0x0]['pos']>this['stoppedAt']?_0x4b6af9[0x0]:this['runRecovery'](_0x4b6af9,_0x527a0b,_0x5a911d);if(_0x49643f)return dR&&console['log']('Force-finish\x20'+this['stackID'](_0x49643f)),this['stackToTree'](_0x49643f['forceAll']());}if(this['recovering']){let _0x64cb72=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x5a911d['length']>_0x64cb72){for(_0x5a911d['sort']((_0x12985e,_0x1ce663)=>_0x1ce663['score']-_0x12985e['score']);_0x5a911d['length']>_0x64cb72;)_0x5a911d['pop']();}_0x5a911d['some'](_0x1c3b8b=>_0x1c3b8b['reducePos']>_0x32f339)&&this['recovering']--;}else{if(_0x5a911d['length']>0x1){t:for(let _0x31e4ee=0x0;_0x31e4ee<_0x5a911d['length']-0x1;_0x31e4ee++){let _0x8ae0de=_0x5a911d[_0x31e4ee];for(let _0x353c7f=_0x31e4ee+0x1;_0x353c7f<_0x5a911d['length'];_0x353c7f++){let _0xba4b84=_0x5a911d[_0x353c7f];if(_0x8ae0de['sameState'](_0xba4b84)||_0x8ae0de['buffer']['length']>0x1f4&&_0xba4b84['buffer']['length']>0x1f4){if(!((_0x8ae0de['score']-_0xba4b84['score']||_0x8ae0de['buffer']['length']-_0xba4b84['buffer']['length'])>0x0)){_0x5a911d['splice'](_0x31e4ee--,0x1);continue t;}_0x5a911d['splice'](_0x353c7f--,0x1);}}}_0x5a911d['length']>0xc&&_0x5a911d['splice'](0xc,_0x5a911d['length']-0xc);}}this['minStackPos']=_0x5a911d[0x0]['pos'];for(let _0x1c9eb6=0x1;_0x1c9eb6<_0x5a911d['length'];_0x1c9eb6++)_0x5a911d[_0x1c9eb6]['pos']<this['minStackPos']&&(this['minStackPos']=_0x5a911d[_0x1c9eb6]['pos']);return null;}['stopAt'](_0x436ed2){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x436ed2)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x436ed2;}['advanceStack'](_0x1d7ba1,_0xc2bd0c,_0x6fd055){let _0x4a73b0=_0x1d7ba1['pos'],{parser:_0x9a659}=this,_0x438d01=dR?this['stackID'](_0x1d7ba1)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x4a73b0>this['stoppedAt'])return _0x1d7ba1['forceReduce']()?_0x1d7ba1:null;if(this['fragments']){let _0x23b49a=_0x1d7ba1['curContext']&&_0x1d7ba1['curContext']['tracker']['strict'],_0x80e061=_0x23b49a?_0x1d7ba1['curContext']['hash']:0x0;for(let _0x555d70=this['fragments']['nodeAt'](_0x4a73b0);_0x555d70;){let _0x9afac6=this['parser']['nodeSet']['types'][_0x555d70['type']['id']]==_0x555d70['type']?_0x9a659['getGoto'](_0x1d7ba1['state'],_0x555d70['type']['id']):-0x1;if(_0x9afac6>-0x1&&_0x555d70['length']&&(!_0x23b49a||(_0x555d70['prop'](NodeProp['contextHash'])||0x0)==_0x80e061))return _0x1d7ba1['useNode'](_0x555d70,_0x9afac6),dR&&console['log'](_0x438d01+this['stackID'](_0x1d7ba1)+('\x20(via\x20reuse\x20of\x20'+_0x9a659['getName'](_0x555d70['type']['id'])+')')),!0x0;if(!(_0x555d70 instanceof Tree)||0x0==_0x555d70['children']['length']||_0x555d70['positions'][0x0]>0x0)break;let _0x552252=_0x555d70['children'][0x0];if(!(_0x552252 instanceof Tree&&0x0==_0x555d70['positions'][0x0]))break;_0x555d70=_0x552252;}}let _0x387cd9=_0x9a659['stateSlot'](_0x1d7ba1['state'],0x4);if(_0x387cd9>0x0)return _0x1d7ba1['reduce'](_0x387cd9),dR&&console['log'](_0x438d01+this['stackID'](_0x1d7ba1)+('\x20(via\x20always-reduce\x20'+_0x9a659['getName'](0xffff&_0x387cd9)+')')),!0x0;if(_0x1d7ba1['stack']['length']>=0x20d0){for(;_0x1d7ba1['stack']['length']>0x1770&&_0x1d7ba1['forceReduce'](););}let _0x585ba1=this['tokens']['getActions'](_0x1d7ba1);for(let _0xc8407d=0x0;_0xc8407d<_0x585ba1['length'];){let _0x4c63be=_0x585ba1[_0xc8407d++],_0x4f1bd3=_0x585ba1[_0xc8407d++],_0x305c86=_0x585ba1[_0xc8407d++],_0x544a53=_0xc8407d==_0x585ba1['length']||!_0x6fd055,_0xb1d695=_0x544a53?_0x1d7ba1:_0x1d7ba1['split'](),_0x37f36c=this['tokens']['mainToken'];if(_0xb1d695['apply'](_0x4c63be,_0x4f1bd3,_0x37f36c?_0x37f36c['start']:_0xb1d695['pos'],_0x305c86),dR&&console['log'](_0x438d01+this['stackID'](_0xb1d695)+('\x20(via\x20'+(0x10000&_0x4c63be?'reduce\x20of\x20'+_0x9a659['getName'](0xffff&_0x4c63be):'shift')+'\x20for\x20'+_0x9a659['getName'](_0x4f1bd3)+'\x20@\x20'+_0x4a73b0+(_0xb1d695==_0x1d7ba1?'':',\x20split')+')')),_0x544a53)return!0x0;_0xb1d695['pos']>_0x4a73b0?_0xc2bd0c['push'](_0xb1d695):_0x6fd055['push'](_0xb1d695);}return!0x1;}['advanceFully'](_0x4d47da,_0x2c9cdc){let _0x5886e5=_0x4d47da['pos'];for(;;){if(!this['advanceStack'](_0x4d47da,null,null))return!0x1;if(_0x4d47da['pos']>_0x5886e5)return pR(_0x4d47da,_0x2c9cdc),!0x0;}}['runRecovery'](_0x3c20cb,_0x289e8a,_0x4f9e59){let _0x575259=null,_0xba1016=!0x1;for(let _0x10d266=0x0;_0x10d266<_0x3c20cb['length'];_0x10d266++){let _0x230c74=_0x3c20cb[_0x10d266],_0x202849=_0x289e8a[_0x10d266<<0x1],_0x15516f=_0x289e8a[0x1+(_0x10d266<<0x1)],_0x2d8cda=dR?this['stackID'](_0x230c74)+'\x20->\x20':'';if(_0x230c74['deadEnd']){if(_0xba1016)continue;if(_0xba1016=!0x0,_0x230c74['restart'](),dR&&console['log'](_0x2d8cda+this['stackID'](_0x230c74)+'\x20(restarted)'),this['advanceFully'](_0x230c74,_0x4f9e59))continue;}let _0x1fcc8c=_0x230c74['split'](),_0x5385ae=_0x2d8cda;for(let _0x2c84ef=0x0;_0x2c84ef<0xa&&_0x1fcc8c['forceReduce']();_0x2c84ef++){if(dR&&console['log'](_0x5385ae+this['stackID'](_0x1fcc8c)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x1fcc8c,_0x4f9e59))break;dR&&(_0x5385ae=this['stackID'](_0x1fcc8c)+'\x20->\x20');}for(let _0x49a6b6 of _0x230c74['recoverByInsert'](_0x202849))dR&&console['log'](_0x2d8cda+this['stackID'](_0x49a6b6)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x49a6b6,_0x4f9e59);this['stream']['end']>_0x230c74['pos']?(_0x15516f==_0x230c74['pos']&&(_0x15516f++,_0x202849=0x0),_0x230c74['recoverByDelete'](_0x202849,_0x15516f),dR&&console['log'](_0x2d8cda+this['stackID'](_0x230c74)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x202849)+')')),pR(_0x230c74,_0x4f9e59)):(!_0x575259||_0x575259['score']<_0x230c74['score'])&&(_0x575259=_0x230c74);}return _0x575259;}['stackToTree'](_0x37e9c2){return _0x37e9c2['close'](),Tree['build']({'buffer':StackBufferCursor['create'](_0x37e9c2),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x37e9c2['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x1f2e4c){let _0x4ccf34=(fR||(fR=new WeakMap()))['get'](_0x1f2e4c);return _0x4ccf34||fR['set'](_0x1f2e4c,_0x4ccf34=String['fromCodePoint'](this['nextStackID']++)),_0x4ccf34+_0x1f2e4c;}}function pR(_0x3a6665,_0x19b394){for(let _0x2f560f=0x0;_0x2f560f<_0x19b394['length'];_0x2f560f++){let _0x4ac298=_0x19b394[_0x2f560f];if(_0x4ac298['pos']==_0x3a6665['pos']&&_0x4ac298['sameState'](_0x3a6665))return void(_0x19b394[_0x2f560f]['score']<_0x3a6665['score']&&(_0x19b394[_0x2f560f]=_0x3a6665));}_0x19b394['push'](_0x3a6665);}class Dialect{constructor(_0x1bc587,_0x3f5c17,_0x520138){this['source']=_0x1bc587,this['flags']=_0x3f5c17,this['disabled']=_0x520138;}['allows'](_0x2be4a6){return!this['disabled']||0x0==this['disabled'][_0x2be4a6];}}const OR=_0x3a0a86=>_0x3a0a86;class ContextTracker{constructor(_0x24294d){this['start']=_0x24294d['start'],this['shift']=_0x24294d['shift']||OR,this['reduce']=_0x24294d['reduce']||OR,this['reuse']=_0x24294d['reuse']||OR,this['hash']=_0x24294d['hash']||(()=>0x0),this['strict']=!0x1!==_0x24294d['strict'];}}class LRParser extends Parser{constructor(_0x2202f3){if(super(),this['wrappers']=[],0xe!=_0x2202f3['version'])throw new RangeError('Parser\x20version\x20('+_0x2202f3['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x2aa96d=_0x2202f3['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x2aa96d['length'];for(let _0x3f22fe=0x0;_0x3f22fe<_0x2202f3['repeatNodeCount'];_0x3f22fe++)_0x2aa96d['push']('');let _0x57b084=Object['keys'](_0x2202f3['topRules'])['map'](_0x11f7a6=>_0x2202f3['topRules'][_0x11f7a6][0x1]),_0x22009b=[];for(let _0x307391=0x0;_0x307391<_0x2aa96d['length'];_0x307391++)_0x22009b['push']([]);function _0x233f0c(_0x3b68cb,_0x3e484c,_0x547560){_0x22009b[_0x3b68cb]['push']([_0x3e484c,_0x3e484c['deserialize'](String(_0x547560))]);}if(_0x2202f3['nodeProps'])for(let _0x3fec49 of _0x2202f3['nodeProps']){let _0x2df785=_0x3fec49[0x0];'string'==typeof _0x2df785&&(_0x2df785=NodeProp[_0x2df785]);for(let _0x1cd7a7=0x1;_0x1cd7a7<_0x3fec49['length'];){let _0x4790e0=_0x3fec49[_0x1cd7a7++];if(_0x4790e0>=0x0)_0x233f0c(_0x4790e0,_0x2df785,_0x3fec49[_0x1cd7a7++]);else{let _0x15522e=_0x3fec49[_0x1cd7a7+-_0x4790e0];for(let _0x1ff71a=-_0x4790e0;_0x1ff71a>0x0;_0x1ff71a--)_0x233f0c(_0x3fec49[_0x1cd7a7++],_0x2df785,_0x15522e);_0x1cd7a7++;}}}this['nodeSet']=new NodeSet(_0x2aa96d['map']((_0x47c17b,_0x321835)=>NodeType['define']({'name':_0x321835>=this['minRepeatTerm']?void 0x0:_0x47c17b,'id':_0x321835,'props':_0x22009b[_0x321835],'top':_0x57b084['indexOf'](_0x321835)>-0x1,'error':0x0==_0x321835,'skipped':_0x2202f3['skippedNodes']&&_0x2202f3['skippedNodes']['indexOf'](_0x321835)>-0x1}))),_0x2202f3['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x2202f3['propSources'])),this['strict']=!0x1,this['bufferLength']=nS;let _0x15d4a0=aR(_0x2202f3['tokenData']);this['context']=_0x2202f3['context'],this['specializerSpecs']=_0x2202f3['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x2ccdf7=0x0;_0x2ccdf7<this['specializerSpecs']['length'];_0x2ccdf7++)this['specialized'][_0x2ccdf7]=this['specializerSpecs'][_0x2ccdf7]['term'];this['specializers']=this['specializerSpecs']['map'](bR),this['states']=aR(_0x2202f3['states'],Uint32Array),this['data']=aR(_0x2202f3['stateData']),this['goto']=aR(_0x2202f3['goto']),this['maxTerm']=_0x2202f3['maxTerm'],this['tokenizers']=_0x2202f3['tokenizers']['map'](_0x4ad7f4=>'number'==typeof _0x4ad7f4?new TokenGroup(_0x15d4a0,_0x4ad7f4):_0x4ad7f4),this['topRules']=_0x2202f3['topRules'],this['dialects']=_0x2202f3['dialects']||{},this['dynamicPrecedences']=_0x2202f3['dynamicPrecedences']||null,this['tokenPrecTable']=_0x2202f3['tokenPrec'],this['termNames']=_0x2202f3['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x3d76ca,_0x3d8768,_0x3cee4d){let _0x5b89f3=new Parse(this,_0x3d76ca,_0x3d8768,_0x3cee4d);for(let _0x1ba489 of this['wrappers'])_0x5b89f3=_0x1ba489(_0x5b89f3,_0x3d76ca,_0x3d8768,_0x3cee4d);return _0x5b89f3;}['getGoto'](_0x2743d3,_0x4a0fe9,_0x48de56=!0x1){let _0x450cc0=this['goto'];if(_0x4a0fe9>=_0x450cc0[0x0])return-0x1;for(let _0x1671c4=_0x450cc0[_0x4a0fe9+0x1];;){let _0x45a713=_0x450cc0[_0x1671c4++],_0x46c3c5=0x1&_0x45a713,_0x1fd4c8=_0x450cc0[_0x1671c4++];if(_0x46c3c5&&_0x48de56)return _0x1fd4c8;for(let _0x2fd95b=_0x1671c4+(_0x45a713>>0x1);_0x1671c4<_0x2fd95b;_0x1671c4++)if(_0x450cc0[_0x1671c4]==_0x2743d3)return _0x1fd4c8;if(_0x46c3c5)return-0x1;}}['hasAction'](_0x5e46d6,_0x1290f9){let _0x31661a=this['data'];for(let _0x52172c=0x0;_0x52172c<0x2;_0x52172c++)for(let _0x26b4c0,_0xa89499=this['stateSlot'](_0x5e46d6,_0x52172c?0x2:0x1);;_0xa89499+=0x3){if(0xffff==(_0x26b4c0=_0x31661a[_0xa89499])){if(0x1!=_0x31661a[_0xa89499+0x1]){if(0x2==_0x31661a[_0xa89499+0x1])return wR(_0x31661a,_0xa89499+0x2);break;}_0x26b4c0=_0x31661a[_0xa89499=wR(_0x31661a,_0xa89499+0x2)];}if(_0x26b4c0==_0x1290f9||0x0==_0x26b4c0)return wR(_0x31661a,_0xa89499+0x1);}return 0x0;}['stateSlot'](_0x437a20,_0x135d51){return this['states'][0x6*_0x437a20+_0x135d51];}['stateFlag'](_0x21ee99,_0x46296b){return(this['stateSlot'](_0x21ee99,0x0)&_0x46296b)>0x0;}['validAction'](_0x40fff3,_0x3e0480){return!!this['allActions'](_0x40fff3,_0xcad568=>_0xcad568==_0x3e0480||null);}['allActions'](_0x157a3c,_0x1a8e5e){let _0x102a82=this['stateSlot'](_0x157a3c,0x4),_0x50fa9c=_0x102a82?_0x1a8e5e(_0x102a82):void 0x0;for(let _0x157850=this['stateSlot'](_0x157a3c,0x1);null==_0x50fa9c;_0x157850+=0x3){if(0xffff==this['data'][_0x157850]){if(0x1!=this['data'][_0x157850+0x1])break;_0x157850=wR(this['data'],_0x157850+0x2);}_0x50fa9c=_0x1a8e5e(wR(this['data'],_0x157850+0x1));}return _0x50fa9c;}['nextStates'](_0x1efbf7){let _0x2810a3=[];for(let _0x532c5f=this['stateSlot'](_0x1efbf7,0x1);;_0x532c5f+=0x3){if(0xffff==this['data'][_0x532c5f]){if(0x1!=this['data'][_0x532c5f+0x1])break;_0x532c5f=wR(this['data'],_0x532c5f+0x2);}if(!(0x1&this['data'][_0x532c5f+0x2])){let _0x594ced=this['data'][_0x532c5f+0x1];_0x2810a3['some']((_0xfb9f39,_0x1ba6d0)=>0x1&_0x1ba6d0&&_0xfb9f39==_0x594ced)||_0x2810a3['push'](this['data'][_0x532c5f],_0x594ced);}}return _0x2810a3;}['configure'](_0x45e85b){let _0x426c93=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0x45e85b['props']&&(_0x426c93['nodeSet']=this['nodeSet']['extend'](..._0x45e85b['props'])),_0x45e85b['top']){let _0x554f8a=this['topRules'][_0x45e85b['top']];if(!_0x554f8a)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x45e85b['top']);_0x426c93['top']=_0x554f8a;}return _0x45e85b['tokenizers']&&(_0x426c93['tokenizers']=this['tokenizers']['map'](t=>{let _0xb464c7=_0x45e85b['tokenizers']['find'](_0x2e584c=>_0x2e584c['from']==t);return _0xb464c7?_0xb464c7['to']:t;})),_0x45e85b['specializers']&&(_0x426c93['specializers']=this['specializers']['slice'](),_0x426c93['specializerSpecs']=this['specializerSpecs']['map']((_0x2ce6d8,_0x1e2c42)=>{let _0x1fde77=_0x45e85b['specializers']['find'](_0x5cb358=>_0x5cb358['from']==_0x2ce6d8['external']);if(!_0x1fde77)return _0x2ce6d8;let _0x4ee8b0=Object['assign'](Object['assign']({},_0x2ce6d8),{'external':_0x1fde77['to']});return _0x426c93['specializers'][_0x1e2c42]=bR(_0x4ee8b0),_0x4ee8b0;})),_0x45e85b['contextTracker']&&(_0x426c93['context']=_0x45e85b['contextTracker']),_0x45e85b['dialect']&&(_0x426c93['dialect']=this['parseDialect'](_0x45e85b['dialect'])),null!=_0x45e85b['strict']&&(_0x426c93['strict']=_0x45e85b['strict']),_0x45e85b['wrap']&&(_0x426c93['wrappers']=_0x426c93['wrappers']['concat'](_0x45e85b['wrap'])),null!=_0x45e85b['bufferLength']&&(_0x426c93['bufferLength']=_0x45e85b['bufferLength']),_0x426c93;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x181273){return this['termNames']?this['termNames'][_0x181273]:String(_0x181273<=this['maxNode']&&this['nodeSet']['types'][_0x181273]['name']||_0x181273);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x1f876d){let _0x5a4313=this['dynamicPrecedences'];return null==_0x5a4313?0x0:_0x5a4313[_0x1f876d]||0x0;}['parseDialect'](_0x247e0b){let _0x271770=Object['keys'](this['dialects']),_0xa6220e=_0x271770['map'](()=>!0x1);if(_0x247e0b)for(let _0x9d4c2 of _0x247e0b['split']('\x20')){let _0x3c5457=_0x271770['indexOf'](_0x9d4c2);_0x3c5457>=0x0&&(_0xa6220e[_0x3c5457]=!0x0);}let _0x1ba97f=null;for(let _0x41648b=0x0;_0x41648b<_0x271770['length'];_0x41648b++)if(!_0xa6220e[_0x41648b]){for(let _0x5447a5,_0x89c9f=this['dialects'][_0x271770[_0x41648b]];0xffff!=(_0x5447a5=this['data'][_0x89c9f++]);)(_0x1ba97f||(_0x1ba97f=new Uint8Array(this['maxTerm']+0x1)))[_0x5447a5]=0x1;}return new Dialect(_0x247e0b,_0xa6220e,_0x1ba97f);}static['deserialize'](_0x4bd8fe){return new LRParser(_0x4bd8fe);}}function wR(_0x38e1d3,_0x2e710c){return _0x38e1d3[_0x2e710c]|_0x38e1d3[_0x2e710c+0x1]<<0x10;}function bR(_0x405dd2){if(_0x405dd2['external']){let _0x25ce4a=_0x405dd2['extend']?0x1:0x0;return(_0x2d6c1a,_0x252f4a)=>_0x405dd2['external'](_0x2d6c1a,_0x252f4a)<<0x1|_0x25ce4a;}return _0x405dd2['get'];}const yR={'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},_R={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},vR={'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 TR(_0x43510f){return 0x2d==_0x43510f||0x2e==_0x43510f||0x3a==_0x43510f||_0x43510f>=0x41&&_0x43510f<=0x5a||0x5f==_0x43510f||_0x43510f>=0x61&&_0x43510f<=0x7a||_0x43510f>=0xa1;}let ER=null,AR=null,SR=0x0;function IR(_0x11b42e,_0x7e9bd3){let _0x4cdc8c=_0x11b42e['pos']+_0x7e9bd3;if(SR==_0x4cdc8c&&AR==_0x11b42e)return ER;let _0x121190=_0x11b42e['peek'](_0x7e9bd3),_0x14dba6='';for(;TR(_0x121190);)_0x14dba6+=String['fromCharCode'](_0x121190),_0x121190=_0x11b42e['peek'](++_0x7e9bd3);return AR=_0x11b42e,SR=_0x4cdc8c,ER=_0x14dba6?_0x14dba6['toLowerCase']():_0x121190==CR||_0x121190==kR?void 0x0:null;}const CR=0x3f,kR=0x21;function xR(_0x376bed,_0x385d7d){this['name']=_0x376bed,this['parent']=_0x385d7d;}const RR=[0x6,0xa,0x7,0x8,0x9],PR=new ContextTracker({'start':null,'shift':(_0x4c94be,_0x4bdc6c,_0x1bd581,_0x5a401f)=>RR['indexOf'](_0x4bdc6c)>-0x1?new xR(IR(_0x5a401f,0x1)||'',_0x4c94be):_0x4c94be,'reduce':(_0x5a9425,_0x594654)=>0x15==_0x594654&&_0x5a9425?_0x5a9425['parent']:_0x5a9425,'reuse'(_0x27159f,_0x5ed17e,_0x306e76,_0x4dae54){let _0x26b83a=_0x5ed17e['type']['id'];return 0x6==_0x26b83a||0x25==_0x26b83a?new xR(IR(_0x4dae54,0x1)||'',_0x27159f):_0x27159f;},'strict':!0x1}),MR=new ExternalTokenizer((_0xc10ff3,_0x3fb28d)=>{if(0x3c!=_0xc10ff3['next'])return void(_0xc10ff3['next']<0x0&&_0x3fb28d['context']&&_0xc10ff3['acceptToken'](0x3a));_0xc10ff3['advance']();let _0xe17295=0x2f==_0xc10ff3['next'];_0xe17295&&_0xc10ff3['advance']();let _0xb95849=IR(_0xc10ff3,0x0);if(void 0x0===_0xb95849)return;if(!_0xb95849)return _0xc10ff3['acceptToken'](_0xe17295?0xf:0xe);let _0x5838c6=_0x3fb28d['context']?_0x3fb28d['context']['name']:null;if(_0xe17295){if(_0xb95849==_0x5838c6)return _0xc10ff3['acceptToken'](0xb);if(_0x5838c6&&_R[_0x5838c6])return _0xc10ff3['acceptToken'](0x3a,-0x2);if(_0x3fb28d['dialectEnabled'](0x0))return _0xc10ff3['acceptToken'](0xc);for(let _0x23ff41=_0x3fb28d['context'];_0x23ff41;_0x23ff41=_0x23ff41['parent'])if(_0x23ff41['name']==_0xb95849)return;_0xc10ff3['acceptToken'](0xd);}else{if('script'==_0xb95849)return _0xc10ff3['acceptToken'](0x7);if('style'==_0xb95849)return _0xc10ff3['acceptToken'](0x8);if('textarea'==_0xb95849)return _0xc10ff3['acceptToken'](0x9);if(yR['hasOwnProperty'](_0xb95849))return _0xc10ff3['acceptToken'](0xa);_0x5838c6&&vR[_0x5838c6]&&vR[_0x5838c6][_0xb95849]?_0xc10ff3['acceptToken'](0x3a,-0x1):_0xc10ff3['acceptToken'](0x6);}},{'contextual':!0x0}),NR=new ExternalTokenizer(_0x1e79de=>{for(let _0x1c297c=0x0,_0x2b4780=0x0;;_0x2b4780++){if(_0x1e79de['next']<0x0){_0x2b4780&&_0x1e79de['acceptToken'](0x3b);break;}if(0x2d==_0x1e79de['next'])_0x1c297c++;else{if(0x3e==_0x1e79de['next']&&_0x1c297c>=0x2){_0x2b4780>=0x3&&_0x1e79de['acceptToken'](0x3b,-0x2);break;}_0x1c297c=0x0;}_0x1e79de['advance']();}}),LR=new ExternalTokenizer((_0x2815a1,_0x602a84)=>{if(0x2f==_0x2815a1['next']&&0x3e==_0x2815a1['peek'](0x1)){let _0x4b3c49=_0x602a84['dialectEnabled'](0x1)||function(_0x3d7438){for(;_0x3d7438;_0x3d7438=_0x3d7438['parent'])if('svg'==_0x3d7438['name']||'math'==_0x3d7438['name'])return!0x0;return!0x1;}(_0x602a84['context']);_0x2815a1['acceptToken'](_0x4b3c49?0x5:0x4,0x2);}else 0x3e==_0x2815a1['next']&&_0x2815a1['acceptToken'](0x4,0x1);});function DR(_0x62ca49,_0x40efb6,_0x5a364f){let _0x651dc3=0x2+_0x62ca49['length'];return new ExternalTokenizer(_0x5547a4=>{for(let _0x3932fa=0x0,_0x32ca45=0x0,_0x3804ab=0x0;;_0x3804ab++){if(_0x5547a4['next']<0x0){_0x3804ab&&_0x5547a4['acceptToken'](_0x40efb6);break;}if(0x0==_0x3932fa&&0x3c==_0x5547a4['next']||0x1==_0x3932fa&&0x2f==_0x5547a4['next']||_0x3932fa>=0x2&&_0x3932fa<_0x651dc3&&_0x5547a4['next']==_0x62ca49['charCodeAt'](_0x3932fa-0x2))_0x3932fa++,_0x32ca45++;else{if(_0x3932fa==_0x651dc3&&0x3e==_0x5547a4['next']){_0x3804ab>_0x32ca45?_0x5547a4['acceptToken'](_0x40efb6,-_0x32ca45):_0x5547a4['acceptToken'](_0x5a364f,-(_0x32ca45-0x2));break;}if((0xa==_0x5547a4['next']||0xd==_0x5547a4['next'])&&_0x3804ab){_0x5547a4['acceptToken'](_0x40efb6,0x1);break;}_0x3932fa=_0x32ca45=0x0;}_0x5547a4['advance']();}});}const QR=DR('script',0x37,0x1),$R=DR('style',0x38,0x2),VR=DR('textarea',0x39,0x3),UR=RS({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':zS['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':zS['angleBracket'],'TagName':zS['tagName'],'MismatchedCloseTag/TagName':[zS['tagName'],zS['invalid']],'AttributeName':zS['attributeName'],'AttributeValue\x20UnquotedAttributeValue':zS['attributeValue'],'Is':zS['definitionOperator'],'EntityReference\x20CharacterReference':zS['character'],'Comment':zS['blockComment'],'ProcessingInst':zS['processingInstruction'],'DoctypeDecl':zS['documentMeta']}),BR=LRParser['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':PR,'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':[UR],'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':[QR,$R,VR,LR,MR,NR,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function FR(_0x17ca94,_0x109b54){let _0x4b6d95=Object['create'](null);for(let _0x451643 of _0x17ca94['getChildren'](0x18)){let _0x4c9973=_0x451643['getChild'](0x19),_0x380064=_0x451643['getChild'](0x1b)||_0x451643['getChild'](0x1c);_0x4c9973&&(_0x4b6d95[_0x109b54['read'](_0x4c9973['from'],_0x4c9973['to'])]=_0x380064?0x1b==_0x380064['type']['id']?_0x109b54['read'](_0x380064['from']+0x1,_0x380064['to']-0x1):_0x109b54['read'](_0x380064['from'],_0x380064['to']):'');}return _0x4b6d95;}function jR(_0x413823,_0x3efd5e){let _0x54a218=_0x413823['getChild'](0x17);return _0x54a218?_0x3efd5e['read'](_0x54a218['from'],_0x54a218['to']):'\x20';}function HR(_0x53a35b,_0x4925eb,_0x4bf08b){let _0x43a330;for(let _0x490c33 of _0x4bf08b)if(!_0x490c33['attrs']||_0x490c33['attrs'](_0x43a330||(_0x43a330=FR(_0x53a35b['node']['parent']['firstChild'],_0x4925eb))))return{'parser':_0x490c33['parser']};return null;}function GR(_0x5d296e=[],_0x24cfc8=[]){let _0x4ead9b=[],_0x4e06ed=[],_0x4a76bc=[],_0xf10709=[];for(let _0x22b827 of _0x5d296e){('script'==_0x22b827['tag']?_0x4ead9b:'style'==_0x22b827['tag']?_0x4e06ed:'textarea'==_0x22b827['tag']?_0x4a76bc:_0xf10709)['push'](_0x22b827);}let _0x1d253a=_0x24cfc8['length']?Object['create'](null):null;for(let _0x3db65f of _0x24cfc8)(_0x1d253a[_0x3db65f['name']]||(_0x1d253a[_0x3db65f['name']]=[]))['push'](_0x3db65f);return bS((_0x4652a6,_0xa9e0)=>{let _0x115f68=_0x4652a6['type']['id'];if(0x1d==_0x115f68)return HR(_0x4652a6,_0xa9e0,_0x4ead9b);if(0x20==_0x115f68)return HR(_0x4652a6,_0xa9e0,_0x4e06ed);if(0x23==_0x115f68)return HR(_0x4652a6,_0xa9e0,_0x4a76bc);if(0x15==_0x115f68&&_0xf10709['length']){let _0x369238,_0x2e1373=_0x4652a6['node'],_0x5d9519=_0x2e1373['firstChild'],_0x598c63=_0x5d9519&&jR(_0x5d9519,_0xa9e0);if(_0x598c63){for(let _0x3944af of _0xf10709)if(_0x3944af['tag']==_0x598c63&&(!_0x3944af['attrs']||_0x3944af['attrs'](_0x369238||(_0x369238=FR(_0x5d9519,_0xa9e0))))){let _0x155f94=_0x2e1373['lastChild'],_0x42080c=0x26==_0x155f94['type']['id']?_0x155f94['from']:_0x2e1373['to'];if(_0x42080c>_0x5d9519['to'])return{'parser':_0x3944af['parser'],'overlay':[{'from':_0x5d9519['to'],'to':_0x42080c}]};}}}if(_0x1d253a&&0x18==_0x115f68){let _0x4b2666,_0x53b9c6=_0x4652a6['node'];if(_0x4b2666=_0x53b9c6['firstChild']){let _0x334e61=_0x1d253a[_0xa9e0['read'](_0x4b2666['from'],_0x4b2666['to'])];if(_0x334e61)for(let _0x339fc7 of _0x334e61){if(_0x339fc7['tagName']&&_0x339fc7['tagName']!=jR(_0x53b9c6['parent'],_0xa9e0))continue;let _0x24a5a4=_0x53b9c6['lastChild'];if(0x1b==_0x24a5a4['type']['id']){let _0x1a2c83=_0x24a5a4['from']+0x1,_0x2c1931=_0x24a5a4['lastChild'],_0x13369d=_0x24a5a4['to']-(_0x2c1931&&_0x2c1931['isError']?0x0:0x1);if(_0x13369d>_0x1a2c83)return{'parser':_0x339fc7['parser'],'overlay':[{'from':_0x1a2c83,'to':_0x13369d}]};}else{if(0x1c==_0x24a5a4['type']['id'])return{'parser':_0x339fc7['parser'],'overlay':[{'from':_0x24a5a4['from'],'to':_0x24a5a4['to']}]};}}}}return null;});}const ZR=[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];function XR(_0x54fa19){return _0x54fa19>=0x41&&_0x54fa19<=0x5a||_0x54fa19>=0x61&&_0x54fa19<=0x7a||_0x54fa19>=0xa1;}function qR(_0x241bf2){return _0x241bf2>=0x30&&_0x241bf2<=0x39;}function WR(_0xe9d7d){return qR(_0xe9d7d)||_0xe9d7d>=0x61&&_0xe9d7d<=0x66||_0xe9d7d>=0x41&&_0xe9d7d<=0x46;}const zR=(_0x1e2e35,_0x437ac7,_0x352b18)=>(_0x5f3220,_0x24eb6e)=>{for(let _0x22027c=!0x1,_0x473b01=0x0,_0x4d00b4=0x0;;_0x4d00b4++){let {next:_0x229a17}=_0x5f3220;if(XR(_0x229a17)||0x2d==_0x229a17||0x5f==_0x229a17||_0x22027c&&qR(_0x229a17))!_0x22027c&&(0x2d!=_0x229a17||_0x4d00b4>0x0)&&(_0x22027c=!0x0),_0x473b01===_0x4d00b4&&0x2d==_0x229a17&&_0x473b01++,_0x5f3220['advance']();else{if(0x5c!=_0x229a17||0xa==_0x5f3220['peek'](0x1)){_0x22027c&&_0x5f3220['acceptToken'](0x2==_0x473b01&&_0x24eb6e['canShift'](0x2)?_0x437ac7:0x28==_0x229a17?_0x352b18:_0x1e2e35);break;}if(_0x5f3220['advance'](),WR(_0x5f3220['next'])){do{_0x5f3220['advance']();}while(WR(_0x5f3220['next']));0x20==_0x5f3220['next']&&_0x5f3220['advance']();}else _0x5f3220['next']>-0x1&&_0x5f3220['advance']();_0x22027c=!0x0;}}},YR=new ExternalTokenizer(zR(0x7b,0x2,0x7c)),KR=new ExternalTokenizer(zR(0x7d,0x3,0x4)),JR=new ExternalTokenizer(_0x463397=>{if(ZR['includes'](_0x463397['peek'](-0x1))){let {next:_0x554ff4}=_0x463397;(XR(_0x554ff4)||0x5f==_0x554ff4||0x23==_0x554ff4||0x2e==_0x554ff4||0x2a==_0x554ff4||0x5b==_0x554ff4||0x3a==_0x554ff4&&XR(_0x463397['peek'](0x1))||0x2d==_0x554ff4||0x26==_0x554ff4)&&_0x463397['acceptToken'](0x7a);}}),tP=new ExternalTokenizer(_0x90cc90=>{if(!ZR['includes'](_0x90cc90['peek'](-0x1))){let {next:_0x1d3a38}=_0x90cc90;if(0x25==_0x1d3a38&&(_0x90cc90['advance'](),_0x90cc90['acceptToken'](0x1)),XR(_0x1d3a38)){do{_0x90cc90['advance']();}while(XR(_0x90cc90['next'])||qR(_0x90cc90['next']));_0x90cc90['acceptToken'](0x1);}}}),eP=RS({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':zS['definitionKeyword'],'from\x20to\x20selector':zS['keyword'],'NamespaceName':zS['namespace'],'KeyframeName':zS['labelName'],'KeyframeRangeName':zS['operatorKeyword'],'TagName':zS['tagName'],'ClassName':zS['className'],'PseudoClassName':zS['constant'](zS['className']),'IdName':zS['labelName'],'FeatureName\x20PropertyName':zS['propertyName'],'AttributeName':zS['attributeName'],'NumberLiteral':zS['number'],'KeywordQuery':zS['keyword'],'UnaryQueryOp':zS['operatorKeyword'],'CallTag\x20ValueName':zS['atom'],'VariableName':zS['variableName'],'Callee':zS['operatorKeyword'],'Unit':zS['unit'],'UniversalSelector\x20NestingSelector':zS['definitionOperator'],'MatchOp\x20CompareOp':zS['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':zS['logicOperator'],'BinOp':zS['arithmeticOperator'],'Important':zS['modifier'],'Comment':zS['blockComment'],'ColorLiteral':zS['color'],'ParenthesizedContent\x20StringLiteral':zS['string'],':':zS['punctuation'],'PseudoOp\x20#':zS['derefOperator'],';\x20,':zS['separator'],'(\x20)':zS['paren'],'[\x20]':zS['squareBracket'],'{\x20}':zS['brace']}),iP={'__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},sP={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},nP={'__proto__':null,'selector':0x70,'layer':0xa6},rP={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},oP={'__proto__':null,'to':0xcf},aP=LRParser['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':[eP],'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':[JR,tP,YR,KR,0x1,0x2,0x3,0x4,new LocalTokenGroup('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':_0x4abba4=>iP[_0x4abba4]||-0x1},{'term':0x7d,'get':_0x2b490d=>sP[_0x2b490d]||-0x1},{'term':0x4,'get':_0x1e607c=>nP[_0x1e607c]||-0x1},{'term':0x19,'get':_0x285d3c=>rP[_0x285d3c]||-0x1},{'term':0x7b,'get':_0x282e98=>oP[_0x282e98]||-0x1}],'tokenPrec':0x7ab});let cP=null;function lP(){if(!cP&&'object'==typeof document&&document['body']){let {style:_0x4e7ffb}=document['body'],_0x559ebb=[],_0x4ff3d4=new Set();for(let _0x4968ef in _0x4e7ffb)'cssText'!=_0x4968ef&&'cssFloat'!=_0x4968ef&&'string'==typeof _0x4e7ffb[_0x4968ef]&&(/[A-Z]/['test'](_0x4968ef)&&(_0x4968ef=_0x4968ef['replace'](/[A-Z]/g,_0x25ac30=>'-'+_0x25ac30['toLowerCase']())),_0x4ff3d4['has'](_0x4968ef)||(_0x559ebb['push'](_0x4968ef),_0x4ff3d4['add'](_0x4968ef)));cP=_0x559ebb['sort']()['map'](_0x32980a=>({'type':'property','label':_0x32980a,'apply':_0x32980a+':\x20'}));}return cP||[];}const hP=['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'](_0x508010=>({'type':'class','label':_0x508010})),uP=['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'](_0x1427f2=>({'type':'keyword','label':_0x1427f2}))['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'](_0x5ce93c=>({'type':'constant','label':_0x5ce93c}))),dP=['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'](_0x52c828=>({'type':'type','label':_0x52c828})),fP=['@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'](_0x3caf23=>({'type':'keyword','label':_0x3caf23})),mP=/^(\w[\w-]*|-\w[\w-]*|)$/,gP=/^-(-[\w-]*)?$/,pP=new NodeWeakMap(),OP=['Declaration'];function wP(_0x182f93){for(let _0x42c84c=_0x182f93;;){if(_0x42c84c['type']['isTop'])return _0x42c84c;if(!(_0x42c84c=_0x42c84c['parent']))return _0x182f93;}}function bP(_0x3a5451,_0x308d4b,_0x485636){if(_0x308d4b['to']-_0x308d4b['from']>0x1000){let _0x45abca=pP['get'](_0x308d4b);if(_0x45abca)return _0x45abca;let _0x3cea07=[],_0x5c9d4e=new Set(),_0x1fca4b=_0x308d4b['cursor'](lS['IncludeAnonymous']);if(_0x1fca4b['firstChild']())do{for(let _0x20fa8f of bP(_0x3a5451,_0x1fca4b['node'],_0x485636))_0x5c9d4e['has'](_0x20fa8f['label'])||(_0x5c9d4e['add'](_0x20fa8f['label']),_0x3cea07['push'](_0x20fa8f));}while(_0x1fca4b['nextSibling']());return pP['set'](_0x308d4b,_0x3cea07),_0x3cea07;}{let _0x3ad84b=[],_0x29d221=new Set();return _0x308d4b['cursor']()['iterate'](_0x110f86=>{var _0x16d831;if(_0x485636(_0x110f86)&&_0x110f86['matchContext'](OP)&&':'==(null===(_0x16d831=_0x110f86['node']['nextSibling'])||void 0x0===_0x16d831?void 0x0:_0x16d831['name'])){let _0xc10a0=_0x3a5451['sliceString'](_0x110f86['from'],_0x110f86['to']);_0x29d221['has'](_0xc10a0)||(_0x29d221['add'](_0xc10a0),_0x3ad84b['push']({'label':_0xc10a0,'type':'variable'}));}}),_0x3ad84b;}}const yP=_0x5d98a7=>_0x177ad7=>{let {state:_0x54a4ee,pos:_0xc9c20b}=_0x177ad7,_0xaf2ab3=iI(_0x54a4ee)['resolveInner'](_0xc9c20b,-0x1),_0x539d0b=_0xaf2ab3['type']['isError']&&_0xaf2ab3['from']==_0xaf2ab3['to']-0x1&&'-'==_0x54a4ee['doc']['sliceString'](_0xaf2ab3['from'],_0xaf2ab3['to']);if('PropertyName'==_0xaf2ab3['name']||(_0x539d0b||'TagName'==_0xaf2ab3['name'])&&/^(Block|Styles)$/['test'](_0xaf2ab3['resolve'](_0xaf2ab3['to'])['name']))return{'from':_0xaf2ab3['from'],'options':lP(),'validFor':mP};if('ValueName'==_0xaf2ab3['name'])return{'from':_0xaf2ab3['from'],'options':uP,'validFor':mP};if('PseudoClassName'==_0xaf2ab3['name'])return{'from':_0xaf2ab3['from'],'options':hP,'validFor':mP};if(_0x5d98a7(_0xaf2ab3)||(_0x177ad7['explicit']||_0x539d0b)&&function(_0x3b97c5,_0x1373ec){var _0x3eb9ec;if(('('==_0x3b97c5['name']||_0x3b97c5['type']['isError'])&&(_0x3b97c5=_0x3b97c5['parent']||_0x3b97c5),'ArgList'!=_0x3b97c5['name'])return!0x1;let _0xa606a9=null===(_0x3eb9ec=_0x3b97c5['parent'])||void 0x0===_0x3eb9ec?void 0x0:_0x3eb9ec['firstChild'];return'Callee'==(null==_0xa606a9?void 0x0:_0xa606a9['name'])&&'var'==_0x1373ec['sliceString'](_0xa606a9['from'],_0xa606a9['to']);}(_0xaf2ab3,_0x54a4ee['doc']))return{'from':_0x5d98a7(_0xaf2ab3)||_0x539d0b?_0xaf2ab3['from']:_0xc9c20b,'options':bP(_0x54a4ee['doc'],wP(_0xaf2ab3),_0x5d98a7),'validFor':gP};if('TagName'==_0xaf2ab3['name']){for(let {parent:_0x17ba4a}=_0xaf2ab3;_0x17ba4a;_0x17ba4a=_0x17ba4a['parent'])if('Block'==_0x17ba4a['name'])return{'from':_0xaf2ab3['from'],'options':lP(),'validFor':mP};return{'from':_0xaf2ab3['from'],'options':dP,'validFor':mP};}if('AtKeyword'==_0xaf2ab3['name'])return{'from':_0xaf2ab3['from'],'options':fP,'validFor':mP};if(!_0x177ad7['explicit'])return null;let _0x19faf1=_0xaf2ab3['resolve'](_0xc9c20b),_0x3dbc31=_0x19faf1['childBefore'](_0xc9c20b);return _0x3dbc31&&':'==_0x3dbc31['name']&&'PseudoClassSelector'==_0x19faf1['name']?{'from':_0xc9c20b,'options':hP,'validFor':mP}:_0x3dbc31&&':'==_0x3dbc31['name']&&'Declaration'==_0x19faf1['name']||'ArgList'==_0x19faf1['name']?{'from':_0xc9c20b,'options':uP,'validFor':mP}:'Block'==_0x19faf1['name']||'Styles'==_0x19faf1['name']?{'from':_0xc9c20b,'options':lP(),'validFor':mP}:null;},_P=yP(_0xef73ce=>'VariableName'==_0xef73ce['name']),vP=LRLanguage['define']({'name':'css','parser':aP['configure']({'props':[mI['add']({'Declaration':_I()}),EI['add']({'Block\x20KeyframeList':AI})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),TP=[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],EP=new ContextTracker({'start':!0x1,'shift':(_0xbc562d,_0x51873a)=>0x5==_0x51873a||0x6==_0x51873a||0x140==_0x51873a?_0xbc562d:0x141==_0x51873a,'strict':!0x1}),AP=new ExternalTokenizer((_0x597d04,_0x17b482)=>{let {next:_0x15825c}=_0x597d04;(0x7d==_0x15825c||-0x1==_0x15825c||_0x17b482['context'])&&_0x597d04['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),SP=new ExternalTokenizer((_0x477402,_0x3dfd6e)=>{let _0x374a73,{next:_0x417efe}=_0x477402;TP['indexOf'](_0x417efe)>-0x1||(0x2f!=_0x417efe||0x2f!=(_0x374a73=_0x477402['peek'](0x1))&&0x2a!=_0x374a73)&&(0x7d==_0x417efe||0x3b==_0x417efe||-0x1==_0x417efe||_0x3dfd6e['context']||_0x477402['acceptToken'](0x13c));},{'contextual':!0x0}),IP=new ExternalTokenizer((_0x859a7f,_0x40a2f0)=>{0x5b!=_0x859a7f['next']||_0x40a2f0['context']||_0x859a7f['acceptToken'](0x13d);},{'contextual':!0x0}),CP=new ExternalTokenizer((_0x36914b,_0x2da88a)=>{let {next:_0x5b15bc}=_0x36914b;if(0x2b==_0x5b15bc||0x2d==_0x5b15bc){if(_0x36914b['advance'](),_0x5b15bc==_0x36914b['next']){_0x36914b['advance']();let _0x4b530e=!_0x2da88a['context']&&_0x2da88a['canShift'](0x1);_0x36914b['acceptToken'](_0x4b530e?0x1:0x2);}}else 0x3f==_0x5b15bc&&0x2e==_0x36914b['peek'](0x1)&&(_0x36914b['advance'](),_0x36914b['advance'](),(_0x36914b['next']<0x30||_0x36914b['next']>0x39)&&_0x36914b['acceptToken'](0x3));},{'contextual':!0x0});function kP(_0x92ff25,_0x1c9078){return _0x92ff25>=0x41&&_0x92ff25<=0x5a||_0x92ff25>=0x61&&_0x92ff25<=0x7a||0x5f==_0x92ff25||_0x92ff25>=0xc0||!_0x1c9078&&_0x92ff25>=0x30&&_0x92ff25<=0x39;}const xP=new ExternalTokenizer((_0x24af25,_0x238c7a)=>{if(0x3c!=_0x24af25['next']||!_0x238c7a['dialectEnabled'](0x0))return;if(_0x24af25['advance'](),0x2f==_0x24af25['next'])return;let _0x365760=0x0;for(;TP['indexOf'](_0x24af25['next'])>-0x1;)_0x24af25['advance'](),_0x365760++;if(kP(_0x24af25['next'],!0x0)){for(_0x24af25['advance'](),_0x365760++;kP(_0x24af25['next'],!0x1);)_0x24af25['advance'](),_0x365760++;for(;TP['indexOf'](_0x24af25['next'])>-0x1;)_0x24af25['advance'](),_0x365760++;if(0x2c==_0x24af25['next'])return;for(let _0x47ddb4=0x0;;_0x47ddb4++){if(0x7==_0x47ddb4){if(!kP(_0x24af25['next'],!0x0))return;break;}if(_0x24af25['next']!='extends'['charCodeAt'](_0x47ddb4))break;_0x24af25['advance'](),_0x365760++;}}_0x24af25['acceptToken'](0x4,-_0x365760);}),RP=RS({'get\x20set\x20async\x20static':zS['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':zS['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':zS['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':zS['definitionKeyword'],'import\x20export\x20from':zS['moduleKeyword'],'with\x20debugger\x20new':zS['keyword'],'TemplateString':zS['special'](zS['string']),'super':zS['atom'],'BooleanLiteral':zS['bool'],'this':zS['self'],'null':zS['null'],'Star':zS['modifier'],'VariableName':zS['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':zS['function'](zS['variableName']),'VariableDefinition':zS['definition'](zS['variableName']),'Label':zS['labelName'],'PropertyName':zS['propertyName'],'PrivatePropertyName':zS['special'](zS['propertyName']),'CallExpression/MemberExpression/PropertyName':zS['function'](zS['propertyName']),'FunctionDeclaration/VariableDefinition':zS['function'](zS['definition'](zS['variableName'])),'ClassDeclaration/VariableDefinition':zS['definition'](zS['className']),'NewExpression/VariableName':zS['className'],'PropertyDefinition':zS['definition'](zS['propertyName']),'PrivatePropertyDefinition':zS['definition'](zS['special'](zS['propertyName'])),'UpdateOp':zS['updateOperator'],'LineComment\x20Hashbang':zS['lineComment'],'BlockComment':zS['blockComment'],'Number':zS['number'],'String':zS['string'],'Escape':zS['escape'],'ArithOp':zS['arithmeticOperator'],'LogicOp':zS['logicOperator'],'BitOp':zS['bitwiseOperator'],'CompareOp':zS['compareOperator'],'RegExp':zS['regexp'],'Equals':zS['definitionOperator'],'Arrow':zS['function'](zS['punctuation']),':\x20Spread':zS['punctuation'],'(\x20)':zS['paren'],'[\x20]':zS['squareBracket'],'{\x20}':zS['brace'],'InterpolationStart\x20InterpolationEnd':zS['special'](zS['brace']),'.':zS['derefOperator'],',\x20;':zS['separator'],'@':zS['meta'],'TypeName':zS['typeName'],'TypeDefinition':zS['definition'](zS['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':zS['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':zS['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':zS['operatorKeyword'],'JSXAttributeValue':zS['attributeValue'],'JSXText':zS['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':zS['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':zS['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':zS['attributeName'],'JSXBuiltin/JSXIdentifier':zS['standard'](zS['tagName'])}),PP={'__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},MP={'__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},NP={'__proto__':null,'<':0xc1},LP=LRParser['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':EP,'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':[RP],'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':[SP,IP,CP,xP,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,AP,new LocalTokenGroup('$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 LocalTokenGroup('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':_0x11a6c9=>PP[_0x11a6c9]||-0x1},{'term':0x157,'get':_0x4d4d7c=>MP[_0x4d4d7c]||-0x1},{'term':0x5f,'get':_0x1fb8bc=>NP[_0x1fb8bc]||-0x1}],'tokenPrec':0x3b61}),DP=[$x('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),$x('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),$x('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),$x('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),$x('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),$x('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),$x('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),$x('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),$x('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),$x('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),$x('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],QP=DP['concat']([$x('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),$x('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),$x('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),$P=new NodeWeakMap(),VP=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function UP(_0x4b61bc){return(_0x3b7d44,_0x57e3bb)=>{let _0x471e58=_0x3b7d44['node']['getChild']('VariableDefinition');return _0x471e58&&_0x57e3bb(_0x471e58,_0x4b61bc),!0x0;};}const BP=['FunctionDeclaration'],FP={'FunctionDeclaration':UP('function'),'ClassDeclaration':UP('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':UP('constant'),'TypeAliasDeclaration':UP('type'),'NamespaceDeclaration':UP('namespace'),'VariableDefinition'(_0x17899d,_0x482225){_0x17899d['matchContext'](BP)||_0x482225(_0x17899d,'variable');},'TypeDefinition'(_0xec8d4b,_0x32d93d){_0x32d93d(_0xec8d4b,'type');},'__proto__':null};function jP(_0xe9b8bb,_0x4cc27b){let _0x38671a=$P['get'](_0x4cc27b);if(_0x38671a)return _0x38671a;let _0x118d6b=[],_0x518f58=!0x0;function _0x311d58(_0x7b59dc,_0x9d4cbf){let _0x2566a3=_0xe9b8bb['sliceString'](_0x7b59dc['from'],_0x7b59dc['to']);_0x118d6b['push']({'label':_0x2566a3,'type':_0x9d4cbf});}return _0x4cc27b['cursor'](lS['IncludeAnonymous'])['iterate'](_0x1b2502=>{if(_0x518f58)_0x518f58=!0x1;else{if(_0x1b2502['name']){let _0x51cfd3=FP[_0x1b2502['name']];if(_0x51cfd3&&_0x51cfd3(_0x1b2502,_0x311d58)||VP['has'](_0x1b2502['name']))return!0x1;}else{if(_0x1b2502['to']-_0x1b2502['from']>0x2000){for(let _0x336413 of jP(_0xe9b8bb,_0x1b2502['node']))_0x118d6b['push'](_0x336413);return!0x1;}}}}),$P['set'](_0x4cc27b,_0x118d6b),_0x118d6b;}const HP=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,GP=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function ZP(_0x569244){let _0x5ed62a=iI(_0x569244['state'])['resolveInner'](_0x569244['pos'],-0x1);if(GP['indexOf'](_0x5ed62a['name'])>-0x1)return null;let _0x1e0ef9='VariableName'==_0x5ed62a['name']||_0x5ed62a['to']-_0x5ed62a['from']<0x14&&HP['test'](_0x569244['state']['sliceDoc'](_0x5ed62a['from'],_0x5ed62a['to']));if(!_0x1e0ef9&&!_0x569244['explicit'])return null;let _0x4fb7a9=[];for(let _0x5275cf=_0x5ed62a;_0x5275cf;_0x5275cf=_0x5275cf['parent'])VP['has'](_0x5275cf['name'])&&(_0x4fb7a9=_0x4fb7a9['concat'](jP(_0x569244['state']['doc'],_0x5275cf)));return{'options':_0x4fb7a9,'from':_0x1e0ef9?_0x5ed62a['from']:_0x569244['pos'],'validFor':HP};}const XP=LRLanguage['define']({'name':'javascript','parser':LP['configure']({'props':[mI['add']({'IfStatement':_I({'except':/^\s*({|else\b)/}),'TryStatement':_I({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x4c073b=>_0x4c073b['baseIndent'],'SwitchBody':_0xbfe555=>{let _0x2e4d2c=_0xbfe555['textAfter'],_0x2b5d28=/^\s*\}/['test'](_0x2e4d2c),_0x99145b=/^\s*(case|default)\b/['test'](_0x2e4d2c);return _0xbfe555['baseIndent']+(_0x2b5d28?0x0:_0x99145b?0x1:0x2)*_0xbfe555['unit'];},'Block':bI({'closing':'}'}),'ArrowFunction':_0x2b58b6=>_0x2b58b6['baseIndent']+_0x2b58b6['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_I({'except':/^\s*{/}),'JSXElement'(_0xd893fc){let _0x629905=/^\s*<\//['test'](_0xd893fc['textAfter']);return _0xd893fc['lineIndent'](_0xd893fc['node']['from'])+(_0x629905?0x0:_0xd893fc['unit']);},'JSXEscape'(_0x2b5c39){let _0x13bddd=/\s*\}/['test'](_0x2b5c39['textAfter']);return _0x2b5c39['lineIndent'](_0x2b5c39['node']['from'])+(_0x13bddd?0x0:_0x2b5c39['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x1076cc=>_0x1076cc['column'](_0x1076cc['node']['from'])+_0x1076cc['unit']}),EI['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':AI,'BlockComment':_0x2ce6d3=>({'from':_0x2ce6d3['from']+0x2,'to':_0x2ce6d3['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),qP={'test':_0x32b823=>/^JSX/['test'](_0x32b823['name']),'facet':JS({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},WP=XP['configure']({'dialect':'ts'},'typescript'),zP=XP['configure']({'dialect':'jsx','props':[tI['add'](_0x2e637a=>_0x2e637a['isTop']?[qP]:void 0x0)]}),YP=XP['configure']({'dialect':'jsx\x20ts','props':[tI['add'](_0x178e1d=>_0x178e1d['isTop']?[qP]:void 0x0)]},'typescript');let KP=_0x2b6e8c=>({'label':_0x2b6e8c,'type':'keyword'});const JP='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'](KP),tM=JP['concat'](['declare','implements','private','protected','public']['map'](KP));function eM(_0x208d3b={}){let _0x4c3547=_0x208d3b['jsx']?_0x208d3b['typescript']?YP:zP:_0x208d3b['typescript']?WP:XP,_0xf57c4a=_0x208d3b['typescript']?QP['concat'](tM):DP['concat'](JP);return new LanguageSupport(_0x4c3547,[XP['data']['of']({'autocomplete':(_0x1cde7c=GP,_0x50d5d9=zk(_0xf57c4a),_0x19d849=>{for(let _0x2bc51f=iI(_0x19d849['state'])['resolveInner'](_0x19d849['pos'],-0x1);_0x2bc51f;_0x2bc51f=_0x2bc51f['parent']){if(_0x1cde7c['indexOf'](_0x2bc51f['name'])>-0x1)return null;if(_0x2bc51f['type']['isTop'])break;}return _0x50d5d9(_0x19d849);})}),XP['data']['of']({'autocomplete':ZP}),_0x208d3b['jsx']?nM:[]]);var _0x1cde7c,_0x50d5d9;}function iM(_0x49ed9f,_0x33c02a,_0x1aacbd=_0x49ed9f['length']){for(let _0x85c0ef=null==_0x33c02a?void 0x0:_0x33c02a['firstChild'];_0x85c0ef;_0x85c0ef=_0x85c0ef['nextSibling'])if('JSXIdentifier'==_0x85c0ef['name']||'JSXBuiltin'==_0x85c0ef['name']||'JSXNamespacedName'==_0x85c0ef['name']||'JSXMemberExpression'==_0x85c0ef['name'])return _0x49ed9f['sliceString'](_0x85c0ef['from'],Math['min'](_0x85c0ef['to'],_0x1aacbd));return'';}const sM='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),nM=EditorView['inputHandler']['of']((_0x55af48,_0x12099e,_0x15c684,_0x4b6a4c,_0x15e0ee)=>{if((sM?_0x55af48['composing']:_0x55af48['compositionStarted'])||_0x55af48['state']['readOnly']||_0x12099e!=_0x15c684||'>'!=_0x4b6a4c&&'/'!=_0x4b6a4c||!XP['isActiveAt'](_0x55af48['state'],_0x12099e,-0x1))return!0x1;let _0x1d5b0a=_0x15e0ee(),{state:_0x31500a}=_0x1d5b0a,_0x572672=_0x31500a['changeByRange'](_0x11a1a8=>{var _0x566ee7;let _0xaf1c74,{head:_0x2bf0e8}=_0x11a1a8,_0x460d4f=iI(_0x31500a)['resolveInner'](_0x2bf0e8-0x1,-0x1);if('JSXStartTag'==_0x460d4f['name']&&(_0x460d4f=_0x460d4f['parent']),_0x31500a['doc']['sliceString'](_0x2bf0e8-0x1,_0x2bf0e8)!=_0x4b6a4c||'JSXAttributeValue'==_0x460d4f['name']&&_0x460d4f['to']>_0x2bf0e8);else{if('>'==_0x4b6a4c&&'JSXFragmentTag'==_0x460d4f['name'])return{'range':_0x11a1a8,'changes':{'from':_0x2bf0e8,'insert':'</>'}};if('/'==_0x4b6a4c&&'JSXStartCloseTag'==_0x460d4f['name']){let _0x514a2b=_0x460d4f['parent'],_0x634bd=_0x514a2b['parent'];if(_0x634bd&&_0x514a2b['from']==_0x2bf0e8-0x2&&((_0xaf1c74=iM(_0x31500a['doc'],_0x634bd['firstChild'],_0x2bf0e8))||'JSXFragmentTag'==(null===(_0x566ee7=_0x634bd['firstChild'])||void 0x0===_0x566ee7?void 0x0:_0x566ee7['name']))){let _0x31dea1=_0xaf1c74+'>';return{'range':EditorSelection['cursor'](_0x2bf0e8+_0x31dea1['length'],-0x1),'changes':{'from':_0x2bf0e8,'insert':_0x31dea1}};}}else{if('>'==_0x4b6a4c){let _0x2d2c65=function(_0x1b71aa){for(;;){if('JSXOpenTag'==_0x1b71aa['name']||'JSXSelfClosingTag'==_0x1b71aa['name']||'JSXFragmentTag'==_0x1b71aa['name'])return _0x1b71aa;if('JSXEscape'==_0x1b71aa['name']||!_0x1b71aa['parent'])return null;_0x1b71aa=_0x1b71aa['parent'];}}(_0x460d4f);if(_0x2d2c65&&'JSXOpenTag'==_0x2d2c65['name']&&!/^\/?>|^<\//['test'](_0x31500a['doc']['sliceString'](_0x2bf0e8,_0x2bf0e8+0x2))&&(_0xaf1c74=iM(_0x31500a['doc'],_0x2d2c65,_0x2bf0e8)))return{'range':_0x11a1a8,'changes':{'from':_0x2bf0e8,'insert':'</'+_0xaf1c74+'>'}};}}}return{'range':_0x11a1a8};});return!_0x572672['changes']['empty']&&(_0x55af48['dispatch']([_0x1d5b0a,_0x31500a['update'](_0x572672,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),rM=['_blank','_self','_top','_parent'],oM=['ascii','utf-8','utf-16','latin1','latin1'],aM=['get','post','put','delete'],cM=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],lM=['true','false'],hM={},uM={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':rM,'hreflang':null}},'abbr':hM,'address':hM,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':hM,'aside':hM,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':hM,'base':{'attrs':{'href':null,'target':rM}},'bdi':hM,'bdo':hM,'blockquote':{'attrs':{'cite':null}},'body':hM,'br':hM,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':cM,'formmethod':aM,'formnovalidate':['novalidate'],'formtarget':rM,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':hM,'center':hM,'cite':hM,'code':hM,'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':hM,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':hM,'div':hM,'dl':hM,'dt':hM,'em':hM,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':hM,'figure':hM,'footer':hM,'form':{'attrs':{'action':null,'name':null,'accept-charset':oM,'autocomplete':['on','off'],'enctype':cM,'method':aM,'novalidate':['novalidate'],'target':rM}},'h1':hM,'h2':hM,'h3':hM,'h4':hM,'h5':hM,'h6':hM,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':hM,'hgroup':hM,'hr':hM,'html':{'attrs':{'manifest':null}},'i':hM,'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':cM,'formmethod':aM,'formnovalidate':['novalidate'],'formtarget':rM,'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':hM,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':hM,'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':hM,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':oM,'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':hM,'noscript':hM,'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':hM,'param':{'attrs':{'name':null,'value':null}},'pre':hM,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':hM,'rt':hM,'ruby':hM,'samp':hM,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':oM}},'section':hM,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':hM,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':hM,'strong':hM,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':hM,'summary':hM,'sup':hM,'table':hM,'tbody':hM,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':hM,'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':hM,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':hM,'time':{'attrs':{'datetime':null}},'title':hM,'tr':hM,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':hM,'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':hM},dM={'accesskey':null,'class':null,'contenteditable':lM,'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':lM,'autocorrect':lM,'autocapitalize':lM,'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':lM,'aria-autocomplete':['inline','list','both','none'],'aria-busy':lM,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':lM,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':lM,'aria-hidden':lM,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':lM,'aria-multiselectable':lM,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':lM,'aria-relevant':null,'aria-required':lM,'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},fM='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'](_0x5f396e=>'on'+_0x5f396e);for(let e of fM)dM[e]=null;class Schema{constructor(_0x4b3cbf,_0x48382d){this['tags']={...uM,..._0x4b3cbf},this['globalAttrs']={...dM,..._0x48382d},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function mM(_0x2c8c95,_0x2fefe6,_0x3a2e53=_0x2c8c95['length']){if(!_0x2fefe6)return'';let _0x2d9de8=_0x2fefe6['firstChild'],_0x54a848=_0x2d9de8&&_0x2d9de8['getChild']('TagName');return _0x54a848?_0x2c8c95['sliceString'](_0x54a848['from'],Math['min'](_0x54a848['to'],_0x3a2e53)):'';}function gM(_0x4f7cda,_0x50e5ed=!0x1){for(;_0x4f7cda;_0x4f7cda=_0x4f7cda['parent'])if('Element'==_0x4f7cda['name']){if(!_0x50e5ed)return _0x4f7cda;_0x50e5ed=!0x1;}return null;}function pM(_0x2da97a,_0x30928d,_0x34f848){let _0x1c23e3=_0x34f848['tags'][mM(_0x2da97a,gM(_0x30928d))];return(null==_0x1c23e3?void 0x0:_0x1c23e3['children'])||_0x34f848['allTags'];}function OM(_0x13d6c6,_0x1d0143){let _0x184b1d=[];for(let _0x5d1ac4=gM(_0x1d0143);_0x5d1ac4&&!_0x5d1ac4['type']['isTop'];_0x5d1ac4=gM(_0x5d1ac4['parent'])){let _0x4e7e0d=mM(_0x13d6c6,_0x5d1ac4);if(_0x4e7e0d&&'CloseTag'==_0x5d1ac4['lastChild']['name'])break;_0x4e7e0d&&_0x184b1d['indexOf'](_0x4e7e0d)<0x0&&('EndTag'==_0x1d0143['name']||_0x1d0143['from']>=_0x5d1ac4['firstChild']['to'])&&_0x184b1d['push'](_0x4e7e0d);}return _0x184b1d;}Schema['default']=new Schema();const wM=/^[:\-\.\w\u00b7-\uffff]*$/;function bM(_0x68e0b7,_0x51c37d,_0x20ff84,_0x2fba2a,_0x5af998){let _0x4aedb9=/\s*>/['test'](_0x68e0b7['sliceDoc'](_0x5af998,_0x5af998+0x5))?'':'>',_0x299f66=gM(_0x20ff84,'StartTag'==_0x20ff84['name']||'TagName'==_0x20ff84['name']);return{'from':_0x2fba2a,'to':_0x5af998,'options':pM(_0x68e0b7['doc'],_0x299f66,_0x51c37d)['map'](_0x2cf3b5=>({'label':_0x2cf3b5,'type':'type'}))['concat'](OM(_0x68e0b7['doc'],_0x20ff84)['map']((_0x4afc29,_0xd5b044)=>({'label':'/'+_0x4afc29,'apply':'/'+_0x4afc29+_0x4aedb9,'type':'type','boost':0x63-_0xd5b044}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function yM(_0x355e90,_0x3dbddd,_0x3b7926,_0x526ac4){let _0x5a0fe1=/\s*>/['test'](_0x355e90['sliceDoc'](_0x526ac4,_0x526ac4+0x5))?'':'>';return{'from':_0x3b7926,'to':_0x526ac4,'options':OM(_0x355e90['doc'],_0x3dbddd)['map']((_0xae0918,_0x50b944)=>({'label':_0xae0918,'apply':_0xae0918+_0x5a0fe1,'type':'type','boost':0x63-_0x50b944})),'validFor':wM};}function _M(_0x2fb831,_0x44d664){let {state:_0x1790b7,pos:_0x566a8a}=_0x44d664,_0x1b76c4=iI(_0x1790b7)['resolveInner'](_0x566a8a,-0x1),_0x1ba0f1=_0x1b76c4['resolve'](_0x566a8a);for(let _0x215075,_0x7e957a=_0x566a8a;_0x1ba0f1==_0x1b76c4&&(_0x215075=_0x1b76c4['childBefore'](_0x7e957a));){let _0x5e2fdc=_0x215075['lastChild'];if(!_0x5e2fdc||!_0x5e2fdc['type']['isError']||_0x5e2fdc['from']<_0x5e2fdc['to'])break;_0x1ba0f1=_0x1b76c4=_0x215075,_0x7e957a=_0x5e2fdc['from'];}return'TagName'==_0x1b76c4['name']?_0x1b76c4['parent']&&/CloseTag$/['test'](_0x1b76c4['parent']['name'])?yM(_0x1790b7,_0x1b76c4,_0x1b76c4['from'],_0x566a8a):bM(_0x1790b7,_0x2fb831,_0x1b76c4,_0x1b76c4['from'],_0x566a8a):'StartTag'==_0x1b76c4['name']||'IncompleteTag'==_0x1b76c4['name']?bM(_0x1790b7,_0x2fb831,_0x1b76c4,_0x566a8a,_0x566a8a):'StartCloseTag'==_0x1b76c4['name']||'IncompleteCloseTag'==_0x1b76c4['name']?yM(_0x1790b7,_0x1b76c4,_0x566a8a,_0x566a8a):'OpenTag'==_0x1b76c4['name']||'SelfClosingTag'==_0x1b76c4['name']||'AttributeName'==_0x1b76c4['name']?function(_0x38f9e2,_0x8c816f,_0x3a64f7,_0x4b4ae8,_0x2fa5a4){let _0x5abc9a=gM(_0x3a64f7),_0x40bc7a=_0x5abc9a?_0x8c816f['tags'][mM(_0x38f9e2['doc'],_0x5abc9a)]:null,_0x216081=_0x40bc7a&&_0x40bc7a['attrs']?Object['keys'](_0x40bc7a['attrs']):[];return{'from':_0x4b4ae8,'to':_0x2fa5a4,'options':(_0x40bc7a&&!0x1===_0x40bc7a['globalAttrs']?_0x216081:_0x216081['length']?_0x216081['concat'](_0x8c816f['globalAttrNames']):_0x8c816f['globalAttrNames'])['map'](_0xb71dbb=>({'label':_0xb71dbb,'type':'property'})),'validFor':wM};}(_0x1790b7,_0x2fb831,_0x1b76c4,'AttributeName'==_0x1b76c4['name']?_0x1b76c4['from']:_0x566a8a,_0x566a8a):'Is'==_0x1b76c4['name']||'AttributeValue'==_0x1b76c4['name']||'UnquotedAttributeValue'==_0x1b76c4['name']?function(_0x41cee4,_0x31ad62,_0x3e1ae4,_0x197f4d,_0x387994){var _0x4e6ca6;let _0x356195,_0x148d0f=null===(_0x4e6ca6=_0x3e1ae4['parent'])||void 0x0===_0x4e6ca6?void 0x0:_0x4e6ca6['getChild']('AttributeName'),_0x5ce5cf=[];if(_0x148d0f){let _0xfd0204=_0x41cee4['sliceDoc'](_0x148d0f['from'],_0x148d0f['to']),_0x4eb8dd=_0x31ad62['globalAttrs'][_0xfd0204];if(!_0x4eb8dd){let _0x1b6804=gM(_0x3e1ae4),_0x5de4f2=_0x1b6804?_0x31ad62['tags'][mM(_0x41cee4['doc'],_0x1b6804)]:null;_0x4eb8dd=(null==_0x5de4f2?void 0x0:_0x5de4f2['attrs'])&&_0x5de4f2['attrs'][_0xfd0204];}if(_0x4eb8dd){let _0x54b778=_0x41cee4['sliceDoc'](_0x197f4d,_0x387994)['toLowerCase'](),_0x43830e='\x22',_0x403b7e='\x22';/^['"]/['test'](_0x54b778)?(_0x356195='\x22'==_0x54b778[0x0]?/^[^"]*$/:/^[^']*$/,_0x43830e='',_0x403b7e=_0x41cee4['sliceDoc'](_0x387994,_0x387994+0x1)==_0x54b778[0x0]?'':_0x54b778[0x0],_0x54b778=_0x54b778['slice'](0x1),_0x197f4d++):_0x356195=/^[^\s<>='"]*$/;for(let _0x391235 of _0x4eb8dd)_0x5ce5cf['push']({'label':_0x391235,'apply':_0x43830e+_0x391235+_0x403b7e,'type':'constant'});}}return{'from':_0x197f4d,'to':_0x387994,'options':_0x5ce5cf,'validFor':_0x356195};}(_0x1790b7,_0x2fb831,_0x1b76c4,'Is'==_0x1b76c4['name']?_0x566a8a:_0x1b76c4['from'],_0x566a8a):!_0x44d664['explicit']||'Element'!=_0x1ba0f1['name']&&'Text'!=_0x1ba0f1['name']&&'Document'!=_0x1ba0f1['name']?null:function(_0x4d32e6,_0xa1eb93,_0x2a0f09,_0x573487){let _0x1dbc5a=[],_0x338d51=0x0;for(let _0x20f4d6 of pM(_0x4d32e6['doc'],_0x2a0f09,_0xa1eb93))_0x1dbc5a['push']({'label':'<'+_0x20f4d6,'type':'type'});for(let _0x2e78bc of OM(_0x4d32e6['doc'],_0x2a0f09))_0x1dbc5a['push']({'label':'</'+_0x2e78bc+'>','type':'type','boost':0x63-_0x338d51++});return{'from':_0x573487,'to':_0x573487,'options':_0x1dbc5a,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x1790b7,_0x2fb831,_0x1b76c4,_0x566a8a);}function vM(_0x2f39ac){let {extraTags:_0x3c3204,extraGlobalAttributes:_0x58836b}=_0x2f39ac,_0x304f13=_0x58836b||_0x3c3204?new Schema(_0x3c3204,_0x58836b):Schema['default'];return _0xbbd5c4=>_M(_0x304f13,_0xbbd5c4);}const TM=XP['parser']['configure']({'top':'SingleExpression'}),EM=[{'tag':'script','attrs':_0x392eda=>'text/typescript'==_0x392eda['type']||'ts'==_0x392eda['lang'],'parser':WP['parser']},{'tag':'script','attrs':_0x2b5d9b=>'text/babel'==_0x2b5d9b['type']||'text/jsx'==_0x2b5d9b['type'],'parser':zP['parser']},{'tag':'script','attrs':_0x2a7316=>'text/typescript-jsx'==_0x2a7316['type'],'parser':YP['parser']},{'tag':'script','attrs':_0x2bf47b=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x2bf47b['type']),'parser':TM},{'tag':'script','attrs':_0x566322=>!_0x566322['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x566322['type']),'parser':XP['parser']},{'tag':'style','attrs':_0x5b6b35=>(!_0x5b6b35['lang']||'css'==_0x5b6b35['lang'])&&(!_0x5b6b35['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x5b6b35['type'])),'parser':vP['parser']}],AM=[{'name':'style','parser':vP['parser']['configure']({'top':'Styles'})}]['concat'](fM['map'](_0x24bff5=>({'name':_0x24bff5,'parser':XP['parser']}))),SM=LRLanguage['define']({'name':'html','parser':BR['configure']({'props':[mI['add']({'Element'(_0x31128d){let _0x356fe3=/^(\s*)(<\/)?/['exec'](_0x31128d['textAfter']);return _0x31128d['node']['to']<=_0x31128d['pos']+_0x356fe3[0x0]['length']?_0x31128d['continue']():_0x31128d['lineIndent'](_0x31128d['node']['from'])+(_0x356fe3[0x2]?0x0:_0x31128d['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x26fca8=>_0x26fca8['column'](_0x26fca8['node']['from'])+_0x26fca8['unit'],'Document'(_0x45df2b){if(_0x45df2b['pos']+/\s*/['exec'](_0x45df2b['textAfter'])[0x0]['length']<_0x45df2b['node']['to'])return _0x45df2b['continue']();let _0x359902,_0x183ccd=null;for(let _0x1604d5=_0x45df2b['node'];;){let _0x480f47=_0x1604d5['lastChild'];if(!_0x480f47||'Element'!=_0x480f47['name']||_0x480f47['to']!=_0x1604d5['to'])break;_0x183ccd=_0x1604d5=_0x480f47;}return _0x183ccd&&(!(_0x359902=_0x183ccd['lastChild'])||'CloseTag'!=_0x359902['name']&&'SelfClosingTag'!=_0x359902['name'])?_0x45df2b['lineIndent'](_0x183ccd['from'])+_0x45df2b['unit']:null;}}),EI['add']({'Element'(_0x950ef3){let _0x2d9306=_0x950ef3['firstChild'],_0x1076d5=_0x950ef3['lastChild'];return _0x2d9306&&'OpenTag'==_0x2d9306['name']?{'from':_0x2d9306['to'],'to':'CloseTag'==_0x1076d5['name']?_0x1076d5['from']:_0x950ef3['to']}:null;}}),cC['add']({'OpenTag\x20CloseTag':_0x2de6cc=>_0x2de6cc['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),IM=SM['configure']({'wrap':GR(EM,AM)});function CM(_0x34547b={}){let _0x517073,_0x299cd9='';!0x1===_0x34547b['matchClosingTags']&&(_0x299cd9='noMatch'),!0x0===_0x34547b['selfClosingTags']&&(_0x299cd9=(_0x299cd9?_0x299cd9+'\x20':'')+'selfClosing'),(_0x34547b['nestedLanguages']&&_0x34547b['nestedLanguages']['length']||_0x34547b['nestedAttributes']&&_0x34547b['nestedAttributes']['length'])&&(_0x517073=GR((_0x34547b['nestedLanguages']||[])['concat'](EM),(_0x34547b['nestedAttributes']||[])['concat'](AM)));let _0x21fab5=_0x517073?SM['configure']({'wrap':_0x517073,'dialect':_0x299cd9}):_0x299cd9?IM['configure']({'dialect':_0x299cd9}):IM;return new LanguageSupport(_0x21fab5,[IM['data']['of']({'autocomplete':vM(_0x34547b)}),!0x1!==_0x34547b['autoCloseTags']?xM:[],eM()['support'],new LanguageSupport(vP,vP['data']['of']({'autocomplete':_P}))['support']]);}const kM=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),xM=EditorView['inputHandler']['of']((_0x4c05fc,_0x37b4e7,_0x2f5e04,_0x3113d2,_0x37c773)=>{if(_0x4c05fc['composing']||_0x4c05fc['state']['readOnly']||_0x37b4e7!=_0x2f5e04||'>'!=_0x3113d2&&'/'!=_0x3113d2||!IM['isActiveAt'](_0x4c05fc['state'],_0x37b4e7,-0x1))return!0x1;let _0x6df348=_0x37c773(),{state:_0x22fb95}=_0x6df348,_0x4e94ed=_0x22fb95['changeByRange'](_0x48793f=>{var _0x221da6,_0x56a25d,_0x21d5f3;let _0x3de500,_0x4230a9=_0x22fb95['doc']['sliceString'](_0x48793f['from']-0x1,_0x48793f['to'])==_0x3113d2,{head:_0x5cb29a}=_0x48793f,_0x271f8b=iI(_0x22fb95)['resolveInner'](_0x5cb29a,-0x1);if(_0x4230a9&&'>'==_0x3113d2&&'EndTag'==_0x271f8b['name']){let _0x1ee441=_0x271f8b['parent'];if('CloseTag'!=(null===(_0x56a25d=null===(_0x221da6=_0x1ee441['parent'])||void 0x0===_0x221da6?void 0x0:_0x221da6['lastChild'])||void 0x0===_0x56a25d?void 0x0:_0x56a25d['name'])&&(_0x3de500=mM(_0x22fb95['doc'],_0x1ee441['parent'],_0x5cb29a))&&!kM['has'](_0x3de500))return{'range':_0x48793f,'changes':{'from':_0x5cb29a,'to':_0x5cb29a+('>'===_0x22fb95['doc']['sliceString'](_0x5cb29a,_0x5cb29a+0x1)?0x1:0x0),'insert':'</'+_0x3de500+'>'}};}else{if(_0x4230a9&&'/'==_0x3113d2&&'IncompleteCloseTag'==_0x271f8b['name']){let _0x1d6912=_0x271f8b['parent'];if(_0x271f8b['from']==_0x5cb29a-0x2&&'CloseTag'!=(null===(_0x21d5f3=_0x1d6912['lastChild'])||void 0x0===_0x21d5f3?void 0x0:_0x21d5f3['name'])&&(_0x3de500=mM(_0x22fb95['doc'],_0x1d6912,_0x5cb29a))&&!kM['has'](_0x3de500)){let _0x11226e=_0x5cb29a+('>'===_0x22fb95['doc']['sliceString'](_0x5cb29a,_0x5cb29a+0x1)?0x1:0x0),_0x30b3a9=_0x3de500+'>';return{'range':EditorSelection['cursor'](_0x5cb29a+_0x30b3a9['length'],-0x1),'changes':{'from':_0x5cb29a,'to':_0x11226e,'insert':_0x30b3a9}};}}}return{'range':_0x48793f};});return!_0x4e94ed['changes']['empty']&&(_0x4c05fc['dispatch']([_0x6df348,_0x22fb95['update'](_0x4e94ed,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x1cd83a,_0xc8fe5f,_0x23f59c,_0x36def3,_0x2b0764){return new CompositeBlock(_0x1cd83a,_0xc8fe5f,_0x23f59c,_0x36def3+(_0x36def3<<0x8)+_0x1cd83a+(_0xc8fe5f<<0x4)|0x0,_0x2b0764,[],[]);}constructor(_0x20ad6d,_0x59c3e7,_0x367d13,_0x4947cd,_0x361d51,_0xd03baf,_0x182bf1){this['type']=_0x20ad6d,this['value']=_0x59c3e7,this['from']=_0x367d13,this['hash']=_0x4947cd,this['end']=_0x361d51,this['children']=_0xd03baf,this['positions']=_0x182bf1,this['hashProp']=[[NodeProp['contextHash'],_0x4947cd]];}['addChild'](_0x2f0e42,_0x588def){_0x2f0e42['prop'](NodeProp['contextHash'])!=this['hash']&&(_0x2f0e42=new Tree(_0x2f0e42['type'],_0x2f0e42['children'],_0x2f0e42['positions'],_0x2f0e42['length'],this['hashProp'])),this['children']['push'](_0x2f0e42),this['positions']['push'](_0x588def);}['toTree'](_0x4cd9c2,_0x22d235=this['end']){let _0x41678a=this['children']['length']-0x1;return _0x41678a>=0x0&&(_0x22d235=Math['max'](_0x22d235,this['positions'][_0x41678a]+this['children'][_0x41678a]['length']+this['from'])),new Tree(_0x4cd9c2['types'][this['type']],this['children'],this['positions'],_0x22d235-this['from'])['balance']({'makeTree':(_0x21dd56,_0x3c77ec,_0x4f74ae)=>new Tree(NodeType['none'],_0x21dd56,_0x3c77ec,_0x4f74ae,this['hashProp'])});}}var RM;!function(_0xa2fa48){_0xa2fa48[_0xa2fa48['Document']=0x1]='Document',_0xa2fa48[_0xa2fa48['CodeBlock']=0x2]='CodeBlock',_0xa2fa48[_0xa2fa48['FencedCode']=0x3]='FencedCode',_0xa2fa48[_0xa2fa48['Blockquote']=0x4]='Blockquote',_0xa2fa48[_0xa2fa48['HorizontalRule']=0x5]='HorizontalRule',_0xa2fa48[_0xa2fa48['BulletList']=0x6]='BulletList',_0xa2fa48[_0xa2fa48['OrderedList']=0x7]='OrderedList',_0xa2fa48[_0xa2fa48['ListItem']=0x8]='ListItem',_0xa2fa48[_0xa2fa48['ATXHeading1']=0x9]='ATXHeading1',_0xa2fa48[_0xa2fa48['ATXHeading2']=0xa]='ATXHeading2',_0xa2fa48[_0xa2fa48['ATXHeading3']=0xb]='ATXHeading3',_0xa2fa48[_0xa2fa48['ATXHeading4']=0xc]='ATXHeading4',_0xa2fa48[_0xa2fa48['ATXHeading5']=0xd]='ATXHeading5',_0xa2fa48[_0xa2fa48['ATXHeading6']=0xe]='ATXHeading6',_0xa2fa48[_0xa2fa48['SetextHeading1']=0xf]='SetextHeading1',_0xa2fa48[_0xa2fa48['SetextHeading2']=0x10]='SetextHeading2',_0xa2fa48[_0xa2fa48['HTMLBlock']=0x11]='HTMLBlock',_0xa2fa48[_0xa2fa48['LinkReference']=0x12]='LinkReference',_0xa2fa48[_0xa2fa48['Paragraph']=0x13]='Paragraph',_0xa2fa48[_0xa2fa48['CommentBlock']=0x14]='CommentBlock',_0xa2fa48[_0xa2fa48['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0xa2fa48[_0xa2fa48['Escape']=0x16]='Escape',_0xa2fa48[_0xa2fa48['Entity']=0x17]='Entity',_0xa2fa48[_0xa2fa48['HardBreak']=0x18]='HardBreak',_0xa2fa48[_0xa2fa48['Emphasis']=0x19]='Emphasis',_0xa2fa48[_0xa2fa48['StrongEmphasis']=0x1a]='StrongEmphasis',_0xa2fa48[_0xa2fa48['Link']=0x1b]='Link',_0xa2fa48[_0xa2fa48['Image']=0x1c]='Image',_0xa2fa48[_0xa2fa48['InlineCode']=0x1d]='InlineCode',_0xa2fa48[_0xa2fa48['HTMLTag']=0x1e]='HTMLTag',_0xa2fa48[_0xa2fa48['Comment']=0x1f]='Comment',_0xa2fa48[_0xa2fa48['ProcessingInstruction']=0x20]='ProcessingInstruction',_0xa2fa48[_0xa2fa48['Autolink']=0x21]='Autolink',_0xa2fa48[_0xa2fa48['HeaderMark']=0x22]='HeaderMark',_0xa2fa48[_0xa2fa48['QuoteMark']=0x23]='QuoteMark',_0xa2fa48[_0xa2fa48['ListMark']=0x24]='ListMark',_0xa2fa48[_0xa2fa48['LinkMark']=0x25]='LinkMark',_0xa2fa48[_0xa2fa48['EmphasisMark']=0x26]='EmphasisMark',_0xa2fa48[_0xa2fa48['CodeMark']=0x27]='CodeMark',_0xa2fa48[_0xa2fa48['CodeText']=0x28]='CodeText',_0xa2fa48[_0xa2fa48['CodeInfo']=0x29]='CodeInfo',_0xa2fa48[_0xa2fa48['LinkTitle']=0x2a]='LinkTitle',_0xa2fa48[_0xa2fa48['LinkLabel']=0x2b]='LinkLabel',_0xa2fa48[_0xa2fa48['URL']=0x2c]='URL';}(RM||(RM={}));class LeafBlock{constructor(_0x3e50ae,_0x6e86ee){this['start']=_0x3e50ae,this['content']=_0x6e86ee,this['marks']=[],this['parsers']=[];}}class Line{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 _0x59e1f0=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x59e1f0,this['pos'],this['indent']),this['pos']=_0x59e1f0,this['next']=_0x59e1f0==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x59e1f0);}['skipSpace'](_0x211f25){return LM(this['text'],_0x211f25);}['reset'](_0x5b9770){for(this['text']=_0x5b9770,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x42fc83){this['basePos']=_0x42fc83,this['baseIndent']=this['countIndent'](_0x42fc83,this['pos'],this['indent']);}['moveBaseColumn'](_0x2a491a){this['baseIndent']=_0x2a491a,this['basePos']=this['findColumn'](_0x2a491a);}['addMarker'](_0x4c1334){this['markers']['push'](_0x4c1334);}['countIndent'](_0x2896a7,_0x3b90f2=0x0,_0xd3d2a1=0x0){for(let _0x2130f2=_0x3b90f2;_0x2130f2<_0x2896a7;_0x2130f2++)_0xd3d2a1+=0x9==this['text']['charCodeAt'](_0x2130f2)?0x4-_0xd3d2a1%0x4:0x1;return _0xd3d2a1;}['findColumn'](_0x3eca42){let _0x5f005e=0x0;for(let _0x54b20e=0x0;_0x5f005e<this['text']['length']&&_0x54b20e<_0x3eca42;_0x5f005e++)_0x54b20e+=0x9==this['text']['charCodeAt'](_0x5f005e)?0x4-_0x54b20e%0x4:0x1;return _0x5f005e;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x71e1f5='';for(let _0x42fac8=0x0;_0x42fac8<this['basePos'];_0x42fac8++)_0x71e1f5+='\x20';return _0x71e1f5+this['text']['slice'](this['basePos']);}}function PM(_0x59f52f,_0x3bbbd0,_0x5c5f27){if(_0x5c5f27['pos']==_0x5c5f27['text']['length']||_0x59f52f!=_0x3bbbd0['block']&&_0x5c5f27['indent']>=_0x3bbbd0['stack'][_0x5c5f27['depth']+0x1]['value']+_0x5c5f27['baseIndent'])return!0x0;if(_0x5c5f27['indent']>=_0x5c5f27['baseIndent']+0x4)return!0x1;let _0x925ee5=(_0x59f52f['type']==RM['OrderedList']?FM:BM)(_0x5c5f27,_0x3bbbd0,!0x1);return _0x925ee5>0x0&&(_0x59f52f['type']!=RM['BulletList']||VM(_0x5c5f27,_0x3bbbd0,!0x1)<0x0)&&_0x5c5f27['text']['charCodeAt'](_0x5c5f27['pos']+_0x925ee5-0x1)==_0x59f52f['value'];}const MM={[RM['Blockquote']]:(_0x2a27e7,_0x50a617,_0x204f2a)=>0x3e==_0x204f2a['next']&&(_0x204f2a['markers']['push'](uN(RM['QuoteMark'],_0x50a617['lineStart']+_0x204f2a['pos'],_0x50a617['lineStart']+_0x204f2a['pos']+0x1)),_0x204f2a['moveBase'](_0x204f2a['pos']+(NM(_0x204f2a['text']['charCodeAt'](_0x204f2a['pos']+0x1))?0x2:0x1)),_0x2a27e7['end']=_0x50a617['lineStart']+_0x204f2a['text']['length'],!0x0),[RM['ListItem']]:(_0x5eb91c,_0x20755b,_0x333261)=>!(_0x333261['indent']<_0x333261['baseIndent']+_0x5eb91c['value']&&_0x333261['next']>-0x1)&&(_0x333261['moveBaseColumn'](_0x333261['baseIndent']+_0x5eb91c['value']),!0x0),[RM['OrderedList']]:PM,[RM['BulletList']]:PM,[RM['Document']]:()=>!0x0};function NM(_0x45305b){return 0x20==_0x45305b||0x9==_0x45305b||0xa==_0x45305b||0xd==_0x45305b;}function LM(_0x5450f3,_0x258e7b=0x0){for(;_0x258e7b<_0x5450f3['length']&&NM(_0x5450f3['charCodeAt'](_0x258e7b));)_0x258e7b++;return _0x258e7b;}function DM(_0x400fa5,_0x540b11,_0x16d48e){for(;_0x540b11>_0x16d48e&&NM(_0x400fa5['charCodeAt'](_0x540b11-0x1));)_0x540b11--;return _0x540b11;}function QM(_0xc4efd4){if(0x60!=_0xc4efd4['next']&&0x7e!=_0xc4efd4['next'])return-0x1;let _0x2a95e3=_0xc4efd4['pos']+0x1;for(;_0x2a95e3<_0xc4efd4['text']['length']&&_0xc4efd4['text']['charCodeAt'](_0x2a95e3)==_0xc4efd4['next'];)_0x2a95e3++;if(_0x2a95e3<_0xc4efd4['pos']+0x3)return-0x1;if(0x60==_0xc4efd4['next']){for(let _0x331ec2=_0x2a95e3;_0x331ec2<_0xc4efd4['text']['length'];_0x331ec2++)if(0x60==_0xc4efd4['text']['charCodeAt'](_0x331ec2))return-0x1;}return _0x2a95e3;}function $M(_0x1a3d11){return 0x3e!=_0x1a3d11['next']?-0x1:0x20==_0x1a3d11['text']['charCodeAt'](_0x1a3d11['pos']+0x1)?0x2:0x1;}function VM(_0x59ebbe,_0x97f3b,_0x222694){if(0x2a!=_0x59ebbe['next']&&0x2d!=_0x59ebbe['next']&&0x5f!=_0x59ebbe['next'])return-0x1;let _0x12becc=0x1;for(let _0x3512e7=_0x59ebbe['pos']+0x1;_0x3512e7<_0x59ebbe['text']['length'];_0x3512e7++){let _0x122b27=_0x59ebbe['text']['charCodeAt'](_0x3512e7);if(_0x122b27==_0x59ebbe['next'])_0x12becc++;else{if(!NM(_0x122b27))return-0x1;}}return _0x222694&&0x2d==_0x59ebbe['next']&&HM(_0x59ebbe)>-0x1&&_0x59ebbe['depth']==_0x97f3b['stack']['length']&&_0x97f3b['parser']['leafBlockParsers']['indexOf'](tN['SetextHeading'])>-0x1||_0x12becc<0x3?-0x1:0x1;}function UM(_0x4ab2a3,_0x87bee3){for(let _0x5d8d43=_0x4ab2a3['stack']['length']-0x1;_0x5d8d43>=0x0;_0x5d8d43--)if(_0x4ab2a3['stack'][_0x5d8d43]['type']==_0x87bee3)return!0x0;return!0x1;}function BM(_0x24f4af,_0xf3337e,_0x485e7c){return 0x2d!=_0x24f4af['next']&&0x2b!=_0x24f4af['next']&&0x2a!=_0x24f4af['next']||_0x24f4af['pos']!=_0x24f4af['text']['length']-0x1&&!NM(_0x24f4af['text']['charCodeAt'](_0x24f4af['pos']+0x1))||!(!_0x485e7c||UM(_0xf3337e,RM['BulletList'])||_0x24f4af['skipSpace'](_0x24f4af['pos']+0x2)<_0x24f4af['text']['length'])?-0x1:0x1;}function FM(_0x390f5f,_0x57b6f5,_0x3f12d8){let _0xeaa762=_0x390f5f['pos'],_0x174fe7=_0x390f5f['next'];for(;_0x174fe7>=0x30&&_0x174fe7<=0x39;){if(_0xeaa762++,_0xeaa762==_0x390f5f['text']['length'])return-0x1;_0x174fe7=_0x390f5f['text']['charCodeAt'](_0xeaa762);}return _0xeaa762==_0x390f5f['pos']||_0xeaa762>_0x390f5f['pos']+0x9||0x2e!=_0x174fe7&&0x29!=_0x174fe7||_0xeaa762<_0x390f5f['text']['length']-0x1&&!NM(_0x390f5f['text']['charCodeAt'](_0xeaa762+0x1))||_0x3f12d8&&!UM(_0x57b6f5,RM['OrderedList'])&&(_0x390f5f['skipSpace'](_0xeaa762+0x1)==_0x390f5f['text']['length']||_0xeaa762>_0x390f5f['pos']+0x1||0x31!=_0x390f5f['next'])?-0x1:_0xeaa762+0x1-_0x390f5f['pos'];}function jM(_0x5bffdb){if(0x23!=_0x5bffdb['next'])return-0x1;let _0x20e803=_0x5bffdb['pos']+0x1;for(;_0x20e803<_0x5bffdb['text']['length']&&0x23==_0x5bffdb['text']['charCodeAt'](_0x20e803);)_0x20e803++;if(_0x20e803<_0x5bffdb['text']['length']&&0x20!=_0x5bffdb['text']['charCodeAt'](_0x20e803))return-0x1;let _0x2a78ac=_0x20e803-_0x5bffdb['pos'];return _0x2a78ac>0x6?-0x1:_0x2a78ac;}function HM(_0x392f30){if(0x2d!=_0x392f30['next']&&0x3d!=_0x392f30['next']||_0x392f30['indent']>=_0x392f30['baseIndent']+0x4)return-0x1;let _0xdb581e=_0x392f30['pos']+0x1;for(;_0xdb581e<_0x392f30['text']['length']&&_0x392f30['text']['charCodeAt'](_0xdb581e)==_0x392f30['next'];)_0xdb581e++;let _0x21afde=_0xdb581e;for(;_0xdb581e<_0x392f30['text']['length']&&NM(_0x392f30['text']['charCodeAt'](_0xdb581e));)_0xdb581e++;return _0xdb581e==_0x392f30['text']['length']?_0x21afde:-0x1;}const GM=/^[ \t]*$/,ZM=/-->/,XM=/\?>/,qM=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,ZM],[/^\s*<\?/,XM],[/^\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,GM],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,GM]];function WM(_0x5bdad6,_0x5e97ca,_0x43086b){if(0x3c!=_0x5bdad6['next'])return-0x1;let _0x20d69c=_0x5bdad6['text']['slice'](_0x5bdad6['pos']);for(let _0x54aae0=0x0,_0x3410fa=qM['length']-(_0x43086b?0x1:0x0);_0x54aae0<_0x3410fa;_0x54aae0++)if(qM[_0x54aae0][0x0]['test'](_0x20d69c))return _0x54aae0;return-0x1;}function zM(_0x2f6830,_0x5395f0){let _0xc05019=_0x2f6830['countIndent'](_0x5395f0,_0x2f6830['pos'],_0x2f6830['indent']),_0x3ba130=_0x2f6830['countIndent'](_0x2f6830['skipSpace'](_0x5395f0),_0x5395f0,_0xc05019);return _0x3ba130>=_0xc05019+0x5?_0xc05019+0x1:_0x3ba130;}function YM(_0x9c6b77,_0x3d7c51,_0x4f4c5a){let _0x553bfa=_0x9c6b77['length']-0x1;_0x553bfa>=0x0&&_0x9c6b77[_0x553bfa]['to']==_0x3d7c51&&_0x9c6b77[_0x553bfa]['type']==RM['CodeText']?_0x9c6b77[_0x553bfa]['to']=_0x4f4c5a:_0x9c6b77['push'](uN(RM['CodeText'],_0x3d7c51,_0x4f4c5a));}const KM={'LinkReference':void 0x0,'IndentedCode'(_0x48a6f6,_0x1940fd){let _0x479785=_0x1940fd['baseIndent']+0x4;if(_0x1940fd['indent']<_0x479785)return!0x1;let _0x2e9462=_0x1940fd['findColumn'](_0x479785),_0x4b00ac=_0x48a6f6['lineStart']+_0x2e9462,_0x22dcd7=_0x48a6f6['lineStart']+_0x1940fd['text']['length'],_0x227efc=[],_0x2606e5=[];for(YM(_0x227efc,_0x4b00ac,_0x22dcd7);_0x48a6f6['nextLine']()&&_0x1940fd['depth']>=_0x48a6f6['stack']['length'];)if(_0x1940fd['pos']==_0x1940fd['text']['length']){YM(_0x2606e5,_0x48a6f6['lineStart']-0x1,_0x48a6f6['lineStart']);for(let _0x26978d of _0x1940fd['markers'])_0x2606e5['push'](_0x26978d);}else{if(_0x1940fd['indent']<_0x479785)break;{if(_0x2606e5['length']){for(let _0x32c98a of _0x2606e5)_0x32c98a['type']==RM['CodeText']?YM(_0x227efc,_0x32c98a['from'],_0x32c98a['to']):_0x227efc['push'](_0x32c98a);_0x2606e5=[];}YM(_0x227efc,_0x48a6f6['lineStart']-0x1,_0x48a6f6['lineStart']);for(let _0x35b387 of _0x1940fd['markers'])_0x227efc['push'](_0x35b387);_0x22dcd7=_0x48a6f6['lineStart']+_0x1940fd['text']['length'];let _0x1dd95d=_0x48a6f6['lineStart']+_0x1940fd['findColumn'](_0x1940fd['baseIndent']+0x4);_0x1dd95d<_0x22dcd7&&YM(_0x227efc,_0x1dd95d,_0x22dcd7);}}return _0x2606e5['length']&&(_0x2606e5=_0x2606e5['filter'](_0x3a0f84=>_0x3a0f84['type']!=RM['CodeText']),_0x2606e5['length']&&(_0x1940fd['markers']=_0x2606e5['concat'](_0x1940fd['markers']))),_0x48a6f6['addNode'](_0x48a6f6['buffer']['writeElements'](_0x227efc,-_0x4b00ac)['finish'](RM['CodeBlock'],_0x22dcd7-_0x4b00ac),_0x4b00ac),!0x0;},'FencedCode'(_0x4268cb,_0x1f2b45){let _0x10bfb1=QM(_0x1f2b45);if(_0x10bfb1<0x0)return!0x1;let _0x4a47f4=_0x4268cb['lineStart']+_0x1f2b45['pos'],_0x23b23b=_0x1f2b45['next'],_0x509984=_0x10bfb1-_0x1f2b45['pos'],_0x2f6e80=_0x1f2b45['skipSpace'](_0x10bfb1),_0x41db9e=DM(_0x1f2b45['text'],_0x1f2b45['text']['length'],_0x2f6e80),_0x1fbd84=[uN(RM['CodeMark'],_0x4a47f4,_0x4a47f4+_0x509984)];_0x2f6e80<_0x41db9e&&_0x1fbd84['push'](uN(RM['CodeInfo'],_0x4268cb['lineStart']+_0x2f6e80,_0x4268cb['lineStart']+_0x41db9e));for(let _0x22e43d=!0x0;_0x4268cb['nextLine']()&&_0x1f2b45['depth']>=_0x4268cb['stack']['length'];_0x22e43d=!0x1){let _0xd4e396=_0x1f2b45['pos'];if(_0x1f2b45['indent']-_0x1f2b45['baseIndent']<0x4){for(;_0xd4e396<_0x1f2b45['text']['length']&&_0x1f2b45['text']['charCodeAt'](_0xd4e396)==_0x23b23b;)_0xd4e396++;}if(_0xd4e396-_0x1f2b45['pos']>=_0x509984&&_0x1f2b45['skipSpace'](_0xd4e396)==_0x1f2b45['text']['length']){for(let _0x4cc4dd of _0x1f2b45['markers'])_0x1fbd84['push'](_0x4cc4dd);_0x1fbd84['push'](uN(RM['CodeMark'],_0x4268cb['lineStart']+_0x1f2b45['pos'],_0x4268cb['lineStart']+_0xd4e396)),_0x4268cb['nextLine']();break;}{_0x22e43d||YM(_0x1fbd84,_0x4268cb['lineStart']-0x1,_0x4268cb['lineStart']);for(let _0x46bf8f of _0x1f2b45['markers'])_0x1fbd84['push'](_0x46bf8f);let _0x360abe=_0x4268cb['lineStart']+_0x1f2b45['basePos'],_0x2111c8=_0x4268cb['lineStart']+_0x1f2b45['text']['length'];_0x360abe<_0x2111c8&&YM(_0x1fbd84,_0x360abe,_0x2111c8);}}return _0x4268cb['addNode'](_0x4268cb['buffer']['writeElements'](_0x1fbd84,-_0x4a47f4)['finish'](RM['FencedCode'],_0x4268cb['prevLineEnd']()-_0x4a47f4),_0x4a47f4),!0x0;},'Blockquote'(_0x1edbb1,_0x1bd997){let _0x350089=$M(_0x1bd997);return!(_0x350089<0x0)&&(_0x1edbb1['startContext'](RM['Blockquote'],_0x1bd997['pos']),_0x1edbb1['addNode'](RM['QuoteMark'],_0x1edbb1['lineStart']+_0x1bd997['pos'],_0x1edbb1['lineStart']+_0x1bd997['pos']+0x1),_0x1bd997['moveBase'](_0x1bd997['pos']+_0x350089),null);},'HorizontalRule'(_0x24313b,_0x1eccbd){if(VM(_0x1eccbd,_0x24313b,!0x1)<0x0)return!0x1;let _0x3fdf4f=_0x24313b['lineStart']+_0x1eccbd['pos'];return _0x24313b['nextLine'](),_0x24313b['addNode'](RM['HorizontalRule'],_0x3fdf4f),!0x0;},'BulletList'(_0x43a2dc,_0x189a54){let _0x27033d=BM(_0x189a54,_0x43a2dc,!0x1);if(_0x27033d<0x0)return!0x1;_0x43a2dc['block']['type']!=RM['BulletList']&&_0x43a2dc['startContext'](RM['BulletList'],_0x189a54['basePos'],_0x189a54['next']);let _0x141a4a=zM(_0x189a54,_0x189a54['pos']+0x1);return _0x43a2dc['startContext'](RM['ListItem'],_0x189a54['basePos'],_0x141a4a-_0x189a54['baseIndent']),_0x43a2dc['addNode'](RM['ListMark'],_0x43a2dc['lineStart']+_0x189a54['pos'],_0x43a2dc['lineStart']+_0x189a54['pos']+_0x27033d),_0x189a54['moveBaseColumn'](_0x141a4a),null;},'OrderedList'(_0x5c7d1c,_0x22e845){let _0x293f71=FM(_0x22e845,_0x5c7d1c,!0x1);if(_0x293f71<0x0)return!0x1;_0x5c7d1c['block']['type']!=RM['OrderedList']&&_0x5c7d1c['startContext'](RM['OrderedList'],_0x22e845['basePos'],_0x22e845['text']['charCodeAt'](_0x22e845['pos']+_0x293f71-0x1));let _0x4e495c=zM(_0x22e845,_0x22e845['pos']+_0x293f71);return _0x5c7d1c['startContext'](RM['ListItem'],_0x22e845['basePos'],_0x4e495c-_0x22e845['baseIndent']),_0x5c7d1c['addNode'](RM['ListMark'],_0x5c7d1c['lineStart']+_0x22e845['pos'],_0x5c7d1c['lineStart']+_0x22e845['pos']+_0x293f71),_0x22e845['moveBaseColumn'](_0x4e495c),null;},'ATXHeading'(_0x62e78d,_0x51e6ce){let _0x1cf5d3=jM(_0x51e6ce);if(_0x1cf5d3<0x0)return!0x1;let _0x3002ce=_0x51e6ce['pos'],_0x32964b=_0x62e78d['lineStart']+_0x3002ce,_0x184b70=DM(_0x51e6ce['text'],_0x51e6ce['text']['length'],_0x3002ce),_0x43c4d4=_0x184b70;for(;_0x43c4d4>_0x3002ce&&_0x51e6ce['text']['charCodeAt'](_0x43c4d4-0x1)==_0x51e6ce['next'];)_0x43c4d4--;_0x43c4d4!=_0x184b70&&_0x43c4d4!=_0x3002ce&&NM(_0x51e6ce['text']['charCodeAt'](_0x43c4d4-0x1))||(_0x43c4d4=_0x51e6ce['text']['length']);let _0x1e23c8=_0x62e78d['buffer']['write'](RM['HeaderMark'],0x0,_0x1cf5d3)['writeElements'](_0x62e78d['parser']['parseInline'](_0x51e6ce['text']['slice'](_0x3002ce+_0x1cf5d3+0x1,_0x43c4d4),_0x32964b+_0x1cf5d3+0x1),-_0x32964b);_0x43c4d4<_0x51e6ce['text']['length']&&_0x1e23c8['write'](RM['HeaderMark'],_0x43c4d4-_0x3002ce,_0x184b70-_0x3002ce);let _0x2d5639=_0x1e23c8['finish'](RM['ATXHeading1']-0x1+_0x1cf5d3,_0x51e6ce['text']['length']-_0x3002ce);return _0x62e78d['nextLine'](),_0x62e78d['addNode'](_0x2d5639,_0x32964b),!0x0;},'HTMLBlock'(_0x5b590b,_0x5d639a){let _0x3a6437=WM(_0x5d639a,0x0,!0x1);if(_0x3a6437<0x0)return!0x1;let _0x5d34ee=_0x5b590b['lineStart']+_0x5d639a['pos'],_0x1e30cd=qM[_0x3a6437][0x1],_0x26c806=[],_0x4e3180=_0x1e30cd!=GM;for(;!_0x1e30cd['test'](_0x5d639a['text'])&&_0x5b590b['nextLine']();){if(_0x5d639a['depth']<_0x5b590b['stack']['length']){_0x4e3180=!0x1;break;}for(let _0x13a9be of _0x5d639a['markers'])_0x26c806['push'](_0x13a9be);}_0x4e3180&&_0x5b590b['nextLine']();let _0x50c3d8=_0x1e30cd==ZM?RM['CommentBlock']:_0x1e30cd==XM?RM['ProcessingInstructionBlock']:RM['HTMLBlock'],_0x12d9ed=_0x5b590b['prevLineEnd']();return _0x5b590b['addNode'](_0x5b590b['buffer']['writeElements'](_0x26c806,-_0x5d34ee)['finish'](_0x50c3d8,_0x12d9ed-_0x5d34ee),_0x5d34ee),!0x0;},'SetextHeading':void 0x0};class LinkReferenceParser{constructor(_0x4e048b){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x4e048b['start'],this['advance'](_0x4e048b['content']);}['nextLine'](_0x255169,_0x3de7d4,_0x2bbba8){if(-0x1==this['stage'])return!0x1;let _0x1ca8d4=_0x2bbba8['content']+'\x0a'+_0x3de7d4['scrub'](),_0x3ff8f2=this['advance'](_0x1ca8d4);return _0x3ff8f2>-0x1&&_0x3ff8f2<_0x1ca8d4['length']&&this['complete'](_0x255169,_0x2bbba8,_0x3ff8f2);}['finish'](_0x38db9d,_0x31a654){return(0x2==this['stage']||0x3==this['stage'])&&LM(_0x31a654['content'],this['pos'])==_0x31a654['content']['length']&&this['complete'](_0x38db9d,_0x31a654,_0x31a654['content']['length']);}['complete'](_0x45a853,_0x41ef5d,_0x5e4c28){return _0x45a853['addLeafElement'](_0x41ef5d,uN(RM['LinkReference'],this['start'],this['start']+_0x5e4c28,this['elts'])),!0x0;}['nextStage'](_0x126e89){return _0x126e89?(this['pos']=_0x126e89['to']-this['start'],this['elts']['push'](_0x126e89),this['stage']++,!0x0):(!0x1===_0x126e89&&(this['stage']=-0x1),!0x1);}['advance'](_0x446ade){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](vN(_0x446ade,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x446ade['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](uN(RM['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x32c808=LM(_0x446ade,this['pos']),_0x2a5ee9=0x0;if(_0x32c808>this['pos']){let _0x34691c=_N(_0x446ade,_0x32c808,this['start']);if(_0x34691c){let _0x541b48=JM(_0x446ade,_0x34691c['to']-this['start']);_0x541b48>0x0&&(this['nextStage'](_0x34691c),_0x2a5ee9=_0x541b48);}}return _0x2a5ee9||(_0x2a5ee9=JM(_0x446ade,this['pos'])),_0x2a5ee9>0x0&&_0x2a5ee9<_0x446ade['length']?_0x2a5ee9:-0x1;}return JM(_0x446ade,this['pos']);}if(!this['nextStage'](yN(_0x446ade,LM(_0x446ade,this['pos']),this['start'])))return-0x1;}}}}function JM(_0x300590,_0x42ac3b){for(;_0x42ac3b<_0x300590['length'];_0x42ac3b++){let _0x3ec9c8=_0x300590['charCodeAt'](_0x42ac3b);if(0xa==_0x3ec9c8)break;if(!NM(_0x3ec9c8))return-0x1;}return _0x42ac3b;}class SetextHeadingParser{['nextLine'](_0x331d81,_0x4a9af0,_0x18ba67){let _0x307ac8=_0x4a9af0['depth']<_0x331d81['stack']['length']?-0x1:HM(_0x4a9af0),_0x3d3928=_0x4a9af0['next'];if(_0x307ac8<0x0)return!0x1;let _0x5c565c=uN(RM['HeaderMark'],_0x331d81['lineStart']+_0x4a9af0['pos'],_0x331d81['lineStart']+_0x307ac8);return _0x331d81['nextLine'](),_0x331d81['addLeafElement'](_0x18ba67,uN(0x3d==_0x3d3928?RM['SetextHeading1']:RM['SetextHeading2'],_0x18ba67['start'],_0x331d81['prevLineEnd'](),[..._0x331d81['parser']['parseInline'](_0x18ba67['content'],_0x18ba67['start']),_0x5c565c])),!0x0;}['finish'](){return!0x1;}}const tN={'LinkReference':(_0x59195b,_0x5813bd)=>0x5b==_0x5813bd['content']['charCodeAt'](0x0)?new LinkReferenceParser(_0x5813bd):null,'SetextHeading':()=>new SetextHeadingParser()},eN=[(_0x24ee29,_0x187cf0)=>jM(_0x187cf0)>=0x0,(_0x4a7c3d,_0x55a1b5)=>QM(_0x55a1b5)>=0x0,(_0x42a338,_0xdcc564)=>$M(_0xdcc564)>=0x0,(_0x59521a,_0x4f9441)=>BM(_0x4f9441,_0x59521a,!0x0)>=0x0,(_0x58a73e,_0x1270c4)=>FM(_0x1270c4,_0x58a73e,!0x0)>=0x0,(_0x5aff57,_0x178249)=>VM(_0x178249,_0x5aff57,!0x0)>=0x0,(_0x1c7cba,_0x5a1e11)=>WM(_0x5a1e11,0x0,!0x0)>=0x0],iN={'text':'','end':0x0};class BlockContext{constructor(_0x438f75,_0x23ed86,_0x114d61,_0x17b114){this['parser']=_0x438f75,this['input']=_0x23ed86,this['ranges']=_0x17b114,this['line']=new Line(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x17b114[_0x17b114['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x17b114[0x0]['from'],this['block']=CompositeBlock['create'](RM['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x114d61['length']?new FragmentCursor(_0x114d61,_0x23ed86):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x2222a9}=this;for(;;){for(let _0x301758=0x0;;){let _0x18732d=_0x2222a9['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x301758<_0x2222a9['markers']['length']&&(!_0x18732d||_0x2222a9['markers'][_0x301758]['from']<_0x18732d['end']);){let _0x6db44c=_0x2222a9['markers'][_0x301758++];this['addNode'](_0x6db44c['type'],_0x6db44c['from'],_0x6db44c['to']);}if(!_0x18732d)break;this['finishContext']();}if(_0x2222a9['pos']<_0x2222a9['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x2222a9['basePos']))return null;t:for(;;){for(let _0x1a8f79 of this['parser']['blockParsers'])if(_0x1a8f79){let _0xa7c31=_0x1a8f79(this,_0x2222a9);if(0x0!=_0xa7c31){if(0x1==_0xa7c31)return null;_0x2222a9['forward']();continue t;}}break;}let _0x457923=new LeafBlock(this['lineStart']+_0x2222a9['pos'],_0x2222a9['text']['slice'](_0x2222a9['pos']));for(let _0x26b8ac of this['parser']['leafBlockParsers'])if(_0x26b8ac){let _0x25abc9=_0x26b8ac(this,_0x457923);_0x25abc9&&_0x457923['parsers']['push'](_0x25abc9);}t:for(;this['nextLine']()&&_0x2222a9['pos']!=_0x2222a9['text']['length'];){if(_0x2222a9['indent']<_0x2222a9['baseIndent']+0x4){for(let _0x199aec of this['parser']['endLeafBlock'])if(_0x199aec(this,_0x2222a9,_0x457923))break t;}for(let _0x513a5b of _0x457923['parsers'])if(_0x513a5b['nextLine'](this,_0x2222a9,_0x457923))return null;_0x457923['content']+='\x0a'+_0x2222a9['scrub']();for(let _0x40caed of _0x2222a9['markers'])_0x457923['marks']['push'](_0x40caed);}return this['finishLeaf'](_0x457923),null;}['stopAt'](_0x26e583){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x26e583)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x26e583;}['reuseFragment'](_0x26b84c){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x26b84c,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x546f95=this['fragments']['takeNodes'](this);return!!_0x546f95&&(this['absoluteLineStart']+=_0x546f95,this['lineStart']=AN(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'](_0x3410e8=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x3410e8]['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'](_0x57c2d4){let _0x5ec3e2=iN;if(_0x5ec3e2['end']=_0x57c2d4,_0x57c2d4>=this['to'])_0x5ec3e2['text']='';else{if(_0x5ec3e2['text']=this['lineChunkAt'](_0x57c2d4),_0x5ec3e2['end']+=_0x5ec3e2['text']['length'],this['ranges']['length']>0x1){let _0x56bc0d=this['absoluteLineStart'],_0x49e4bd=this['rangeI'];for(;this['ranges'][_0x49e4bd]['to']<_0x5ec3e2['end'];){_0x49e4bd++;let _0x937d93=this['ranges'][_0x49e4bd]['from'],_0x4a84af=this['lineChunkAt'](_0x937d93);_0x5ec3e2['end']=_0x937d93+_0x4a84af['length'],_0x5ec3e2['text']=_0x5ec3e2['text']['slice'](0x0,this['ranges'][_0x49e4bd-0x1]['to']-_0x56bc0d)+_0x4a84af,_0x56bc0d=_0x5ec3e2['end']-_0x5ec3e2['text']['length'];}}}return _0x5ec3e2;}['readLine'](){let {line:_0x1fb78e}=this,{text:_0x1b1b08,end:_0x14e642}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x14e642,_0x1fb78e['reset'](_0x1b1b08);_0x1fb78e['depth']<this['stack']['length'];_0x1fb78e['depth']++){let _0x4c9679=this['stack'][_0x1fb78e['depth']],_0x29a49d=this['parser']['skipContextMarkup'][_0x4c9679['type']];if(!_0x29a49d)throw new Error('Unhandled\x20block\x20context\x20'+RM[_0x4c9679['type']]);let _0x1ac52a=this['line']['markers']['length'];if(!_0x29a49d(_0x4c9679,this,_0x1fb78e)){this['line']['markers']['length']>_0x1ac52a&&(_0x4c9679['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x1fb78e['forward']();}}['lineChunkAt'](_0x7de563){let _0x3f28e,_0x1e9388=this['input']['chunk'](_0x7de563);if(this['input']['lineChunks'])_0x3f28e='\x0a'==_0x1e9388?'':_0x1e9388;else{let _0x294385=_0x1e9388['indexOf']('\x0a');_0x3f28e=_0x294385<0x0?_0x1e9388:_0x1e9388['slice'](0x0,_0x294385);}return _0x7de563+_0x3f28e['length']>this['to']?_0x3f28e['slice'](0x0,this['to']-_0x7de563):_0x3f28e;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x103661,_0x5e92db,_0x2999ee=0x0){this['block']=CompositeBlock['create'](_0x103661,_0x2999ee,this['lineStart']+_0x5e92db,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x5af01d,_0x2cfb04,_0x34607f=0x0){this['startContext'](this['parser']['getNodeType'](_0x5af01d),_0x2cfb04,_0x34607f);}['addNode'](_0x35eb68,_0x13726b,_0x2841af){'number'==typeof _0x35eb68&&(_0x35eb68=new Tree(this['parser']['nodeSet']['types'][_0x35eb68],cN,cN,(null!=_0x2841af?_0x2841af:this['prevLineEnd']())-_0x13726b)),this['block']['addChild'](_0x35eb68,_0x13726b-this['block']['from']);}['addElement'](_0x56efbb){this['block']['addChild'](_0x56efbb['toTree'](this['parser']['nodeSet']),_0x56efbb['from']-this['block']['from']);}['addLeafElement'](_0x47617b,_0x412a5a){this['addNode'](this['buffer']['writeElements'](TN(_0x412a5a['children'],_0x47617b['marks']),-_0x412a5a['from'])['finish'](_0x412a5a['type'],_0x412a5a['to']-_0x412a5a['from']),_0x412a5a['from']);}['finishContext'](){let _0x13a37e=this['stack']['pop'](),_0x15c66f=this['stack'][this['stack']['length']-0x1];_0x15c66f['addChild'](_0x13a37e['toTree'](this['parser']['nodeSet']),_0x13a37e['from']-_0x15c66f['from']),this['block']=_0x15c66f;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x3d3a10){return this['ranges']['length']>0x1?sN(this['ranges'],0x0,_0x3d3a10['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x3d3a10;}['finishLeaf'](_0x3ae1e7){for(let _0x2d1693 of _0x3ae1e7['parsers'])if(_0x2d1693['finish'](this,_0x3ae1e7))return;let _0x5cb051=TN(this['parser']['parseInline'](_0x3ae1e7['content'],_0x3ae1e7['start']),_0x3ae1e7['marks']);this['addNode'](this['buffer']['writeElements'](_0x5cb051,-_0x3ae1e7['start'])['finish'](RM['Paragraph'],_0x3ae1e7['content']['length']),_0x3ae1e7['start']);}['elt'](_0x347e66,_0x1179dc,_0x375a11,_0x232f7b){return'string'==typeof _0x347e66?uN(this['parser']['getNodeType'](_0x347e66),_0x1179dc,_0x375a11,_0x232f7b):new TreeElement(_0x347e66,_0x1179dc);}get['buffer'](){return new lN(this['parser']['nodeSet']);}}function sN(_0x113ac9,_0x1342ad,_0x457521,_0xb69132,_0x3b5ddd){let _0x107401=_0x113ac9[_0x1342ad]['to'],_0x4e0773=[],_0x228764=[],_0x156c07=_0x457521['from']+_0xb69132;function _0x3e1384(_0x387a6d,_0x2e8bd3){for(;_0x2e8bd3?_0x387a6d>=_0x107401:_0x387a6d>_0x107401;){let _0x45f5d8=_0x113ac9[_0x1342ad+0x1]['from']-_0x107401;_0xb69132+=_0x45f5d8,_0x387a6d+=_0x45f5d8,_0x1342ad++,_0x107401=_0x113ac9[_0x1342ad]['to'];}}for(let _0x56f946=_0x457521['firstChild'];_0x56f946;_0x56f946=_0x56f946['nextSibling']){_0x3e1384(_0x56f946['from']+_0xb69132,!0x0);let _0x3c9577,_0x578478=_0x56f946['from']+_0xb69132,_0x3e2593=_0x3b5ddd['get'](_0x56f946['tree']);_0x3e2593?_0x3c9577=_0x3e2593:_0x56f946['to']+_0xb69132>_0x107401?(_0x3c9577=sN(_0x113ac9,_0x1342ad,_0x56f946,_0xb69132,_0x3b5ddd),_0x3e1384(_0x56f946['to']+_0xb69132,!0x1)):_0x3c9577=_0x56f946['toTree'](),_0x4e0773['push'](_0x3c9577),_0x228764['push'](_0x578478-_0x156c07);}return _0x3e1384(_0x457521['to']+_0xb69132,!0x1),new Tree(_0x457521['type'],_0x4e0773,_0x228764,_0x457521['to']+_0xb69132-_0x156c07,_0x457521['tree']?_0x457521['tree']['propValues']:void 0x0);}class MarkdownParser extends Parser{constructor(_0x1d90b0,_0x7661c9,_0x104f96,_0x4bc950,_0x17a018,_0x3c593e,_0x47a5d9,_0x57d924,_0x239f88){super(),this['nodeSet']=_0x1d90b0,this['blockParsers']=_0x7661c9,this['leafBlockParsers']=_0x104f96,this['blockNames']=_0x4bc950,this['endLeafBlock']=_0x17a018,this['skipContextMarkup']=_0x3c593e,this['inlineParsers']=_0x47a5d9,this['inlineNames']=_0x57d924,this['wrappers']=_0x239f88,this['nodeTypes']=Object['create'](null);for(let t of _0x1d90b0['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x39ccd5,_0x135401,_0xe7e9){let _0x131ec8=new BlockContext(this,_0x39ccd5,_0x135401,_0xe7e9);for(let _0x41f7a2 of this['wrappers'])_0x131ec8=_0x41f7a2(_0x131ec8,_0x39ccd5,_0x135401,_0xe7e9);return _0x131ec8;}['configure'](_0x287731){let _0x4a8314=rN(_0x287731);if(!_0x4a8314)return this;let {nodeSet:_0xdb1d69,skipContextMarkup:_0x27abe5}=this,_0x151ff8=this['blockParsers']['slice'](),_0x23a75c=this['leafBlockParsers']['slice'](),_0x530b9a=this['blockNames']['slice'](),_0x5e5904=this['inlineParsers']['slice'](),_0x488a1b=this['inlineNames']['slice'](),_0x42e9fe=this['endLeafBlock']['slice'](),_0x49e32a=this['wrappers'];if(nN(_0x4a8314['defineNodes'])){_0x27abe5=Object['assign']({},_0x27abe5);let _0x48ee9b,_0x136710=_0xdb1d69['types']['slice']();for(let _0x4bf2e0 of _0x4a8314['defineNodes']){let {name:_0x288fe3,block:_0x18c7a3,composite:_0x108c15,style:_0x4fdd6f}='string'==typeof _0x4bf2e0?{'name':_0x4bf2e0}:_0x4bf2e0;if(_0x136710['some'](t=>t['name']==_0x288fe3))continue;_0x108c15&&(_0x27abe5[_0x136710['length']]=(_0x2f8647,_0x1e47eb,_0x481edb)=>_0x108c15(_0x1e47eb,_0x481edb,_0x2f8647['value']));let _0x3053a8=_0x136710['length'],_0x475f27=_0x108c15?['Block','BlockContext']:_0x18c7a3?_0x3053a8>=RM['ATXHeading1']&&_0x3053a8<=RM['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x136710['push'](NodeType['define']({'id':_0x3053a8,'name':_0x288fe3,'props':_0x475f27&&[[NodeProp['group'],_0x475f27]]})),_0x4fdd6f&&(_0x48ee9b||(_0x48ee9b={}),Array['isArray'](_0x4fdd6f)||_0x4fdd6f instanceof Tag?_0x48ee9b[_0x288fe3]=_0x4fdd6f:Object['assign'](_0x48ee9b,_0x4fdd6f));}_0xdb1d69=new NodeSet(_0x136710),_0x48ee9b&&(_0xdb1d69=_0xdb1d69['extend'](RS(_0x48ee9b)));}if(nN(_0x4a8314['props'])&&(_0xdb1d69=_0xdb1d69['extend'](..._0x4a8314['props'])),nN(_0x4a8314['remove']))for(let _0x231655 of _0x4a8314['remove']){let _0x21c788=this['blockNames']['indexOf'](_0x231655),_0x1dc437=this['inlineNames']['indexOf'](_0x231655);_0x21c788>-0x1&&(_0x151ff8[_0x21c788]=_0x23a75c[_0x21c788]=void 0x0),_0x1dc437>-0x1&&(_0x5e5904[_0x1dc437]=void 0x0);}if(nN(_0x4a8314['parseBlock']))for(let _0x3ede2b of _0x4a8314['parseBlock']){let _0x187643=_0x530b9a['indexOf'](_0x3ede2b['name']);if(_0x187643>-0x1)_0x151ff8[_0x187643]=_0x3ede2b['parse'],_0x23a75c[_0x187643]=_0x3ede2b['leaf'];else{let _0x21623c=_0x3ede2b['before']?oN(_0x530b9a,_0x3ede2b['before']):_0x3ede2b['after']?oN(_0x530b9a,_0x3ede2b['after'])+0x1:_0x530b9a['length']-0x1;_0x151ff8['splice'](_0x21623c,0x0,_0x3ede2b['parse']),_0x23a75c['splice'](_0x21623c,0x0,_0x3ede2b['leaf']),_0x530b9a['splice'](_0x21623c,0x0,_0x3ede2b['name']);}_0x3ede2b['endLeaf']&&_0x42e9fe['push'](_0x3ede2b['endLeaf']);}if(nN(_0x4a8314['parseInline']))for(let _0x322fcf of _0x4a8314['parseInline']){let _0x3f836d=_0x488a1b['indexOf'](_0x322fcf['name']);if(_0x3f836d>-0x1)_0x5e5904[_0x3f836d]=_0x322fcf['parse'];else{let _0xe6f24a=_0x322fcf['before']?oN(_0x488a1b,_0x322fcf['before']):_0x322fcf['after']?oN(_0x488a1b,_0x322fcf['after'])+0x1:_0x488a1b['length']-0x1;_0x5e5904['splice'](_0xe6f24a,0x0,_0x322fcf['parse']),_0x488a1b['splice'](_0xe6f24a,0x0,_0x322fcf['name']);}}return _0x4a8314['wrap']&&(_0x49e32a=_0x49e32a['concat'](_0x4a8314['wrap'])),new MarkdownParser(_0xdb1d69,_0x151ff8,_0x23a75c,_0x530b9a,_0x42e9fe,_0x27abe5,_0x5e5904,_0x488a1b,_0x49e32a);}['getNodeType'](_0x26a077){let _0x2fbb7a=this['nodeTypes'][_0x26a077];if(null==_0x2fbb7a)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x26a077+'\x27');return _0x2fbb7a;}['parseInline'](_0x37f8d2,_0x2ef13d){let _0xc2c57=new InlineContext(this,_0x37f8d2,_0x2ef13d);t:for(let _0x3f733e=_0x2ef13d;_0x3f733e<_0xc2c57['end'];){let _0x3fa699=_0xc2c57['char'](_0x3f733e);for(let _0x564e4c of this['inlineParsers'])if(_0x564e4c){let _0x286e49=_0x564e4c(_0xc2c57,_0x3fa699,_0x3f733e);if(_0x286e49>=0x0){_0x3f733e=_0x286e49;continue t;}}_0x3f733e++;}return _0xc2c57['resolveMarkers'](0x0);}}function nN(_0x3e92bf){return null!=_0x3e92bf&&_0x3e92bf['length']>0x0;}function rN(_0x169283){if(!Array['isArray'](_0x169283))return _0x169283;if(0x0==_0x169283['length'])return null;let _0x43c3ab=rN(_0x169283[0x0]);if(0x1==_0x169283['length'])return _0x43c3ab;let _0x49bba4=rN(_0x169283['slice'](0x1));if(!_0x49bba4||!_0x43c3ab)return _0x43c3ab||_0x49bba4;let _0x35dcfc=(_0x4521eb,_0x16260b)=>(_0x4521eb||cN)['concat'](_0x16260b||cN),_0x5ac272=_0x43c3ab['wrap'],_0x58fbe6=_0x49bba4['wrap'];return{'props':_0x35dcfc(_0x43c3ab['props'],_0x49bba4['props']),'defineNodes':_0x35dcfc(_0x43c3ab['defineNodes'],_0x49bba4['defineNodes']),'parseBlock':_0x35dcfc(_0x43c3ab['parseBlock'],_0x49bba4['parseBlock']),'parseInline':_0x35dcfc(_0x43c3ab['parseInline'],_0x49bba4['parseInline']),'remove':_0x35dcfc(_0x43c3ab['remove'],_0x49bba4['remove']),'wrap':_0x5ac272?_0x58fbe6?(_0x588735,_0x34ca69,_0xb66f2c,_0x13760d)=>_0x5ac272(_0x58fbe6(_0x588735,_0x34ca69,_0xb66f2c,_0x13760d),_0x34ca69,_0xb66f2c,_0x13760d):_0x5ac272:_0x58fbe6};}function oN(_0x430deb,_0x4d3652){let _0x3b322d=_0x430deb['indexOf'](_0x4d3652);if(_0x3b322d<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x4d3652);return _0x3b322d;}let aN=[NodeType['none']];for(let e,i=0x1;e=RM[i];i++)aN[i]=NodeType['define']({'id':i,'name':e,'props':i>=RM['Escape']?[]:[[NodeProp['group'],i in MM?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==e});const cN=[];let lN=class Buffer{constructor(_0x4e4d8d){this['nodeSet']=_0x4e4d8d,this['content']=[],this['nodes']=[];}['write'](_0x2229dd,_0x110d74,_0x41d3f2,_0x588725=0x0){return this['content']['push'](_0x2229dd,_0x110d74,_0x41d3f2,0x4+0x4*_0x588725),this;}['writeElements'](_0x464647,_0x33ef5a=0x0){for(let _0x2d7ece of _0x464647)_0x2d7ece['writeTo'](this,_0x33ef5a);return this;}['finish'](_0x51b54e,_0x456b47){return Tree['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x51b54e,'length':_0x456b47});}},hN=class Element{constructor(_0x2dff83,_0x30aa25,_0x2cb652,_0x49fb83=cN){this['type']=_0x2dff83,this['from']=_0x30aa25,this['to']=_0x2cb652,this['children']=_0x49fb83;}['writeTo'](_0x2057e1,_0xcfd203){let _0x3adc5f=_0x2057e1['content']['length'];_0x2057e1['writeElements'](this['children'],_0xcfd203),_0x2057e1['content']['push'](this['type'],this['from']+_0xcfd203,this['to']+_0xcfd203,_0x2057e1['content']['length']+0x4-_0x3adc5f);}['toTree'](_0x43e722){return new lN(_0x43e722)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x685ab8,_0x1cb72a){this['tree']=_0x685ab8,this['from']=_0x1cb72a;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return cN;}['writeTo'](_0x595c26,_0x1418a7){_0x595c26['nodes']['push'](this['tree']),_0x595c26['content']['push'](_0x595c26['nodes']['length']-0x1,this['from']+_0x1418a7,this['to']+_0x1418a7,-0x1);}['toTree'](){return this['tree'];}}function uN(_0xf309b1,_0x4a8a8a,_0x49bc20,_0x54444e){return new hN(_0xf309b1,_0x4a8a8a,_0x49bc20,_0x54444e);}const dN={'resolve':'Emphasis','mark':'EmphasisMark'},fN={'resolve':'Emphasis','mark':'EmphasisMark'},mN={},gN={};class InlineDelimiter{constructor(_0x18a18b,_0x307c43,_0x25b4fa,_0x30524f){this['type']=_0x18a18b,this['from']=_0x307c43,this['to']=_0x25b4fa,this['side']=_0x30524f;}}const pN='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let ON=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{ON=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x16c757){}const wN={'Escape'(_0x2df74d,_0x36105a,_0x3ac7a9){if(0x5c!=_0x36105a||_0x3ac7a9==_0x2df74d['end']-0x1)return-0x1;let _0x1c8e2d=_0x2df74d['char'](_0x3ac7a9+0x1);for(let _0x4492ac=0x0;_0x4492ac<0x20;_0x4492ac++)if(pN['charCodeAt'](_0x4492ac)==_0x1c8e2d)return _0x2df74d['append'](uN(RM['Escape'],_0x3ac7a9,_0x3ac7a9+0x2));return-0x1;},'Entity'(_0x56d875,_0x2fc186,_0x492a13){if(0x26!=_0x2fc186)return-0x1;let _0x3874f1=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x56d875['slice'](_0x492a13+0x1,_0x492a13+0x1f));return _0x3874f1?_0x56d875['append'](uN(RM['Entity'],_0x492a13,_0x492a13+0x1+_0x3874f1[0x0]['length'])):-0x1;},'InlineCode'(_0x1a2ed1,_0x3877ca,_0x253c23){if(0x60!=_0x3877ca||_0x253c23&&0x60==_0x1a2ed1['char'](_0x253c23-0x1))return-0x1;let _0x24878a=_0x253c23+0x1;for(;_0x24878a<_0x1a2ed1['end']&&0x60==_0x1a2ed1['char'](_0x24878a);)_0x24878a++;let _0x522e4d=_0x24878a-_0x253c23,_0x4f3714=0x0;for(;_0x24878a<_0x1a2ed1['end'];_0x24878a++)if(0x60==_0x1a2ed1['char'](_0x24878a)){if(_0x4f3714++,_0x4f3714==_0x522e4d&&0x60!=_0x1a2ed1['char'](_0x24878a+0x1))return _0x1a2ed1['append'](uN(RM['InlineCode'],_0x253c23,_0x24878a+0x1,[uN(RM['CodeMark'],_0x253c23,_0x253c23+_0x522e4d),uN(RM['CodeMark'],_0x24878a+0x1-_0x522e4d,_0x24878a+0x1)]));}else _0x4f3714=0x0;return-0x1;},'HTMLTag'(_0x437ef8,_0x3df1d3,_0x4dcd57){if(0x3c!=_0x3df1d3||_0x4dcd57==_0x437ef8['end']-0x1)return-0x1;let _0x4551aa=_0x437ef8['slice'](_0x4dcd57+0x1,_0x437ef8['end']),_0x4570fb=/^(?:[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'](_0x4551aa);if(_0x4570fb)return _0x437ef8['append'](uN(RM['Autolink'],_0x4dcd57,_0x4dcd57+0x1+_0x4570fb[0x0]['length'],[uN(RM['LinkMark'],_0x4dcd57,_0x4dcd57+0x1),uN(RM['URL'],_0x4dcd57+0x1,_0x4dcd57+_0x4570fb[0x0]['length']),uN(RM['LinkMark'],_0x4dcd57+_0x4570fb[0x0]['length'],_0x4dcd57+0x1+_0x4570fb[0x0]['length'])]));let _0x1f7a18=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x4551aa);if(_0x1f7a18)return _0x437ef8['append'](uN(RM['Comment'],_0x4dcd57,_0x4dcd57+0x1+_0x1f7a18[0x0]['length']));let _0x23c834=/^\?[^]*?\?>/['exec'](_0x4551aa);if(_0x23c834)return _0x437ef8['append'](uN(RM['ProcessingInstruction'],_0x4dcd57,_0x4dcd57+0x1+_0x23c834[0x0]['length']));let _0x504c7f=/^(?:![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'](_0x4551aa);return _0x504c7f?_0x437ef8['append'](uN(RM['HTMLTag'],_0x4dcd57,_0x4dcd57+0x1+_0x504c7f[0x0]['length'])):-0x1;},'Emphasis'(_0x17e544,_0x4089ec,_0x3fedf6){if(0x5f!=_0x4089ec&&0x2a!=_0x4089ec)return-0x1;let _0x20b05b=_0x3fedf6+0x1;for(;_0x17e544['char'](_0x20b05b)==_0x4089ec;)_0x20b05b++;let _0x44195d=_0x17e544['slice'](_0x3fedf6-0x1,_0x3fedf6),_0x3966b2=_0x17e544['slice'](_0x20b05b,_0x20b05b+0x1),_0x26eeb8=ON['test'](_0x44195d),_0x10147b=ON['test'](_0x3966b2),_0x4c4d5d=/\s|^$/['test'](_0x44195d),_0x562d3f=/\s|^$/['test'](_0x3966b2),_0xdd362a=!_0x562d3f&&(!_0x10147b||_0x4c4d5d||_0x26eeb8),_0x33b019=!_0x4c4d5d&&(!_0x26eeb8||_0x562d3f||_0x10147b),_0x4f1765=_0xdd362a&&(0x2a==_0x4089ec||!_0x33b019||_0x26eeb8),_0x2d20ba=_0x33b019&&(0x2a==_0x4089ec||!_0xdd362a||_0x10147b);return _0x17e544['append'](new InlineDelimiter(0x5f==_0x4089ec?dN:fN,_0x3fedf6,_0x20b05b,(_0x4f1765?0x1:0x0)|(_0x2d20ba?0x2:0x0)));},'HardBreak'(_0x142a7e,_0x2138bd,_0x83dead){if(0x5c==_0x2138bd&&0xa==_0x142a7e['char'](_0x83dead+0x1))return _0x142a7e['append'](uN(RM['HardBreak'],_0x83dead,_0x83dead+0x2));if(0x20==_0x2138bd){let _0x23f7a0=_0x83dead+0x1;for(;0x20==_0x142a7e['char'](_0x23f7a0);)_0x23f7a0++;if(0xa==_0x142a7e['char'](_0x23f7a0)&&_0x23f7a0>=_0x83dead+0x2)return _0x142a7e['append'](uN(RM['HardBreak'],_0x83dead,_0x23f7a0+0x1));}return-0x1;},'Link':(_0x4a4c11,_0x2c2c92,_0x325059)=>0x5b==_0x2c2c92?_0x4a4c11['append'](new InlineDelimiter(mN,_0x325059,_0x325059+0x1,0x1)):-0x1,'Image':(_0x10daaf,_0x55a27e,_0x68a668)=>0x21==_0x55a27e&&0x5b==_0x10daaf['char'](_0x68a668+0x1)?_0x10daaf['append'](new InlineDelimiter(gN,_0x68a668,_0x68a668+0x2,0x1)):-0x1,'LinkEnd'(_0x4eaa19,_0x23913e,_0x2ed823){if(0x5d!=_0x23913e)return-0x1;for(let _0x2ff1b7=_0x4eaa19['parts']['length']-0x1;_0x2ff1b7>=0x0;_0x2ff1b7--){let _0x3519cb=_0x4eaa19['parts'][_0x2ff1b7];if(_0x3519cb instanceof InlineDelimiter&&(_0x3519cb['type']==mN||_0x3519cb['type']==gN)){if(!_0x3519cb['side']||_0x4eaa19['skipSpace'](_0x3519cb['to'])==_0x2ed823&&!/[(\[]/['test'](_0x4eaa19['slice'](_0x2ed823+0x1,_0x2ed823+0x2)))return _0x4eaa19['parts'][_0x2ff1b7]=null,-0x1;let _0xee2b48=_0x4eaa19['takeContent'](_0x2ff1b7),_0x2e67e9=_0x4eaa19['parts'][_0x2ff1b7]=bN(_0x4eaa19,_0xee2b48,_0x3519cb['type']==mN?RM['Link']:RM['Image'],_0x3519cb['from'],_0x2ed823+0x1);if(_0x3519cb['type']==mN)for(let _0x51ef1c=0x0;_0x51ef1c<_0x2ff1b7;_0x51ef1c++){let _0x325433=_0x4eaa19['parts'][_0x51ef1c];_0x325433 instanceof InlineDelimiter&&_0x325433['type']==mN&&(_0x325433['side']=0x0);}return _0x2e67e9['to'];}}return-0x1;}};function bN(_0x42474d,_0x4aa12f,_0x2e44a0,_0x513a0b,_0x372817){let {text:_0x348fd7}=_0x42474d,_0x465daf=_0x42474d['char'](_0x372817),_0x58d25a=_0x372817;if(_0x4aa12f['unshift'](uN(RM['LinkMark'],_0x513a0b,_0x513a0b+(_0x2e44a0==RM['Image']?0x2:0x1))),_0x4aa12f['push'](uN(RM['LinkMark'],_0x372817-0x1,_0x372817)),0x28==_0x465daf){let _0x4a6226,_0x40cac7=_0x42474d['skipSpace'](_0x372817+0x1),_0x4a50c2=yN(_0x348fd7,_0x40cac7-_0x42474d['offset'],_0x42474d['offset']);_0x4a50c2&&(_0x40cac7=_0x42474d['skipSpace'](_0x4a50c2['to']),_0x40cac7!=_0x4a50c2['to']&&(_0x4a6226=_N(_0x348fd7,_0x40cac7-_0x42474d['offset'],_0x42474d['offset']),_0x4a6226&&(_0x40cac7=_0x42474d['skipSpace'](_0x4a6226['to'])))),0x29==_0x42474d['char'](_0x40cac7)&&(_0x4aa12f['push'](uN(RM['LinkMark'],_0x372817,_0x372817+0x1)),_0x58d25a=_0x40cac7+0x1,_0x4a50c2&&_0x4aa12f['push'](_0x4a50c2),_0x4a6226&&_0x4aa12f['push'](_0x4a6226),_0x4aa12f['push'](uN(RM['LinkMark'],_0x40cac7,_0x58d25a)));}else{if(0x5b==_0x465daf){let _0x57d4c9=vN(_0x348fd7,_0x372817-_0x42474d['offset'],_0x42474d['offset'],!0x1);_0x57d4c9&&(_0x4aa12f['push'](_0x57d4c9),_0x58d25a=_0x57d4c9['to']);}}return uN(_0x2e44a0,_0x513a0b,_0x58d25a,_0x4aa12f);}function yN(_0x5bf361,_0x57f9c8,_0x5421b2){if(0x3c==_0x5bf361['charCodeAt'](_0x57f9c8)){for(let _0x227c2f=_0x57f9c8+0x1;_0x227c2f<_0x5bf361['length'];_0x227c2f++){let _0x296a43=_0x5bf361['charCodeAt'](_0x227c2f);if(0x3e==_0x296a43)return uN(RM['URL'],_0x57f9c8+_0x5421b2,_0x227c2f+0x1+_0x5421b2);if(0x3c==_0x296a43||0xa==_0x296a43)return!0x1;}return null;}{let _0x22818a=0x0,_0x307cc1=_0x57f9c8;for(let _0x294698=!0x1;_0x307cc1<_0x5bf361['length'];_0x307cc1++){let _0x4a03cb=_0x5bf361['charCodeAt'](_0x307cc1);if(NM(_0x4a03cb))break;if(_0x294698)_0x294698=!0x1;else{if(0x28==_0x4a03cb)_0x22818a++;else{if(0x29==_0x4a03cb){if(!_0x22818a)break;_0x22818a--;}else 0x5c==_0x4a03cb&&(_0x294698=!0x0);}}}return _0x307cc1>_0x57f9c8?uN(RM['URL'],_0x57f9c8+_0x5421b2,_0x307cc1+_0x5421b2):_0x307cc1==_0x5bf361['length']&&null;}}function _N(_0x39957b,_0x55fb8a,_0x1d9b43){let _0x42d359=_0x39957b['charCodeAt'](_0x55fb8a);if(0x27!=_0x42d359&&0x22!=_0x42d359&&0x28!=_0x42d359)return!0x1;let _0x4d4315=0x28==_0x42d359?0x29:_0x42d359;for(let _0x1c6095=_0x55fb8a+0x1,_0x31bd50=!0x1;_0x1c6095<_0x39957b['length'];_0x1c6095++){let _0x5c7c8f=_0x39957b['charCodeAt'](_0x1c6095);if(_0x31bd50)_0x31bd50=!0x1;else{if(_0x5c7c8f==_0x4d4315)return uN(RM['LinkTitle'],_0x55fb8a+_0x1d9b43,_0x1c6095+0x1+_0x1d9b43);0x5c==_0x5c7c8f&&(_0x31bd50=!0x0);}}return null;}function vN(_0x44c4e0,_0x48efa2,_0x28c678,_0x1c5918){for(let _0x74c30f=!0x1,_0x473e76=_0x48efa2+0x1,_0x1cb7fc=Math['min'](_0x44c4e0['length'],_0x473e76+0x3e7);_0x473e76<_0x1cb7fc;_0x473e76++){let _0x4a2d53=_0x44c4e0['charCodeAt'](_0x473e76);if(_0x74c30f)_0x74c30f=!0x1;else{if(0x5d==_0x4a2d53)return!_0x1c5918&&uN(RM['LinkLabel'],_0x48efa2+_0x28c678,_0x473e76+0x1+_0x28c678);if(_0x1c5918&&!NM(_0x4a2d53)&&(_0x1c5918=!0x1),0x5b==_0x4a2d53)return!0x1;0x5c==_0x4a2d53&&(_0x74c30f=!0x0);}}return null;}class InlineContext{constructor(_0x5830bf,_0x56463c,_0xfb37cb){this['parser']=_0x5830bf,this['text']=_0x56463c,this['offset']=_0xfb37cb,this['parts']=[];}['char'](_0x4e3a4c){return _0x4e3a4c>=this['end']?-0x1:this['text']['charCodeAt'](_0x4e3a4c-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0xa1c141,_0x3efd00){return this['text']['slice'](_0xa1c141-this['offset'],_0x3efd00-this['offset']);}['append'](_0x3248e7){return this['parts']['push'](_0x3248e7),_0x3248e7['to'];}['addDelimiter'](_0x31ba09,_0x578a51,_0xa0c97d,_0xd012c1,_0x4cf338){return this['append'](new InlineDelimiter(_0x31ba09,_0x578a51,_0xa0c97d,(_0xd012c1?0x1:0x0)|(_0x4cf338?0x2:0x0)));}get['hasOpenLink'](){for(let _0x39c445=this['parts']['length']-0x1;_0x39c445>=0x0;_0x39c445--){let _0xaf9592=this['parts'][_0x39c445];if(_0xaf9592 instanceof InlineDelimiter&&(_0xaf9592['type']==mN||_0xaf9592['type']==gN))return!0x0;}return!0x1;}['addElement'](_0x1dc835){return this['append'](_0x1dc835);}['resolveMarkers'](_0x26fbb8){for(let _0x26bb75=_0x26fbb8;_0x26bb75<this['parts']['length'];_0x26bb75++){let _0x316c61=this['parts'][_0x26bb75];if(!(_0x316c61 instanceof InlineDelimiter&&_0x316c61['type']['resolve']&&0x2&_0x316c61['side']))continue;let _0x31b40e,_0x560bd3=_0x316c61['type']==dN||_0x316c61['type']==fN,_0x2ac604=_0x316c61['to']-_0x316c61['from'],_0x2d669c=_0x26bb75-0x1;for(;_0x2d669c>=_0x26fbb8;_0x2d669c--){let _0x43d76e=this['parts'][_0x2d669c];if(_0x43d76e instanceof InlineDelimiter&&0x1&_0x43d76e['side']&&_0x43d76e['type']==_0x316c61['type']&&!(_0x560bd3&&(0x1&_0x316c61['side']||0x2&_0x43d76e['side'])&&(_0x43d76e['to']-_0x43d76e['from']+_0x2ac604)%0x3==0x0&&((_0x43d76e['to']-_0x43d76e['from'])%0x3||_0x2ac604%0x3))){_0x31b40e=_0x43d76e;break;}}if(!_0x31b40e)continue;let _0xb81cc=_0x316c61['type']['resolve'],_0x52a967=[],_0xc425e2=_0x31b40e['from'],_0xc07073=_0x316c61['to'];if(_0x560bd3){let _0x1c9d21=Math['min'](0x2,_0x31b40e['to']-_0x31b40e['from'],_0x2ac604);_0xc425e2=_0x31b40e['to']-_0x1c9d21,_0xc07073=_0x316c61['from']+_0x1c9d21,_0xb81cc=0x1==_0x1c9d21?'Emphasis':'StrongEmphasis';}_0x31b40e['type']['mark']&&_0x52a967['push'](this['elt'](_0x31b40e['type']['mark'],_0xc425e2,_0x31b40e['to']));for(let _0x5e9296=_0x2d669c+0x1;_0x5e9296<_0x26bb75;_0x5e9296++)this['parts'][_0x5e9296]instanceof hN&&_0x52a967['push'](this['parts'][_0x5e9296]),this['parts'][_0x5e9296]=null;_0x316c61['type']['mark']&&_0x52a967['push'](this['elt'](_0x316c61['type']['mark'],_0x316c61['from'],_0xc07073));let _0x83b023=this['elt'](_0xb81cc,_0xc425e2,_0xc07073,_0x52a967);this['parts'][_0x2d669c]=_0x560bd3&&_0x31b40e['from']!=_0xc425e2?new InlineDelimiter(_0x31b40e['type'],_0x31b40e['from'],_0xc425e2,_0x31b40e['side']):null,(this['parts'][_0x26bb75]=_0x560bd3&&_0x316c61['to']!=_0xc07073?new InlineDelimiter(_0x316c61['type'],_0xc07073,_0x316c61['to'],_0x316c61['side']):null)?this['parts']['splice'](_0x26bb75,0x0,_0x83b023):this['parts'][_0x26bb75]=_0x83b023;}let _0x4a8821=[];for(let _0x3ce714=_0x26fbb8;_0x3ce714<this['parts']['length'];_0x3ce714++){let _0x1bb600=this['parts'][_0x3ce714];_0x1bb600 instanceof hN&&_0x4a8821['push'](_0x1bb600);}return _0x4a8821;}['findOpeningDelimiter'](_0x5f106d){for(let _0x2cb13f=this['parts']['length']-0x1;_0x2cb13f>=0x0;_0x2cb13f--){let _0x565daf=this['parts'][_0x2cb13f];if(_0x565daf instanceof InlineDelimiter&&_0x565daf['type']==_0x5f106d&&0x1&_0x565daf['side'])return _0x2cb13f;}return null;}['takeContent'](_0x509c6b){let _0x4df6c8=this['resolveMarkers'](_0x509c6b);return this['parts']['length']=_0x509c6b,_0x4df6c8;}['getDelimiterAt'](_0x4b820a){let _0x4d8c75=this['parts'][_0x4b820a];return _0x4d8c75 instanceof InlineDelimiter?_0x4d8c75:null;}['skipSpace'](_0x314327){return LM(this['text'],_0x314327-this['offset'])+this['offset'];}['elt'](_0x2f5da1,_0x2c9217,_0x2749d0,_0x14e376){return'string'==typeof _0x2f5da1?uN(this['parser']['getNodeType'](_0x2f5da1),_0x2c9217,_0x2749d0,_0x14e376):new TreeElement(_0x2f5da1,_0x2c9217);}}function TN(_0x162cf8,_0x579992){if(!_0x579992['length'])return _0x162cf8;if(!_0x162cf8['length'])return _0x579992;let _0x414f87=_0x162cf8['slice'](),_0x599be9=0x0;for(let _0x21193e of _0x579992){for(;_0x599be9<_0x414f87['length']&&_0x414f87[_0x599be9]['to']<_0x21193e['to'];)_0x599be9++;if(_0x599be9<_0x414f87['length']&&_0x414f87[_0x599be9]['from']<_0x21193e['from']){let _0x2eb7bb=_0x414f87[_0x599be9];_0x2eb7bb instanceof hN&&(_0x414f87[_0x599be9]=new hN(_0x2eb7bb['type'],_0x2eb7bb['from'],_0x2eb7bb['to'],TN(_0x2eb7bb['children'],[_0x21193e])));}else _0x414f87['splice'](_0x599be9++,0x0,_0x21193e);}return _0x414f87;}InlineContext['linkStart']=mN,InlineContext['imageStart']=gN;const EN=[RM['CodeBlock'],RM['ListItem'],RM['OrderedList'],RM['BulletList']];class FragmentCursor{constructor(_0x59b124,_0x305802){this['fragments']=_0x59b124,this['input']=_0x305802,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x59b124['length']&&(this['fragment']=_0x59b124[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x51252e,_0x6912be){for(;this['fragment']&&this['fragment']['to']<=_0x51252e;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x51252e?_0x51252e-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x2f4392=this['fragment']['to'];for(;_0x2f4392>0x0&&'\x0a'!=this['input']['read'](_0x2f4392-0x1,_0x2f4392);)_0x2f4392--;this['fragmentEnd']=_0x2f4392?_0x2f4392-0x1:0x0;}let _0x17e9fc=this['cursor'];_0x17e9fc||(_0x17e9fc=this['cursor']=this['fragment']['tree']['cursor'](),_0x17e9fc['firstChild']());let _0x261188=_0x51252e+this['fragment']['offset'];for(;_0x17e9fc['to']<=_0x261188;)if(!_0x17e9fc['parent']())return!0x1;for(;;){if(_0x17e9fc['from']>=_0x261188)return this['fragment']['from']<=_0x6912be;if(!_0x17e9fc['childAfter'](_0x261188))return!0x1;}}['matches'](_0x3a7b11){let _0x521f67=this['cursor']['tree'];return _0x521f67&&_0x521f67['prop'](NodeProp['contextHash'])==_0x3a7b11;}['takeNodes'](_0x23e887){let _0x88280c=this['cursor'],_0x11f416=this['fragment']['offset'],_0x125a40=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x562763=_0x23e887['absoluteLineStart'],_0x4e67b7=_0x562763,_0x3a6be4=_0x23e887['block']['children']['length'],_0x25249c=_0x4e67b7,_0x118fd8=_0x3a6be4;for(;;){if(_0x88280c['to']-_0x11f416>_0x125a40){if(_0x88280c['type']['isAnonymous']&&_0x88280c['firstChild']())continue;break;}let _0x55d81a=AN(_0x88280c['from']-_0x11f416,_0x23e887['ranges']);if(_0x88280c['to']-_0x11f416<=_0x23e887['ranges'][_0x23e887['rangeI']]['to'])_0x23e887['addNode'](_0x88280c['tree'],_0x55d81a);else{let _0x130a47=new Tree(_0x23e887['parser']['nodeSet']['types'][RM['Paragraph']],[],[],0x0,_0x23e887['block']['hashProp']);_0x23e887['reusePlaceholders']['set'](_0x130a47,_0x88280c['tree']),_0x23e887['addNode'](_0x130a47,_0x55d81a);}if(_0x88280c['type']['is']('Block')&&(EN['indexOf'](_0x88280c['type']['id'])<0x0?(_0x4e67b7=_0x88280c['to']-_0x11f416,_0x3a6be4=_0x23e887['block']['children']['length']):(_0x4e67b7=_0x25249c,_0x3a6be4=_0x118fd8,_0x25249c=_0x88280c['to']-_0x11f416,_0x118fd8=_0x23e887['block']['children']['length'])),!_0x88280c['nextSibling']())break;}for(;_0x23e887['block']['children']['length']>_0x3a6be4;)_0x23e887['block']['children']['pop'](),_0x23e887['block']['positions']['pop']();return _0x4e67b7-_0x562763;}}function AN(_0x4fc1fa,_0x35d54d){let _0x66d2d0=_0x4fc1fa;for(let _0x179f82=0x1;_0x179f82<_0x35d54d['length'];_0x179f82++){let _0x2dc145=_0x35d54d[_0x179f82-0x1]['to'],_0x41699b=_0x35d54d[_0x179f82]['from'];_0x2dc145<_0x4fc1fa&&(_0x66d2d0-=_0x41699b-_0x2dc145);}return _0x66d2d0;}const SN=RS({'Blockquote/...':zS['quote'],'HorizontalRule':zS['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':zS['heading1'],'ATXHeading2/...\x20SetextHeading2/...':zS['heading2'],'ATXHeading3/...':zS['heading3'],'ATXHeading4/...':zS['heading4'],'ATXHeading5/...':zS['heading5'],'ATXHeading6/...':zS['heading6'],'Comment\x20CommentBlock':zS['comment'],'Escape':zS['escape'],'Entity':zS['character'],'Emphasis/...':zS['emphasis'],'StrongEmphasis/...':zS['strong'],'Link/...\x20Image/...':zS['link'],'OrderedList/...\x20BulletList/...':zS['list'],'BlockQuote/...':zS['quote'],'InlineCode\x20CodeText':zS['monospace'],'URL\x20Autolink':zS['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':zS['processingInstruction'],'CodeInfo\x20LinkLabel':zS['labelName'],'LinkTitle':zS['string'],'Paragraph':zS['content']}),IN=new MarkdownParser(new NodeSet(aN)['extend'](SN),Object['keys'](KM)['map'](_0x148881=>KM[_0x148881]),Object['keys'](KM)['map'](_0x5198d6=>tN[_0x5198d6]),Object['keys'](KM),eN,MM,Object['keys'](wN)['map'](_0x167b28=>wN[_0x167b28]),Object['keys'](wN),[]);function CN(_0x5c6f1d,_0x13a94c,_0x385660){let _0x5cab87=[];for(let _0x17a644=_0x5c6f1d['firstChild'],_0x56feef=_0x13a94c;;_0x17a644=_0x17a644['nextSibling']){let _0x180f4e=_0x17a644?_0x17a644['from']:_0x385660;if(_0x180f4e>_0x56feef&&_0x5cab87['push']({'from':_0x56feef,'to':_0x180f4e}),!_0x17a644)break;_0x56feef=_0x17a644['to'];}return _0x5cab87;}const kN={'resolve':'Strikethrough','mark':'StrikethroughMark'},xN={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':zS['strikethrough']}},{'name':'StrikethroughMark','style':zS['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x1bfd45,_0x1aceda,_0x391579){if(0x7e!=_0x1aceda||0x7e!=_0x1bfd45['char'](_0x391579+0x1)||0x7e==_0x1bfd45['char'](_0x391579+0x2))return-0x1;let _0x533208=_0x1bfd45['slice'](_0x391579-0x1,_0x391579),_0x5d3832=_0x1bfd45['slice'](_0x391579+0x2,_0x391579+0x3),_0x3609c5=/\s|^$/['test'](_0x533208),_0x487bc1=/\s|^$/['test'](_0x5d3832),_0x4af924=ON['test'](_0x533208),_0x3f74c3=ON['test'](_0x5d3832);return _0x1bfd45['addDelimiter'](kN,_0x391579,_0x391579+0x2,!_0x487bc1&&(!_0x3f74c3||_0x3609c5||_0x4af924),!_0x3609c5&&(!_0x4af924||_0x487bc1||_0x3f74c3));},'after':'Emphasis'}]};function RN(_0x24651a,_0x16e507,_0x4ca4c9=0x0,_0x473a55,_0xa4e15e=0x0){let _0x3c0419=0x0,_0x1d6886=!0x0,_0x3ddaa8=-0x1,_0x4f1275=-0x1,_0x4965e8=!0x1,_0x12d7e7=()=>{_0x473a55['push'](_0x24651a['elt']('TableCell',_0xa4e15e+_0x3ddaa8,_0xa4e15e+_0x4f1275,_0x24651a['parser']['parseInline'](_0x16e507['slice'](_0x3ddaa8,_0x4f1275),_0xa4e15e+_0x3ddaa8)));};for(let _0x3dd89b=_0x4ca4c9;_0x3dd89b<_0x16e507['length'];_0x3dd89b++){let _0x2ffe8a=_0x16e507['charCodeAt'](_0x3dd89b);0x7c!=_0x2ffe8a||_0x4965e8?(_0x4965e8||0x20!=_0x2ffe8a&&0x9!=_0x2ffe8a)&&(_0x3ddaa8<0x0&&(_0x3ddaa8=_0x3dd89b),_0x4f1275=_0x3dd89b+0x1):((!_0x1d6886||_0x3ddaa8>-0x1)&&_0x3c0419++,_0x1d6886=!0x1,_0x473a55&&(_0x3ddaa8>-0x1&&_0x12d7e7(),_0x473a55['push'](_0x24651a['elt']('TableDelimiter',_0x3dd89b+_0xa4e15e,_0x3dd89b+_0xa4e15e+0x1))),_0x3ddaa8=_0x4f1275=-0x1),_0x4965e8=!_0x4965e8&&0x5c==_0x2ffe8a;}return _0x3ddaa8>-0x1&&(_0x3c0419++,_0x473a55&&_0x12d7e7()),_0x3c0419;}function PN(_0x3df0cd,_0x1e178f){for(let _0x2c7bd9=_0x1e178f;_0x2c7bd9<_0x3df0cd['length'];_0x2c7bd9++){let _0x35f5f2=_0x3df0cd['charCodeAt'](_0x2c7bd9);if(0x7c==_0x35f5f2)return!0x0;0x5c==_0x35f5f2&&_0x2c7bd9++;}return!0x1;}const MN=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class TableParser{constructor(){this['rows']=null;}['nextLine'](_0x26761e,_0x1a5c2b,_0x493bba){if(null==this['rows']){let _0x55854f;if(this['rows']=!0x1,(0x2d==_0x1a5c2b['next']||0x3a==_0x1a5c2b['next']||0x7c==_0x1a5c2b['next'])&&MN['test'](_0x55854f=_0x1a5c2b['text']['slice'](_0x1a5c2b['pos']))){let _0x3e8a6d=[];RN(_0x26761e,_0x493bba['content'],0x0,_0x3e8a6d,_0x493bba['start'])==RN(_0x26761e,_0x55854f,_0x1a5c2b['pos'])&&(this['rows']=[_0x26761e['elt']('TableHeader',_0x493bba['start'],_0x493bba['start']+_0x493bba['content']['length'],_0x3e8a6d),_0x26761e['elt']('TableDelimiter',_0x26761e['lineStart']+_0x1a5c2b['pos'],_0x26761e['lineStart']+_0x1a5c2b['text']['length'])]);}}else{if(this['rows']){let _0x285d56=[];RN(_0x26761e,_0x1a5c2b['text'],_0x1a5c2b['pos'],_0x285d56,_0x26761e['lineStart']),this['rows']['push'](_0x26761e['elt']('TableRow',_0x26761e['lineStart']+_0x1a5c2b['pos'],_0x26761e['lineStart']+_0x1a5c2b['text']['length'],_0x285d56));}}return!0x1;}['finish'](_0x1cf83a,_0xefd391){return!!this['rows']&&(_0x1cf83a['addLeafElement'](_0xefd391,_0x1cf83a['elt']('Table',_0xefd391['start'],_0xefd391['start']+_0xefd391['content']['length'],this['rows'])),!0x0);}}const NN={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':zS['heading']}},'TableRow',{'name':'TableCell','style':zS['content']},{'name':'TableDelimiter','style':zS['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x1aeaab,_0x51bd04)=>PN(_0x51bd04['content'],0x0)?new TableParser():null,'endLeaf'(_0x1098ba,_0x521d52,_0x34a223){if(_0x34a223['parsers']['some'](_0x39a671=>_0x39a671 instanceof TableParser)||!PN(_0x521d52['text'],_0x521d52['basePos']))return!0x1;let _0x4fc18c=_0x1098ba['peekLine']();return MN['test'](_0x4fc18c)&&RN(_0x1098ba,_0x521d52['text'],_0x521d52['basePos'])==RN(_0x1098ba,_0x4fc18c,_0x521d52['basePos']);},'before':'SetextHeading'}]};class TaskParser{['nextLine'](){return!0x1;}['finish'](_0x294a4a,_0xf1cca4){return _0x294a4a['addLeafElement'](_0xf1cca4,_0x294a4a['elt']('Task',_0xf1cca4['start'],_0xf1cca4['start']+_0xf1cca4['content']['length'],[_0x294a4a['elt']('TaskMarker',_0xf1cca4['start'],_0xf1cca4['start']+0x3),..._0x294a4a['parser']['parseInline'](_0xf1cca4['content']['slice'](0x3),_0xf1cca4['start']+0x3)])),!0x0;}}const LN={'defineNodes':[{'name':'Task','block':!0x0,'style':zS['list']},{'name':'TaskMarker','style':zS['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x5e964e,_0x4b77fc)=>/^\[[ xX]\][ \t]/['test'](_0x4b77fc['content'])&&'ListItem'==_0x5e964e['parentType']()['name']?new TaskParser():null,'after':'SetextHeading'}]},DN=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,QN=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,$N=/[\w-]+\.[\w-]+($|\/)/,VN=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,UN=/\/[a-zA-Z\d@.]+/gy;function BN(_0x65e8be,_0x6659a9,_0xd98a9a,_0x2e3127){let _0x21cd4f=0x0;for(let _0x9c064a=_0x6659a9;_0x9c064a<_0xd98a9a;_0x9c064a++)_0x65e8be[_0x9c064a]==_0x2e3127&&_0x21cd4f++;return _0x21cd4f;}function FN(_0x489145,_0x4cfa25){VN['lastIndex']=_0x4cfa25;let _0x14ee4d=VN['exec'](_0x489145);if(!_0x14ee4d)return-0x1;let _0x108be9=_0x14ee4d[0x0][_0x14ee4d[0x0]['length']-0x1];return'_'==_0x108be9||'-'==_0x108be9?-0x1:_0x4cfa25+_0x14ee4d[0x0]['length']-('.'==_0x108be9?0x1:0x0);}const jN=[NN,LN,xN,{'parseInline':[{'name':'Autolink','parse'(_0x7b6e49,_0x5837a9,_0x2a34ff){let _0x34f292=_0x2a34ff-_0x7b6e49['offset'];if(_0x34f292&&/\w/['test'](_0x7b6e49['text'][_0x34f292-0x1]))return-0x1;DN['lastIndex']=_0x34f292;let _0x2025a8=DN['exec'](_0x7b6e49['text']),_0x305c77=-0x1;if(!_0x2025a8)return-0x1;if(_0x2025a8[0x1]||_0x2025a8[0x2])(_0x305c77=function(_0x65033,_0x2dd955){QN['lastIndex']=_0x2dd955;let _0x11a201=QN['exec'](_0x65033);if(!_0x11a201||$N['exec'](_0x11a201[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x47d982=_0x2dd955+_0x11a201[0x0]['length'];for(;;){let _0x3c57cb,_0x1f6930=_0x65033[_0x47d982-0x1];if(/[?!.,:*_~]/['test'](_0x1f6930)||')'==_0x1f6930&&BN(_0x65033,_0x2dd955,_0x47d982,')')>BN(_0x65033,_0x2dd955,_0x47d982,'('))_0x47d982--;else{if(';'!=_0x1f6930||!(_0x3c57cb=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x65033['slice'](_0x2dd955,_0x47d982))))break;_0x47d982=_0x2dd955+_0x3c57cb['index'];}}return _0x47d982;}(_0x7b6e49['text'],_0x34f292+_0x2025a8[0x0]['length']),_0x305c77>-0x1&&_0x7b6e49['hasOpenLink'])&&(_0x305c77=_0x34f292+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x7b6e49['text']['slice'](_0x34f292,_0x305c77))[0x0]['length']);else _0x2025a8[0x3]?_0x305c77=FN(_0x7b6e49['text'],_0x34f292):(_0x305c77=FN(_0x7b6e49['text'],_0x34f292+_0x2025a8[0x0]['length']),_0x305c77>-0x1&&'xmpp:'==_0x2025a8[0x0]&&(UN['lastIndex']=_0x305c77,_0x2025a8=UN['exec'](_0x7b6e49['text']),_0x2025a8&&(_0x305c77=_0x2025a8['index']+_0x2025a8[0x0]['length'])));return _0x305c77<0x0?-0x1:(_0x7b6e49['addElement'](_0x7b6e49['elt']('URL',_0x2a34ff,_0x305c77+_0x7b6e49['offset'])),_0x305c77+_0x7b6e49['offset']);}}]}];function HN(_0x5061f7,_0x2562f1,_0x2ec0a2){return(_0x3d5cec,_0x539091,_0x4db9dc)=>{if(_0x539091!=_0x5061f7||_0x3d5cec['char'](_0x4db9dc+0x1)==_0x5061f7)return-0x1;let _0xf8f170=[_0x3d5cec['elt'](_0x2ec0a2,_0x4db9dc,_0x4db9dc+0x1)];for(let _0x8dad2b=_0x4db9dc+0x1;_0x8dad2b<_0x3d5cec['end'];_0x8dad2b++){let _0x19ac52=_0x3d5cec['char'](_0x8dad2b);if(_0x19ac52==_0x5061f7)return _0x3d5cec['addElement'](_0x3d5cec['elt'](_0x2562f1,_0x4db9dc,_0x8dad2b+0x1,_0xf8f170['concat'](_0x3d5cec['elt'](_0x2ec0a2,_0x8dad2b,_0x8dad2b+0x1))));if(0x5c==_0x19ac52&&_0xf8f170['push'](_0x3d5cec['elt']('Escape',_0x8dad2b,0x2+_0x8dad2b++)),NM(_0x19ac52))break;}return-0x1;};}const GN={'defineNodes':[{'name':'Superscript','style':zS['special'](zS['content'])},{'name':'SuperscriptMark','style':zS['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':HN(0x5e,'Superscript','SuperscriptMark')}]},ZN={'defineNodes':[{'name':'Subscript','style':zS['special'](zS['content'])},{'name':'SubscriptMark','style':zS['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':HN(0x7e,'Subscript','SubscriptMark')}]},XN={'defineNodes':[{'name':'Emoji','style':zS['character']}],'parseInline':[{'name':'Emoji','parse'(_0x4a45b9,_0x4989a0,_0x4b07c9){let _0x52adbc;return 0x3a==_0x4989a0&&(_0x52adbc=/^[a-zA-Z_0-9]+:/['exec'](_0x4a45b9['slice'](_0x4b07c9+0x1,_0x4a45b9['end'])))?_0x4a45b9['addElement'](_0x4a45b9['elt']('Emoji',_0x4b07c9,_0x4b07c9+0x1+_0x52adbc[0x0]['length'])):-0x1;}}]},qN=JS({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),WN=new NodeProp(),zN=IN['configure']({'props':[EI['add'](_0x40c1b1=>!_0x40c1b1['is']('Block')||_0x40c1b1['is']('Document')||null!=YN(_0x40c1b1)||function(_0x4cb3ca){return'OrderedList'==_0x4cb3ca['name']||'BulletList'==_0x4cb3ca['name'];}(_0x40c1b1)?void 0x0:(_0x40c66d,_0xfccf55)=>({'from':_0xfccf55['doc']['lineAt'](_0x40c66d['from'])['to'],'to':_0x40c66d['to']})),WN['add'](YN),mI['add']({'Document':()=>null}),KS['add']({'Document':qN})]});function YN(_0x514f99){let _0x5d72c9=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x514f99['name']);return _0x5d72c9?+_0x5d72c9[0x1]:void 0x0;}function KN(_0x26bc77,_0xc55491){let _0x2bab2d=_0x26bc77;for(;;){let _0x12be88,_0x262db6=_0x2bab2d['nextSibling'];if(!_0x262db6||null!=(_0x12be88=YN(_0x262db6['type']))&&_0x12be88<=_0xc55491)break;_0x2bab2d=_0x262db6;}return _0x2bab2d['to'];}const JN=TI['of']((_0x3e9e17,_0x38f695,_0x54d64f)=>{for(let _0x492bcc=iI(_0x3e9e17)['resolveInner'](_0x54d64f,-0x1);_0x492bcc&&!(_0x492bcc['from']<_0x38f695);_0x492bcc=_0x492bcc['parent']){let _0x568f45=_0x492bcc['type']['prop'](WN);if(null==_0x568f45)continue;let _0x210ee3=KN(_0x492bcc,_0x568f45);if(_0x210ee3>_0x54d64f)return{'from':_0x54d64f,'to':_0x210ee3};}return null;});function tL(_0x5911da){return new Language(qN,_0x5911da,[JN],'markdown');}const eL=tL(zN),iL=tL(zN['configure']([jN,ZN,GN,XN,{'props':[EI['add']({'Table':(_0x56626d,_0x106785)=>({'from':_0x106785['doc']['lineAt'](_0x56626d['from'])['to'],'to':_0x56626d['to']})})]}]));class Context{constructor(_0x5d18b5,_0x38d73e,_0x2accca,_0x830c35,_0xfb49ca,_0x23fefa,_0x5c85f1){this['node']=_0x5d18b5,this['from']=_0x38d73e,this['to']=_0x2accca,this['spaceBefore']=_0x830c35,this['spaceAfter']=_0xfb49ca,this['type']=_0x23fefa,this['item']=_0x5c85f1;}['blank'](_0x1fde2e,_0x441ae3=!0x0){let _0x74594a=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x1fde2e){for(;_0x74594a['length']<_0x1fde2e;)_0x74594a+='\x20';return _0x74594a;}for(let _0x329ac2=this['to']-this['from']-_0x74594a['length']-this['spaceAfter']['length'];_0x329ac2>0x0;_0x329ac2--)_0x74594a+='\x20';return _0x74594a+(_0x441ae3?this['spaceAfter']:'');}['marker'](_0x522710,_0x16d5f6){let _0xc13dc5='OrderedList'==this['node']['name']?String(+nL(this['item'],_0x522710)[0x2]+_0x16d5f6):'';return this['spaceBefore']+_0xc13dc5+this['type']+this['spaceAfter'];}}function sL(_0x189a1c,_0x525cba){let _0x23dc7c=[],_0x29044d=[];for(let _0xcd9ce=_0x189a1c;_0xcd9ce;_0xcd9ce=_0xcd9ce['parent']){if('FencedCode'==_0xcd9ce['name'])return _0x29044d;'ListItem'!=_0xcd9ce['name']&&'Blockquote'!=_0xcd9ce['name']||_0x23dc7c['push'](_0xcd9ce);}for(let _0xf602dc=_0x23dc7c['length']-0x1;_0xf602dc>=0x0;_0xf602dc--){let _0x4a1b15,_0x259a96=_0x23dc7c[_0xf602dc],_0xa7a40b=_0x525cba['lineAt'](_0x259a96['from']),_0x2ca3f7=_0x259a96['from']-_0xa7a40b['from'];if('Blockquote'==_0x259a96['name']&&(_0x4a1b15=/^ *>( ?)/['exec'](_0xa7a40b['text']['slice'](_0x2ca3f7))))_0x29044d['push'](new Context(_0x259a96,_0x2ca3f7,_0x2ca3f7+_0x4a1b15[0x0]['length'],'',_0x4a1b15[0x1],'>',null));else{if('ListItem'==_0x259a96['name']&&'OrderedList'==_0x259a96['parent']['name']&&(_0x4a1b15=/^( *)\d+([.)])( *)/['exec'](_0xa7a40b['text']['slice'](_0x2ca3f7)))){let _0x521586=_0x4a1b15[0x3],_0x2ab743=_0x4a1b15[0x0]['length'];_0x521586['length']>=0x4&&(_0x521586=_0x521586['slice'](0x0,_0x521586['length']-0x4),_0x2ab743-=0x4),_0x29044d['push'](new Context(_0x259a96['parent'],_0x2ca3f7,_0x2ca3f7+_0x2ab743,_0x4a1b15[0x1],_0x521586,_0x4a1b15[0x2],_0x259a96));}else{if('ListItem'==_0x259a96['name']&&'BulletList'==_0x259a96['parent']['name']&&(_0x4a1b15=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0xa7a40b['text']['slice'](_0x2ca3f7)))){let _0x22b6da=_0x4a1b15[0x4],_0x262abb=_0x4a1b15[0x0]['length'];_0x22b6da['length']>0x4&&(_0x22b6da=_0x22b6da['slice'](0x0,_0x22b6da['length']-0x4),_0x262abb-=0x4);let _0x29acb1=_0x4a1b15[0x2];_0x4a1b15[0x3]&&(_0x29acb1+=_0x4a1b15[0x3]['replace'](/[xX]/,'\x20')),_0x29044d['push'](new Context(_0x259a96['parent'],_0x2ca3f7,_0x2ca3f7+_0x262abb,_0x4a1b15[0x1],_0x22b6da,_0x29acb1,_0x259a96));}}}}return _0x29044d;}function nL(_0x21488e,_0x246296){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x246296['sliceString'](_0x21488e['from'],_0x21488e['from']+0xa));}function rL(_0x35da39,_0x3a5637,_0x46bc91,_0x5c6909=0x0){for(let _0x31e7fc=-0x1,_0x38a8b2=_0x35da39;;){if('ListItem'==_0x38a8b2['name']){let _0x50e67a=nL(_0x38a8b2,_0x3a5637),_0x267552=+_0x50e67a[0x2];if(_0x31e7fc>=0x0){if(_0x267552!=_0x31e7fc+0x1)return;_0x46bc91['push']({'from':_0x38a8b2['from']+_0x50e67a[0x1]['length'],'to':_0x38a8b2['from']+_0x50e67a[0x0]['length'],'insert':String(_0x31e7fc+0x2+_0x5c6909)});}_0x31e7fc=_0x267552;}let _0x4e5e74=_0x38a8b2['nextSibling'];if(!_0x4e5e74)break;_0x38a8b2=_0x4e5e74;}}function oL(_0x1437e3,_0x16fcd0){let _0x58b8f6=/^[ \t]*/['exec'](_0x1437e3)[0x0]['length'];if(!_0x58b8f6||'\x09'!=_0x16fcd0['facet'](hI))return _0x1437e3;let _0x440d9b='';for(let _0x5a5177=O_(_0x1437e3,0x4,_0x58b8f6);_0x5a5177>0x0;)_0x5a5177>=0x4?(_0x440d9b+='\x09',_0x5a5177-=0x4):(_0x440d9b+='\x20',_0x5a5177--);return _0x440d9b+_0x1437e3['slice'](_0x58b8f6);}function aL(_0x2814c6){return'QuoteMark'==_0x2814c6['name']||'ListMark'==_0x2814c6['name'];}function cL(_0x4f683f,_0x45357c,_0x32d06f){let _0x38b76='';for(let _0x19cb39=0x0,_0x58d348=_0x4f683f['length']-0x2;_0x19cb39<=_0x58d348;_0x19cb39++)_0x38b76+=_0x4f683f[_0x19cb39]['blank'](_0x19cb39<_0x58d348?O_(_0x32d06f['text'],0x4,Math['min'](_0x32d06f['text']['length'],_0x4f683f[_0x19cb39+0x1]['from']))-_0x38b76['length']:null,_0x19cb39<_0x58d348);return oL(_0x38b76,_0x45357c);}const lL=[{'key':'Enter','run':({state:_0x2be915,dispatch:_0x3fcf0f})=>{let _0x5e577c=iI(_0x2be915),{doc:_0x1106b7}=_0x2be915,_0x3ebf3c=null,_0x130ecd=_0x2be915['changeByRange'](_0x15361a=>{if(!_0x15361a['empty']||!iL['isActiveAt'](_0x2be915,_0x15361a['from'],0x0))return _0x3ebf3c={'range':_0x15361a};let _0xc78f3=_0x15361a['from'],_0x56e98f=_0x1106b7['lineAt'](_0xc78f3),_0x35b24a=sL(_0x5e577c['resolveInner'](_0xc78f3,-0x1),_0x1106b7);for(;_0x35b24a['length']&&_0x35b24a[_0x35b24a['length']-0x1]['from']>_0xc78f3-_0x56e98f['from'];)_0x35b24a['pop']();if(!_0x35b24a['length'])return _0x3ebf3c={'range':_0x15361a};let _0x44f216=_0x35b24a[_0x35b24a['length']-0x1];if(_0x44f216['to']-_0x44f216['spaceAfter']['length']>_0xc78f3-_0x56e98f['from'])return _0x3ebf3c={'range':_0x15361a};let _0x5c6c91=_0xc78f3>=_0x44f216['to']-_0x44f216['spaceAfter']['length']&&!/\S/['test'](_0x56e98f['text']['slice'](_0x44f216['to']));if(_0x44f216['item']&&_0x5c6c91){let _0x5cd3e2=_0x44f216['node']['firstChild'],_0x5b5894=_0x44f216['node']['getChild']('ListItem','ListItem');if(_0x5cd3e2['to']>=_0xc78f3||_0x5b5894&&_0x5b5894['to']<_0xc78f3||_0x56e98f['from']>0x0&&!/[^\s>]/['test'](_0x1106b7['lineAt'](_0x56e98f['from']-0x1)['text'])){let _0x5ece66,_0xf73cdd=_0x35b24a['length']>0x1?_0x35b24a[_0x35b24a['length']-0x2]:null,_0x1a6e83='';_0xf73cdd&&_0xf73cdd['item']?(_0x5ece66=_0x56e98f['from']+_0xf73cdd['from'],_0x1a6e83=_0xf73cdd['marker'](_0x1106b7,0x1)):_0x5ece66=_0x56e98f['from']+(_0xf73cdd?_0xf73cdd['to']:0x0);let _0x2e2947=[{'from':_0x5ece66,'to':_0xc78f3,'insert':_0x1a6e83}];return'OrderedList'==_0x44f216['node']['name']&&rL(_0x44f216['item'],_0x1106b7,_0x2e2947,-0x2),_0xf73cdd&&'OrderedList'==_0xf73cdd['node']['name']&&rL(_0xf73cdd['item'],_0x1106b7,_0x2e2947),{'range':EditorSelection['cursor'](_0x5ece66+_0x1a6e83['length']),'changes':_0x2e2947};}{let _0x25b3e6=cL(_0x35b24a,_0x2be915,_0x56e98f);return{'range':EditorSelection['cursor'](_0xc78f3+_0x25b3e6['length']+0x1),'changes':{'from':_0x56e98f['from'],'insert':_0x25b3e6+_0x2be915['lineBreak']}};}}if('Blockquote'==_0x44f216['node']['name']&&_0x5c6c91&&_0x56e98f['from']){let _0x2dc534=_0x1106b7['lineAt'](_0x56e98f['from']-0x1),_0x233efe=/>\s*$/['exec'](_0x2dc534['text']);if(_0x233efe&&_0x233efe['index']==_0x44f216['from']){let _0x571f86=_0x2be915['changes']([{'from':_0x2dc534['from']+_0x233efe['index'],'to':_0x2dc534['to']},{'from':_0x56e98f['from']+_0x44f216['from'],'to':_0x56e98f['to']}]);return{'range':_0x15361a['map'](_0x571f86),'changes':_0x571f86};}}let _0x140316=[];'OrderedList'==_0x44f216['node']['name']&&rL(_0x44f216['item'],_0x1106b7,_0x140316);let _0x57f0de=_0x44f216['item']&&_0x44f216['item']['from']<_0x56e98f['from'],_0x289d4b='';if(!_0x57f0de||/^[\s\d.)\-+*>]*/['exec'](_0x56e98f['text'])[0x0]['length']>=_0x44f216['to']){for(let _0x5f2b03=0x0,_0x42f6a4=_0x35b24a['length']-0x1;_0x5f2b03<=_0x42f6a4;_0x5f2b03++)_0x289d4b+=_0x5f2b03!=_0x42f6a4||_0x57f0de?_0x35b24a[_0x5f2b03]['blank'](_0x5f2b03<_0x42f6a4?O_(_0x56e98f['text'],0x4,_0x35b24a[_0x5f2b03+0x1]['from'])-_0x289d4b['length']:null):_0x35b24a[_0x5f2b03]['marker'](_0x1106b7,0x1);}let _0x4efe7b=_0xc78f3;for(;_0x4efe7b>_0x56e98f['from']&&/\s/['test'](_0x56e98f['text']['charAt'](_0x4efe7b-_0x56e98f['from']-0x1));)_0x4efe7b--;return _0x289d4b=oL(_0x289d4b,_0x2be915),function(_0x17c6d7,_0x3f8fc5){if('OrderedList'!=_0x17c6d7['name']&&'BulletList'!=_0x17c6d7['name'])return!0x1;let _0x522f39=_0x17c6d7['firstChild'],_0x4f81be=_0x17c6d7['getChild']('ListItem','ListItem');if(!_0x4f81be)return!0x1;let _0x1f58ec=_0x3f8fc5['lineAt'](_0x522f39['to']),_0x422c96=_0x3f8fc5['lineAt'](_0x4f81be['from']),_0x286f52=/^[\s>]*$/['test'](_0x1f58ec['text']);return _0x1f58ec['number']+(_0x286f52?0x0:0x1)<_0x422c96['number'];}(_0x44f216['node'],_0x2be915['doc'])&&(_0x289d4b=cL(_0x35b24a,_0x2be915,_0x56e98f)+_0x2be915['lineBreak']+_0x289d4b),_0x140316['push']({'from':_0x4efe7b,'to':_0xc78f3,'insert':_0x2be915['lineBreak']+_0x289d4b}),{'range':EditorSelection['cursor'](_0x4efe7b+_0x289d4b['length']+0x1),'changes':_0x140316};});return!_0x3ebf3c&&(_0x3fcf0f(_0x2be915['update'](_0x130ecd,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x194e95,dispatch:_0x1d4f16})=>{let _0x37d4ad=iI(_0x194e95),_0x3225a2=null,_0x1d55ba=_0x194e95['changeByRange'](_0x5c9f32=>{let _0x3f1182=_0x5c9f32['from'],{doc:_0x5c076f}=_0x194e95;if(_0x5c9f32['empty']&&iL['isActiveAt'](_0x194e95,_0x5c9f32['from'])){let _0x80994a=_0x5c076f['lineAt'](_0x3f1182),_0x1c9f56=sL(function(_0xd7f2bf,_0x244d88){let _0x2b8a3b=_0xd7f2bf['resolveInner'](_0x244d88,-0x1),_0x242f32=_0x244d88;aL(_0x2b8a3b)&&(_0x242f32=_0x2b8a3b['from'],_0x2b8a3b=_0x2b8a3b['parent']);for(let _0x38b016;_0x38b016=_0x2b8a3b['childBefore'](_0x242f32);)if(aL(_0x38b016))_0x242f32=_0x38b016['from'];else{if('OrderedList'!=_0x38b016['name']&&'BulletList'!=_0x38b016['name'])break;_0x2b8a3b=_0x38b016['lastChild'],_0x242f32=_0x2b8a3b['to'];}return _0x2b8a3b;}(_0x37d4ad,_0x3f1182),_0x5c076f);if(_0x1c9f56['length']){let _0x11fa13=_0x1c9f56[_0x1c9f56['length']-0x1],_0x8b97a6=_0x11fa13['to']-_0x11fa13['spaceAfter']['length']+(_0x11fa13['spaceAfter']?0x1:0x0);if(_0x3f1182-_0x80994a['from']>_0x8b97a6&&!/\S/['test'](_0x80994a['text']['slice'](_0x8b97a6,_0x3f1182-_0x80994a['from'])))return{'range':EditorSelection['cursor'](_0x80994a['from']+_0x8b97a6),'changes':{'from':_0x80994a['from']+_0x8b97a6,'to':_0x3f1182}};if(_0x3f1182-_0x80994a['from']==_0x8b97a6&&(!_0x11fa13['item']||_0x80994a['from']<=_0x11fa13['item']['from']||!/\S/['test'](_0x80994a['text']['slice'](0x0,_0x11fa13['to'])))){let _0x1e98ed=_0x80994a['from']+_0x11fa13['from'];if(_0x11fa13['item']&&_0x11fa13['node']['from']<_0x11fa13['item']['from']&&/\S/['test'](_0x80994a['text']['slice'](_0x11fa13['from'],_0x11fa13['to']))){let _0x228b78=_0x11fa13['blank'](O_(_0x80994a['text'],0x4,_0x11fa13['to'])-O_(_0x80994a['text'],0x4,_0x11fa13['from']));return _0x1e98ed==_0x80994a['from']&&(_0x228b78=oL(_0x228b78,_0x194e95)),{'range':EditorSelection['cursor'](_0x1e98ed+_0x228b78['length']),'changes':{'from':_0x1e98ed,'to':_0x80994a['from']+_0x11fa13['to'],'insert':_0x228b78}};}if(_0x1e98ed<_0x3f1182)return{'range':EditorSelection['cursor'](_0x1e98ed),'changes':{'from':_0x1e98ed,'to':_0x3f1182}};}}}return _0x3225a2={'range':_0x5c9f32};});return!_0x3225a2&&(_0x1d4f16(_0x194e95['update'](_0x1d55ba,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],hL=CM({'matchClosingTags':!0x1});function uL(_0xc9a305={}){let {codeLanguages:_0x45917d,defaultCodeLanguage:_0x35098c,addKeymap:_0x152a95=!0x0,base:{parser:_0x3b80e1}=eL,completeHTMLTags:_0x38fc7c=!0x0,htmlTagLanguage:_0x14dc1d=hL}=_0xc9a305;if(!(_0x3b80e1 instanceof MarkdownParser))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x3aa37f,_0x3dffb4=_0xc9a305['extensions']?[_0xc9a305['extensions']]:[],_0x184838=[_0x14dc1d['support']];_0x35098c instanceof LanguageSupport?(_0x184838['push'](_0x35098c['support']),_0x3aa37f=_0x35098c['language']):_0x35098c&&(_0x3aa37f=_0x35098c);let _0x36fdad=_0x45917d||_0x3aa37f?(_0x4ae755=_0x45917d,_0x31f08c=_0x3aa37f,_0x55d63b=>{if(_0x55d63b&&_0x4ae755){let _0x15b10f=null;if(_0x55d63b=/\S*/['exec'](_0x55d63b)[0x0],_0x15b10f='function'==typeof _0x4ae755?_0x4ae755(_0x55d63b):LanguageDescription['matchLanguageName'](_0x4ae755,_0x55d63b,!0x0),_0x15b10f instanceof LanguageDescription)return _0x15b10f['support']?_0x15b10f['support']['language']['parser']:ParseContext['getSkippingParser'](_0x15b10f['load']());if(_0x15b10f)return _0x15b10f['parser'];}return _0x31f08c?_0x31f08c['parser']:null;}):void 0x0;var _0x4ae755,_0x31f08c;_0x3dffb4['push'](function(_0x3043a6){let {codeParser:_0x2a3502,htmlParser:_0x497909}=_0x3043a6,_0x4cd9ea=bS((_0xa64e32,_0x36afa2)=>{let _0x1b9b1e=_0xa64e32['type']['id'];if(!_0x2a3502||_0x1b9b1e!=RM['CodeBlock']&&_0x1b9b1e!=RM['FencedCode']){if(_0x497909&&(_0x1b9b1e==RM['HTMLBlock']||_0x1b9b1e==RM['HTMLTag']||_0x1b9b1e==RM['CommentBlock']))return{'parser':_0x497909,'overlay':CN(_0xa64e32['node'],_0xa64e32['from'],_0xa64e32['to'])};}else{let _0x2eb0bc='';if(_0x1b9b1e==RM['FencedCode']){let _0x2de2a3=_0xa64e32['node']['getChild'](RM['CodeInfo']);_0x2de2a3&&(_0x2eb0bc=_0x36afa2['read'](_0x2de2a3['from'],_0x2de2a3['to']));}let _0x23d5f5=_0x2a3502(_0x2eb0bc);if(_0x23d5f5)return{'parser':_0x23d5f5,'overlay':_0xcedf14=>_0xcedf14['type']['id']==RM['CodeText']};}return null;});return{'wrap':_0x4cd9ea};}({'codeParser':_0x36fdad,'htmlParser':_0x14dc1d['language']['parser']})),_0x152a95&&_0x184838['push'](By['high'](HE['of'](lL)));let _0x3ff3af=tL(_0x3b80e1['configure'](_0x3dffb4));return _0x38fc7c&&_0x184838['push'](_0x3ff3af['data']['of']({'autocomplete':dL})),new LanguageSupport(_0x3ff3af,_0x184838);}function dL(_0x3b38db){let {state:_0x11a139,pos:_0x323c0a}=_0x3b38db,_0x58d07c=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x11a139['sliceDoc'](_0x323c0a-0x19,_0x323c0a));if(!_0x58d07c)return null;let _0x3224f4=iI(_0x11a139)['resolveInner'](_0x323c0a,-0x1);for(;_0x3224f4&&!_0x3224f4['type']['isTop'];){if('CodeBlock'==_0x3224f4['name']||'FencedCode'==_0x3224f4['name']||'ProcessingInstructionBlock'==_0x3224f4['name']||'CommentBlock'==_0x3224f4['name']||'Link'==_0x3224f4['name']||'Image'==_0x3224f4['name'])return null;_0x3224f4=_0x3224f4['parent'];}return{'from':_0x323c0a-_0x58d07c[0x0]['length'],'to':_0x323c0a,'options':mL(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let fL=null;function mL(){if(fL)return fL;let _0x32d097=(_0x463457=new CompletionContext(EditorState['create']({'extensions':hL}),0x0,!0x0),_M(Schema['default'],_0x463457));var _0x463457;return fL=_0x32d097?_0x32d097['options']:[];}const gL='#e06c75',pL='#abb2bf',OL='#7d8799',wL='#d19a66',bL='#2c313a',yL='#282c34',_L='#353a42',vL='#528bff',TL=[EditorView['theme']({'&':{'color':pL,'backgroundColor':yL},'.cm-content':{'caretColor':vL},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':vL},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':'#3E4451'},'.cm-panels':{'backgroundColor':'#21252b','color':pL},'.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':yL,'color':OL,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':bL},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_L},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_L,'borderBottomColor':_L},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':bL,'color':pL}}},{'dark':!0x0}),zI(HighlightStyle['define']([{'tag':zS['keyword'],'color':'#c678dd'},{'tag':[zS['name'],zS['deleted'],zS['character'],zS['propertyName'],zS['macroName']],'color':gL},{'tag':[zS['function'](zS['variableName']),zS['labelName']],'color':'#61afef'},{'tag':[zS['color'],zS['constant'](zS['name']),zS['standard'](zS['name'])],'color':wL},{'tag':[zS['definition'](zS['name']),zS['separator']],'color':pL},{'tag':[zS['typeName'],zS['className'],zS['number'],zS['changed'],zS['annotation'],zS['modifier'],zS['self'],zS['namespace']],'color':'#e5c07b'},{'tag':[zS['operator'],zS['operatorKeyword'],zS['url'],zS['escape'],zS['regexp'],zS['link'],zS['special'](zS['string'])],'color':'#56b6c2'},{'tag':[zS['meta'],zS['comment']],'color':OL},{'tag':zS['strong'],'fontWeight':'bold'},{'tag':zS['emphasis'],'fontStyle':'italic'},{'tag':zS['strikethrough'],'textDecoration':'line-through'},{'tag':zS['link'],'color':OL,'textDecoration':'underline'},{'tag':zS['heading'],'fontWeight':'bold','color':gL},{'tag':[zS['atom'],zS['bool'],zS['special'](zS['variableName'])],'color':wL},{'tag':[zS['processingInstruction'],zS['string'],zS['inserted']],'color':'#98c379'},{'tag':zS['invalid'],'color':'#ffffff'}]))];function EL(_0x5cccbb){const _0x3c37e1=[EditorView['lineWrapping'],nR(),aC(),Hx(),IA(),tA(),lA(),JA(),GI(),wA(),sS(),pA(),MC(),vI(),EA(),zI(KI,{'fallback':!0x0})],_0x552fe4=new Compartment();_0x3c37e1['push'](_0x552fe4['of'](EditorView['editable']['of'](!0x0))),'html'===_0x5cccbb['syntaxLanguage']?_0x3c37e1['push'](CM()):_0x3c37e1['push'](uL());const _0x397a8c=function(_0x2f5c9c){if(_0x2f5c9c&&'default'!==_0x2f5c9c)return'dark'===_0x2f5c9c?TL:_0x2f5c9c;return null;}(_0x5cccbb['theme']);_0x397a8c&&_0x3c37e1['push'](_0x397a8c),_0x3c37e1['push'](HE['of']([...zx,...qk,...qC,...$I,...rR,{'key':'Tab','run':jk,'shift':Hk,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':DC,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':DC,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':LC,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x27f0a4=new EditorView({'extensions':_0x3c37e1,'parent':_0x5cccbb['parent']});return Gk(_0x27f0a4),{'focus':()=>{_0x27f0a4['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x27f0a4['focus']();},'getData':()=>_0x27f0a4['state']['doc']['toString'](),'setData':_0x3d9d31=>{_0x27f0a4['dispatch']({'changes':{'from':0x0,'to':_0x27f0a4['state']['doc']['length'],'insert':_0x3d9d31},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3eb7ce=>{_0x27f0a4['dispatch']({'effects':[_0x552fe4['reconfigure'](EditorView['editable']['of'](!_0x3eb7ce))]});},'destroy':()=>{_0x27f0a4['destroy']();},'instance':_0x27f0a4};}class CodeEditorView extends _0x268b55{['_codeEditorApi']=null;['_options'];constructor(_0x2bcc3c,_0x38f2fc){super(_0x2bcc3c),this['_options']=_0x38f2fc,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']=EL({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x74f31f,_0x4ea8c0,_0xecc16c)=>{this['setReadOnly'](_0xecc16c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x35c500){this['_codeEditorApi']['setData'](_0x35c500);}['setReadOnly'](_0xdbed17){this['_codeEditorApi']['setReadOnly'](_0xdbed17);}}const AL='SourceEditingEnhancedMode';class EditSourceCommand extends _0x1110b9{constructor(_0x102526){super(_0x102526),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xdf428)['on']('change:hasAny',(_0x411467,_0xceebf,_0x304a96)=>{_0x304a96?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x539b1b=this['editor'];for(const _0x23ec32 of _0x539b1b['commands']['names']())['replaceSource','editSource']['includes'](_0x23ec32)||_0x539b1b['commands']['get'](_0x23ec32)['forceDisabled'](AL);}['_enableCommands'](){const _0x347243=this['editor'];for(const _0x3ab4a4 of _0x347243['commands']['commands']())_0x3ab4a4['clearForceDisabled'](AL);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4ba3bc=this['editor'],_0x46b9b=_0x4ba3bc['locale'],_0x1c23bb=_0x4ba3bc['plugins']['get']('Dialog'),_0x3cf9bd=ty(_0x4ba3bc),_0x4e917d=_0x4ba3bc['data']['get']({'rootName':_0x3cf9bd}),_0x20ccf5=iy(_0x2dff67=_0x4e917d)?_0x5a7fc8(_0x2dff67):_0x2dff67;var _0x2dff67;const _0x221543=new CodeEditorView(_0x46b9b,{'syntaxLanguage':_0x4ba3bc['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4ba3bc['config']['get']('sourceEditingEnhanced.theme')});let _0x5783a5=!0x0;const _0x37a0f4=_0x38e654=>{if(!_0x5783a5)return;return ey(_0x221543['getData']())!==ey(_0x20ccf5)?window['confirm'](Jb(_0x46b9b,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x38e654['stop']():void 0x0;};_0x1c23bb['show']({'id':'sourceEditingEnhanced','title':Jb(_0x46b9b,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x221543,'actionButtons':[{'label':Jb(_0x46b9b,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x1c23bb['hide']();}},{'label':Jb(_0x46b9b,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1eaf03=ey(_0x221543['getData']())!==ey(_0x20ccf5);(_0x1eaf03&&_0x4ba3bc['execute']('replaceSource',_0x221543['getData']()),_0x5783a5=!0x1,_0x1c23bb['hide'](),_0x1eaf03&&'editables'in _0x4ba3bc['ui']['view'])&&_0x4ba3bc['ui']['view']['editables'][_0x3cf9bd]['element']['focus']();},'onCreate':_0xce648b=>{_0xce648b['set']('isEnabled',!_0x4ba3bc['isReadOnly']),_0xce648b['bind']('isEnabled')['to'](_0x4ba3bc,'isReadOnly',this,'isEnabled',(_0x417c9c,_0x40e8d1)=>!_0x417c9c&&_0x40e8d1);}}],'onHide':()=>{this['_enableCommands'](),_0x1c23bb['off']('hide',_0x37a0f4),_0x221543['destroy']();},'onShow':()=>{_0x221543['bind']('isReadOnly')['to'](_0x4ba3bc,'isReadOnly',this,'isEnabled',(_0x5e3642,_0x1ad4c8)=>_0x5e3642||!_0x1ad4c8),_0x221543['setData'](_0x20ccf5),_0x221543['focus'](),_0x1c23bb['on']('hide',_0x37a0f4,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x4ac504{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xdf428];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46222c=this['editor'],_0x422fe4=_0x46222c['locale'],_0xd3e29e=new EditSourceCommand(_0x46222c);_0x46222c['commands']['add']('editSource',_0xd3e29e),_0x46222c['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x288307=this['_createButton'](_0x13bcd9,_0xd3e29e);return _0x288307['set']({'label':Jb(_0x422fe4,'Source'),'icon':_0x43f98f,'tooltip':Jb(_0x422fe4,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x288307;}),_0x46222c['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xadfa76=this['_createButton'](ot,_0xd3e29e,!0x0);return _0xadfa76['set']({'label':Jb(_0x422fe4,'Edit\x20source\x20modal\x20label'),'icon':_0x43f98f,'role':'menuitemcheckbox'}),_0xadfa76;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x597a1a){const _0x5aeaaa=_0x32b3fa([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]),_0x2fe06b=0x5dba9314,_0x2a30d4=0x5dbd197c^_0x2fe06b,_0x57576d=window[_0x32b3fa([0x44,0x61,0x74,0x65])][_0x32b3fa([0x6e,0x6f,0x77])](),_0x263e3e=_0x597a1a[_0x32b3fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24ef34=new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b3cb2=>{_0x263e3e[_0x32b3fa([0x6f,0x6e,0x63,0x65])](_0x32b3fa([0x72,0x65,0x61,0x64,0x79]),_0x1b3cb2);}),_0x48cbb1={[_0x32b3fa([0x6b,0x74,0x79])]:_0x32b3fa([0x45,0x43]),[_0x32b3fa([0x75,0x73,0x65])]:_0x32b3fa([0x73,0x69,0x67]),[_0x32b3fa([0x63,0x72,0x76])]:_0x32b3fa([0x50,0x2d,0x32,0x35,0x36]),[_0x32b3fa([0x78])]:_0x32b3fa([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]),[_0x32b3fa([0x79])]:_0x32b3fa([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]),[_0x32b3fa([0x61,0x6c,0x67])]:_0x32b3fa([0x45,0x53,0x32,0x35,0x36])},_0x86063e=_0x263e3e[_0x32b3fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32b3fa([0x67,0x65,0x74])](_0x32b3fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a405b(){let _0x394862,_0x1f673c=null,_0x4ccaf0=null;try{if(_0x86063e==_0x32b3fa([0x47,0x50,0x4c]))return _0x32b3fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x394862=_0x1dec09(),!_0x394862)return _0x32b3fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x394862[_0x32b3fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ccaf0=_0x56f2a7(_0x394862[_0x32b3fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x394862[_0x32b3fa([0x6a,0x74,0x69])])),await _0x38a2ad()?_0x62634b()?_0x4e48eb()?_0x32b3fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58c163()?(_0x394862[_0x32b3fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32b3fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f673c=_0x7789ef(_0x32b3fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ab70d()):_0x32b3fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32b3fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32b3fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32b3fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e48eb(){const _0x112d51=[_0x32b3fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32b3fa([0x74,0x72,0x69,0x61,0x6c])][_0x32b3fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394862[_0x32b3fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57576d/0x3e8:0xe10*_0x2a30d4;return _0x394862[_0x32b3fa([0x65,0x78,0x70])]<_0x112d51;}function _0x62634b(){const _0x2c31a9=_0x394862[_0x32b3fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c31a9&&(!!_0x2c31a9[_0x32b3fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b3fa([0x2a]))||!!_0x2c31a9[_0x32b3fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b3fa([0x53,0x45,0x45])));}function _0x58c163(){const _0x469b12=_0x394862[_0x32b3fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x469b12||0x0==_0x469b12[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cb78a}=new URL(window[_0x32b3fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x469b12[_0x32b3fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cb78a))return!0x0;const _0x22d99d=_0x4cb78a[_0x32b3fa([0x73,0x70,0x6c,0x69,0x74])](_0x32b3fa([0x2e]));return _0x469b12[_0x32b3fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6adf71=>_0x6adf71[_0x32b3fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b3fa([0x2a])))[_0x32b3fa([0x6d,0x61,0x70])](_0x4326cc=>_0x4326cc[_0x32b3fa([0x73,0x70,0x6c,0x69,0x74])](_0x32b3fa([0x2e])))[_0x32b3fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x301031=>_0x301031[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22d99d[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32b3fa([0x6d,0x61,0x70])](_0x4e38ff=>Array(_0x22d99d[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e38ff[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32b3fa([0x66,0x69,0x6c,0x6c])](_0x4e38ff[0x0]===_0x32b3fa([0x2a])?_0x32b3fa([0x2a]):'')[_0x32b3fa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e38ff))[_0x32b3fa([0x73,0x6f,0x6d,0x65])](_0x289cfc=>_0x22d99d[_0x32b3fa([0x65,0x76,0x65,0x72,0x79])]((_0x55e5bc,_0x5ee7c2)=>_0x289cfc[_0x5ee7c2]===_0x55e5bc||_0x289cfc[_0x5ee7c2]===_0x32b3fa([0x2a])));}function _0x4ab70d(){return _0x1f673c&&_0x4ccaf0?new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a0943,_0xd661af)=>{_0x1f673c[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x3a0943,_0xd661af),_0x4ccaf0[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x4b828f=>{_0x4b828f!=_0x32b3fa([0x56,0x61,0x6c,0x69,0x64])&&_0x3a0943(_0x4b828f);},_0xd661af);}):_0x1f673c||_0x4ccaf0||_0x32b3fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56f2a7(_0x1be0ce,_0x467772){return new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48851e=>{if(_0xe2edb7())return _0x48851e(_0x32b3fa([0x56,0x61,0x6c,0x69,0x64]));_0x3a17ab(),_0x263e3e[_0x32b3fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32b3fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f9677=!0x1;const _0x1bcb7e=_0x288d30();function _0xa7a8(_0x31c981){return!!_0x31c981&&(typeof _0x31c981===_0x32b3fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31c981===_0x32b3fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31c981[_0x32b3fa([0x74,0x68,0x65,0x6e])]===_0x32b3fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31c981[_0x32b3fa([0x63,0x61,0x74,0x63,0x68])]===_0x32b3fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x363034(_0x5a8a04){_0xeef673(_0x5a8a04)[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x560c4e=>{if(!_0x560c4e||_0x560c4e[_0x32b3fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32b3fa([0x6f,0x6b]))return _0x32b3fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x122264(_0x4cd703(_0x1bcb7e+_0x467772))!=_0x560c4e[_0x32b3fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32b3fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32b3fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x167dcc=>(_0x9a5fba(),_0x167dcc),()=>{const _0x377c29=_0x3e7a11();return null==_0x377c29?(_0x9a5fba(),_0x32b3fa([0x56,0x61,0x6c,0x69,0x64])):_0x32b3fa(_0x57576d-_0x377c29>(0x79b61714^_0x2fe06b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x48851e)[_0x32b3fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48851e(_0x32b3fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x356615=0x5d8c7d94^_0x2fe06b;function _0x9a5fba(){const _0x5a9e18=_0x32b3fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x122264(_0x4cd703(_0x1be0ce)),_0x337905=_0x2fc272(_0x122264(window[_0x32b3fa([0x4d,0x61,0x74,0x68])][_0x32b3fa([0x63,0x65,0x69,0x6c])](_0x57576d/_0x356615)));window[_0x32b3fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32b3fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a9e18,_0x337905);}function _0x3e7a11(){const _0x51ac51=_0x32b3fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x122264(_0x4cd703(_0x1be0ce)),_0x4a1dea=window[_0x32b3fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32b3fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51ac51);return _0x4a1dea?window[_0x32b3fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc272(_0x4a1dea),0x10)*_0x356615:null;}function _0xeef673(_0x44dd42){return new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d29d4,_0x10d0d4)=>{_0x44dd42[_0x32b3fa([0x74,0x68,0x65,0x6e])](_0x5d29d4,_0x10d0d4),window[_0x32b3fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d0d4,0x5dbb47d4^_0x2fe06b);});}}_0x263e3e[_0x32b3fa([0x6f,0x6e])](_0x32b3fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34bd78,_0x205460)=>{if(_0x205460[0x0]!=_0x1be0ce)return _0x48851e(_0x32b3fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x205460[0x1]={..._0x205460[0x1],[_0x32b3fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bcb7e};},{[_0x32b3fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32b3fa([0x68,0x69,0x67,0x68])}),_0x263e3e[_0x32b3fa([0x6f,0x6e])](_0x32b3fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d283a=>{_0xa7a8(_0x1d283a[_0x32b3fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f9677=!0x0,_0x363034(_0x1d283a[_0x32b3fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32b3fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32b3fa([0x6c,0x6f,0x77])}),_0x24ef34[_0x32b3fa([0x74,0x68,0x65,0x6e])](()=>{_0x1f9677||_0x48851e(_0x32b3fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe2edb7(){return _0x263e3e[_0x32b3fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32b3fa([0x76,0x69,0x65,0x77])][_0x32b3fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32b3fa([0x61,0x75,0x74,0x6f]);}function _0x3a17ab(){_0x263e3e[_0x32b3fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32b3fa([0x76,0x69,0x65,0x77])][_0x32b3fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32b3fa([0x61,0x75,0x74,0x6f]);}}function _0x7789ef(_0x142d75){const _0x344271=[new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1568=>setTimeout(_0x5d1568,0x5db3add8^_0x2fe06b)),_0x24ef34[_0x32b3fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2396ce=>{let _0x5b0628=0x0;_0x263e3e[_0x32b3fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x32b3fa([0x6f,0x6e])](_0x32b3fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25d9a9,_0x37527d)=>{_0x37527d[0x0][_0x32b3fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b0628++,_0x5b0628==(0x5dba96fc^_0x2fe06b)&&(_0x2396ce(),_0x25d9a9[_0x32b3fa([0x6f,0x66,0x66])]());});}))];return window[_0x32b3fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32b3fa([0x72,0x61,0x63,0x65])](_0x344271)[_0x32b3fa([0x74,0x68,0x65,0x6e])](()=>_0x142d75);}async function _0xbc93f3(){await _0x24ef34,_0x263e3e[_0x32b3fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x32b3fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5610f3,_0x263e3e[_0x32b3fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x32b3fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5610f3,_0x263e3e[_0x32b3fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32b3fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5199eb(_0x54c88d){const _0x5cb6ca=_0x44b531();_0x263e3e[_0x5cb6ca]=_0x32b3fa([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])+_0x54c88d,_0x54c88d!=_0x32b3fa([0x56,0x61,0x6c,0x69,0x64])&&_0xbc93f3();}function _0x44b531(){const _0xd8a3b0=window[_0x32b3fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32b3fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32b3fa([0x6e,0x6f,0x77])]())[_0x32b3fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32b3fa([0x2e]),'');let _0x245c7c=_0x32b3fa([0x4e]);for(let _0x23307c=0x0;_0x23307c<_0xd8a3b0[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23307c+=0x2){let _0x1f707e=window[_0x32b3fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd8a3b0[_0x32b3fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23307c,_0x23307c+0x2));_0x1f707e>=_0x5aeaaa[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f707e-=_0x5aeaaa[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x245c7c+=_0x5aeaaa[_0x1f707e];}return _0x245c7c;}function _0x1dec09(){const _0x51f320=_0x86063e[_0x32b3fa([0x73,0x70,0x6c,0x69,0x74])](_0x32b3fa([0x2e]));if(0x3!=_0x51f320[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5785a6(_0x51f320[0x1]);function _0x5785a6(_0x212bd5){const _0x23076a=_0x2ae4a9(_0x212bd5);return _0x23076a&&_0x3d8646()?_0x23076a:null;function _0x3d8646(){const _0x3da0cf=_0x23076a[_0x32b3fa([0x6a,0x74,0x69])],_0x17a389=window[_0x32b3fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3da0cf[_0x32b3fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3da0cf[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x244eda={..._0x23076a,[_0x32b3fa([0x6a,0x74,0x69])]:_0x3da0cf[_0x32b3fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3da0cf[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x244eda[_0x32b3fa([0x76,0x63])],_0x4cd703(_0x244eda)==_0x17a389;}}}async function _0x38a2ad(){let _0x4b9ca9=!0x0;try{const _0x15539d=_0x86063e[_0x32b3fa([0x73,0x70,0x6c,0x69,0x74])](_0x32b3fa([0x2e])),[_0x45a6c5,_0x1f3bfa,_0x39dedc]=_0x15539d;return _0x1dd0f0(_0x45a6c5),await _0x1bd0d8(_0x45a6c5,_0x1f3bfa,_0x39dedc),_0x4b9ca9;}catch{return!0x1;}function _0x1dd0f0(_0x410efa){const _0x4f9fa7=_0x2ae4a9(_0x410efa);_0x4f9fa7&&_0x4f9fa7[_0x32b3fa([0x61,0x6c,0x67])]==_0x32b3fa([0x45,0x53,0x32,0x35,0x36])||(_0x4b9ca9=!0x1);}async function _0x1bd0d8(_0x18da58,_0xc7929c,_0x6d0af6){const _0x50c172=window[_0x32b3fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32b3fa([0x66,0x72,0x6f,0x6d])](_0x36a22d(_0x6d0af6),_0xaaea67=>_0xaaea67[_0x32b3fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fe629=new window[(_0x32b3fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32b3fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18da58+_0x32b3fa([0x2e])+_0xc7929c),_0x3d8caf=window[_0x32b3fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32b3fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d8caf)return;const _0x3d5464=await _0x3d8caf[_0x32b3fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32b3fa([0x6a,0x77,0x6b]),_0x48cbb1,{[_0x32b3fa([0x6e,0x61,0x6d,0x65])]:_0x32b3fa([0x45,0x43,0x44,0x53,0x41]),[_0x32b3fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32b3fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32b3fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d8caf[_0x32b3fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32b3fa([0x6e,0x61,0x6d,0x65])]:_0x32b3fa([0x45,0x43,0x44,0x53,0x41]),[_0x32b3fa([0x68,0x61,0x73,0x68])]:{[_0x32b3fa([0x6e,0x61,0x6d,0x65])]:_0x32b3fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d5464,_0x50c172,_0x2fe629)||(_0x4b9ca9=!0x1);}}function _0x2ae4a9(_0x1314df){return _0x1314df[_0x32b3fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32b3fa([0x65,0x79]))?JSON[_0x32b3fa([0x70,0x61,0x72,0x73,0x65])](_0x36a22d(_0x1314df)):null;}function _0x36a22d(_0x7c5b2c){return window[_0x32b3fa([0x61,0x74,0x6f,0x62])](_0x7c5b2c[_0x32b3fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32b3fa([0x2b]))[_0x32b3fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32b3fa([0x2f])));}function _0x4cd703(_0x2d2c4f){let _0x207f6f=0x1505;function _0x3b8885(_0x3edfd5){for(let _0x131b83=0x0;_0x131b83<_0x3edfd5[_0x32b3fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131b83++){const _0x18d2fa=_0x3edfd5[_0x32b3fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131b83);_0x207f6f=(_0x207f6f<<0x5)+_0x207f6f+_0x18d2fa,_0x207f6f&=_0x207f6f;}}function _0x15316b(_0x4e0288){Array[_0x32b3fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e0288)?_0x4e0288[_0x32b3fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15316b):_0x4e0288&&typeof _0x4e0288==_0x32b3fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32b3fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e0288)[_0x32b3fa([0x73,0x6f,0x72,0x74])]()[_0x32b3fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24d5c5,_0x3d5ca2])=>{_0x3b8885(_0x24d5c5),_0x15316b(_0x3d5ca2);}):_0x3b8885(window[_0x32b3fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e0288));}return _0x15316b(_0x2d2c4f),_0x207f6f>>>0x0;}function _0x122264(_0x355aa4){return _0x355aa4[_0x32b3fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32b3fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32b3fa([0x30]));}function _0x2fc272(_0x5e9a52){return _0x5e9a52[_0x32b3fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32b3fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32b3fa([0x6a,0x6f,0x69,0x6e])]('');}function _0x5610f3(){}function _0x32b3fa(_0x15a9c4){return _0x15a9c4['map'](_0x3cc55c=>String['fromCharCode'](_0x3cc55c))['join']('');}_0x5199eb(await _0x1a405b());}(this);}['_createButton'](_0x3e5ee0,_0x9f0a5a,_0x50976f=!0x1){const _0x3e57ba=new _0x3e5ee0(this['editor']['locale']);return _0x3e57ba['set']({'withText':_0x50976f,'isToggleable':!0x1}),_0x3e57ba['bind']('isEnabled')['to'](_0x9f0a5a,'isEnabled'),this['listenTo'](_0x3e57ba,'execute',()=>_0x9f0a5a['execute']()),_0x3e57ba;}['_registerKeybindings'](){const _0x568ea6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':Jb(_0x568ea6,'Source\x20Editing\x20Enhanced')});const _0x354be9=_0x1036b5['isMac']||_0x1036b5['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':Jb(_0x568ea6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':Jb(_0x568ea6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':Jb(_0x568ea6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':Jb(_0x568ea6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':Jb(_0x568ea6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':Jb(_0x568ea6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':Jb(_0x568ea6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x354be9?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':Jb(_0x568ea6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':Jb(_0x568ea6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':Jb(_0x568ea6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':Jb(_0x568ea6,'Select\x20line'),'keystroke':_0x354be9?'Ctrl!+L':'Alt+L'},{'label':Jb(_0x568ea6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x354be9?'Alt+Shift+M':'Ctrl+M'},{'label':Jb(_0x568ea6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':Jb(_0x568ea6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':Jb(_0x568ea6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':Jb(_0x568ea6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':Jb(_0x568ea6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x354be9?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class ReplaceSourceCommand extends _0x1110b9{constructor(_0x375538){super(_0x375538),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3b85d8,_0x2544ce){const _0x3b54c0=this['editor'],_0x5d0e00=_0x2544ce?.['rootName']??ty(_0x3b54c0);_0x3b54c0['data']['set']({[_0x5d0e00]:_0x3b85d8},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x20154a){super(_0x20154a),_0x20154a['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new ReplaceSourceCommand(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42d4b9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45c143;for(const _0x5840ab in _0x42d4b9){const _0x401863=_0x5840ab,_0xd994ab=_0x42d4b9[_0x401863];if('sourceEditingEnhancedLicenseKeyValid'==_0xd994ab||'sourceEditingEnhancedLicenseKeyInvalid'==_0xd994ab||'sourceEditingEnhancedLicenseKeyExpired'==_0xd994ab||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xd994ab||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xd994ab||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xd994ab||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xd994ab){delete _0x42d4b9[_0x401863],_0x45c143=_0xd994ab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x45c143&&_0x42d4b9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x45c143&&_0x42d4b9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x45c143&&_0x42d4b9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x45c143&&_0x42d4b9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x45c143&&_0x42d4b9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x45c143&&_0x42d4b9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x266423=this['editor'],_0x492200=_0x266423['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x492200&&_0x266423['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1976e8('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x492200&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5850fd=>_0x266423['plugins']['has'](_0x5850fd))&&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.'),_0x266423['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 _0x1110b9{['execute'](_0x48f96b){const {model:_0x1b5fa3}=this['editor'];let _0x16983c;switch(typeof _0x48f96b){case'string':_0x16983c=_0x48f96b;break;case'function':_0x16983c=_0x48f96b();}'string'==typeof _0x16983c&&_0x1b5fa3['change'](()=>{const _0x59c01c=this['editor']['data']['htmlProcessor']['toView'](_0x16983c),_0x39c007=this['editor']['data']['toModel'](_0x59c01c);_0x1b5fa3['insertContent'](_0x39c007);});}}class TemplateEditing extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8b6028}=this;_0x8b6028['commands']['add']('insertTemplate',new TemplateCommand(_0x8b6028)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5acd11=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d3a01;for(const _0x28efb5 in _0x5acd11){const _0x98c6d7=_0x28efb5,_0x3bc26f=_0x5acd11[_0x98c6d7];if('templateLicenseKeyValid'==_0x3bc26f||'templateLicenseKeyInvalid'==_0x3bc26f||'templateLicenseKeyExpired'==_0x3bc26f||'templateLicenseKeyDomainLimit'==_0x3bc26f||'templateLicenseKeyNotAllowed'==_0x3bc26f||'templateLicenseKeyEvaluationLimit'==_0x3bc26f||'templateLicenseKeyUsageLimit'==_0x3bc26f){delete _0x5acd11[_0x98c6d7],_0x5d3a01=_0x3bc26f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x5d3a01&&_0x5acd11['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x5d3a01&&_0x5acd11['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x5d3a01&&_0x5acd11['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x5d3a01&&_0x5acd11['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x5d3a01&&_0x5acd11['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x5d3a01&&_0x5acd11['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0xb67f93{['filter'](_0x2d13f9){if(!_0x2d13f9)return this['_resetFiltering']();const _0x4484c3=new Map(),_0x2df582=this['items']['map'](_0x3ad390=>{const _0x1a10b9=_0x3ad390['buttonView']['isMatching'](_0x2d13f9);return _0x3ad390['isVisible']=!!_0x1a10b9,_0x3ad390['buttonView']['highlightText'](_0x1a10b9?_0x2d13f9:null),_0x1a10b9&&_0x4484c3['set'](_0x3ad390,_0x1a10b9),_0x3ad390;})['sort'](SL)['sort'](function(_0x137501){return function(_0x496630,_0x3ec0ea){const _0x1e108a=_0x137501['get'](_0x496630),_0x28665a=_0x137501['get'](_0x3ec0ea);return _0x1e108a&&!_0x28665a?-0x1:_0x28665a&&!_0x1e108a?0x1:_0x1e108a||_0x28665a?_0x1e108a['title']&&!_0x28665a['title']?-0x1:!_0x1e108a['title']&&_0x28665a['title']?0x1:0x0:0x0;};}(_0x4484c3));return this['items']['clear'](),this['items']['addMany'](_0x2df582),{'resultsCount':_0x4484c3['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x4c2adc=this['items']['map'](_0x4fb85d=>_0x4fb85d)['sort'](SL);return _0x4c2adc['forEach'](_0x3fa339=>{_0x3fa339['isVisible']=!0x0,_0x3fa339['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x4c2adc),{'resultsCount':_0x4c2adc['length'],'totalItemsCount':_0x4c2adc['length']};}}function SL(_0x154855,_0x56b2c7){return _0x154855['originalIndex']-_0x56b2c7['originalIndex'];}class TemplateListItemView extends _0x3c0063{['originalIndex'];['buttonView'];constructor(_0x368f3a,_0x118916){super(_0x368f3a),this['originalIndex']=_0x118916,this['buttonView']=null;}}class TemplateListButtonView extends _0x13bcd9{['templateDefinition'];['textPartView'];constructor(_0x21701e,_0x197a8c){super(_0x21701e),this['templateDefinition']=_0x197a8c,this['textPartView']=null;const {icon:_0x1c6ed8=_0x13bd6a}=_0x197a8c;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1c6ed8}),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'](_0x1cd135){const {title:_0x127e37,description:_0x525c43}=this['templateDefinition'],_0x34f9bf=!!_0x127e37['match'](_0x1cd135),_0x51baf0=!(!_0x525c43||!_0x525c43['match'](_0x1cd135));return _0x34f9bf||_0x51baf0?{'title':_0x34f9bf,'description':_0x51baf0}:null;}['highlightText'](_0xbf3e08){this['textPartView']['highlightText'](_0xbf3e08);}}class TextPartView extends _0x268b55{constructor(_0x3ad38,_0x65c852,_0x58ce02){super(_0x3ad38),this['title']=_0x65c852['title'],this['description']=_0x65c852['description'],this['titleView']=new _t(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x58ce02}});const _0x559d6d=[this['titleView']];this['description']&&(this['descriptionView']=new _t(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x559d6d['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x559d6d});}['highlightText'](_0x294660){this['titleView']['highlightText'](_0x294660),this['description']&&this['descriptionView']['highlightText'](_0x294660);}}function IL(_0x503f51,_0x3c951a,..._0xddfb2){const t=_0x503f51['t'];switch(_0x3c951a){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xddfb2);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',..._0xddfb2);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3c951a;}}class TemplateUI extends _0x4ac504{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x509098}=this,_0x3fd1ad=_0x509098['config']['get']('template.definitions')||[];_0x509098['ui']['componentFactory']['add']('insertTemplate',_0x584284=>{const _0x7aae92=st(_0x584284),_0x1e2b5d=this['_createTemplateListView'](_0x584284,_0x3fd1ad),_0x55a507=new At(_0x584284,{'filteredView':_0x1e2b5d,'queryView':{'label':IL(_0x584284,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x571913=>IL(_0x584284,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x571913),'secondary':IL(_0x584284,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':IL(_0x584284,'No\x20templates\x20available.')}}}}),_0xb63a6=_0x509098['commands']['get']('insertTemplate');return _0x55a507['on']('search',(_0x4d10f8,_0x30d747)=>{_0x30d747['query']&&_0x30d747['query']['length']&&_0x509098['ui']['ariaLiveAnnouncer']['announce'](IL(_0x584284,'%0\x20templates\x20found',_0x30d747['resultsCount']));}),_0x7aae92['bind']('isEnabled')['to'](_0xb63a6),_0x7aae92['panelView']['children']['add'](_0x55a507),_0x7aae92['buttonView']['set']({'label':IL(_0x584284,'Insert\x20template'),'icon':_0x49002d,'tooltip':!0x0}),_0x7aae92['on']('change:isOpen',(_0x20734b,_0x30e365,_0x46a521)=>{_0x46a521||_0x55a507['reset']();}),_0x7aae92;}),_0x509098['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1c500f=>{const _0x3282f8=_0x509098['commands']['get']('insertTemplate'),_0x31edbe=new rt(_0x1c500f);_0x31edbe['buttonView']['set']({'label':IL(_0x1c500f,'Template'),'icon':_0x49002d});const _0x4e50ce=new ct(_0x1c500f);if(!_0x3fd1ad||!_0x3fd1ad['length']){const _0xeb7bbc=new lt(_0x1c500f,_0x31edbe),_0x248cd6=new ot(_0x1c500f);_0x248cd6['set']({'label':IL(_0x1c500f,'No\x20templates\x20available.')}),_0x248cd6['delegate']('execute')['to'](_0x31edbe),_0x248cd6['on']('execute',()=>{_0x509098['editing']['view']['focus']();}),_0xeb7bbc['children']['add'](_0x248cd6),_0x4e50ce['items']['add'](_0xeb7bbc);}for(const _0x3523d0 of _0x3fd1ad){const _0x2f1d68=new lt(_0x1c500f,_0x31edbe),_0x45180f=new ot(_0x1c500f);_0x45180f['set']({'class':'ck-template-button','label':_0x3523d0['title'],'icon':_0x3523d0['icon']||_0x13bd6a}),_0x45180f['delegate']('execute')['to'](_0x31edbe),_0x45180f['on']('execute',()=>{_0x509098['execute']('insertTemplate',_0x3523d0['data']),_0x509098['editing']['view']['focus']();}),_0x2f1d68['children']['add'](_0x45180f),_0x4e50ce['items']['add'](_0x2f1d68);}return _0x31edbe['panelView']['children']['add'](_0x4e50ce),_0x31edbe['bind']('isEnabled')['to'](_0x3282f8,'isEnabled'),_0x31edbe;});}['afterInit'](){!async function(_0x270d7a){const _0x46eab5=_0x237b01([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]),_0x4a1694=0x6b0f5e6f,_0x4d40b3=0x6b08d407^_0x4a1694,_0x46099c=window[_0x237b01([0x44,0x61,0x74,0x65])][_0x237b01([0x6e,0x6f,0x77])](),_0x31370d=_0x270d7a[_0x237b01([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c3c48=new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b32b4=>{_0x31370d[_0x237b01([0x6f,0x6e,0x63,0x65])](_0x237b01([0x72,0x65,0x61,0x64,0x79]),_0x5b32b4);}),_0x3057ea={[_0x237b01([0x6b,0x74,0x79])]:_0x237b01([0x45,0x43]),[_0x237b01([0x75,0x73,0x65])]:_0x237b01([0x73,0x69,0x67]),[_0x237b01([0x63,0x72,0x76])]:_0x237b01([0x50,0x2d,0x32,0x35,0x36]),[_0x237b01([0x78])]:_0x237b01([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]),[_0x237b01([0x79])]:_0x237b01([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]),[_0x237b01([0x61,0x6c,0x67])]:_0x237b01([0x45,0x53,0x32,0x35,0x36])},_0x154922=_0x31370d[_0x237b01([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x237b01([0x67,0x65,0x74])](_0x237b01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x524d5d(){let _0x24f70a,_0x558d1b=null,_0x413c8c=null;try{if(_0x154922==_0x237b01([0x47,0x50,0x4c]))return _0x237b01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24f70a=_0x3d8dd8(),!_0x24f70a)return _0x237b01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24f70a[_0x237b01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x413c8c=_0x23e0dc(_0x24f70a[_0x237b01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24f70a[_0x237b01([0x6a,0x74,0x69])])),await _0x5d0382()?_0x3f6b55()?_0x31adc1()?_0x237b01([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e0d28()?(_0x24f70a[_0x237b01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x237b01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x558d1b=_0x472902(_0x237b01([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc27f56()):_0x237b01([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x237b01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x237b01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x237b01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31adc1(){const _0x419f7d=[_0x237b01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x237b01([0x74,0x72,0x69,0x61,0x6c])][_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24f70a[_0x237b01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46099c/0x3e8:0xe10*_0x4d40b3;return _0x24f70a[_0x237b01([0x65,0x78,0x70])]<_0x419f7d;}function _0x3f6b55(){const _0x2fb5b6=_0x24f70a[_0x237b01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2fb5b6&&(!!_0x2fb5b6[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x2a]))||(!!_0x2fb5b6[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x54,0x50,0x4c]))||(!!_0x2fb5b6[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x50,0x50]))||(!(!_0x2fb5b6[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x44,0x52,0x55,0x50]))||!_0x56fb78())||!(!_0x2fb5b6[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5adce7())))));}function _0x4e0d28(){const _0x3522fb=_0x24f70a[_0x237b01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3522fb||0x0==_0x3522fb[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9d09aa}=new URL(window[_0x237b01([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3522fb[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d09aa))return!0x0;const _0x1abb25=_0x9d09aa[_0x237b01([0x73,0x70,0x6c,0x69,0x74])](_0x237b01([0x2e]));return _0x3522fb[_0x237b01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23a6cc=>_0x23a6cc[_0x237b01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237b01([0x2a])))[_0x237b01([0x6d,0x61,0x70])](_0x57b617=>_0x57b617[_0x237b01([0x73,0x70,0x6c,0x69,0x74])](_0x237b01([0x2e])))[_0x237b01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14dff8=>_0x14dff8[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1abb25[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x237b01([0x6d,0x61,0x70])](_0x567784=>Array(_0x1abb25[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x567784[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x237b01([0x66,0x69,0x6c,0x6c])](_0x567784[0x0]===_0x237b01([0x2a])?_0x237b01([0x2a]):'')[_0x237b01([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x567784))[_0x237b01([0x73,0x6f,0x6d,0x65])](_0x20348f=>_0x1abb25[_0x237b01([0x65,0x76,0x65,0x72,0x79])]((_0x23cd07,_0xc011f3)=>_0x20348f[_0xc011f3]===_0x23cd07||_0x20348f[_0xc011f3]===_0x237b01([0x2a])));}function _0xc27f56(){return _0x558d1b&&_0x413c8c?new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ac310,_0x2d3e44)=>{_0x558d1b[_0x237b01([0x74,0x68,0x65,0x6e])](_0x5ac310,_0x2d3e44),_0x413c8c[_0x237b01([0x74,0x68,0x65,0x6e])](_0x2a3110=>{_0x2a3110!=_0x237b01([0x56,0x61,0x6c,0x69,0x64])&&_0x5ac310(_0x2a3110);},_0x2d3e44);}):_0x558d1b||_0x413c8c||_0x237b01([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23e0dc(_0x6815a3,_0x5194ee){return new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25bd02=>{if(_0x5171b7())return _0x25bd02(_0x237b01([0x56,0x61,0x6c,0x69,0x64]));_0x231cbb(),_0x31370d[_0x237b01([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x237b01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x536531=!0x1;const _0x79293=_0x288d30();function _0x4aba6e(_0x75b16c){return!!_0x75b16c&&(typeof _0x75b16c===_0x237b01([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x75b16c===_0x237b01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x75b16c[_0x237b01([0x74,0x68,0x65,0x6e])]===_0x237b01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x75b16c[_0x237b01([0x63,0x61,0x74,0x63,0x68])]===_0x237b01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20f9fe(_0x555b8f){_0x141c5a(_0x555b8f)[_0x237b01([0x74,0x68,0x65,0x6e])](_0x3efe3a=>{if(!_0x3efe3a||_0x3efe3a[_0x237b01([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x237b01([0x6f,0x6b]))return _0x237b01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x123aa4(_0x3cffa1(_0x79293+_0x5194ee))!=_0x3efe3a[_0x237b01([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x237b01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x237b01([0x56,0x61,0x6c,0x69,0x64]);})[_0x237b01([0x74,0x68,0x65,0x6e])](_0x47fe14=>(_0x564db7(),_0x47fe14),()=>{const _0x451974=_0x2ec1e3();return null==_0x451974?(_0x564db7(),_0x237b01([0x56,0x61,0x6c,0x69,0x64])):_0x237b01(_0x46099c-_0x451974>(0x4f03da6f^_0x4a1694)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x237b01([0x74,0x68,0x65,0x6e])](_0x25bd02)[_0x237b01([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25bd02(_0x237b01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x484a13=0x6b39b0ef^_0x4a1694;function _0x564db7(){const _0x3d0ee6=_0x237b01([0x6c,0x6c,0x63,0x74,0x2d])+_0x123aa4(_0x3cffa1(_0x6815a3)),_0x409343=_0x375221(_0x123aa4(window[_0x237b01([0x4d,0x61,0x74,0x68])][_0x237b01([0x63,0x65,0x69,0x6c])](_0x46099c/_0x484a13)));window[_0x237b01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237b01([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d0ee6,_0x409343);}function _0x2ec1e3(){const _0x17dbd6=_0x237b01([0x6c,0x6c,0x63,0x74,0x2d])+_0x123aa4(_0x3cffa1(_0x6815a3)),_0x5d0c=window[_0x237b01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237b01([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17dbd6);return _0x5d0c?window[_0x237b01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x375221(_0x5d0c),0x10)*_0x484a13:null;}function _0x141c5a(_0x368779){return new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c561c,_0x1dd397)=>{_0x368779[_0x237b01([0x74,0x68,0x65,0x6e])](_0x1c561c,_0x1dd397),window[_0x237b01([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1dd397,0x6b0e8aaf^_0x4a1694);});}}_0x31370d[_0x237b01([0x6f,0x6e])](_0x237b01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5868b5,_0x5d7ed6)=>{if(_0x5d7ed6[0x0]!=_0x6815a3)return _0x25bd02(_0x237b01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d7ed6[0x1]={..._0x5d7ed6[0x1],[_0x237b01([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x79293};},{[_0x237b01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237b01([0x68,0x69,0x67,0x68])}),_0x31370d[_0x237b01([0x6f,0x6e])](_0x237b01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c4f5=>{_0x4aba6e(_0x40c4f5[_0x237b01([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x536531=!0x0,_0x20f9fe(_0x40c4f5[_0x237b01([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x237b01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237b01([0x6c,0x6f,0x77])}),_0x5c3c48[_0x237b01([0x74,0x68,0x65,0x6e])](()=>{_0x536531||_0x25bd02(_0x237b01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5171b7(){return _0x31370d[_0x237b01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237b01([0x76,0x69,0x65,0x77])][_0x237b01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x237b01([0x61,0x75,0x74,0x6f]);}function _0x231cbb(){_0x31370d[_0x237b01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237b01([0x76,0x69,0x65,0x77])][_0x237b01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x237b01([0x61,0x75,0x74,0x6f]);}}function _0x472902(_0x5937f8){const _0x4922c3=[new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15637=>setTimeout(_0x15637,0x6b0660a3^_0x4a1694)),_0x5c3c48[_0x237b01([0x74,0x68,0x65,0x6e])](()=>new window[(_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2009fd=>{let _0x6eec3a=0x0;_0x31370d[_0x237b01([0x6d,0x6f,0x64,0x65,0x6c])][_0x237b01([0x6f,0x6e])](_0x237b01([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x127352,_0x4ace1a)=>{_0x4ace1a[0x0][_0x237b01([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6eec3a++,_0x6eec3a==(0x6b0f5b87^_0x4a1694)&&(_0x2009fd(),_0x127352[_0x237b01([0x6f,0x66,0x66])]());});}))];return window[_0x237b01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x237b01([0x72,0x61,0x63,0x65])](_0x4922c3)[_0x237b01([0x74,0x68,0x65,0x6e])](()=>_0x5937f8);}async function _0x46eb34(){await _0x5c3c48,_0x31370d[_0x237b01([0x6d,0x6f,0x64,0x65,0x6c])][_0x237b01([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50e8ba,_0x31370d[_0x237b01([0x6d,0x6f,0x64,0x65,0x6c])][_0x237b01([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50e8ba,_0x31370d[_0x237b01([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x237b01([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56fb78(){return window[_0x237b01([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5adce7(){return window[_0x237b01([0x67,0x6c,0x6f,0x62])]&&window[_0x237b01([0x67,0x6c,0x6f,0x62])][_0x237b01([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5b8e52(_0x11ec19){const _0x173102=_0xbc8517();_0x31370d[_0x173102]=_0x237b01([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11ec19,_0x11ec19!=_0x237b01([0x56,0x61,0x6c,0x69,0x64])&&_0x46eb34();}function _0xbc8517(){const _0x25f7be=window[_0x237b01([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x237b01([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x237b01([0x6e,0x6f,0x77])]())[_0x237b01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x237b01([0x2e]),'');let _0x3e583d=_0x237b01([0x67]);for(let _0x1e1175=0x0;_0x1e1175<_0x25f7be[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e1175+=0x2){let _0x131593=window[_0x237b01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f7be[_0x237b01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e1175,_0x1e1175+0x2));_0x131593>=_0x46eab5[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x131593-=_0x46eab5[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e583d+=_0x46eab5[_0x131593];}return _0x3e583d;}function _0x3d8dd8(){const _0x4d15f3=_0x154922[_0x237b01([0x73,0x70,0x6c,0x69,0x74])](_0x237b01([0x2e]));if(0x3!=_0x4d15f3[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d4941(_0x4d15f3[0x1]);function _0x3d4941(_0x5934e1){const _0x1969cf=_0x59af21(_0x5934e1);return _0x1969cf&&_0x5dbd83()?_0x1969cf:null;function _0x5dbd83(){const _0x82fe6d=_0x1969cf[_0x237b01([0x6a,0x74,0x69])],_0x3cef90=window[_0x237b01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82fe6d[_0x237b01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x82fe6d[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x602ba6={..._0x1969cf,[_0x237b01([0x6a,0x74,0x69])]:_0x82fe6d[_0x237b01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x82fe6d[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x602ba6[_0x237b01([0x76,0x63])],_0x3cffa1(_0x602ba6)==_0x3cef90;}}}async function _0x5d0382(){let _0x474c5d=!0x0;try{const _0x3b49e7=_0x154922[_0x237b01([0x73,0x70,0x6c,0x69,0x74])](_0x237b01([0x2e])),[_0x161c19,_0x46fce5,_0x1ce4a5]=_0x3b49e7;return _0x380587(_0x161c19),await _0x323b3d(_0x161c19,_0x46fce5,_0x1ce4a5),_0x474c5d;}catch{return!0x1;}function _0x380587(_0x42d1f8){const _0x4b54c8=_0x59af21(_0x42d1f8);_0x4b54c8&&_0x4b54c8[_0x237b01([0x61,0x6c,0x67])]==_0x237b01([0x45,0x53,0x32,0x35,0x36])||(_0x474c5d=!0x1);}async function _0x323b3d(_0xfd3598,_0x519bec,_0x43bdae){const _0x23b82b=window[_0x237b01([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x237b01([0x66,0x72,0x6f,0x6d])](_0x558a5d(_0x43bdae),_0x5a23c7=>_0x5a23c7[_0x237b01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ce971=new window[(_0x237b01([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x237b01([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfd3598+_0x237b01([0x2e])+_0x519bec),_0x599dd0=window[_0x237b01([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x237b01([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x599dd0)return;const _0x44818a=await _0x599dd0[_0x237b01([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x237b01([0x6a,0x77,0x6b]),_0x3057ea,{[_0x237b01([0x6e,0x61,0x6d,0x65])]:_0x237b01([0x45,0x43,0x44,0x53,0x41]),[_0x237b01([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x237b01([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x237b01([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x599dd0[_0x237b01([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x237b01([0x6e,0x61,0x6d,0x65])]:_0x237b01([0x45,0x43,0x44,0x53,0x41]),[_0x237b01([0x68,0x61,0x73,0x68])]:{[_0x237b01([0x6e,0x61,0x6d,0x65])]:_0x237b01([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44818a,_0x23b82b,_0x2ce971)||(_0x474c5d=!0x1);}}function _0x59af21(_0x2101fd){return _0x2101fd[_0x237b01([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x237b01([0x65,0x79]))?JSON[_0x237b01([0x70,0x61,0x72,0x73,0x65])](_0x558a5d(_0x2101fd)):null;}function _0x558a5d(_0x4710d1){return window[_0x237b01([0x61,0x74,0x6f,0x62])](_0x4710d1[_0x237b01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x237b01([0x2b]))[_0x237b01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x237b01([0x2f])));}function _0x3cffa1(_0x47c349){let _0x305e28=0x1505;function _0x40d620(_0x5a0388){for(let _0x5e1a63=0x0;_0x5e1a63<_0x5a0388[_0x237b01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1a63++){const _0x4633d6=_0x5a0388[_0x237b01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1a63);_0x305e28=(_0x305e28<<0x5)+_0x305e28+_0x4633d6,_0x305e28&=_0x305e28;}}function _0x4af4eb(_0x3b9e1a){Array[_0x237b01([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b9e1a)?_0x3b9e1a[_0x237b01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4af4eb):_0x3b9e1a&&typeof _0x3b9e1a==_0x237b01([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x237b01([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b9e1a)[_0x237b01([0x73,0x6f,0x72,0x74])]()[_0x237b01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x392ca2,_0x48552f])=>{_0x40d620(_0x392ca2),_0x4af4eb(_0x48552f);}):_0x40d620(window[_0x237b01([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b9e1a));}return _0x4af4eb(_0x47c349),_0x305e28>>>0x0;}function _0x123aa4(_0x157297){return _0x157297[_0x237b01([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x237b01([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x237b01([0x30]));}function _0x375221(_0x453536){return _0x453536[_0x237b01([0x73,0x70,0x6c,0x69,0x74])]('')[_0x237b01([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x237b01([0x6a,0x6f,0x69,0x6e])]('');}function _0x50e8ba(){}function _0x237b01(_0x1b15fb){return _0x1b15fb['map'](_0x18e1ec=>String['fromCharCode'](_0x18e1ec))['join']('');}_0x5b8e52(await _0x524d5d());}(this);}['_createTemplateListView'](_0x3ca722,_0x40d289){const {editor:_0x4adce9}=this,_0x4a5e69=new TemplateListView(_0x3ca722);return _0x4a5e69['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4a5e69['items']['addMany'](_0x40d289['map']((_0x16b590,_0x5f119a)=>{const _0x3f5631=new TemplateListItemView(_0x3ca722,_0x5f119a),_0x1a76ad=new TemplateListButtonView(_0x3ca722,_0x16b590);return _0x3f5631['buttonView']=_0x1a76ad,_0x3f5631['children']['add'](_0x1a76ad),_0x3f5631['buttonView']['on']('execute',_0xeeb84a=>{_0x4adce9['execute']('insertTemplate',_0xeeb84a['source']['templateDefinition']['data']),_0x4adce9['editing']['view']['focus']();}),_0x3f5631;})),_0x4a5e69;}}class Template extends _0x4ac504{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class TrackChangesCommand extends _0x1110b9{['_enabledCommands'];constructor(_0x4bd663,_0x3284e5){super(_0x4bd663),this['_enabledCommands']=_0x3284e5,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 _0x2a689f of this['editor']['commands']['commands']())_0x2a689f['affectsData']&&!this['_enabledCommands']['has'](_0x2a689f)&&_0x2a689f['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x57865a of this['editor']['commands']['commands']())_0x57865a['affectsData']&&!this['_enabledCommands']['has'](_0x57865a)&&_0x57865a['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x1110b9{['_suggestions'];constructor(_0x1180fc,_0x40fe63){super(_0x1180fc),this['_suggestions']=_0x40fe63,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x56e6c5){const _0x4cf6bf=this['_suggestions']['get'](_0x56e6c5);if(!_0x4cf6bf)throw new _0x1976e8('track-changes-accept-suggestion-not-found',this);const _0x1cd589=_0x4cf6bf['getRanges']();this['editor']['model']['canEditAt'](_0x1cd589)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x4cf6bf);}}class DiscardSuggestionCommand extends _0x1110b9{['_suggestions'];constructor(_0x36bcc4,_0x8d439a){super(_0x36bcc4),this['_suggestions']=_0x8d439a,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x4c242f){const _0x2c92b0=this['_suggestions']['get'](_0x4c242f);if(!_0x2c92b0)throw new _0x1976e8('track-changes-discard-suggestion-not-found',this);const _0x5ecb22=_0x2c92b0['getRanges']();this['editor']['model']['canEditAt'](_0x5ecb22)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x2c92b0);}}function CL(_0x5c5490,_0x9d5769){let _0x3c385f='';return _0x3c385f+=_0x5c5490['split']('*')['map']((_0x440970,_0x4530ff)=>_0x4530ff%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+kL(_0x440970)+'</span>':kL(_0x440970))['join'](''),_0x9d5769&&(_0x3c385f+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x9d5769['value']+'\x22\x20title=\x22'+_0x9d5769['title']+'\x22></span>'),_0x3c385f;}function kL(_0x240aaa){const _0x5368ca=document['createElement']('span');return _0x5368ca['innerText']=_0x240aaa,_0x5368ca['innerHTML'];}function xL(_0x59e141){return _0x59e141['sort']((_0x5b0af7,_0x92c9a7)=>'attribute'===_0x5b0af7['type']&&'attribute'!==_0x92c9a7['type']?-0x1:'attribute'!==_0x5b0af7['type']&&'attribute'===_0x92c9a7['type']?0x1:'deletion'==_0x5b0af7['type']&&'deletion'!=_0x92c9a7['type']?-0x1:'deletion'!=_0x5b0af7['type']&&'deletion'==_0x92c9a7['type']?0x1:0x0);}function RL(_0x4dddd3,_0x1c8f0f){let _0x2eb37e,_0xb7fa4d=0x0;const _0x4e19c5=[],_0x106bae=_0x1c8f0f['schema'];for(;_0xb7fa4d<_0x4dddd3['length'];){const _0x144f78=_0x4dddd3[_0xb7fa4d],_0x12ab07=_0x4dddd3[_0xb7fa4d+0x1];_0x2eb37e||(_0x2eb37e=_0x1c8f0f['createPositionBefore'](_0x144f78)),PL(_0x1c8f0f,_0x144f78,_0x12ab07)||(_0x4e19c5['push'](_0x1c8f0f['createRange'](_0x2eb37e,_0x106bae['isObject'](_0x144f78)?_0x1c8f0f['createPositionAfter'](_0x144f78):_0x1c8f0f['createPositionAt'](_0x144f78,'end'))),_0x2eb37e=null),_0xb7fa4d++;}return _0x4e19c5;}function PL(_0x571e0a,_0x37faff,_0x234165){if(!_0x234165)return!0x1;const _0xf2cde8=_0x571e0a['createPositionAfter'](_0x37faff),_0x2bc706=_0x571e0a['createPositionBefore'](_0x234165);return _0xf2cde8['isTouching'](_0x2bc706);}function ML(_0x2607b7,_0x509add,_0x45684f){for(;_0x45684f['length'];){const _0x80420b=_0x45684f['splice'](0x0,0x64);_0x2607b7['change'](()=>{for(const _0x14b7d8 of _0x80420b)_0x14b7d8['isInContent']&&_0x509add['execute'](_0x14b7d8['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x1110b9{['_command'];['_suggestions'];constructor(_0x232519,_0xd149b7,_0x5b6fe1){super(_0x232519),this['_command']=_0xd149b7,this['_suggestions']=_0x5b6fe1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x247966=Array['from'](this['_suggestions']['values']())['some'](_0xece663=>_0xece663['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x247966;}['execute'](){const _0x59143d=xL(Array['from'](this['_suggestions']['values']()));for(const _0x97425d of _0x59143d){const _0x29ff66=_0x97425d['getRanges']();if(!this['editor']['model']['canEditAt'](_0x29ff66))return;}ML(this['editor']['model'],this['_command'],_0x59143d);}}class ExecuteOnSelectedSuggestionsCommand extends _0x1110b9{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x1c05f7,_0x166287,_0x232d61){super(_0x1c05f7),this['_command']=_0x166287,this['_suggestions']=_0x232d61,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x1904bb=this['editor']['model']['document']['selection'],_0x240dd6=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x2b61c8,_0x598a11){const _0x460624=Array['from'](_0x2b61c8['getRanges']()),_0x31834a=new Set();for(const _0x3ccd52 of _0x598a11)if(_0x3ccd52['isInContent']){for(const _0x4a790c of _0x460624)for(const _0x1f50e8 of _0x3ccd52['getRanges']())(_0x4a790c['isIntersecting'](_0x1f50e8)||_0x2b61c8['isCollapsed']&&!_0x3ccd52['isMultiRange']&&_0x3ccd52['next']&&_0x1f50e8['end']['isTouching'](_0x4a790c['start']))&&_0x31834a['add'](_0x3ccd52);}return _0x31834a;}(_0x1904bb,_0x240dd6),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x7cd138=xL(Array['from'](this['_selectedSuggestions']));for(const _0xbddafe of _0x7cd138){const _0x270242=_0xbddafe['getRanges']();if(!this['editor']['model']['canEditAt'](_0x270242))return;}ML(this['editor']['model'],this['_command'],_0x7cd138);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x266f1a(){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x261429,_0x34ecd3){super(),this['id']=_0x34ecd3['id'],this['type']=_0x34ecd3['type'],this['subType']=_0x34ecd3['subType']||null,this['author']=_0x34ecd3['author'],this['creator']=_0x34ecd3['creator']||_0x34ecd3['author'],this['isExternal']=Boolean(_0x34ecd3['attributes']&&_0x34ecd3['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x34ecd3['originalSuggestionId']||null,this['_model']=_0x261429,this['_onAccept']=_0x34ecd3['onAccept'],this['_onDiscard']=_0x34ecd3['onDiscard'],this['_onAttributesChange']=_0x34ecd3['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x34ecd3['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 _0x2020e2=this;for(;_0x2020e2['previous'];)_0x2020e2=_0x2020e2['previous'];return _0x2020e2;}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'](_0x2808d4){this['_markerNames']['add'](_0x2808d4);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x582a28=>this['_model']['markers']['get'](_0x582a28))['filter'](_0x155677=>_0x155677);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x356ddd=>{for(const _0x55364a of this['getMarkers']())_0x356ddd['removeMarker'](_0x55364a);}),this['_markerNames']['clear']();}['removeMarker'](_0x4d02a6){this['_model']['change'](_0x403f5f=>{_0x403f5f['removeMarker'](_0x4d02a6);}),this['_markerNames']['delete'](_0x4d02a6);}['addRange'](_0x3674ed){const _0xb5f6b8='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0xb5f6b8),this['_model']['change'](_0x351669=>{_0x351669['addMarker'](_0xb5f6b8,{'range':_0x3674ed,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x5d4463){for(const _0xb27d7a of this['getRanges']())if(_0xb27d7a['isIntersecting'](_0x5d4463))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0xc05425=>_0xc05425['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x38532f,_0x2a2623)=>[..._0x38532f,..._0x2a2623['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x1d652a=this['getRanges']();if(0x1!=_0x1d652a['length'])return null;const _0x17d896=_0x1d652a[0x0],_0x10f533=_0x17d896['start']['nodeAfter'],_0x503279=_0x17d896['end']['nodeBefore'];return _0x10f533 instanceof _0x49cf73?_0x10f533!=_0x503279?null:_0x10f533: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 _0x1b7fb0=[];let _0x1656f1=this['head'];for(;_0x1656f1;)_0x1b7fb0['push'](_0x1656f1),_0x1656f1=_0x1656f1['next'];return _0x1b7fb0;}['setAttribute'](_0x330293,_0x9218e4){const _0x376db0=Cr(this['attributes']);Qr(_0x376db0,_0x330293,_0x9218e4),Zr(_0x376db0,this['attributes'])||(this['attributes']=_0x376db0,this['_onAttributesChange'](_0x376db0));}['removeAttribute'](_0xe2680a){const _0x421e35=Cr(this['attributes']);Nr(_0x421e35,_0xe2680a),Zr(_0x421e35,this['attributes'])||(this['attributes']=_0x421e35,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 _0x288d30()['substr'](0x1,0x5);}}function NL(_0x480a0b,_0x504ed0,_0x32c781){const _0xd344b2=_0x480a0b['t'],t=_0x480a0b['t'];switch(_0x504ed0){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',_0x32c781);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x32c781);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x32c781);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x32c781);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x32c781);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',_0x32c781);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x32c781);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',_0x32c781);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x32c781);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x32c781);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x32c781);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x32c781);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x32c781);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x32c781);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x32c781);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x32c781);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x32c781);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x32c781);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x32c781);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x32c781);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x32c781);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x32c781);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x32c781);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x32c781);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x32c781);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'},_0x32c781);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x32c781);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x32c781);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x32c781);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x32c781);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x32c781);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x32c781);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x32c781);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'},_0x32c781);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x32c781);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x32c781);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x32c781);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x32c781);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'},_0x32c781);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x32c781);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'},_0x32c781);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'},_0x32c781);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x32c781);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'},_0x32c781);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x32c781);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'},_0x32c781);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x32c781);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x32c781);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x32c781);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x32c781);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x32c781);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'},_0x32c781);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x32c781);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 _0xd344b2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x32c781);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xd344b2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x32c781);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x32c781);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'},_0x32c781);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'},_0x32c781);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'},_0x32c781);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x504ed0;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x4fdb4c,_0x1c29dc){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x4fdb4c,this['_locale']=_0x1c29dc;}['getDescriptions'](_0x391075){const _0x22a0ed=[],_0x222ca0=new Set(),_0x592753=new Set();for(let _0x28ac28=0x0;_0x28ac28<_0x391075['length'];_0x28ac28++){const _0x66b39=_0x391075[_0x28ac28];if(!_0x66b39['isInContent'])continue;const _0x488ab7=this['_handleCustomCallbackDescription'](_0x66b39);if(_0x488ab7){if(null!=_0x66b39['subType']){if(_0x222ca0['has'](_0x66b39['subType']))continue;_0x222ca0['add'](_0x66b39['subType']);}_0x22a0ed['push'](_0x488ab7);}else{if('attribute'==_0x66b39['type']){const _0xdd0472=_0x66b39['data']['key'];if(_0x592753['has'](_0xdd0472))continue;_0x592753['add'](_0x66b39['data']['key']),_0xdd0472==YL?this['_handleRenameSuggestionDescription'](_0x22a0ed,_0x66b39):this['_handleAttributeSuggestionDescription'](_0x22a0ed,_0x66b39);continue;}'insertion'!=_0x66b39['type']&&'deletion'!=_0x66b39['type']||this['_handleInsertRemoveSuggestionDescription'](_0x22a0ed,_0x66b39,_0x391075[_0x28ac28+0x1]);}}return this['_resolveDescriptionItems'](_0x22a0ed);}['registerDescriptionCallback'](_0x2cab30){this['_customCallbacks']['push'](_0x2cab30);}['registerElementLabel'](_0x2caad8,_0x195725,_0x1eb956=_0x31e080['normal']){'function'==typeof _0x2caad8?_0x4ac94a(this['_itemLabelsCallbacks'],{'matchingCallback':_0x2caad8,'label':_0x195725,'priority':_0x1eb956}):this['_itemLabels']['set'](_0x2caad8,_0x195725);}['registerAttributeLabel'](_0x161924,_0xb36fbc){this['_attributeLabels']['set'](_0x161924,_0xb36fbc);}['getItemLabel'](_0x14d449,_0x40fe8b=0x1){let _0x31c2da;for(const _0x566e12 of this['_itemLabelsCallbacks'])if(_0x566e12['matchingCallback'](_0x14d449)){_0x31c2da=_0x566e12['label'];break;}return _0x31c2da||(_0x31c2da=this['_itemLabels']['get'](_0x14d449['name'])),_0x31c2da?_0x31c2da(_0x40fe8b):0x1!==_0x40fe8b?_0x40fe8b+'\x20'+_0x14d449['name']+'s':''+_0x14d449['name'];}['_addDescriptionItems'](_0x5bcb31,_0x259f12){const _0x37a4db=_0x259f12['getFirstRange']()['getWalker'](),_0x5d805f='insertion'==_0x259f12['type']?'add':'remove';for(const _0x5d1dbb of _0x37a4db){const _0x3d89f0=_0x5d1dbb['item'],_0x2becc2=_0x5bcb31[_0x5bcb31['length']-0x1];if(_0x3d89f0['is']('$textProxy'))_0x2becc2&&_0x2becc2['type']['indexOf']('Container')>-0x1&&_0x5bcb31['pop'](),_0x2becc2&&'text'==_0x2becc2['type']?_0x2becc2[_0x5d805f]+=_0x3d89f0['data']:_0x5bcb31['push']({'type':'text','add':'add'==_0x5d805f?_0x3d89f0['data']:'','remove':'remove'==_0x5d805f?_0x3d89f0['data']:''});else{if(this['_schema']['isObject'](_0x3d89f0)){const _0x8dd08e=_0x3d89f0;if(_0x2becc2&&_0x2becc2['type']['indexOf']('Container')>-0x1&&_0x5bcb31['pop'](),'elementEnd'==_0x5d1dbb['type'])continue;_0x2becc2&&_0x2becc2['type']==_0x5d805f+'Object'&&_0x2becc2['element']['name']==_0x8dd08e['name']?_0x2becc2['quantity']++:_0x5bcb31['push']({'type':_0x5d805f+'Object','element':_0x8dd08e,'quantity':0x1}),_0x37a4db['skip'](_0x53be3c=>!('elementEnd'==_0x53be3c['type']&&_0x53be3c['item']==_0x3d89f0));}else{if(this['_schema']['checkChild'](_0x3d89f0,'$text')||_0x3d89f0['is']('element','softBreak')){const _0xb78916=_0x3d89f0;if('add'==_0x5d805f&&'elementStart'==_0x5d1dbb['type']||'remove'==_0x5d805f&&'elementEnd'==_0x5d1dbb['type'])continue;if(_0x2becc2&&-0x1==_0x2becc2['type']['indexOf']('Container')){'text'==_0x2becc2['type']&&(_0x2becc2[_0x5d805f]+='\x0a');continue;}let _0x461be3;if(_0x461be3='add'==_0x5d805f?_0xb78916['nextSibling']&&!this['_schema']['isObject'](_0xb78916['nextSibling'])?_0xb78916['nextSibling']:null:_0xb78916['previousSibling']&&!this['_schema']['isObject'](_0xb78916['previousSibling'])?_0xb78916['previousSibling']:null,_0xb78916['isEmpty']||_0x461be3&&_0x461be3['isEmpty']){const _0x198888=_0x461be3&&_0x461be3['isEmpty']?_0x461be3:_0xb78916;_0x2becc2&&_0x2becc2['type']==_0x5d805f+'EmptyContainer'&&_0x2becc2['element']['name']==_0x198888['name']?_0x2becc2['quantity']++:_0x5bcb31['push']({'type':_0x5d805f+'EmptyContainer','element':_0x198888,'quantity':0x1});}else _0x5bcb31['push']({'type':_0x5d805f+'Container','element':_0xb78916});}}}}}['_resolveDescriptionItems'](_0x5101e5){const _0x45aeab=this['_locale'],_0x434d91=[],_0x5bbdd5=[],_0x19e24c=[];for(const _0x4311ff of _0x5101e5)switch(_0x4311ff['type']){case'text':if(_0x4311ff['add']=_0x4311ff['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x4311ff['remove']=_0x4311ff['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x4311ff['add']&&''!=_0x4311ff['remove']){_0x434d91['push']({'type':'replace','content':NL(_0x45aeab,'REPLACE_TEXT',['\x22'+_0x4311ff['remove']+'\x22','\x22'+_0x4311ff['add']+'\x22'])});continue;}if(null!=_0x4311ff['add']['match'](/^ +$/)){_0x434d91['push']({'type':'insertion','content':NL(_0x45aeab,'*Insert:*\x20%0',NL(_0x45aeab,'ELEMENT_SPACE',_0x4311ff['add']['length']))});continue;}if(null!=_0x4311ff['remove']['match'](/^ +$/)){_0x434d91['push']({'type':'deletion','content':NL(_0x45aeab,'*Remove:*\x20%0',NL(_0x45aeab,'ELEMENT_SPACE',_0x4311ff['remove']['length']))});continue;}if(''!=_0x4311ff['add']){_0x434d91['push']({'type':'insertion','content':NL(_0x45aeab,'*Insert:*\x20%0','\x22'+_0x4311ff['add']+'\x22')});continue;}_0x434d91['push']({'type':'deletion','content':NL(_0x45aeab,'*Remove:*\x20%0','\x22'+_0x4311ff['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x434d91['push']({'type':'insertion','content':NL(_0x45aeab,'*Insert:*\x20%0',this['getItemLabel'](_0x4311ff['element'],_0x4311ff['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x434d91['push']({'type':'deletion','content':NL(_0x45aeab,'*Remove:*\x20%0',this['getItemLabel'](_0x4311ff['element'],_0x4311ff['quantity']))});continue;case'addContainer':_0x434d91['push']({'type':'insertion','content':NL(_0x45aeab,'*Split:*\x20%0',this['getItemLabel'](_0x4311ff['element'],_0x4311ff['quantity']))});continue;case'removeContainer':_0x434d91['push']({'type':'deletion','content':NL(_0x45aeab,'*Merge:*\x20%0',this['getItemLabel'](_0x4311ff['element'],_0x4311ff['quantity']))});continue;case'addFormat':_0x5bbdd5['push'](_0x4311ff['key']);continue;case'removeFormat':_0x19e24c['push'](_0x4311ff['key']);continue;default:_0x434d91['push'](_0x4311ff);}if(_0x5bbdd5['length']){const _0x291bd4=_0x5bbdd5['map'](_0x46e779=>this['_attributeLabels']['has'](_0x46e779)?this['_attributeLabels']['get'](_0x46e779):_0x46e779)['join'](',\x20');_0x434d91['push']({'type':'format','content':NL(this['_locale'],'*Set\x20format:*\x20%0',_0x291bd4)});}if(_0x19e24c['length']){const _0x49bd73=_0x19e24c['map'](_0x1753d6=>this['_attributeLabels']['has'](_0x1753d6)?this['_attributeLabels']['get'](_0x1753d6):_0x1753d6)['join'](',\x20');_0x434d91['push']({'type':'format','content':NL(this['_locale'],'*Remove\x20format:*\x20%0',_0x49bd73)});}return _0x434d91;}['_handleCustomCallbackDescription'](_0xe83cb9){for(const _0x2b9d65 of this['_customCallbacks']){const _0x3cdb2d=_0x2b9d65(_0xe83cb9);if(_0x3cdb2d&&'type'in _0x3cdb2d)return _0x3cdb2d;}}['_handleAttributeSuggestionDescription'](_0x24747a,_0xb5b123){const _0x484fc1=_0xb5b123['data'],_0x2b7b98=void 0x0===_0x484fc1['newValue']?'removeFormat':'addFormat';_0x24747a['push']({'type':_0x2b7b98,'key':_0x484fc1['key']});}['_handleRenameSuggestionDescription'](_0x4d58a3,_0x2dbd29){_0x4d58a3['push']({'type':'format','content':NL(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x2dbd29['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x327dc7,_0x28c844,_0x227077){if(this['_addDescriptionItems'](_0x327dc7,_0x28c844),_0x227077&&_0x227077['getFirstRange']()&&!_0x28c844['getFirstRange']()['end']['isEqual'](_0x227077['getFirstRange']()['start'])){const _0x2b92d7=_0x327dc7[_0x327dc7['length']-0x1],_0x390ce1='insertion'==_0x28c844['type']?'add':'remove';_0x2b92d7&&'text'==_0x2b92d7['type']&&(_0x2b92d7[_0x390ce1]+='\x0a');}}}class TrackChangesAIAssistant extends _0x4ac504{['afterInit'](){const _0x3c7828=this['editor'],_0x254a8b=_0x3c7828['plugins']['get']('TrackChangesEditing');_0x3c7828['commands']['get']('showAIAssistant')&&_0x254a8b['enableCommand']('showAIAssistant');}}class TrackChangesAI extends _0x4ac504{['afterInit'](){const _0x4d392e=this['editor'],_0x216f3a=_0x4d392e['plugins']['get']('TrackChangesEditing');_0x4d392e['commands']['get']('toggleAi')&&_0x216f3a['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x4ac504{['afterInit'](){const _0x4148f9=this['editor'],_0x3fc737=_0x4148f9['plugins']['get']('TrackChangesEditing');_0x4148f9['commands']['get']('aiQuickAction')&&_0x3fc737['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x4ac504{['afterInit'](){const _0x1188fd=this['editor'],_0x341d33=_0x1188fd['locale'];if(!_0x1188fd['plugins']['has']('AlignmentEditing'))return;const _0x2f83ff=_0x1188fd['plugins']['get']('TrackChangesEditing');_0x2f83ff['enableDefaultAttributesIntegration']('alignment'),_0x2f83ff['descriptionFactory']['registerAttributeLabel']('alignment',NL(_0x341d33,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x599300=this['editor'],_0x232130=_0x599300['locale'];_0x599300['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x577e1b=>{if('formatBlock'!=_0x577e1b['type'])return;const {data:_0x379bf6}=_0x577e1b;if(_0x379bf6&&'alignment'==_0x379bf6['commandName']){const _0x346f75=_0x379bf6['commandParams'][0x0]['value'];return{'type':'format','content':NL(_0x232130,'*Format:*\x20%0',function(_0x5ddf02){switch(_0x5ddf02){case'left':return NL(_0x232130,'FORMAT_ALIGN_TO_LEFT');case'right':return NL(_0x232130,'FORMAT_ALIGN_TO_RIGHT');case'center':return NL(_0x232130,'FORMAT_ALIGN_TO_CENTER');case'justify':return NL(_0x232130,'FORMAT_JUSTIFY_TEXT');}}(_0x346f75))};}});}}const LL=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x4ac504{['afterInit'](){const _0x4c48b1=this['editor'],_0x41528e=_0x4c48b1['plugins']['get']('TrackChangesEditing'),_0x14ab59=_0x4c48b1['locale'];for(const _0xa892f3 of LL){if(!_0x4c48b1['plugins']['has'](_0xa892f3))continue;const _0x223f45=_0xa892f3['slice'](0x0,-0x7)['toLowerCase'](),_0x117c96='FORMAT_'+_0x223f45['toUpperCase']();_0x41528e['enableDefaultAttributesIntegration'](_0x223f45),_0x41528e['descriptionFactory']['registerAttributeLabel'](_0x223f45,NL(_0x14ab59,_0x117c96));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x482498=this['editor'],_0x54eb59=_0x482498['locale'],_0x43b47e=_0x482498['plugins']['get']('TrackChangesEditing');function _0x35db9c(_0xa62ebf,_0x149117){_0x43b47e['descriptionFactory']['registerDescriptionCallback'](_0x4d9570=>{if('formatInline'!=_0x4d9570['type'])return;const {data:_0x3ccee3}=_0x4d9570;return _0x3ccee3&&_0x3ccee3['commandName']===_0xa62ebf?_0x3ccee3['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x54eb59,'*Format:*\x20%0',_0x149117)}:{'type':'format','content':NL(_0x54eb59,'*Remove\x20format:*\x20%0',_0x149117)}:void 0x0;});}_0x35db9c('bold',NL(_0x54eb59,'FORMAT_BOLD')),_0x35db9c('italic',NL(_0x54eb59,'FORMAT_ITALIC')),_0x35db9c('underline',NL(_0x54eb59,'FORMAT_UNDERLINE')),_0x35db9c('code',NL(_0x54eb59,'FORMAT_CODE')),_0x35db9c('strikethrough',NL(_0x54eb59,'FORMAT_STRIKETHROUGH')),_0x35db9c('subscript',NL(_0x54eb59,'FORMAT_SUBSCRIPT')),_0x35db9c('superscript',NL(_0x54eb59,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x4ac504{['afterInit'](){const _0x276e9c=this['editor'],_0xfa6c64=_0x276e9c['locale'];if(!_0x276e9c['plugins']['has']('BlockQuoteEditing'))return;const _0x28e29a=_0x276e9c['plugins']['get']('TrackChangesEditing'),_0x442199=this['editor']['commands']['get']('blockQuote');_0x28e29a['enableCommand']('blockQuote',(_0x3a13a5,_0x3d5472={})=>{const _0xa463fc=this['editor']['model']['document']['selection'],_0x224e06=_0x3d5472&&void 0x0!==_0x3d5472['forceValue']?_0x3d5472['forceValue']:!_0x442199['value'];let _0x4415ae=[];if(_0x224e06){const _0xd8552a=Array['from'](_0xa463fc['getSelectedBlocks']())['filter'](_0x224ce9=>DL(_0x224ce9)||function(_0x67532c,_0x5dbbe2){const _0x2ed814=_0x5dbbe2['checkChild'](_0x67532c['parent'],'blockQuote'),_0x2ec5ab=_0x5dbbe2['checkChild'](['$root','blockQuote'],_0x67532c);return _0x2ed814&&_0x2ec5ab;}(_0x224ce9,this['editor']['model']['schema']));_0x4415ae=RL(_0xd8552a,_0x276e9c['model']);}else{const _0x1639dc=Array['from'](_0xa463fc['getSelectedBlocks']())['filter'](_0x1058de=>DL(_0x1058de));_0x4415ae=RL(_0x1639dc,_0x276e9c['model']);}_0x276e9c['model']['change'](()=>{for(const _0x43dc80 of _0x4415ae)_0x28e29a['markBlockFormat'](_0x43dc80,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x224e06}]});});}),_0x28e29a['descriptionFactory']['registerDescriptionCallback'](_0x8dc472=>{const {data:_0xb0c81b}=_0x8dc472;if(_0xb0c81b&&'blockQuote'==_0xb0c81b['commandName']){const _0x229583=NL(_0xfa6c64,'ELEMENT_BLOCK_QUOTE');return _0xb0c81b['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0xfa6c64,'*Set\x20format:*\x20%0',_0x229583)}:{'type':'format','content':NL(_0xfa6c64,'*Remove\x20format:*\x20%0',_0x229583)};}});}}function DL(_0x4992d2){return'blockQuote'==_0x4992d2['parent']['name'];}class TrackChangesBookmark extends _0x4ac504{['afterInit'](){const _0x4c6865=this['editor'],_0x132d30=_0x4c6865['locale'],_0x1e82bf=_0x4c6865['plugins']['get']('TrackChangesEditing');_0x4c6865['plugins']['has']('BookmarkEditing')&&(_0x1e82bf['enableCommand']('insertBookmark'),_0x1e82bf['enableDefaultAttributesIntegration']('updateBookmark'),_0x1e82bf['descriptionFactory']['registerDescriptionCallback'](_0xd7449d=>{if('insertion'!=_0xd7449d['type']&&'deletion'!=_0xd7449d['type']&&'attribute'!=_0xd7449d['type'])return;const _0x1c166b=_0xd7449d['getContainedElement']();if(null==_0x1c166b)return;if(!_0x1c166b['is']('element','bookmark'))return;const _0x24fe4a=_0x1c166b['getAttribute']('bookmarkId');if('insertion'==_0xd7449d['type'])return{'type':'insertion','content':NL(_0x132d30,'*Insert:*\x20%0','\x22'+_0x24fe4a+'\x22\x20'+NL(_0x132d30,'ELEMENT_BOOKMARK'))};if('deletion'==_0xd7449d['type'])return{'type':'deletion','content':NL(_0x132d30,'*Remove:*\x20%0','\x22'+_0x24fe4a+'\x22\x20'+NL(_0x132d30,'ELEMENT_BOOKMARK'))};const {data:_0x894572}=_0xd7449d;if(!_0x894572||'bookmarkId'!=_0x894572['key'])return;return{'type':'format','content':NL(_0x132d30,'*Set\x20bookmark:*\x20%0','\x22'+_0x894572['newValue']+'\x22')};}));}}class TrackChangesCaseChange extends _0x4ac504{['afterInit'](){const _0x2e13bb=this['editor'];_0x2e13bb['plugins']['has']('CaseChange')&&(_0x2e13bb['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x2e13bb['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x2e13bb['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class TrackChangesCKBox extends _0x4ac504{['afterInit'](){const _0x48222a=this['editor'];_0x48222a['commands']['get']('ckbox')&&_0x48222a['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class TrackChangesCodeBlock extends _0x4ac504{['afterInit'](){const _0x38fac6=this['editor'];if(!_0x38fac6['plugins']['has']('CodeBlock'))return;const _0x1e347e=_0x38fac6['plugins']['get']('TrackChangesEditing'),_0x2af4b4=_0x38fac6['locale'],_0x118e96=_0x38fac6['config']['get']('codeBlock')['languages'],_0x775fef=_0x38fac6['commands']['get']('codeBlock');_0x1e347e['enableCommand']('indentCodeBlock'),_0x1e347e['enableCommand']('outdentCodeBlock'),_0x1e347e['enableCommand']('codeBlock',(_0x319c59,_0x5544f4={})=>{const _0x56339c=_0x38fac6['model'],_0x175d72=_0x38fac6['model']['document']['selection'],_0x31fb00=_0x5544f4&&void 0x0!==_0x5544f4['forceValue']?_0x5544f4['forceValue']:!_0x775fef['value'];let _0x243bdc;_0x5544f4['language']||(_0x5544f4['language']=_0x118e96[0x0]['language']),_0x243bdc=_0x31fb00?Array['from'](_0x175d72['getSelectedBlocks']())['filter'](_0x333c9c=>QL(_0x333c9c)||function(_0x4bb421,_0xed38ae){if(_0x4bb421['is']('rootElement')||_0xed38ae['isLimit'](_0x4bb421))return!0x1;return _0xed38ae['checkChild'](_0x4bb421['parent'],'codeBlock');}(_0x333c9c,_0x56339c['schema'])):Array['from'](_0x175d72['getSelectedBlocks']())['filter'](_0x4b6f91=>QL(_0x4b6f91));const _0x9e488e=RL(_0x243bdc,_0x56339c);_0x56339c['change'](()=>{for(const _0x21652b of _0x9e488e)_0x1e347e['markBlockFormat'](_0x21652b,{'commandName':'codeBlock','commandParams':[{..._0x5544f4,'forceValue':_0x31fb00}],'formatGroupId':'blockName'});});}),(_0x1e347e['descriptionFactory']['registerElementLabel']('codeBlock',_0x5c5370=>NL(_0x2af4b4,'ELEMENT_CODE_BLOCK',_0x5c5370)),_0x1e347e['descriptionFactory']['registerDescriptionCallback'](_0x58be8c=>{if('formatBlock'!=_0x58be8c['type'])return;const _0x29b9cf=_0x2af4b4['t'],{data:_0x1bf8a3}=_0x58be8c;if(!_0x1bf8a3||'codeBlock'!=_0x1bf8a3['commandName'])return;const _0x16e7d7=_0x1bf8a3['commandParams'][0x0]['language'],_0xc209e2=_0x118e96['find'](_0x329080=>_0x329080['language']===_0x16e7d7)['label'],_0x2cb71b=_0x29b9cf(_0xc209e2)['toLowerCase']();return _0x1bf8a3['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x2af4b4,'*Set\x20format:*\x20%0',NL(_0x2af4b4,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2cb71b+')')}:{'type':'format','content':NL(_0x2af4b4,'*Remove\x20format:*\x20%0',NL(_0x2af4b4,'ELEMENT_CODE_BLOCK',0x1))};}));}}function QL(_0x26c1c2){return'codeBlock'==_0x26c1c2['name'];}class TrackChangesComments extends _0x4ac504{['afterInit'](){const _0x2e3d70=this['editor'];if(!_0x2e3d70['plugins']['has']('CommentsEditing'))return;_0x2e3d70['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x4ac504{static get['requires'](){return[_0x441fca];}['init'](){const _0x5ccbfe=this['editor'],_0x2bf4f2=_0x5ccbfe['plugins']['get']('TrackChangesEditing');_0x2bf4f2['enableCommand']('delete');const _0x544f22=_0x5ccbfe['commands']['get']('deleteForward');_0x2bf4f2['enableCommand']('deleteForward',(_0x2a5c92,_0x22f1b3={})=>{const _0x1acf50=_0x5ccbfe['model']['createSelection'](_0x5ccbfe['model']['document']['selection']);_0x1acf50['isCollapsed']&&_0x5ccbfe['model']['modifySelection'](_0x1acf50,{'direction':'forward','unit':_0x22f1b3['unit']});const _0x61891d=_0x1acf50['getFirstRange'](),_0x5d468a=_0x4131d3['fromRange'](_0x61891d);let _0x340872;_0x2a5c92(_0x22f1b3),_0x340872='$graveyard'==_0x5d468a['root']['rootName']?_0x5ccbfe['model']['createRange'](_0x61891d['start']):_0x5ccbfe['model']['createRange'](_0x5d468a['start'],_0x5d468a['end']),_0x5d468a['detach'](),_0x5ccbfe['model']['enqueueChange'](_0x544f22['buffer']['batch'],_0x5d9a3f=>{_0x544f22['buffer']['lock'](),_0x5d9a3f['setSelection'](_0x5d9a3f['createRange'](_0x340872['end'])),_0x544f22['buffer']['unlock']();});});}}class TrackChangesList extends _0x4ac504{['afterInit'](){const _0x414dcc=this['editor'];if(!_0x414dcc['plugins']['has']('ListEditing'))return;const _0x3ab99f=_0x414dcc['locale'],_0x6c123b=_0x414dcc['plugins']['get']('TrackChangesEditing'),_0x26341d=_0x414dcc['plugins']['has']('TodoListEditing'),_0xeab0fe=!!_0x414dcc['config']['get']('list.multiBlock');function _0x1ad4f8(_0x3f9704){return{'type':'format','content':''+NL(_0x3ab99f,'*Set\x20format:*\x20%0',_0x3f9704)};}function _0x4d7efe(_0x5c07ab){return{'type':'format','content':''+NL(_0x3ab99f,'*Remove\x20format:*\x20%0',_0x5c07ab)};}_0x6c123b['enableDefaultAttributesIntegration']('numberedList'),_0x6c123b['enableDefaultAttributesIntegration']('bulletedList'),_0x6c123b['enableDefaultAttributesIntegration']('customNumberedList'),_0x6c123b['enableDefaultAttributesIntegration']('customBulletedList'),_0x6c123b['enableDefaultAttributesIntegration']('indentList'),_0x6c123b['enableDefaultAttributesIntegration']('outdentList'),_0x6c123b['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x6c123b['enableDefaultAttributesIntegration']('splitListItemBefore'),_0xeab0fe&&(_0x6c123b['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x6c123b['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x26341d&&(_0x6c123b['enableDefaultAttributesIntegration']('todoList'),_0x6c123b['enableDefaultAttributesIntegration']('checkTodoList'),_0x6c123b['descriptionFactory']['registerDescriptionCallback'](_0x46dfbc=>{const {data:_0x8d081d}=_0x46dfbc;if(_0x8d081d&&'todoListChecked'==_0x8d081d['key'])return{'type':'format','content':_0x8d081d['newValue']?NL(_0x3ab99f,'*Check\x20item*'):NL(_0x3ab99f,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0xbecc81=>{if(_0xbecc81['batch']['isUndo'])return!0x1;let _0x3a470c=!0x1;const _0x248a8a=_0x6c123b['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x17214f=>'todoListChecked'===_0x6c123b['_getAttributeKey'](_0x17214f));for(const _0x5baa1e of _0x248a8a){'todo'!=_0x5baa1e['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x6c123b['_findSuggestions'](_0x5baa1e['getFirstRange'](),'attribute')['find'](_0x5672e4=>'listType'===_0x6c123b['_getAttributeKey'](_0x5672e4['suggestion']))||(_0xbecc81['removeMarker'](_0x5baa1e['getFirstMarker']()),_0x3a470c=!0x0));}return _0x3a470c;})),_0x6c123b['descriptionFactory']['registerAttributeLabel']('listIndent',NL(_0x3ab99f,'FORMAT_INDENT'));const _0x845698={'type':'format','content':''};_0x6c123b['descriptionFactory']['registerDescriptionCallback'](_0x2b538e=>{const {data:_0x895291}=_0x2b538e;if(!_0x895291||'listType'!=_0x895291['key'])return;let _0x140a23=_0x2b538e['head'];for(;_0x140a23;){if(_0x140a23['data']&&(('listStyle'==_0x140a23['data']['key']||'listMarkerStyle'==_0x140a23['data']['key'])&&(_0x140a23['data']['newValue']&&'default'!=_0x140a23['data']['newValue']||'default'!=_0x140a23['data']['oldValue']&&!_0x895291['newValue'])||!_0xeab0fe&&_0x140a23['data']['key']==YL))return _0x845698;_0x140a23=_0x140a23['next'];}if(null==_0x895291['newValue'])switch(_0x895291['oldValue']){case'bulleted':return _0x4d7efe(NL(_0x3ab99f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4d7efe(NL(_0x3ab99f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4d7efe(NL(_0x3ab99f,'ELEMENT_TODO_LIST'));}switch(_0x895291['newValue']){case'bulleted':return _0x1ad4f8(NL(_0x3ab99f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x1ad4f8(NL(_0x3ab99f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1ad4f8(NL(_0x3ab99f,'ELEMENT_TODO_LIST'));}}),_0x6c123b['descriptionFactory']['registerDescriptionCallback'](_0x3675af=>{const {data:_0x3a72d5}=_0x3675af;if(_0x3a72d5&&'listIndent'==_0x3a72d5['key'])return null==_0x3a72d5['newValue']||null==_0x3a72d5['oldValue']&&0x0==_0x3a72d5['newValue']?_0x845698:void 0x0;}),_0x6c123b['descriptionFactory']['registerDescriptionCallback'](_0x1bc458=>{if('attribute'!=_0x1bc458['type'])return;const {data:_0x32edb3}=_0x1bc458;if(!_0x32edb3||'listItemId'!=_0x32edb3['key'])return;const _0x2421fb=$L(_0x1bc458);return'newValue'==_0x2421fb?{'type':'format','content':NL(_0x3ab99f,'*Merge:*\x20list\x20item')}:'oldValue'==_0x2421fb?{'type':'format','content':NL(_0x3ab99f,'*Split:*\x20list\x20item')}:_0x845698;}),_0x414dcc['model']['document']['registerPostFixer'](_0x479588=>this['listItemIdFixer'](_0x479588)),_0x414dcc['model']['document']['registerPostFixer'](_0xd8b928=>this['noTrackChangesFixer'](_0xd8b928)),_0x414dcc['model']['document']['on']('change:data',(_0x51f906,_0x5a0045)=>{if(_0x5a0045['isUndo']||!_0x5a0045['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0xa274f0){if(_0xa274f0['batch']['isUndo']||!_0xa274f0['batch']['isLocal'])return!0x1;let _0x4c352d=!0x1;const _0x19f339=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3bf90e=>_0x3bf90e['data']&&'listItemId'==_0x3bf90e['data']['key'])['filter'](_0x2cb7f3=>_0x2cb7f3['data']['newValue']&&_0x2cb7f3['data']['oldValue']);for(const _0xf48fbb of _0x19f339)$L(_0xf48fbb)||(_0xa274f0['removeMarker'](_0xf48fbb['getFirstMarker']()),_0x4c352d=!0x0);return _0x4c352d;}['noTrackChangesFixer'](_0x36eb37){if(_0x36eb37['batch']['isUndo']||!_0x36eb37['batch']['isLocal'])return!0x1;const _0x1192a8=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x1192a8['trackChangesCommand']['value'])return!0x1;let _0x395c46=!0x1;const _0x25ad11=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x261ccb=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x490f93=>'attribute'==_0x490f93['type'])['filter'](_0x4dae25=>_0x25ad11['includes'](_0x4dae25['attributeKey']));if(0x0==_0x261ccb['length'])return _0x395c46;for(const _0x329131 of _0x261ccb){const _0x1ad065=_0x1192a8['_findSuggestions'](_0x329131['range'],'attribute')['filter'](_0x4504af=>!_0x4504af['meta']['isNextTo'])['map'](_0x41d73f=>_0x41d73f['suggestion'])['filter'](_0x27a2ca=>{const _0xf9563c=_0x1192a8['_getAttributeKey'](_0x27a2ca);return _0x25ad11['includes'](_0xf9563c);});if(_0x1ad065['length']){for(const _0x281d60 of _0x1ad065)_0x36eb37['removeMarker'](_0x281d60['getFirstMarker']());_0x395c46=!0x0;}}return _0x395c46;}['assureChains'](){const _0x5d8ef5=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2ec84c=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x347f29;const _0x224870=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x24382b=>{if(_0x24382b['data']['oldRange']||!_0x24382b['data']['newRange'])return null;if(!_0x24382b['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x5369b5}=_0x5d8ef5['_splitMarkerName'](_0x24382b['name']);if(!_0x5d8ef5['hasSuggestion'](_0x5369b5))return null;const _0x13a669=_0x5d8ef5['getSuggestion'](_0x5369b5);return _0x2ec84c['includes'](_0x13a669['data']['key']);})['map'](_0x28a53f=>{const {id:_0x411f74}=_0x5d8ef5['_splitMarkerName'](_0x28a53f['name']),_0x52c9e2=_0x5d8ef5['getSuggestion'](_0x411f74);return _0x347f29=_0x52c9e2['attributes']['groupId'],_0x52c9e2['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x224870['size'])return;const _0x592ef7=_0x5d8ef5['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x53fe70=>'attribute'==_0x53fe70['type']&&_0x53fe70['data']&&_0x2ec84c['includes'](_0x53fe70['data']['key'])&&_0x53fe70['attributes']['groupId']!=_0x347f29)['map'](_0x11d09c=>({'listItem':_0x11d09c['getFirstRange']()['start']['nodeAfter'],'groupId':_0x11d09c['attributes']['groupId']})),_0x2e8125=new Set();for(const {groupId:_0x5ec27e,listItem:_0x1c6081}of _0x592ef7)_0x224870['has'](_0x1c6081)&&_0x2e8125['add'](_0x5ec27e);for(const _0x42e6e0 of _0x5d8ef5['getSuggestions']())_0x2e8125['has'](_0x42e6e0['attributes']['groupId'])&&_0x42e6e0['setAttribute']('groupId',_0x347f29);}['_supportLegacySuggestions'](){const _0x4a7b87=this['editor'],_0xb0c7f=_0x4a7b87['locale'],_0x33fff3=_0x4a7b87['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x33fff3['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x1f9fc5,_0x173422){const _0x52281c=[];for(let _0x44afb8 of _0x1f9fc5)_0x44afb8['start']['nodeAfter']===_0x44afb8['end']['parent']&&(_0x44afb8=_0x4a7b87['model']['createRange'](_0x4a7b87['model']['createPositionAt'](_0x44afb8['start']['nodeAfter'],0x0))),_0x52281c['push'](_0x44afb8);_0x4a7b87['model']['change'](_0xa628ca=>{const _0x5cad4d=_0x4a7b87['model']['document']['selection'],_0x276207=Array['from'](_0x5cad4d['getRanges']())['map'](_0xce2fa=>_0x4131d3['fromRange'](_0xce2fa));_0xa628ca['setSelection'](_0x52281c),_0x4a7b87['commands']['get'](_0x173422['commandName'])['refresh'](),_0x173422['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x4a7b87['execute'](_0x173422['commandName'],..._0x173422['commandParams']),_0xa628ca['setSelection'](_0x276207);for(const _0x5cad53 of _0x276207)_0x5cad53['detach']();});}),_0x33fff3['descriptionFactory']['registerElementLabel'](function(_0x265351){const _0x5a5c6e=!_0x4a7b87['model']['schema']['isObject'](_0x265351),_0x4e6a93=_0x265351['previousSibling'],_0x4f1f6d=_0x265351['nextSibling'],_0x381aa3=_0x265351['getAttribute']('listItemId'),_0x42ce06=!_0x4e6a93||_0x4e6a93['getAttribute']('listItemId')!==_0x381aa3,_0x5c579e=!_0x4f1f6d||_0x4f1f6d['getAttribute']('listItemId')!==_0x381aa3;return _0x5a5c6e&&Boolean(_0x381aa3)&&_0x42ce06&&_0x5c579e;},_0x3808da=>NL(_0xb0c7f,'ELEMENT_LIST_ITEM',_0x3808da));}['_registerLegacyDescription'](){const _0x3de630=this['editor'],_0x43f6dd=_0x3de630['locale'];function _0x4f38b(_0x57aaa2){const _0x44bdcf=_0x3de630['commands']['get']('bulletedList')['value'],_0x207fb5=_0x3de630['commands']['get']('numberedList')['value'];return'numberedList'===_0x57aaa2?_0x44bdcf:_0x207fb5;}_0x3de630['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x27d234){if('formatBlock'!=_0x27d234['type'])return;const {data:_0x3dae70}=_0x27d234;if(!_0x3dae70)return;let _0x5bf5ba,_0x45b01b,_0x192be9,_0x2af2b0;switch(_0x3dae70['commandName']){case'bulletedList':_0x192be9=_0x3dae70['commandParams'][0x0]['forceValue'],_0x2af2b0=_0x4f38b(_0x3dae70['commandName']),_0x5bf5ba=_0x192be9?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x2af2b0&&_0x3de630['config']['get']('list.multiBlock')||(_0x5bf5ba='*Change\x20to:*\x20%0'),_0x45b01b={'type':'format','content':NL(_0x43f6dd,_0x5bf5ba,NL(_0x43f6dd,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x192be9=_0x3dae70['commandParams'][0x0]['forceValue'],_0x2af2b0=_0x4f38b(_0x3dae70['commandName']),_0x5bf5ba=_0x192be9?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x2af2b0&&_0x3de630['config']['get']('list.multiBlock')||(_0x5bf5ba='*Change\x20to:*\x20%0'),_0x45b01b={'type':'format','content':NL(_0x43f6dd,_0x5bf5ba,NL(_0x43f6dd,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x5bf5ba='*Indent:*\x20%0',_0x45b01b={'type':'format','content':NL(_0x43f6dd,_0x5bf5ba,NL(_0x43f6dd,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x5bf5ba=function(_0xa1974f){const _0x291707=_0xa1974f['getFirstRange']();let _0x5e0b55=_0x291707['start']['nodeAfter'];for(;_0x5e0b55&&_0x291707['containsItem'](_0x5e0b55);){if(_0x5e0b55['getAttribute']('listIndent')>0x0)return!0x1;_0x5e0b55=_0x5e0b55['nextSibling'];}return!0x0;}(_0x27d234)?NL(_0x43f6dd,'*Format:*\x20remove\x20from\x20%0',NL(_0x43f6dd,function(_0x3c61bb){return'ELEMENT_'+_0x3c61bb['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x27d234))):NL(_0x43f6dd,'*Outdent:*\x20%0',NL(_0x43f6dd,'ELEMENT_LIST_ITEM')),_0x45b01b={'type':'format','content':_0x5bf5ba};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x3dae70['multipleBlocks']&&(_0x5bf5ba='*Merge:*\x20%0',_0x45b01b={'type':'deletion','content':NL(_0x43f6dd,_0x5bf5ba,NL(_0x43f6dd,'ELEMENT_LIST_ITEM'))});}return _0x45b01b;});}}function $L(_0x4e1435){let _0xa31107=_0x4e1435['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0xa31107;){const _0x50f55c=_0xa31107['getAttribute']('listItemId');if(!_0x50f55c)return!0x1;if(_0x50f55c==_0x4e1435['data']['newValue'])return'newValue';if(_0x50f55c==_0x4e1435['data']['oldValue'])return'oldValue';_0xa31107=_0xa31107['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x326cd8=this['editor']['config']['get']('list.properties'),_0x1c03de=this['editor']['plugins']['get']('TrackChangesEditing');_0x326cd8['styles']&&_0x1c03de['enableDefaultAttributesIntegration']('listStyle'),_0x326cd8['reversed']&&_0x1c03de['enableDefaultAttributesIntegration']('listReversed'),_0x326cd8['startIndex']&&_0x1c03de['enableDefaultAttributesIntegration']('listStart');const _0x29452e={'type':'format','content':''};_0x1c03de['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x466527=this['editor']['locale'];_0x1c03de['descriptionFactory']['registerAttributeLabel']('listReversed',NL(_0x466527,'FORMAT_LIST_REVERSED')),_0x1c03de['descriptionFactory']['registerDescriptionCallback'](_0x446eaa=>{const {data:_0x294f63}=_0x446eaa;if(_0x294f63&&'listReversed'==_0x294f63['key'])return null==_0x294f63['newValue']||0x0==_0x294f63['newValue']&&null==_0x294f63['oldValue']?_0x29452e:void 0x0;}),_0x1c03de['descriptionFactory']['registerAttributeLabel']('listStart',NL(_0x466527,'FORMAT_LIST_START')),_0x1c03de['descriptionFactory']['registerDescriptionCallback'](_0x48ff5a=>{const {data:_0x17e1e6}=_0x48ff5a;if(_0x17e1e6&&'listStart'==_0x17e1e6['key'])return null==_0x17e1e6['newValue']||0x1==_0x17e1e6['newValue']&&null==_0x17e1e6['oldValue']?_0x29452e:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x3a2de9=>{if(_0x3a2de9['batch']['isUndo'])return!0x1;let _0x53e1db=!0x1;const _0x5397cf=_0x1c03de['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xfc9cb6=>{const _0x115bf6=_0x1c03de['_getAttributeKey'](_0xfc9cb6);return'listStart'==_0x115bf6||'listReversed'==_0x115bf6;});for(const _0x24953c of _0x5397cf){const _0x4b853b=_0x24953c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x4b853b||'customNumbered'==_0x4b853b)continue;_0x1c03de['_findSuggestions'](_0x24953c['getFirstRange'](),'attribute')['find'](_0x199b0c=>'listType'==_0x1c03de['_getAttributeKey'](_0x199b0c['suggestion']))||(_0x3a2de9['removeMarker'](_0x24953c['getFirstMarker']()),_0x53e1db=!0x0);}return _0x53e1db;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x1c7662){const _0xa66da0=this['editor']['locale'],{data:_0x1781cb}=_0x1c7662,_0x4a044a={'type':'format','content':''};if(!_0x1781cb||'listStyle'!=_0x1781cb['key'])return;if(!_0x1781cb['oldValue'])return'default'==_0x1781cb['newValue']?_0x4a044a:{'type':'format','content':''+NL(_0xa66da0,'*Set\x20format:*\x20%0',NL(_0xa66da0,this['_getTranslationKeyForListStyle'](_0x1781cb['newValue'])))};if(!_0x1781cb['newValue']){if('default'==_0x1781cb['oldValue'])return _0x4a044a;let _0x5d9bb2=_0x1c7662['head'];for(;_0x5d9bb2;){if(_0x5d9bb2['data']&&'listType'==_0x5d9bb2['data']['key']&&_0x5d9bb2['data']['newValue'])return _0x4a044a;_0x5d9bb2=_0x5d9bb2['next'];}return{'type':'format','content':''+NL(_0xa66da0,'*Remove\x20format:*\x20%0',NL(_0xa66da0,this['_getTranslationKeyForListStyle'](_0x1781cb['oldValue'])))};}if('default'!=_0x1781cb['newValue'])return{'type':'format','content':''+NL(_0xa66da0,'*Set\x20format:*\x20%0',NL(_0xa66da0,this['_getTranslationKeyForListStyle'](_0x1781cb['newValue'])))};let _0x319a60=_0x1c7662['head'];for(;_0x319a60;){if(_0x319a60['data']&&'listType'==_0x319a60['data']['key']&&_0x319a60['data']['newValue']&&_0x319a60['data']['oldValue'])return _0x4a044a;_0x319a60=_0x319a60['next'];}return{'type':'format','content':NL(_0xa66da0,'*Set\x20format:*\x20%0',NL(_0xa66da0,'ELEMENT_'+_0x1c7662['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x1fa827=this['editor'],_0x2dd38f=_0x1fa827['locale'];_0x1fa827['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1a1cbc=>{if('formatBlock'!=_0x1a1cbc['type'])return;const {data:_0x5caad8}=_0x1a1cbc;if(!_0x5caad8)return;let _0x18f542,_0xbd25a;switch(_0x5caad8['commandName']){case'listStyle':_0x18f542='*Change\x20to:*\x20%0',_0xbd25a={'type':'format','content':NL(_0x2dd38f,_0x18f542,NL(_0x2dd38f,this['_getTranslationKeyForListStyle'](_0x5caad8['commandParams'][0x0]['type'])))};break;case'listReversed':_0x18f542=_0x5caad8['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xbd25a={'type':'format','content':NL(_0x2dd38f,_0x18f542)};break;case'listStart':_0x18f542='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xbd25a={'type':'format','content':NL(_0x2dd38f,_0x18f542,_0x5caad8['commandParams'][0x0]['startIndex'])};}return _0xbd25a;});}['_getTranslationKeyForListStyle'](_0x37ca34){return'ELEMENT_'+function(_0x3aed20){if(VL['includes'](_0x3aed20))return'bulleted';if(UL['includes'](_0x3aed20))return'numbered';return null;}(_0x37ca34)['toUpperCase']()+'_LIST_'+_0x37ca34['toUpperCase']()['replace'](/-/g,'_');}}const VL=['disc','circle','square'],UL=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class TrackChangesEmoji extends _0x4ac504{['afterInit'](){const _0x38256c=this['editor'];_0x38256c['commands']['get']('emoji')&&_0x38256c['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x4ac504{static get['requires'](){return[_0x3163ab];}['init'](){const _0x14a425=this['editor'],_0x570762=_0x14a425['plugins']['get']('TrackChangesEditing'),_0x4aae84=_0x14a425['commands']['get']('enter');_0x570762['enableCommand']('enter',()=>{_0x14a425['model']['change'](_0x24e983=>{const _0x596796=_0x14a425['model']['document']['selection'],_0x514054=_0x596796['getFirstPosition'](),_0xb38fed=_0x4131d3['fromRange'](_0x596796['getFirstRange']());if(_0x4aae84['enterBlock'](_0x24e983)){const _0x448e33=_0x14a425['model']['createPositionAt'](_0x514054['parent']['nextSibling'],0x0),_0xcfc92d=_0x24e983['createRange'](_0x514054,_0x448e33);_0x570762['markInsertion'](_0xcfc92d);}else _0x24e983['setSelection'](_0x24e983['createRange'](_0xb38fed['end']));_0xb38fed['detach'](),_0x4aae84['fire']('afterExecute',{'writer':_0x24e983});});});}}class TrackChangesFindAndReplace extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x35b21f=this['editor']['plugins']['get']('TrackChangesEditing');_0x35b21f['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x35b21f['enableCommand']('findNext'),_0x35b21f['enableCommand']('findPrevious'),_0x35b21f['enableCommand']('replace'),_0x35b21f['enableCommand']('replaceAll');}['handleFindCommand'](_0xe484bb,_0x6c47db,_0xc20925={}){const _0x35ea79=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0xe484bb(_0x1dc8fc=>{let _0x407b7e=('string'==typeof _0x6c47db?_0x35ea79['findByTextCallback'](_0x6c47db,_0xc20925):_0x6c47db)(_0x1dc8fc);Array['isArray'](_0x407b7e)&&(_0x407b7e={'results':_0x407b7e,'searchText':'string'==typeof _0x6c47db?_0x6c47db:''});const _0x41f14c=_0x407b7e['results']['filter'](_0x505092=>!0x1===this['_isInDeletionRange'](_0x505092,_0x1dc8fc['item']));return{..._0x407b7e,'results':_0x41f14c};},_0xc20925);}['_isInDeletionRange'](_0x5a6b83,_0x2ae956){const _0x3c577f=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x2ae956,_0x5a6b83['start']),this['editor']['model']['createPositionAt'](_0x2ae956,_0x5a6b83['end']));for(const _0x1ccfeb of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x3c577f['getIntersection'](_0x1ccfeb['getRange']()))return!0x0;return!0x1;}}const BL=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x4ac504{['afterInit'](){const _0x379da4=this['editor']['locale'],_0x4a9729=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x3cd41c,commandName:_0x4cda08}of BL)this['editor']['plugins']['has'](_0x3cd41c)&&_0x4a9729['enableDefaultAttributesIntegration'](_0x4cda08);_0x4a9729['descriptionFactory']['registerAttributeLabel']('fontSize',NL(_0x379da4,'FORMAT_FONT_SIZE')),_0x4a9729['descriptionFactory']['registerAttributeLabel']('fontFamily',NL(_0x379da4,'FORMAT_FONT_FAMILY')),_0x4a9729['descriptionFactory']['registerAttributeLabel']('fontColor',NL(_0x379da4,'FORMAT_FONT_COLOR')),_0x4a9729['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',NL(_0x379da4,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xbf6fb5=this['editor'],_0x256dbb=_0xbf6fb5['locale'];_0xbf6fb5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x364a90=>{const _0x28ffa2=_0x256dbb['t'];if('formatInline'!=_0x364a90['type'])return;const {data:_0x3aa127}=_0x364a90;if(null!=_0x3aa127){if('fontSize'==_0x3aa127['commandName']){const _0x1e0062=_0x3aa127['commandParams'][0x0]['value'];if(_0x1e0062){const _0x3aa189=_0x28ffa2(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0xfe448e=>_0xfe448e['model']==_0x1e0062)['title'])['toLowerCase']();return{'type':'format','content':NL(_0x256dbb,'*Set\x20font\x20size:*\x20%0',_0x3aa189)};}return{'type':'format','content':NL(_0x256dbb,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x3aa127['commandName']){const _0x15279c=_0x3aa127['commandParams'][0x0]['value'];return _0x15279c?{'type':'format','content':NL(_0x256dbb,'*Set\x20font\x20family:*\x20%0',_0x15279c)}:{'type':'format','content':NL(_0x256dbb,'*Reset\x20font\x20family*')};}if('fontColor'==_0x3aa127['commandName']){const _0x1865b9=_0x3aa127['commandParams'][0x0]['value'];if(_0x1865b9){const _0x10670f=Kt(this['editor']['config']['get']('fontColor.colors'))['find'](_0x59c718=>_0x59c718['model']==_0x1865b9);let _0x540cc4=_0x1865b9,_0x1785e9='';return _0x10670f&&(_0x540cc4=_0x10670f['label'],_0x1785e9=_0x28ffa2(_0x540cc4)['toLowerCase']()),{'type':'format','content':NL(_0x256dbb,'*Set\x20font\x20color:*\x20%0',_0x1785e9)['trim'](),'color':{'value':_0x1865b9,'title':_0x1785e9||_0x540cc4}};}return{'type':'format','content':NL(_0x256dbb,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x3aa127['commandName']){const _0x1b1aa5=_0x3aa127['commandParams'][0x0]['value'];if(_0x1b1aa5){const _0x3aa228=Kt(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x2a546b=>_0x2a546b['model']==_0x1b1aa5);let _0x223768=_0x1b1aa5,_0x37dd1e='';return _0x3aa228&&(_0x223768=_0x3aa228['label'],_0x37dd1e=_0x28ffa2(_0x223768)['toLowerCase']()),{'type':'format','content':NL(_0x256dbb,'*Set\x20font\x20background\x20color:*\x20%0',_0x37dd1e)['trim'](),'color':{'value':_0x1b1aa5,'title':_0x37dd1e||_0x223768}};}return{'type':'format','content':NL(_0x256dbb,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x4ac504{['afterInit'](){const {plugins:_0x20357a}=this['editor'];_0x20357a['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x20357a['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x14509a,plugins:_0x2fa04a,commands:_0x58b434}=this['editor'],_0x3fb8a7=_0x2fa04a['get']('TrackChangesEditing');_0x58b434['get']('footnotesStyle')&&_0x3fb8a7['enableDefaultAttributesIntegration']('footnotesStyle'),_0x58b434['get']('footnotesStart')&&_0x3fb8a7['enableDefaultAttributesIntegration']('footnotesStart'),_0x3fb8a7['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',NL(_0x14509a,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x3fb8a7['descriptionFactory']['registerAttributeLabel']('footnotesListStart',NL(_0x14509a,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x39f8a4=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x1f9ed6,commands:_0x2daf3a}=this['editor'];_0x2daf3a['get']('insertFootnote')&&_0x39f8a4['enableCommand']('insertFootnote'),_0x39f8a4['descriptionFactory']['registerElementLabel']('footnoteRef',_0x5a6287=>NL(_0x1f9ed6,'ELEMENT_FOOTNOTE_REF',_0x5a6287)),_0x39f8a4['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x477540=>NL(_0x1f9ed6,'ELEMENT_FOOTNOTE_DEFINITION',_0x477540)),_0x39f8a4['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x104226=>NL(_0x1f9ed6,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x104226));}}class TrackChangesFormatPainter extends _0x4ac504{['afterInit'](){const _0x388f56=this['editor'],_0x45eb99=_0x388f56['plugins']['get']('TrackChangesEditing'),_0x3d2286=_0x388f56['commands']['get']('copyFormat'),_0x234a22=_0x388f56['commands']['get']('pasteFormat');_0x3d2286&&_0x234a22&&(_0x45eb99['enableDefaultAttributesIntegration']('pasteFormat'),_0x45eb99['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x3281ad=this['editor'],_0x281fe4=_0x3281ad['locale'];_0x3281ad['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xe21966=>{if('formatBlock'!=_0xe21966['type']&&'formatInline'!=_0xe21966['type'])return;const {data:_0x2b2796}=_0xe21966;if(_0x2b2796&&'pasteFormat'===_0x2b2796['commandName']){const _0x22dc25=[],_0x476714=_0x2b2796['commandParams'][0x0];for(const [_0x54dcf3,_0x39101c]of Object['entries'](_0x476714))_0x22dc25['push'](FL(_0x3281ad,_0x54dcf3,_0x39101c));return _0x22dc25['length']?{'type':'format','content':NL(_0x281fe4,'*Set\x20format\x20to:*\x20%0',_0x22dc25['join'](',\x20'))}:{'type':'format','content':NL(_0x281fe4,'*Remove\x20all\x20formatting*')};}});}}function FL(_0x13e472,_0x26f09f,_0x41e14d){const _0xde76=_0x13e472['locale']['t'],_0x3429cd=_0x26f09f['split'](/(?=[A-Z])/)['join']('\x20'),_0x5c10f2=_0xde76(_0x3429cd['charAt'](0x0)['toUpperCase']()+_0x3429cd['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x41e14d)return _0x5c10f2;if('fontColor'===_0x26f09f||'fontBackgroundColor'===_0x26f09f){const _0x11f391=Kt(_0x13e472['config']['get']('fontColor.colors'))['find'](_0x506713=>_0x506713['model']==_0x41e14d);return _0x5c10f2+'\x20('+(_0x11f391?_0xde76(_0x11f391['label'])['toLowerCase']():_0x41e14d)+')';}if('fontSize'===_0x26f09f&&isNaN(parseFloat(_0x41e14d))){const _0x4fe30d=_0x13e472['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x13e472['config']['get']('fontSize.options'))['find'](_0x4f9344=>_0x4f9344['model']==_0x41e14d);return _0x5c10f2+'\x20('+(_0x4fe30d?_0xde76(_0x4fe30d['title'])['toLowerCase']():_0x41e14d)+')';}return _0x5c10f2+'\x20('+_0x41e14d+')';}class TrackChangesHeading extends _0x4ac504{['_headingOptions'];['afterInit'](){const _0xde1008=this['editor'];if(!_0xde1008['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0xde1008['config']['get']('heading.options');const _0x3f4bcf=_0xde1008['locale'],_0x263f19=_0xde1008['plugins']['get']('TrackChangesEditing');_0x263f19['enableDefaultAttributesIntegration']('heading');for(const _0x49636b of this['_headingOptions'])'paragraph'!=_0x49636b['model']&&_0x263f19['descriptionFactory']['registerElementLabel'](_0x49636b['model'],_0x79b917=>{const _0x34c792=this['_getHeadingLevel'](_0x49636b['model']);return null!==_0x34c792?_0x4ca9b3(_0x79b917,_0x34c792):_0x5b9ab5(_0x79b917,_0x49636b['title']);});function _0x4ca9b3(_0x152c26,_0x23ebda){return NL(_0x3f4bcf,'ELEMENT_HEADING',[_0x152c26,_0x23ebda]);}function _0x5b9ab5(_0x902a7d,_0x1a50d3){return NL(_0x3f4bcf,'ELEMENT_HEADING_CUSTOM',[_0x902a7d,_0x1a50d3]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x11ad40=this['editor'],_0x5126d2=_0x11ad40['locale'];function _0x580e7e(_0x54c877,_0x2176b9){return NL(_0x5126d2,'ELEMENT_HEADING_CUSTOM',[_0x54c877,_0x2176b9]);}_0x11ad40['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xf73fda=>{if('formatBlock'!=_0xf73fda['type'])return;const {data:_0x394585}=_0xf73fda;if(_0x394585&&'heading'==_0x394585['commandName']){const _0xb4997c=_0x394585['commandParams'][0x0]['value'],_0x359788=this['_getHeadingLevel'](_0xb4997c);if(null!==_0x359788)return{'type':'format','content':NL(_0x5126d2,'*Change\x20to:*\x20%0',(_0x37399f=0x1,_0x5ee19c=_0x359788,NL(_0x5126d2,'ELEMENT_HEADING',[_0x37399f,_0x5ee19c])))};const _0x14de03=this['_headingOptions']['find'](_0x2871ac=>_0x2871ac['model']===_0xb4997c)['title'];return{'type':'format','content':NL(_0x5126d2,'*Change\x20to:*\x20%0',_0x580e7e(0x1,_0x14de03))};}var _0x37399f,_0x5ee19c;});}['_getHeadingLevel'](_0x3b1405){const _0x54c7e6=_0x3b1405['match'](/^heading(\d+)/);if(_0x54c7e6)return _0x54c7e6[0x1];const _0x34aacf=this['_headingOptions']?.['find'](_0x4b9144=>_0x4b9144['model']==_0x3b1405);if(_0x34aacf&&_0x34aacf['view']){const _0x2a86ae=_0x34aacf['view'],_0xf2f9fb=(_0x2a86ae['name']??_0x2a86ae)['match'](/^h(\d+)/);if(_0xf2f9fb)return _0xf2f9fb[0x1];}return null;}}class TrackChangesHighlight extends _0x4ac504{['afterInit'](){const _0x4de74b=this['editor'];if(!_0x4de74b['plugins']['has']('HighlightEditing'))return;const _0x2d6b2f=_0x4de74b['plugins']['get']('TrackChangesEditing'),_0x27b58a=_0x4de74b['locale'];_0x2d6b2f['enableDefaultAttributesIntegration']('highlight'),_0x2d6b2f['descriptionFactory']['registerAttributeLabel']('highlight',NL(_0x27b58a,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1e0104=this['editor'],_0x10287e=_0x1e0104['locale'];_0x1e0104['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5bc198=>{if('formatInline'!=_0x5bc198['type'])return;const {data:_0x47f9a6}=_0x5bc198;if(_0x47f9a6&&'highlight'==_0x47f9a6['commandName']){const _0x174cba=_0x10287e['t'],_0x19e22b=_0x47f9a6['commandParams'][0x0]['value'];if(_0x19e22b){const _0x50ce62=_0x1e0104['config']['get']('highlight.options')['find'](_0x5d4570=>_0x5d4570['model']==_0x19e22b),_0x10d0ec=_0x174cba(_0x50ce62['title'])['toLowerCase']();return{'type':'format','content':NL(_0x10287e,'*Set\x20highlight:*\x20%0',_0x10d0ec),'color':{'value':_0x50ce62['color'],'title':_0x50ce62['title']}};}return{'type':'format','content':NL(_0x10287e,'*Remove\x20highlight*',NL(_0x10287e,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x4ac504{['afterInit'](){const _0x49250e=this['editor'];if(!_0x49250e['plugins']['has']('HorizontalLineEditing'))return;_0x49250e['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x4650fc=_0x49250e['plugins']['get']('TrackChangesEditing'),_0x7c2344=_0x49250e['locale'];_0x4650fc['descriptionFactory']['registerElementLabel']('horizontalLine',_0x331e20=>NL(_0x7c2344,'ELEMENT_HORIZONTAL_LINE',_0x331e20));}}class TrackChangesHtmlEmbed extends _0x4ac504{['afterInit'](){const _0x7c9206=this['editor'];if(!_0x7c9206['plugins']['has']('HtmlEmbed'))return;const _0x1ea685=_0x7c9206['plugins']['get']('TrackChangesEditing'),_0x50e38a=_0x7c9206['locale'];_0x1ea685['descriptionFactory']['registerElementLabel']('rawHtml',_0x4bb175=>NL(_0x50e38a,'ELEMENT_HTML_EMBED',_0x4bb175)),_0x1ea685['enableDefaultAttributesIntegration']('htmlEmbed'),_0x1ea685['descriptionFactory']['registerDescriptionCallback'](_0x4664c1=>{if('attribute'!=_0x4664c1['type'])return;const {data:_0x1d0b14}=_0x4664c1;if(_0x1d0b14&&'value'==_0x1d0b14['key']&&_0x4664c1['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0xf3692b=NL(_0x50e38a,'ELEMENT_HTML_EMBED');return{'type':'format','content':NL(_0x50e38a,'*Change\x20%0\x20content*',_0xf3692b)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3eca50=this['editor'],_0x105564=_0x3eca50['locale'];_0x3eca50['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x43ed04=>{if('formatBlock'!=_0x43ed04['type'])return;const {data:_0x2b67f9}=_0x43ed04;if(_0x2b67f9&&'htmlEmbed'==_0x2b67f9['commandName']){const _0x1a24f1=NL(_0x105564,'ELEMENT_HTML_EMBED');return{'type':'format','content':NL(_0x105564,'*Change\x20%0\x20content*',_0x1a24f1)};}});}}class TrackChangesImage extends _0x4ac504{['afterInit'](){const _0x404004=this['editor'];if(!_0x404004['plugins']['has']('ImageEditing'))return;const _0x165903=_0x404004['plugins']['get']('TrackChangesEditing'),_0x751143=_0x404004['plugins']['get']('ImageUtils'),_0x424b83=_0x404004['locale'];_0x165903['enableCommand']('insertImage'),_0x165903['descriptionFactory']['registerElementLabel']('imageBlock',_0x55df9c=>NL(_0x424b83,'ELEMENT_IMAGE',_0x55df9c)),_0x165903['descriptionFactory']['registerElementLabel']('imageInline',_0x3cc1f3=>NL(_0x424b83,'ELEMENT_INLINE_IMAGE',_0x3cc1f3)),_0x165903['descriptionFactory']['registerElementLabel']('caption',()=>NL(_0x424b83,'ELEMENT_CAPTION')),_0x404004['plugins']['has']('ImageUploadEditing')&&_0x165903['enableCommand']('uploadImage'),_0x404004['plugins']['has']('ImageBlockEditing')&&_0x404004['plugins']['has']('ImageInlineEditing')&&(_0x165903['enableCommand']('imageTypeInline',(_0x206ff5,_0x5091b6)=>{const _0x51fe64=_0x751143['getClosestSelectedImageElement'](_0x404004['model']['document']['selection']);_0x404004['model']['change'](()=>{_0x165903['markBlockFormat'](_0x51fe64,{'commandName':'imageTypeInline','commandParams':[_0x5091b6]},[],'convertBlockImageToInline');});}),_0x165903['enableCommand']('imageTypeBlock',(_0x123182,_0x299f65)=>{_0x404004['model']['change'](_0x3a6a4d=>{let _0x5c9fd2=_0x751143['getClosestSelectedImageElement'](_0x404004['model']['document']['selection']),_0x444ea6=_0x3a6a4d['createRangeOn'](_0x5c9fd2);const _0x1431a1=_0x152b8d['fromPosition'](_0x444ea6['start'],'toPrevious'),_0x134319=_0x152b8d['fromPosition'](_0x444ea6['end'],'toNext');_0x165903['forceDefaultExecution'](()=>_0x123182(_0x299f65)),_0x5c9fd2=_0x751143['getClosestSelectedImageElement'](_0x404004['model']['document']['selection']),_0x444ea6=_0x3a6a4d['createRangeOn'](_0x5c9fd2);const _0x42a7c6=_0x3a6a4d['createRange'](_0x1431a1,_0x134319);_0x1431a1['detach'](),_0x134319['detach'](),_0x165903['markBlockFormat'](_0x5c9fd2,{'commandName':'imageTypeInline','commandParams':[_0x299f65]},[],'convertInlineImageToBlock'),_0x42a7c6['start']['isBefore'](_0x444ea6['start'])&&_0x165903['markInsertion'](_0x3a6a4d['createRange'](_0x42a7c6['start'],_0x444ea6['start']),'convertInlineImageToBlock'),_0x444ea6['end']['isBefore'](_0x42a7c6['end'])&&_0x165903['markInsertion'](_0x3a6a4d['createRange'](_0x444ea6['end'],_0x42a7c6['end']),'convertInlineImageToBlock');});}),_0x165903['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x165903['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x165903['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x165903['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x165903['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x165903['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x3cb771])=>{const _0x355ae8=_0x165903['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0xfea9b7=_0x3cb771['start'],_0x416311=_0x3cb771['end'];const _0x5d7923=_0x404004['model']['schema']['getNearestSelectionRange'](_0xfea9b7,'backward'),_0x14eed5=_0x404004['model']['schema']['getNearestSelectionRange'](_0x416311,'forward');_0x5d7923['isCollapsed']&&(_0xfea9b7=_0x5d7923['start']),_0x14eed5['isCollapsed']&&(_0x416311=_0x14eed5['end']),_0x355ae8([_0x404004['model']['createRange'](_0xfea9b7,_0x416311)]);}),_0x165903['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x2a5f37),_0x165903['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x2a5f37)),_0x404004['plugins']['has']('ImageCaptionEditing')&&(_0x165903['enableCommand']('toggleImageCaption',(_0x4046d7,_0x272707)=>{const _0x42a773=_0x404004['plugins']['get']('ImageCaptionUtils');let _0x23efd8=_0x751143['getClosestSelectedImageElement'](_0x404004['model']['document']['selection']),_0x4bb25a=_0x42a773['getCaptionFromImageModelElement'](_0x23efd8);_0x404004['model']['change'](()=>{if(_0x4bb25a)return void _0x165903['markDeletion'](_0x404004['model']['createRangeOn'](_0x4bb25a));const _0x1afbbd=_0x751143['isBlockImage'](_0x23efd8);_0x4046d7(_0x272707),_0x23efd8=_0x751143['getClosestSelectedImageElement'](_0x404004['model']['document']['selection']),_0x4bb25a=_0x42a773['getCaptionFromImageModelElement'](_0x23efd8),_0x165903['markInsertion'](_0x404004['model']['createRangeOn'](_0x4bb25a),_0x1afbbd?null:'imageCaption');});}),_0x165903['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x2a5f37));const _0xe722f7=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x28df79(_0x55bcf2,_0x3ba5cb){const _0x29b926=_0xe722f7['findIndex'](({type:_0x4d3a00,subType:_0x2b2122})=>_0x55bcf2['type']==_0x4d3a00&&_0x55bcf2['subType']==_0x2b2122),_0x115214=_0xe722f7['findIndex'](({type:_0x319bd9,subType:_0x19d2ba})=>_0x3ba5cb['type']==_0x319bd9&&_0x3ba5cb['subType']==_0x19d2ba);if(_0x29b926<0x0||_0x115214<0x0)return!0x1;const _0x3b0312=_0x55bcf2['getFirstRange'](),_0x3ff0c7=_0x3ba5cb['getFirstRange']();if((0x0==_0x29b926||0x1==_0x29b926)&&0x2==_0x115214&&_0x3b0312['isIntersecting'](_0x3ff0c7))return!0x0;if(0x2==_0x29b926&&0x3==_0x115214){const _0x5655eb=_0x165903['_findSuggestions'](_0x3b0312,'insertion')['filter'](({suggestion:_0x4ce19c,meta:_0x4d107c})=>_0x4d107c['isOwn']&&'convertInlineImageToBlock'==_0x4ce19c['subType']);if(_0x5655eb['length']>0x1&&_0x3ff0c7['end']['isEqual'](_0x3b0312['start']))return!0x0;if(0x1==_0x5655eb['length']&&(_0x3b0312['start']['isEqual'](_0x3ff0c7['end'])||_0x3b0312['end']['isEqual'](_0x3ff0c7['start'])))return!0x0;}if(0x3==_0x29b926&&0x3==_0x115214&&_0x3b0312['start']['isBefore'](_0x3ff0c7['start'])){const _0x1654c2=_0x3b0312['end']['nodeAfter'],_0x1e7592=_0x3ff0c7['start']['nodeBefore'];return _0x751143['isBlockImage'](_0x1654c2)&&_0x1654c2===_0x1e7592;}return!0x1;}function _0x2a5f37(_0x196af4,_0x4f4bc0){return _0x28df79(_0x196af4,_0x4f4bc0)?[_0x196af4,_0x4f4bc0]:_0x28df79(_0x4f4bc0,_0x196af4)?[_0x4f4bc0,_0x196af4]:null;}_0x404004['plugins']['has']('ImageResize')&&(_0x165903['enableDefaultAttributesIntegration']('resizeImage'),_0x165903['descriptionFactory']['registerAttributeLabel']('resizedWidth',NL(_0x424b83,'FORMAT_IMAGE_SIZE'))),_0x404004['plugins']['has']('ImageTextAlternativeEditing')&&_0x165903['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x404004['plugins']['has']('PictureEditing')&&_0x165903['descriptionFactory']['registerDescriptionCallback'](_0x4c4276=>{if('attribute'!=_0x4c4276['type'])return;const {data:_0x1e7c47}=_0x4c4276;return _0x1e7c47&&'sources'==_0x1e7c47['key']?{'type':'format','content':''}:void 0x0;}),_0x404004['plugins']['has']('ImageSizeAttributes')&&_0x165903['descriptionFactory']['registerDescriptionCallback'](_0x5232c1=>{if('attribute'!=_0x5232c1['type'])return;const {data:_0x1e5041}=_0x5232c1;return!_0x1e5041||'width'!=_0x1e5041['key']&&'height'!=_0x1e5041['key']?void 0x0:{'type':'format','content':''};}),_0x165903['descriptionFactory']['registerDescriptionCallback'](_0x44ace7=>{if(!!_0xe722f7['find'](({type:_0x20681b,subType:_0x3516f6})=>_0x44ace7['type']==_0x20681b&&_0x44ace7['subType']==_0x3516f6))return _0x44ace7['previous']?{}:void 0x0;}),_0x165903['descriptionFactory']['registerDescriptionCallback'](_0x3bc8bf=>{if('insertion'==_0x3bc8bf['type']||'deletion'==_0x3bc8bf['type']){const _0x1bc686=_0x3bc8bf['getContainedElement']();if(_0x1bc686&&_0x1bc686['is']('element','caption'))return{'type':'insertion'==_0x3bc8bf['type']?'addObject':'removeObject','element':_0x1bc686,'quantity':0x1};}}),_0x165903['descriptionFactory']['registerDescriptionCallback'](_0x8ba31c=>'formatBlock'==_0x8ba31c['type']&&'convertInlineImageToBlock'==_0x8ba31c['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x8ba31c['type']&&'convertBlockImageToInline'==_0x8ba31c['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x165903['descriptionFactory']['registerDescriptionCallback'](_0xe0701e=>{if('attribute'!=_0xe0701e['type'])return;const {data:_0x2762b5}=_0xe0701e;if(!_0x2762b5||'alt'!=_0x2762b5['key'])return;const _0x5c2229=_0x2762b5['newValue'];return _0x5c2229?{'type':'format','content':NL(_0x424b83,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5c2229+'\x22')}:{'type':'format','content':NL(_0x424b83,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2c98f9=this['editor'],_0x514478=_0x2c98f9['locale'];_0x2c98f9['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x11ad79=>{if('formatBlock'!=_0x11ad79['type']&&'formatInline'!=_0x11ad79['type'])return;const {data:_0x21e7e1}=_0x11ad79;if(_0x21e7e1){if('imageTextAlternative'==_0x21e7e1['commandName']){const _0x258371=_0x21e7e1['commandParams'][0x0]['newValue'];return _0x258371?{'type':'format','content':NL(_0x514478,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x258371+'\x22')}:{'type':'format','content':NL(_0x514478,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x21e7e1['commandName']){const _0x4d9bc7=_0x21e7e1['commandParams'][0x0]['width'];return _0x4d9bc7?{'type':'format','content':NL(_0x514478,'*Set\x20image\x20width:*\x20%0',_0x4d9bc7)}:{'type':'format','content':NL(_0x514478,'*Reset\x20image\x20width*')};}}});}}class TrackChangesImageReplace extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x54a0ea=this['editor']['locale'],_0x30e978=this['editor']['plugins']['get']('TrackChangesEditing');_0x30e978['enableDefaultAttributesIntegration']('replaceImageSource'),_0x30e978['descriptionFactory']['registerDescriptionCallback'](_0x9ce1da=>{if('attribute'!=_0x9ce1da['type'])return;const {data:_0x2a84fc}=_0x9ce1da;return _0x2a84fc&&'src'==_0x2a84fc['key']?_0x2a84fc['newValue']&&_0x2a84fc['oldValue']?{'type':'format','content':NL(_0x54a0ea,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x42a8ca=this['editor']['plugins']['get']('TrackChangesEditing');_0x42a8ca['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x42a8ca['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x42a8ca['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x42a8ca['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x27ca63=this['editor'],_0x2f05ca=_0x27ca63['locale'];_0x27ca63['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x366dba=>{if('formatBlock'!=_0x366dba['type']&&'formatInline'!=_0x366dba['type'])return;const {data:_0x5addcf}=_0x366dba;if(!_0x5addcf||'replaceImageSource'!=_0x5addcf['commandName'])return;return{'type':'format','content':NL(_0x2f05ca,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x4ac504{['afterInit'](){const _0x310223=this['editor'];if(!_0x310223['plugins']['has']('ImageStyleEditing'))return;const _0x15c3b7=_0x310223['plugins']['get']('TrackChangesEditing'),_0x27d034=_0x310223['plugins']['get']('ImageUtils'),_0x5cae9f={};_0x15c3b7['enableCommand']('imageStyle',(_0x1d823a,_0x2d2e05)=>{const _0x226206=_0x310223['plugins']['get']('Users')['me'],_0x530ad6=_0x310223['commands']['get']('imageStyle');let _0x54f31c=_0x27d034['getClosestSelectedImageElement'](_0x310223['model']['document']['selection']),_0x7113d4=_0x310223['model']['createRangeOn'](_0x54f31c),_0x40ff2d=_0x530ad6['value'];if(_0x40ff2d==_0x2d2e05['value'])return;const _0x46d988={'commandName':'imageStyle','commandParams':[_0x2d2e05],'formatGroupId':_0x288d30()};_0x310223['model']['change'](()=>{if(_0x15c3b7['getSuggestions']()['filter'](_0x4c947b=>_0x4c947b['isInContent']&&_0x226206==_0x4c947b['author']&&('formatBlock'==_0x4c947b['type']||'formatInline'==_0x4c947b['type'])&&('imageStylePreApply'==_0x4c947b['subType']||'imageStylePostApply'==_0x4c947b['subType'])&&_0x4c947b['getFirstRange']()['isEqual'](_0x7113d4))['forEach'](_0x4f8977=>_0x15c3b7['discardSuggestion'](_0x4f8977['head'])),_0x54f31c=_0x27d034['getClosestSelectedImageElement'](_0x310223['model']['document']['selection']),_0x7113d4=_0x310223['model']['createRangeOn'](_0x54f31c),_0x530ad6['refresh'](),_0x310223['commands']['get']('imageTypeInline')['refresh'](),_0x310223['commands']['get']('imageTypeBlock')['refresh'](),_0x40ff2d=_0x530ad6['value'],_0x40ff2d!=_0x2d2e05['value'])return _0x27d034['isInlineImage'](_0x54f31c)&&_0x530ad6['shouldConvertImageType'](_0x2d2e05['value'],_0x54f31c)?(_0x1d823a({..._0x2d2e05,'setImageSizes':!0x1}),_0x54f31c=_0x27d034['getClosestSelectedImageElement'](_0x310223['model']['document']['selection']),void _0x15c3b7['markBlockFormat'](_0x54f31c,{..._0x46d988,'commandReversedParams':[{'value':_0x40ff2d||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x27d034['isBlockImage'](_0x54f31c)?_0x15c3b7['markBlockFormat'](_0x54f31c,_0x46d988,[],'imageStylePostApply'):_0x15c3b7['markInlineFormat'](_0x7113d4,_0x46d988,'imageStylePostApply'));});});for(const _0x56651f of _0x310223['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x5cae9f[_0x56651f['name']]=_0x56651f['title']['toLowerCase']();_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x54398b])=>{_0x27d034['setImageNaturalSizeAttributes'](_0x54398b['getContainedElement']());}),_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x1aa662,_0x1af5d7)=>{_0x15c3b7['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x1aa662,{'commandName':_0x1af5d7['commandName'],'commandParams':_0x1af5d7['commandReversedParams']});}),_0x15c3b7['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x594ab6,_0x267f94){if(_0x356fe9(_0x594ab6,_0x267f94))return[_0x594ab6,_0x267f94];if(_0x356fe9(_0x267f94,_0x594ab6))return[_0x267f94,_0x594ab6];return null;});const _0x2ebc8e=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x356fe9(_0x288509,_0x1f771a){const _0x5d6d71=_0x2ebc8e['findIndex'](({type:_0x4eb96f,subType:_0x940e47})=>_0x288509['type']==_0x4eb96f&&_0x288509['subType']==_0x940e47),_0x266dfa=_0x2ebc8e['findIndex'](({type:_0x39766d,subType:_0x1137df})=>_0x1f771a['type']==_0x39766d&&_0x1f771a['subType']==_0x1137df);if(_0x5d6d71<0x0||_0x266dfa<0x0)return!0x1;const _0x31ea08=_0x288509['getFirstRange'](),_0x17275b=_0x1f771a['getFirstRange']();if((0x0==_0x5d6d71||0x1==_0x5d6d71)&&0x2==_0x266dfa&&_0x31ea08['isIntersecting'](_0x17275b))return!0x0;if(0x2==_0x5d6d71&&0x3==_0x266dfa){const _0x54aa07=_0x15c3b7['_findSuggestions'](_0x31ea08,'insertion')['filter'](({suggestion:_0x126739,meta:_0x166b2f})=>_0x166b2f['isOwn']&&'convertInlineImageToBlock'==_0x126739['subType']);if(_0x54aa07['length']>0x1&&_0x17275b['end']['isEqual'](_0x31ea08['start']))return!0x0;if(0x1==_0x54aa07['length']&&(_0x31ea08['start']['isEqual'](_0x17275b['end'])||_0x31ea08['end']['isEqual'](_0x17275b['start'])))return!0x0;}if(0x3==_0x5d6d71&&0x3==_0x266dfa&&_0x31ea08['start']['isBefore'](_0x17275b['start'])){const _0x57dc72=_0x31ea08['end']['nodeAfter'],_0x53c190=_0x17275b['start']['nodeBefore'];return _0x27d034['isBlockImage'](_0x57dc72)&&_0x57dc72===_0x53c190;}return!0x1;}_0x310223['model']['document']['registerPostFixer'](()=>{let _0x655576=!0x1;const _0x44bf59=Array['from'](_0x310223['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x48ae8d,data:_0x2d51f5}of _0x44bf59){const {group:_0x1a57ae,type:_0x40d673,subType:_0x3460f7,id:_0x4c8215}=_0x15c3b7['_splitMarkerName'](_0x48ae8d);if('suggestion'==_0x1a57ae&&_0x15c3b7['hasSuggestion'](_0x4c8215)){if('formatBlock'==_0x40d673&&('imageStylePreApply'==_0x3460f7||'imageStylePostApply'==_0x3460f7)){const _0x40afd9=_0x15c3b7['getSuggestion'](_0x4c8215);if(_0x2d51f5['newRange']){const _0x563f5b=_0x40afd9['getFirstRange']()['getContainedElement']();if(_0x27d034['isBlockImage'](_0x563f5b))continue;_0x15c3b7['discardSuggestion'](_0x40afd9),_0x655576=!0x0;}}if('insertion'==_0x40d673&&'imageCaption'==_0x3460f7&&!_0x2d51f5['newRange']){const _0x36f015=_0x15c3b7['getSuggestion'](_0x4c8215);_0x36f015['next']&&_0x36f015['next']['isInContent']&&(_0x15c3b7['discardSuggestion'](_0x36f015['next']),_0x655576=!0x0);}}}return _0x655576;}),this['_registerLegacyDescription'](_0x5cae9f);}['_registerLegacyDescription'](_0x244c19){const _0x3521c3=this['editor'],_0x4b77c7=_0x3521c3['locale'];_0x3521c3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x58d7d6=>{if('formatBlock'!=_0x58d7d6['type']&&'formatInline'!=_0x58d7d6['type'])return;const {data:_0x484cc2}=_0x58d7d6;if(!_0x484cc2||'imageStyle'!=_0x484cc2['commandName'])return;const _0x44ca2a=_0x484cc2['commandParams'][0x0]['value'];return _0x460d97('side'===_0x44ca2a?NL(_0x4b77c7,'FORMAT_SIDE_IMAGE'):_0x244c19[_0x44ca2a]||_0x44ca2a);function _0x460d97(_0x1fd513){return{'type':'format','content':NL(_0x4b77c7,'*Format:*\x20%0',_0x1fd513)};}});}}class TrackChangesImportWord extends _0x4ac504{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x1b6efd){super(_0x1b6efd),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x38412f=this['editor'],_0x5c46ab=_0x38412f['commands']['get']('importWord'),_0x1f3715=_0x38412f['commands']['get']('trackChanges');_0x5c46ab&&(_0x5c46ab['on']('execute',(_0x595320,[,_0x289171])=>{this['_trackChangesValueDuringImport']=_0x1f3715['value'],_0x289171['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x5c46ab,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x5c46ab,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1f3715['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x38412f['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x3efe5b,_0x1c490d){const {suggestions:_0x3042a1}=_0x1c490d,_0x3e52b6=this['editor']['commands']['get']('trackChanges'),_0x343811=_0x3e52b6['value'];this['_trackChangesValueDuringImport']!==_0x343811&&(_0x3e52b6['execute'](),this['_trackChangesExecuted']=!0x0),_0x3042a1&&_0x3042a1['forEach'](({id:_0x3a46f9,type:_0x36e74e,author:_0x47ba1a,created_at:_0x4c08b0})=>{const _0x6f8a81={'id':_0x3a46f9,'type':_0x36e74e,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x47ba1a,'createdAt':_0x4c08b0?new Date(_0x4c08b0):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x6f8a81);});}}class TrackChangesIndent extends _0x4ac504{['afterInit'](){const _0x21be68=this['editor'],_0x366d09=_0x21be68['plugins']['get']('TrackChangesEditing');if(_0x21be68['plugins']['has']('IndentEditing')&&(_0x366d09['enableCommand']('indent'),_0x366d09['enableCommand']('outdent')),_0x21be68['plugins']['has']('IndentBlock')){for(const _0x212c59 of['indentBlock','outdentBlock'])_0x366d09['enableDefaultAttributesIntegration'](_0x212c59);if(_0x21be68['plugins']['has']('ListEditing')){for(const _0x43dc4e of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x366d09['enableDefaultAttributesIntegration'](_0x43dc4e);}}const _0x9e71cb=_0x21be68['locale'];_0x366d09['descriptionFactory']['registerAttributeLabel']('blockIndent',NL(_0x9e71cb,'FORMAT_INDENT')),_0x366d09['descriptionFactory']['registerAttributeLabel']('blockIndentList',NL(_0x9e71cb,'FORMAT_INDENT')),_0x366d09['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',NL(_0x9e71cb,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2c2b24=this['editor'],_0x448adb=_0x2c2b24['locale'],_0x5992ce=_0x2c2b24['plugins']['get']('TrackChangesEditing');_0x5992ce['descriptionFactory']['registerDescriptionCallback'](_0x49b7fd=>{if('formatBlock'!=_0x49b7fd['type'])return;const {data:_0x1292ef}=_0x49b7fd;if(!_0x1292ef)return;if('indentBlock'!=_0x1292ef['commandName']&&'outdentBlock'!=_0x1292ef['commandName'])return;const _0x25d17e=_0x49b7fd['getItems']()[0x0],_0x2c77da=_0x5992ce['descriptionFactory']['getItemLabel'](_0x25d17e);return'indentBlock'==_0x1292ef['commandName']?{'type':'format','content':NL(_0x448adb,'*Indent:*\x20%0',_0x2c77da)}:'outdentBlock'==_0x1292ef['commandName']?{'type':'format','content':NL(_0x448adb,'*Outdent:*\x20%0',_0x2c77da)}:void 0x0;});}}class TrackChangesInputCommand extends _0x4ac504{static get['requires'](){return[_0x40ec8a];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class TrackChangesLink extends _0x4ac504{['afterInit'](){const _0x211f35=this['editor'];if(!_0x211f35['plugins']['has']('LinkEditing'))return;const _0x1d88ca=_0x211f35['plugins']['get']('TrackChangesEditing'),_0xf16fa3=_0x211f35['commands']['get']('link');_0x1d88ca['enableDefaultAttributesIntegration']('link'),_0x1d88ca['enableDefaultAttributesIntegration']('unlink');for(const _0x25eba4 of _0xf16fa3['manualDecorators'])_0x1d88ca['descriptionFactory']['registerAttributeLabel'](_0x25eba4['id'],'link\x20('+_0x25eba4['label']['toLowerCase']()+')');_0x1d88ca['descriptionFactory']['registerDescriptionCallback'](_0x569b33=>{if('attribute'!=_0x569b33['type'])return;const {data:_0x49cbaf}=_0x569b33;if(!_0x49cbaf||'linkHref'!=_0x49cbaf['key'])return;const _0x5728df=_0x49cbaf['newValue'],_0x2bcc93=_0x211f35['locale'];return{'type':'format','content':null==_0x5728df?NL(_0x2bcc93,'*Remove\x20link*'):NL(_0x2bcc93,'*Set\x20link:*\x20%0','\x22'+_0x5728df+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x421348=this['editor'],_0x50010c=_0x421348['locale'];_0x421348['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3617ea=>{if('formatInline'!=_0x3617ea['type'])return;const {data:_0x5f4f91}=_0x3617ea;if(_0x5f4f91){if('link'==_0x5f4f91['commandName']){const _0x24258b=_0x5f4f91['commandParams'][0x0];return{'type':'format','content':NL(_0x50010c,'*Set\x20link:*\x20%0','\x22'+_0x24258b+'\x22')};}return'unlink'==_0x5f4f91['commandName']?{'type':'format','content':NL(_0x50010c,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x4ac504{['afterInit'](){const _0x3baa9a=this['editor'],_0x22c8e4=_0x3baa9a['locale'];if(!_0x3baa9a['plugins']['has']('LegacyListEditing'))return;const _0xdc61c1=_0x3baa9a['plugins']['get']('TrackChangesEditing'),_0xc7611e=_0x3baa9a['plugins']['has']('LegacyTodoListEditing');function _0x45e707(_0x27217e){return()=>{const _0x480d99=_0x3baa9a['model']['document']['selection'],_0xe0c88c=_0x3baa9a['commands']['get'](_0x27217e);if(_0xe0c88c['value'])return void _0x3baa9a['execute']('paragraph',{});const _0x371710=_0x27217e['slice'](0x0,-0x4),_0x3118f1=function(_0x4bf44e,_0x46b7c6,_0x59b8c3){let _0x56874e=Array['from'](_0x4bf44e)['filter'](_0x28a992=>function(_0x500675,_0x4bd543){return _0x4bd543['checkChild'](_0x500675['parent'],'listItem')&&!_0x4bd543['isObject'](_0x500675);}(_0x28a992,_0x59b8c3));_0x56874e=_0x56874e['filter'](_0x47625b=>!_0x47625b['is']('element','listItem')||_0x47625b['getAttribute']('listType')!=_0x46b7c6);const _0x24cdb0=new Set();for(const _0x2447ec of _0x56874e)_0x2447ec['is']('element','listItem')?_0x24cdb0['add'](jL(_0x2447ec)):_0x24cdb0['add'](_0x2447ec);return Array['from'](_0x24cdb0);}(_0x480d99['getSelectedBlocks'](),_0x371710,_0x3baa9a['model']['schema']);_0x3baa9a['model']['change'](()=>{for(const _0x944c52 of _0x3118f1)_0xdc61c1['markBlockFormat'](_0x944c52,{'commandName':_0x27217e,'commandParams':[{'forceValue':!_0xe0c88c['value']}],'formatGroupId':'blockName'},HL(_0x944c52));});};}function _0x5c0509(_0x201289){return()=>{const _0x5f5823=function(_0x26a59c){let _0x591edc=Array['from'](_0x26a59c);const _0x9f3bcc=_0x591edc['findIndex'](_0x27f2f7=>'listItem'!=_0x27f2f7['name']);return _0x9f3bcc>-0x1&&(_0x591edc=_0x591edc['slice'](0x0,_0x9f3bcc)),_0x591edc;}(_0x3baa9a['model']['document']['selection']['getSelectedBlocks']()),_0x5cf65e=_0x3baa9a['model']['createRange'](_0x3baa9a['model']['createPositionAt'](_0x5f5823[0x0],'before'),_0x3baa9a['model']['createPositionAt'](_0x5f5823[_0x5f5823['length']-0x1],'end'));_0x3baa9a['model']['change'](()=>{_0xdc61c1['markBlockFormat'](_0x5cf65e,{'commandName':_0x201289,'commandParams':[],'formatGroupId':'listIndent'},function(_0xc65af2){const _0xd5ac02=new Set();for(const _0x18d5e7 of _0xc65af2){let _0x59db06=_0x18d5e7['nextSibling'];for(;_0x59db06&&_0x59db06['getAttribute']('listIndent')>_0x18d5e7['getAttribute']('listIndent');)_0xd5ac02['add'](_0x59db06),_0x59db06=_0x59db06['nextSibling'];}return Array['from'](_0xd5ac02);}(_0x5f5823));});};}_0xdc61c1['enableCommand']('numberedList',_0x45e707('numberedList')),_0xdc61c1['enableCommand']('bulletedList',_0x45e707('bulletedList')),_0xc7611e&&_0xdc61c1['enableCommand']('todoList',_0x45e707('todoList')),_0xdc61c1['enableCommand']('indentList',_0x5c0509('indentList')),_0xdc61c1['enableCommand']('outdentList',_0x5c0509('outdentList')),_0xc7611e&&_0xdc61c1['enableCommand']('checkTodoList',()=>{const _0x2786c4=_0x3baa9a['commands']['get']('checkTodoList'),_0x5f4a17=Array['from'](_0x2786c4['_selectedElements']);_0x5f4a17['filter'](_0x150820=>_0x150820['getAttribute']('todoListChecked')!=_0x2786c4['value']),_0x3baa9a['model']['change'](()=>{for(const _0x225060 of _0x5f4a17)_0xdc61c1['markBlockFormat'](_0x225060,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x2786c4['value']}]});});}),_0xdc61c1['descriptionFactory']['registerElementLabel']('listItem',_0x312cee=>NL(_0x22c8e4,'ELEMENT_LIST_ITEM',_0x312cee)),_0xdc61c1['descriptionFactory']['registerDescriptionCallback'](_0x457b31=>{if('formatBlock'!=_0x457b31['type']&&'formatInline'!=_0x457b31['type'])return;const {data:_0x206b44}=_0x457b31;if(_0x206b44){if('numberedList'==_0x206b44['commandName']||'bulletedList'==_0x206b44['commandName']||'todoList'==_0x206b44['commandName'])switch(_0x206b44['commandName']['replace']('List','')){case'bulleted':return _0x267c4c(NL(_0x22c8e4,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x267c4c(NL(_0x22c8e4,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x267c4c(NL(_0x22c8e4,'ELEMENT_TODO_LIST'));}if('indentList'==_0x206b44['commandName'])return{'type':'format','content':NL(_0x22c8e4,'*Indent:*\x20%0',NL(_0x22c8e4,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x206b44['commandName'])return{'type':'format','content':NL(_0x22c8e4,'*Outdent:*\x20%0',NL(_0x22c8e4,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x206b44['commandName'])return _0x206b44['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x22c8e4,'*Check\x20item*')}:{'type':'format','content':NL(_0x22c8e4,'*Uncheck\x20item*')};}function _0x267c4c(_0x5a18a7){return{'type':'format','content':NL(_0x22c8e4,'*Change\x20to:*\x20%0',_0x5a18a7)};}});}}function jL(_0x5dba5b){const _0x3957a2=_0x5dba5b['getAttribute']('listIndent');if(0x0==_0x3957a2)return _0x5dba5b;let _0x384ed4=_0x5dba5b;for(;_0x5dba5b['previousSibling']&&_0x5dba5b['previousSibling']['is']('element','listItem');){const _0x50154e=_0x5dba5b['previousSibling']['getAttribute']('listIndent');if(_0x50154e==_0x3957a2)_0x384ed4=_0x5dba5b['previousSibling'];else{if(_0x50154e<_0x3957a2)break;}_0x5dba5b=_0x5dba5b['previousSibling'];}return _0x384ed4;}function HL(_0x4d27e1){const _0x4fdf2a=[];if(_0x4d27e1['is']('element','listItem')&&_0x4d27e1['getAttribute']('listIndent')>0x0){let _0x321d9f=_0x4d27e1['nextSibling'];for(;_0x321d9f&&'listItem'==_0x321d9f['name']&&_0x321d9f['getAttribute']('listIndent')==_0x4d27e1['getAttribute']('listIndent');)_0x4fdf2a['push'](_0x321d9f),_0x321d9f=_0x321d9f['nextSibling'];}return _0x4fdf2a;}class TrackChangesLegacyListProperties extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x5eaf72=this['editor']['config']['get']('list.properties'),_0xaae5ab=this['editor']['plugins']['get']('TrackChangesEditing');_0x5eaf72['styles']&&_0xaae5ab['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x5eaf72['reversed']&&_0xaae5ab['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x5eaf72['startIndex']&&_0xaae5ab['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0xaae5ab['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x3c1bd,_0x23aa06={}){const _0x1ac03d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x212ad6=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x1ac03d['markMultiRangeBlockFormat'](_0x212ad6,{'commandName':'listStyle','commandParams':[{'type':_0x23aa06['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x375420,_0x167d81={}){const _0x70fed0=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4d1e3c=this['_getSuggestionBlocks'](_0x1b5126=>_0x1b5126['is']('element','listItem')&&'numbered'===_0x1b5126['getAttribute']('listType'));if(_0x4d1e3c['length']<0x1)return;const _0x53de5b=_0x4d1e3c['map'](_0x746e68=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x746e68,'before'),this['editor']['model']['createPositionAt'](_0x746e68,0x0)));this['editor']['model']['change'](()=>{_0x70fed0['markMultiRangeBlockFormat'](_0x53de5b,{'commandName':'listReversed','commandParams':[{'reversed':_0x167d81['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x62ac02,_0x3874a2={}){const _0x484faa=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1e5769=this['_getSuggestionBlocks'](_0x1f635e=>_0x1f635e['is']('element','listItem')&&'numbered'===_0x1f635e['getAttribute']('listType'));if(_0x1e5769['length']<0x1)return;const _0x5eeefc=_0x1e5769['map'](_0x183f07=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x183f07,'before'),this['editor']['model']['createPositionAt'](_0x183f07,0x0)));this['editor']['model']['change'](()=>{_0x484faa['markMultiRangeBlockFormat'](_0x5eeefc,{'commandName':'listStart','commandParams':[{'startIndex':_0x3874a2['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x25c6b9){if('formatBlock'!=_0x25c6b9['type']&&'formatInline'!=_0x25c6b9['type'])return;const _0xb3b427=this['editor']['locale'],{data:_0x57cf1e}=_0x25c6b9;if(!_0x57cf1e)return;let _0x275c3f,_0x2e37bf;switch(_0x57cf1e['commandName']){case'listStyle':_0x275c3f='*Change\x20to:*\x20%0',_0x2e37bf={'type':'format','content':NL(_0xb3b427,_0x275c3f,NL(_0xb3b427,this['_getTranslationKeyForListStyle'](_0x57cf1e['commandParams'][0x0]['type'])))};break;case'listReversed':_0x275c3f=_0x57cf1e['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x2e37bf={'type':'format','content':NL(_0xb3b427,_0x275c3f)};break;case'listStart':_0x275c3f='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2e37bf={'type':'format','content':NL(_0xb3b427,_0x275c3f,_0x57cf1e['commandParams'][0x0]['startIndex'])};}return _0x2e37bf;}['_getSuggestionBlocksForListStyle'](){const _0x2dea74=this['editor']['plugins']['get']('LegacyListUtils');let _0x5ce61d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x5ce61d[0x0]?.['is']('element','listItem')&&_0x5ce61d['unshift'](..._0x2dea74['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x5ce61d[_0x5ce61d['length']-0x1]?.['is']('element','listItem')&&_0x5ce61d['push'](..._0x2dea74['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x5ce61d=[...new Set(_0x5ce61d)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x5ce61d=_0x5ce61d['filter'](_0x58647b=>_0x58647b['is']('element','listItem'))),_0x5ce61d;}['_getSuggestionBlocks'](_0x5c38cb){const _0x4dba8c=this['editor']['plugins']['get']('LegacyListUtils');let _0x48bad0=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x5c38cb)['map'](_0x3e875b=>{const _0x194eda=this['editor']['model']['createPositionAt'](_0x3e875b,0x0);return[..._0x4dba8c['getSiblingNodes'](_0x194eda,'backward'),..._0x4dba8c['getSiblingNodes'](_0x194eda,'forward')];})['flat']();return _0x48bad0=[...new Set(_0x48bad0)],_0x48bad0;}['_getTranslationKeyForListStyle'](_0x37dbb4){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x37dbb4)||'default')['toUpperCase']()+'_LIST_'+_0x37dbb4['toUpperCase']()['replace'](/-/g,'_');}}class TrackChangesMediaEmbed extends _0x4ac504{['afterInit'](){const _0x27957c=this['editor'];if(!_0x27957c['plugins']['has']('MediaEmbedEditing'))return;const _0x417351=_0x27957c['plugins']['get']('TrackChangesEditing'),_0x52f98b=_0x27957c['locale'];_0x417351['enableCommand']('mediaEmbed'),_0x417351['descriptionFactory']['registerElementLabel']('media',_0x10849f=>NL(_0x52f98b,'ELEMENT_MEDIA',_0x10849f));}}class TrackChangesMention extends _0x4ac504{['afterInit'](){const _0x324c0b=this['editor'];_0x324c0b['plugins']['has']('MentionEditing')&&_0x324c0b['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class TrackChangesMergeFields extends _0x4ac504{['afterInit'](){const _0x1d57b1=this['editor'];if(!_0x1d57b1['plugins']['has']('MergeFieldsEditing'))return;const _0x3309fa=_0x1d57b1['plugins']['get']('TrackChangesEditing'),_0x5bf93e=_0x1d57b1['locale'];_0x3309fa['enableCommand']('insertMergeField'),_0x3309fa['enableCommand']('insertMergeFieldBlock'),_0x3309fa['enableCommand']('insertMergeFieldImage'),_0x3309fa['descriptionFactory']['registerElementLabel']('mergeField',_0xd0ba1=>NL(_0x5bf93e,'ELEMENT_MERGE_FIELD',_0xd0ba1)),_0x3309fa['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x12ded8=>NL(_0x5bf93e,'ELEMENT_MERGE_FIELD',_0x12ded8)),_0x3309fa['descriptionFactory']['registerDescriptionCallback'](_0x1a1e90=>{if('insertion'!=_0x1a1e90['type']&&'deletion'!=_0x1a1e90['type'])return;const _0x236667=_0x1a1e90['getContainedElement']();if(null==_0x236667)return;const _0x98aeb7=_0x1d57b1['plugins']['get']('MergeFieldsEditing');let _0x50b0ae;switch(_0x98aeb7['getMergeFieldType'](_0x236667)){case null:return;case'image':{const _0x546720=_0x98aeb7['unwrapAffixes'](_0x236667['getAttribute']('src'));_0x50b0ae=_0x98aeb7['getLabel'](_0x546720)||_0x546720;break;}default:{const _0x29cba1=_0x236667['getAttribute']('id');_0x50b0ae=_0x98aeb7['getLabel'](_0x29cba1)||_0x29cba1;break;}}return'insertion'==_0x1a1e90['type']?{'type':'insertion','content':NL(_0x5bf93e,'*Insert:*\x20%0','\x22'+_0x50b0ae+'\x22\x20'+NL(_0x5bf93e,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':NL(_0x5bf93e,'*Remove:*\x20%0','\x22'+_0x50b0ae+'\x22\x20'+NL(_0x5bf93e,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x4ac504{['afterInit'](){const _0x9dd741=this['editor'],_0x952b3f=_0x9dd741['plugins']['get']('TrackChangesEditing');_0x9dd741['plugins']['has']('MultiLevelList')&&(_0x952b3f['enableDefaultAttributesIntegration']('multiLevelList'),_0x952b3f['descriptionFactory']['registerDescriptionCallback'](_0x4714cf=>this['handleDescriptions'](_0x4714cf)));}['handleDescriptions'](_0x13d523){const _0x4bfdf5=this['editor']['locale'],{data:_0x5aae84}=_0x13d523,_0x5bdc5d={'type':'format','content':''};if(_0x5aae84&&'listMarkerStyle'==_0x5aae84['key']){if(!_0x5aae84['oldValue'])return{'type':'format','content':NL(_0x4bfdf5,'*Set\x20format:*\x20%0',NL(_0x4bfdf5,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x5aae84['newValue']+')'};if(!_0x5aae84['newValue']){let _0x173e86=_0x13d523['head'];for(;_0x173e86;){if(_0x173e86['data']&&'listType'==_0x173e86['data']['key']&&_0x173e86['data']['newValue'])return _0x5bdc5d;_0x173e86=_0x173e86['next'];}return{'type':'format','content':NL(_0x4bfdf5,'*Remove\x20format:*\x20%0',NL(_0x4bfdf5,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x5aae84['oldValue']+')'};}}}}class TrackChangesPageBreak extends _0x4ac504{['afterInit'](){const _0x2e339e=this['editor'];if(!_0x2e339e['plugins']['has']('PageBreakEditing'))return;_0x2e339e['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x80e2ae=_0x2e339e['plugins']['get']('TrackChangesEditing'),_0x274fc9=_0x2e339e['locale'];_0x80e2ae['descriptionFactory']['registerElementLabel']('pageBreak',_0x5ee199=>NL(_0x274fc9,'ELEMENT_PAGE_BREAK',_0x5ee199));}}class TrackChangesParagraph extends _0x4ac504{['afterInit'](){const _0x5866e6=this['editor'];if(!_0x5866e6['plugins']['has']('Paragraph'))return;const _0x182094=_0x5866e6['locale'],_0xb2070c=_0x5866e6['plugins']['get']('TrackChangesEditing');_0xb2070c['descriptionFactory']['registerElementLabel']('paragraph',_0x260ecf=>NL(_0x182094,'ELEMENT_PARAGRAPH',_0x260ecf)),_0xb2070c['enableDefaultAttributesIntegration']('paragraph'),_0xb2070c['enableCommand']('insertParagraph');const _0x527a84=_0xb2070c['descriptionFactory'];_0x527a84['registerDescriptionCallback'](_0x373998=>{if('insertion'!==_0x373998['type'])return;const {start:_0x38f56a,end:_0x5500ba}=_0x373998['getFirstRange']();if(!_0x38f56a['isTouching'](_0x5500ba)||!_0x38f56a['nodeAfter'])return;const _0x8fb67b=_0x5866e6['model']['schema'],_0x5a4a7a=_0x38f56a['nodeAfter'];return _0x8fb67b['isBlock'](_0x5a4a7a)&&!_0x8fb67b['isLimit'](_0x5a4a7a)&&_0x8fb67b['checkChild'](_0x5a4a7a,'$text')?{'type':'insertion','content':NL(_0x182094,'*Insert:*\x20%0',_0x527a84['getItemLabel'](_0x5a4a7a,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4f79a4=this['editor'],_0x2ba284=_0x4f79a4['locale'];_0x4f79a4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x31d5ad=>{if('formatBlock'!=_0x31d5ad['type'])return;const {data:_0x571ca7}=_0x31d5ad;return _0x571ca7&&'paragraph'==_0x571ca7['commandName']?{'type':'format','content':NL(_0x2ba284,'*Change\x20to:*\x20%0',NL(_0x2ba284,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class TrackChangesReplaceSourceCommand extends _0x4ac504{['afterInit'](){const _0x81047=this['editor'];_0x81047['commands']['get']('replaceSource')&&_0x81047['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x4ac504{['afterInit'](){const _0x978d74=this['editor'];if(!_0x978d74['plugins']['has']('RemoveFormatEditing'))return;_0x978d74['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x359607=this['editor'];_0x359607['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xe8c1f2=>{if('formatBlock'!=_0xe8c1f2['type']&&'formatInline'!=_0xe8c1f2['type'])return;const {data:_0x44528b}=_0xe8c1f2;return _0x44528b&&'removeFormat'==_0x44528b['commandName']?{'type':'format','content':NL(_0x359607['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x4ac504{['afterInit'](){const _0x30a319=this['editor'];if(!_0x30a319['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x4b38d2=_0x30a319['plugins']['get']('TrackChangesEditing');_0x4b38d2['enableCommand']('goToPreviousRestrictedEditingException'),_0x4b38d2['enableCommand']('goToNextRestrictedEditingException');const _0x43c269=_0x30a319['plugins']['get']('RestrictedEditingModeEditing');_0x43c269['enableCommand']('trackChanges'),_0x43c269['enableCommand']('acceptSuggestion'),_0x43c269['enableCommand']('discardSuggestion'),_0x43c269['enableCommand']('acceptAllSuggestions'),_0x43c269['enableCommand']('discardAllSuggestions'),_0x43c269['enableCommand']('acceptSelectedSuggestions'),_0x43c269['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x4ac504{['afterInit'](){const _0x1bee4=this['editor'];if(!_0x1bee4['plugins']['has']('ShiftEnter'))return;const _0x484f44=_0x1bee4['plugins']['get']('TrackChangesEditing');_0x484f44['enableCommand']('shiftEnter'),_0x484f44['descriptionFactory']['registerElementLabel']('softBreak',_0x269cf8=>NL(_0x1bee4['locale'],'ELEMENT_LINE_BREAK',_0x269cf8));}}function GL(_0x403b5a,_0x393a12,_0x18b898){const _0xa13df9=[];for(const _0x47f9a4 of _0x393a12['getItems']())_0x47f9a4['hasAttribute'](_0x403b5a)&&_0xa13df9['push'](_0x18b898['createRangeOn'](_0x47f9a4));return _0xa13df9;}class TrackChangesStandardEditingMode extends _0x4ac504{['afterInit'](){const _0x35eb86=this['editor'],_0x19fc92=_0x35eb86['plugins']['get']('TrackChangesEditing');_0x35eb86['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x19fc92['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x2fab22=this['editor'],_0x68bb42=_0x2fab22['model'],_0x57ebac=_0x2fab22['locale'],_0x331b63=_0x2fab22['plugins']['get']('TrackChangesEditing'),_0x4fbb59='restrictedEditingException',_0x4da9b8=_0x2fab22['commands']['get'](_0x4fbb59);_0x331b63['enableCommand'](_0x4fbb59,(_0x34ad7a,_0x292bce={})=>{const _0x167387=_0x68bb42['document']['selection'];if(_0x167387['isCollapsed'])return void _0x34ad7a(_0x292bce);const _0x12ee2a=void 0x0!==_0x292bce['forceValue']?_0x292bce['forceValue']:!_0x4da9b8['value'];_0x68bb42['change'](()=>{const _0x485775=Array['from'](_0x167387['getRanges']());for(const _0x1ed4ed of _0x485775){const _0x49a40b=_0x12ee2a?[_0x1ed4ed]:GL(_0x4fbb59,_0x1ed4ed,_0x68bb42);for(const _0x584b96 of _0x49a40b)_0x331b63['markInlineFormat'](_0x584b96,{'commandName':_0x4fbb59,'commandParams':[{'forceValue':_0x12ee2a}]});}});}),_0x331b63['descriptionFactory']['registerDescriptionCallback'](_0x42cc96=>{if('formatBlock'!=_0x42cc96['type']&&'formatInline'!=_0x42cc96['type'])return;const {data:_0x4f04aa}=_0x42cc96;return _0x4f04aa&&_0x4f04aa['commandName']==_0x4fbb59?_0x4f04aa['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x57ebac,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':NL(_0x57ebac,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x2f1f70=this['editor'],_0x55c729=_0x2f1f70['locale'],_0x1cfd6c=_0x2f1f70['plugins']['get']('TrackChangesEditing'),_0x37d724='restrictedEditingExceptionBlock',_0x219e30=this['editor']['commands']['get'](_0x37d724);_0x1cfd6c['enableCommand'](_0x37d724,(_0x3724cf,_0x10677c={})=>{const _0x3a744a=this['editor']['model']['document']['selection'],_0x3e4a21=_0x10677c&&void 0x0!==_0x10677c['forceValue']?_0x10677c['forceValue']:!_0x219e30['value'];let _0x29897b=[];if(_0x3e4a21){const _0x4e5e2f=Array['from'](_0x3a744a['getSelectedBlocks']())['filter'](_0x37ee5e=>function(_0x23a484){return!!_0x23a484['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x37ee5e)||function(_0x17aa3b,_0x4bab34){const _0x5da605=_0x4bab34['createContext'](_0x17aa3b['parent']);if(!_0x4bab34['checkChild'](_0x5da605,'restrictedEditingException'))return!0x1;if(!_0x4bab34['checkChild'](_0x5da605['push']('restrictedEditingException'),_0x17aa3b))return!0x1;return!0x0;}(_0x37ee5e,this['editor']['model']['schema']));_0x29897b=RL(_0x4e5e2f,_0x2f1f70['model']);}else{const _0x2c8d81=Array['from'](_0x3a744a['getSelectedBlocks']())['map'](_0x410277=>function(_0x5a2c84){let _0x5f29cd=_0x5a2c84;for(;_0x5f29cd['parent'];){if('restrictedEditingException'==_0x5f29cd['parent']['name'])return _0x5f29cd;_0x5f29cd=_0x5f29cd['parent'];}return null;}(_0x410277))['filter'](_0x58fc8f=>!!_0x58fc8f);_0x29897b=RL(_0x2c8d81,_0x2f1f70['model']);}_0x2f1f70['model']['change'](()=>{for(const _0x5bab52 of _0x29897b)_0x1cfd6c['markBlockFormat'](_0x5bab52,{'commandName':_0x37d724,'commandParams':[{'forceValue':_0x3e4a21}]});});}),_0x1cfd6c['descriptionFactory']['registerDescriptionCallback'](_0x2e37c1=>{const {data:_0x38f753}=_0x2e37c1;if(_0x38f753&&_0x38f753['commandName']==_0x37d724)return _0x38f753['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x55c729,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':NL(_0x55c729,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x4ac504{['afterInit'](){const _0x199c28=this['editor'];if(!_0x199c28['plugins']['has']('Style')||!_0x199c28['plugins']['has']('DataSchema'))return;const _0x6c5692=_0x199c28['plugins']['get']('TrackChangesEditing'),_0x2933fc=_0x199c28['locale'],_0x42c863=_0x199c28['config']['get']('style')||{},_0x5e5070=_0x199c28['plugins']['get']('GeneralHtmlSupport'),_0x3f3f60=_0x199c28['plugins']['get']('StyleUtils')['normalizeConfig'](_0x199c28['plugins']['get']('DataSchema'),_0x42c863['definitions']);_0x6c5692['enableDefaultAttributesIntegration']('style');const _0x338db6=new Set();for(const _0x5523b3 of _0x3f3f60['block']){const _0x134fa6=_0x5e5070['getGhsAttributeNameForElement'](_0x5523b3['element']);_0x338db6['add'](_0x134fa6);}const _0x2e93d8=new Set();for(const _0x43c34e of _0x3f3f60['inline']){const _0x4068d3=_0x5e5070['getGhsAttributeNameForElement'](_0x43c34e['element']);_0x2e93d8['add'](_0x4068d3);for(const _0x1b6d60 of _0x43c34e['ghsAttributes'])_0x2e93d8['add'](_0x1b6d60);}for(const _0x1beb32 of _0x338db6)_0x6c5692['descriptionFactory']['registerAttributeLabel'](_0x1beb32,NL(_0x2933fc,'FORMAT_STYLE'));for(const _0x32088d of _0x2e93d8)_0x6c5692['descriptionFactory']['registerAttributeLabel'](_0x32088d,NL(_0x2933fc,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x327884=this['editor'],_0x23dd57=_0x327884['locale'];_0x327884['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3e9be2=>{if('formatBlock'!=_0x3e9be2['type']&&'formatInline'!=_0x3e9be2['type'])return;const {data:_0x49e6eb}=_0x3e9be2;return _0x49e6eb&&'style'===_0x49e6eb['commandName']?_0x49e6eb['commandParams'][0x0]['forceValue']?{'type':'format','content':NL(_0x23dd57,'*Set\x20format:*\x20%0',_0x49e6eb['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':NL(_0x23dd57,'*Remove\x20format:*\x20%0',_0x49e6eb['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class TrackChangesTable extends _0x4ac504{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x4abd10){super(_0x4abd10),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x28c0b9=this['editor'],_0x113022=_0x28c0b9['model']['document']['selection'];if(!_0x28c0b9['plugins']['has']('TableEditing'))return;const _0x105f81=_0x28c0b9['locale'],_0xb5cc80=_0x28c0b9['plugins']['get']('TrackChangesEditing'),_0x67eafb=_0x28c0b9['plugins']['get']('TableUtils');_0xb5cc80['descriptionFactory']['registerElementLabel']('table',_0xc23e93=>NL(_0x105f81,'ELEMENT_TABLE',_0xc23e93)),this['_setupColumnsRowsFixing'](),_0xb5cc80['enableCommand']('insertTable'),_0xb5cc80['enableCommand']('selectTableRow'),_0xb5cc80['enableCommand']('selectTableColumn');for(const _0x1dce50 of['insertTableRowAbove','insertTableRowBelow']){const _0x17532d=_0x28c0b9['commands']['get'](_0x1dce50);_0xb5cc80['enableCommand'](_0x1dce50,_0x53e8be=>{_0x28c0b9['model']['change'](_0x56c4de=>{_0x53e8be();const _0x1ff666='above'===_0x17532d['order'],_0x543795=_0x67eafb['getSelectionAffectedTableCells'](_0x113022),_0x5119ee=_0x67eafb['getRowIndexes'](_0x543795),_0x17c2d3=_0x1ff666?_0x5119ee['first']-0x1:_0x5119ee['last']+0x1,_0x405f98=_0x543795[0x0]['findAncestor']('table'),_0x1bebec=_0x67eafb['createTableWalker'](_0x405f98,{'startRow':_0x17c2d3,'endRow':_0x17c2d3}),_0x21f00b=Array['from'](_0x1bebec)['map'](_0x431996=>_0x56c4de['createRangeOn'](_0x431996['cell']));_0xb5cc80['markMultiRangeInsertion'](_0x21f00b,'tableRow');});});}for(const _0x1eac80 of['insertTableColumnLeft','insertTableColumnRight']){const _0x187ee7=_0x28c0b9['commands']['get'](_0x1eac80);_0xb5cc80['enableCommand'](_0x1eac80,_0x5df6aa=>{_0x28c0b9['model']['change'](_0xf9c130=>{_0x5df6aa();const _0x37bf8c='left'===_0x187ee7['order'],_0x4a4991=_0x67eafb['getSelectionAffectedTableCells'](_0x113022),_0x2164f0=_0x67eafb['getColumnIndexes'](_0x4a4991),_0x34d0b7=_0x37bf8c?_0x2164f0['first']-0x1:_0x2164f0['last']+0x1,_0x3daa37=_0x4a4991[0x0]['findAncestor']('table'),_0x45c2b0=_0x67eafb['createTableWalker'](_0x3daa37,{'startRow':0x0,'column':_0x34d0b7,'includeAllSlots':!0x1}),_0x3e3ac4=Array['from'](_0x45c2b0)['map'](_0x3741c6=>_0xf9c130['createRangeOn'](_0x3741c6['cell']));_0xb5cc80['markMultiRangeInsertion'](_0x3e3ac4,'tableColumn');});});}for(const _0x1e01e1 of['removeTableRow','removeTableColumn']){const _0x1b57d9=_0x1e01e1['substr'](0xb),_0x1d0c58=_0x1b57d9['toLowerCase'](),_0x196c97=_0x1d0c58['substr'](0x0,0x3)+'span',_0x28320e='table'+_0x1b57d9,_0x5bfcda='min'+_0x1b57d9,_0x28496f='max'+_0x1b57d9;_0xb5cc80['enableCommand'](_0x1e01e1,()=>{_0x28c0b9['model']['change'](_0xb8d54d=>{const _0x472352=_0x67eafb['getSelectionAffectedTableCells'](_0x113022),_0x4c6d3a=_0x472352[0x0]['findAncestor']('table');let _0x2efd45;if('removeTableRow'==_0x1e01e1){const _0xbee0aa=_0x67eafb['getRowIndexes'](_0x472352);_0x2efd45={'startRow':_0xbee0aa['first'],'endRow':_0xbee0aa['last'],'includeAllSlots':!0x0};}else{const _0x4caee6=_0x67eafb['getColumnIndexes'](_0x472352);_0x2efd45={'startColumn':_0x4caee6['first'],'endColumn':_0x4caee6['last'],'includeAllSlots':!0x0};}const _0x58db5e=_0x67eafb['createTableWalker'](_0x4c6d3a,_0x2efd45),_0x26c36c=Array['from'](_0x58db5e)['map'](({cell:_0x2c0796})=>_0x2c0796),_0x267586=ZL(_0x26c36c['filter'](_0x34c3f6=>_0x34c3f6['hasAttribute'](_0x196c97))),_0x3eba7b=ZL(_0x26c36c['filter'](_0x499537=>!_0x499537['hasAttribute'](_0x196c97)))['map'](_0x287862=>_0xb8d54d['createRangeOn'](_0x287862)),_0x430f2d=_0xb5cc80['markMultiRangeDeletion'](_0x3eba7b,_0x28320e);if(_0x430f2d&&('tableRow'==_0x430f2d['subType']||'tableColumn'==_0x430f2d['subType'])){const _0x1fca6a=this['_getSuggestionCoords'](_0x430f2d);for(const _0x3dd2f4 of _0x267586){const _0x3b228d=_0xb8d54d['createRangeOn'](_0x3dd2f4),_0x2c0c43=_0x67eafb['getCellLocation'](_0x3dd2f4),_0x157cf4=_0x3dd2f4['getAttribute'](_0x196c97)-0x1,_0x42dc0a=_0x1fca6a[_0x5bfcda],_0x228d20=_0x1fca6a[_0x28496f];_0x42dc0a<=_0x2c0c43[_0x1d0c58]&&_0x2c0c43[_0x1d0c58]+_0x157cf4<=_0x228d20&&_0x430f2d['addRange'](_0x3b228d);}}});});}function _0x452396(_0x29be0c){const _0x1a13ab=Array['from'](_0x113022['getRanges']())['map'](_0x3425c5=>_0x4131d3['fromRange'](_0x3425c5));_0x28c0b9['model']['change'](_0x33220c=>{const _0x3f3c87=_0x33220c['batch'];_0x29be0c=_0x29be0c['filter'](_0x391c14=>'$graveyard'!=_0x391c14['root']['rootName']),_0x33220c['setSelection'](_0x29be0c),_0x28c0b9['commands']['get']('removeTableRow')['refresh'](),_0x28c0b9['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x28c0b9['model']['enqueueChange'](()=>{_0x28c0b9['model']['enqueueChange'](_0x3f3c87,_0x4db5ab=>{const _0xe4e95f=_0x1a13ab['filter'](_0x188019=>'$graveyard'!=_0x188019['root']['rootName']);_0xe4e95f['length']>0x0&&_0x4db5ab['setSelection'](_0xe4e95f);for(const _0x4b0169 of _0x1a13ab)_0x4b0169['detach']();});});});}function _0x38ce55(_0x1cc4bf){_0x28c0b9['model']['change'](_0x233e36=>{const _0x2de666=Array['from'](_0x113022['getRanges']())['map'](_0x2340c3=>_0x4131d3['fromRange'](_0x2340c3)),_0x56bbce=[];for(const _0x44d082 of _0x1cc4bf)for(const _0x14fcc0 of _0x44d082['getItems']({'shallow':!0x0}))_0x56bbce['push'](_0x14fcc0);for(const _0xb6663c of _0x56bbce)'$graveyard'!=_0xb6663c['root']['rootName']&&(_0x233e36['setSelection'](_0x233e36['createPositionAt'](_0xb6663c,0x0)),_0x28c0b9['commands']['get']('removeTableColumn')['refresh'](),_0x28c0b9['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x1d50f8=_0x2de666['filter'](_0x39c43f=>'$graveyard'!=_0x39c43f['root']['rootName']);_0x1d50f8['length']>0x0&&_0x233e36['setSelection'](_0x1d50f8);for(const _0x245e4c of _0x2de666)_0x245e4c['detach']();});}function _0x4cfefd(_0x4b3b1b,_0x34ce30){return _0x34ce30['every'](_0x4bb0f5=>_0x4b3b1b['some'](_0x1188af=>_0x1188af['end']['isEqual'](_0x4bb0f5['start'])||_0x4bb0f5['end']['isEqual'](_0x1188af['start'])));}function _0x5b4083(_0x55c284,_0x13c326){return!_0x55c284['some'](_0x2f564e=>_0x13c326['some'](_0x43bbca=>_0x2f564e['isIntersecting'](_0x43bbca)))&&_0x55c284['some'](_0x804323=>_0x13c326['some'](_0x1e9244=>_0x804323['end']['isTouching'](_0x1e9244['start'])));}_0xb5cc80['descriptionFactory']['registerDescriptionCallback'](_0x3fae73=>{if('insertion'!=_0x3fae73['type']&&'deletion'!=_0x3fae73['type'])return;const _0x408fb1=_0x3fae73['getContainedElement']();if(null!=_0x408fb1&&_0x408fb1['is']('element','table')){if('insertion'==_0x3fae73['type']){const _0x460322=_0x3fae73['getItems']()['filter'](_0x35bab8=>_0x35bab8['is']('$textProxy'))['map'](_0x1c28eb=>_0x1c28eb['data']);if(_0x460322['length'])return{'type':'insertion','content':NL(_0x105f81,'*Insert:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x460322['join']('\x20')+'\x22'))};}if('deletion'==_0x3fae73['type']){const _0x2cac51=_0x3fae73['getItems']()['filter'](_0x597a3b=>_0x597a3b['is']('$textProxy'))['map'](_0x3a385d=>_0x3a385d['data']);if(_0x2cac51['length'])return{'type':'deletion','content':NL(_0x105f81,'*Remove:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2cac51['join']('\x20')+'\x22'))};}}}),_0xb5cc80['descriptionFactory']['registerDescriptionCallback'](_0x461f10=>{if('tableRow'==_0x461f10['subType']){const _0x357bb6=_0x461f10['getItems']()['filter'](_0x4ef302=>_0x4ef302['is']('$textProxy'))['map'](_0x1e2505=>_0x1e2505['data']),_0x5e3d75=this['_getSuggestionCoords'](_0x461f10),_0x1052a7=_0x5e3d75['maxRow']-_0x5e3d75['minRow']+0x1;if('insertion'==_0x461f10['type'])return _0x357bb6['length']?{'type':'insertion','content':NL(_0x105f81,'*Insert:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1052a7,'\x22'+_0x357bb6['join']('\x20')+'\x22']))}:{'type':'insertion','content':NL(_0x105f81,'*Insert:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_ROW',_0x1052a7))};if('deletion'==_0x461f10['type'])return _0x357bb6['length']?{'type':'deletion','content':NL(_0x105f81,'*Remove:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1052a7,'\x22'+_0x357bb6['join']('\x20')+'\x22']))}:{'type':'deletion','content':NL(_0x105f81,'*Remove:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_ROW',_0x1052a7))};}if('tableColumn'==_0x461f10['subType']){const _0x1ee0e8=_0x461f10['getItems']()['filter'](_0x5e133d=>_0x5e133d['is']('$textProxy'))['map'](_0x475fc7=>_0x475fc7['data']),_0x42580f=this['_getSuggestionCoords'](_0x461f10),_0x2f2263=_0x42580f['maxColumn']-_0x42580f['minColumn']+0x1;if('insertion'==_0x461f10['type'])return _0x1ee0e8['length']?{'type':'insertion','content':NL(_0x105f81,'*Insert:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2f2263,'\x22'+_0x1ee0e8['join']('\x20')+'\x22']))}:{'type':'insertion','content':NL(_0x105f81,'*Insert:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_COLUMN',_0x2f2263))};if('deletion'==_0x461f10['type'])return _0x1ee0e8['length']?{'type':'deletion','content':NL(_0x105f81,'*Remove:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2f2263,'\x22'+_0x1ee0e8['join']('\x20')+'\x22']))}:{'type':'deletion','content':NL(_0x105f81,'*Remove:*\x20%0',NL(_0x105f81,'ELEMENT_TABLE_COLUMN',_0x2f2263))};}}),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x452396),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x452396),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x38ce55),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x38ce55),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x4cfefd),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x4cfefd),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x5b4083),_0xb5cc80['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x5b4083);}['_acceptFormatSuggestionCallbackFactory'](){const _0x5efa63=this['editor'],_0x377680=_0x5efa63['model']['document']['selection'];return(_0x2b4671,_0x24ead5)=>{_0x5efa63['model']['change'](_0x247721=>{const {commandName:_0x1361c5,commandParams:_0x292a25}=_0x24ead5;let _0x5aa295=_0x2b4671[0x0]['end']['nodeBefore'];_0x292a25&&_0x292a25[0x0]&&!0x1===_0x292a25[0x0]['forceValue']&&(_0x5aa295=_0x2b4671[0x0]['start']['nodeAfter']);const _0x3a6c22=_0x247721['createRangeIn'](_0x5aa295);if('$graveyard'==_0x3a6c22['root']['rootName'])return;const _0x15982a=Array['from'](_0x377680['getRanges']())['map'](_0x5d9cb7=>_0x4131d3['fromRange'](_0x5d9cb7));_0x247721['setSelection'](_0x3a6c22),_0x5efa63['commands']['get'](_0x1361c5)['refresh'](),_0x292a25['push']({'forceDefaultExecution':!0x0}),_0x5efa63['execute'](_0x1361c5,..._0x292a25);const _0x3e7374=_0x15982a['filter'](_0x4b38c2=>'$graveyard'!=_0x4b38c2['root']['rootName']);_0x3e7374['length']>0x0&&_0x247721['setSelection'](_0x3e7374);for(const _0x40dc37 of _0x15982a)_0x40dc37['detach']();});};}['_getCoordsForCells'](_0xdaad28){const _0x404afc=this['editor']['plugins']['get']('TableUtils');let _0x326e59=Number['MAX_SAFE_INTEGER'],_0x260457=Number['MIN_SAFE_INTEGER'],_0x4f4cd2=Number['MAX_SAFE_INTEGER'],_0x202025=Number['MIN_SAFE_INTEGER'];for(const _0xe30d9f of _0xdaad28){if('$graveyard'==_0xe30d9f['root']['rootName'])continue;const {row:_0x491d4d,column:_0x32f833}=_0x404afc['getCellLocation'](_0xe30d9f),_0x52959c=_0xe30d9f['hasAttribute']('rowspan')?_0xe30d9f['getAttribute']('rowspan')-0x1:0x0,_0x3828c1=_0xe30d9f['hasAttribute']('colspan')?_0xe30d9f['getAttribute']('colspan')-0x1:0x0;_0x326e59=_0x491d4d<_0x326e59?_0x491d4d:_0x326e59,_0x260457=_0x491d4d+_0x52959c>_0x260457?_0x491d4d+_0x52959c:_0x260457,_0x4f4cd2=_0x32f833<_0x4f4cd2?_0x32f833:_0x4f4cd2,_0x202025=_0x32f833+_0x3828c1>_0x202025?_0x32f833+_0x3828c1:_0x202025;}return{'minRow':_0x326e59,'maxRow':_0x260457,'minColumn':_0x4f4cd2,'maxColumn':_0x202025};}['_setupColumnsRowsFixing'](){const _0x4fe6fa=this['editor'],_0x2f1cc0=_0x4fe6fa['plugins']['get']('TrackChangesEditing'),_0x2a3c1d=_0x4fe6fa['plugins']['get']('TableUtils');_0x4fe6fa['model']['document']['on']('change:data',()=>{const _0x16e645=Array['from'](_0x4fe6fa['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x52b995,data:_0x540b02}of _0x16e645){const {group:_0x204588,id:_0x173b09,subType:_0x4c8446}=_0x2f1cc0['_splitMarkerName'](_0x52b995);if('suggestion'!=_0x204588)continue;if(null!=_0x540b02['oldRange'])continue;const _0x23c7f9=_0x2f1cc0['getSuggestion'](_0x173b09);this['_tablePostFixingSubtypes']['includes'](_0x4c8446)&&this['_tableSuggestions']['add'](_0x23c7f9);}},{'priority':'low'});const _0x457362=(_0x4028c5,_0x1747c2)=>{let _0x388e2c=!0x1;const _0x37ee13=_0x1747c2['createRangeOn'](_0x4028c5),_0x578307=_0x4028c5['findAncestor']('table'),_0x1871b=_0x2a3c1d['getCellLocation'](_0x4028c5);for(const _0x116be0 of this['_tableSuggestions']){const _0x35a9fa=_0x116be0['subType'],_0x271750=_0x35a9fa['startsWith']('tablePaste'),_0x2f7384=_0x35a9fa['substr'](_0x271750?0xa:0x5),_0x1b0eff=_0x2f7384['toLowerCase'](),_0x1d867c=_0x1b0eff['substr'](0x0,0x3)+'span',_0x20cca5='min'+_0x2f7384,_0x54b5fc='max'+_0x2f7384;if(!_0x116be0['isInContent'])continue;if(_0x578307!=_0x116be0['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x116be0['isIntersectingWithRange'](_0x37ee13))continue;const _0x220d2a=_0x4028c5['hasAttribute'](_0x1d867c)?_0x4028c5['getAttribute'](_0x1d867c)-0x1:0x0,_0x2b90ec=this['_getSuggestionCoords'](_0x116be0),_0x157c03=_0x2b90ec[_0x20cca5],_0x2b7487=_0x2b90ec[_0x54b5fc];_0x157c03<=_0x1871b[_0x1b0eff]&&_0x1871b[_0x1b0eff]+_0x220d2a<=_0x2b7487&&(_0x116be0['addRange'](_0x37ee13),_0x388e2c=!0x0);}return _0x388e2c;};_0x4fe6fa['model']['document']['registerPostFixer'](_0x5e6fc6=>{let _0x404285=!0x1;for(const _0x48c757 of _0x4fe6fa['model']['document']['differ']['getChanges']())if('insert'==_0x48c757['type']){if('tableRow'==_0x48c757['name']){for(const _0x24032e of _0x48c757['position']['nodeAfter']['getChildren']())_0x404285=_0x404285||_0x457362(_0x24032e,_0x5e6fc6);}else'tableCell'==_0x48c757['name']&&(_0x404285=_0x404285||_0x457362(_0x48c757['position']['nodeAfter'],_0x5e6fc6));}return _0x404285;});}['_getSuggestionCoords'](_0x419ca1){return this['_getCoordsForCells'](_0x419ca1['getRanges']()['map'](_0x50cd91=>_0x50cd91['start']['nodeAfter']));}}function ZL(_0x1d2929){return Array['from'](new Set(_0x1d2929)['values']());}class TrackChangesTableMergeSplit extends _0x4ac504{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x52fcb0=this['editor'],_0x519a9f=_0x52fcb0['model']['document']['selection'],_0x380e6a=_0x52fcb0['locale'];if(!_0x52fcb0['plugins']['has']('TableEditing'))return;const _0x54ca4f=_0x52fcb0['plugins']['get']('TrackChangesEditing'),_0x309b76=_0x52fcb0['plugins']['get']('TableUtils'),_0xfb3254=_0x52fcb0['plugins']['get'](TrackChangesTable);_0xfb3254['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x54ca4f['enableCommand']('mergeTableCells',()=>{const _0x58f191=_0x309b76['getSelectionAffectedTableCells'](_0x52fcb0['model']['document']['selection']);_0x52fcb0['model']['change'](()=>{_0x54ca4f['markMultiRangeBlockFormat'](_0x58f191,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x52fcb0['commands']['get']('mergeTableCells')['on']('execute',(_0x163989,_0x3dc46c)=>{_0x52fcb0['commands']['get']('trackChanges')['value']&&(_0x3dc46c['length']>0x0&&_0x3dc46c[_0x3dc46c['length']-0x1]&&_0x3dc46c[_0x3dc46c['length']-0x1]['forceDefaultExecution']||_0x54ca4f['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x163989['stop']());},{'priority':'highest'});for(const _0x20a5b2 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x53330b=_0x52fcb0['commands']['get'](_0x20a5b2);_0x54ca4f['enableCommand'](_0x20a5b2,()=>{const _0x1567f2=_0x52fcb0['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x3bfe8a=>_0x3bfe8a['is']('element','tableCell')),_0xa413a4=_0x53330b['value'];_0x52fcb0['model']['change'](()=>{_0x54ca4f['markMultiRangeBlockFormat']([_0x1567f2,_0xa413a4],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0xba9b16 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x3800d9=_0x52fcb0['commands']['get'](_0xba9b16);_0x54ca4f['enableCommand'](_0xba9b16,()=>{const _0x9484c9=_0x309b76['getSelectionAffectedTableCells'](_0x52fcb0['model']['document']['selection'])[0x0],_0x2c3ccd=_0x9484c9['findAncestor']('table'),{column:_0x1c2215,row:_0x182597}=_0x309b76['getCellLocation'](_0x9484c9);let _0x300509=[];if('horizontally'==_0x3800d9['direction']){const _0x270d96=_0x309b76['createTableWalker'](_0x2c3ccd,{'startRow':_0x182597,'endRow':_0x182597,'includeAllSlots':!0x0});_0x300509=Array['from'](_0x270d96)['map'](_0x453a03=>_0x453a03['cell']);}else{const _0x3de988=_0x309b76['createTableWalker'](_0x2c3ccd,{'column':_0x1c2215,'includeAllSlots':!0x0});_0x300509=Array['from'](_0x3de988)['map'](_0x2886e4=>_0x2886e4['cell']);}_0x52fcb0['model']['change'](_0x2e3cf1=>{_0x54ca4f['markBlockFormat'](_0x2e3cf1['createRangeOn'](_0x9484c9),{'commandName':_0xba9b16,'commandParams':[]},_0x300509,_0xba9b16);});});}_0x54ca4f['descriptionFactory']['registerDescriptionCallback'](_0x26b851=>{if('formatBlock'!=_0x26b851['type']&&'formatInline'!=_0x26b851['type'])return;const {data:_0xa547c4}=_0x26b851;return _0xa547c4&&'mergeTableCells'==_0xa547c4['commandName']?{'type':'format','content':NL(_0x380e6a,'*Merge\x20cells*')}:void 0x0;}),_0x54ca4f['descriptionFactory']['registerDescriptionCallback'](_0x5d225e=>{if('formatBlock'!=_0x5d225e['type']&&'formatInline'!=_0x5d225e['type'])return;const {data:_0x32d4f3}=_0x5d225e;return _0x32d4f3?'splitTableCellVertically'==_0x32d4f3['commandName']?{'type':'format','content':NL(_0x380e6a,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x32d4f3['commandName']?{'type':'format','content':NL(_0x380e6a,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x40ee96=_0xfb3254['_acceptFormatSuggestionCallbackFactory']();for(const _0x31a9da of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x54ca4f['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x31a9da,'accept',_0x40ee96);for(const _0x41fc43 of['splitTableCellVertically','splitTableCellHorizontally'])_0x54ca4f['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x41fc43,'accept',_0x40ee96);_0x54ca4f['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x3ca422=>{_0x52fcb0['model']['change'](_0x45b29e=>{const _0x45f465=Array['from'](_0x519a9f['getRanges']())['map'](_0x379ec0=>_0x4131d3['fromRange'](_0x379ec0));_0x45b29e['setSelection'](_0x3ca422),_0x52fcb0['commands']['get']('mergeTableCells')['refresh'](),_0x52fcb0['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x450285=_0x45f465['filter'](_0x2fda5a=>'$graveyard'!=_0x2fda5a['root']['rootName']);_0x450285['length']>0x0&&_0x45b29e['setSelection'](_0x450285);for(const _0x210e76 of _0x45f465)_0x210e76['detach']();});});for(const _0x2954ce of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x41f3e9=_0x52fcb0['commands']['get'](_0x2954ce);_0x41f3e9['on']('set:isEnabled',(_0x525c32,_0x41134f,_0x462f2c)=>{if(_0x462f2c){const _0x29568a=_0x52fcb0['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x9694eb=>_0x9694eb['is']('element','tableCell'));this['_areMergableCells'](_0x41f3e9['value'],_0x29568a)||(_0x525c32['return']=!0x1,_0x525c32['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x7cecc6=this['editor']['commands']['get']('mergeTableCells'),_0x3b5b5c=this['editor']['plugins']['get']('TableUtils');if(!_0x7cecc6['isEnabled'])return!0x1;const _0x58d63b=_0x3b5b5c['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x145693 of _0x58d63b)for(const _0x4594ad of _0x58d63b)if(_0x145693!=_0x4594ad&&!this['_areMergableCells'](_0x145693,_0x4594ad))return!0x1;return!0x0;}['_areMergableCells'](_0x48f192,_0x560605){const _0x1c77b8=this['editor']['plugins']['get']('TrackChangesEditing'),_0x450f14=this['editor']['model']['createRangeOn'](_0x48f192),_0x1defc2=this['editor']['model']['createRangeOn'](_0x560605),_0x4a14be=new Set(),_0x1a2dbb=new Set();for(const _0x3e9c29 of _0x1c77b8['getSuggestions']())if(('insertion'==_0x3e9c29['type']||'deletion'==_0x3e9c29['type']||'mergeTableCells'==_0x3e9c29['subType'])&&_0x3e9c29['isInContent']){for(const _0x1f6be9 of _0x3e9c29['getRanges']())_0x1f6be9['containsRange'](_0x450f14,!0x0)&&_0x4a14be['add'](_0x3e9c29['type']+':'+_0x3e9c29['author']['id']),_0x1f6be9['containsRange'](_0x1defc2,!0x0)&&_0x1a2dbb['add'](_0x3e9c29['type']+':'+_0x3e9c29['author']['id']);}if(_0x4a14be['size']!=_0x1a2dbb['size'])return!0x1;for(const _0x413a88 of _0x4a14be)if(!_0x1a2dbb['has'](_0x413a88))return!0x1;return!0x0;}}class TrackChangesTableHeadings extends _0x4ac504{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x36da20=this['editor'];if(!_0x36da20['plugins']['has']('TableEditing'))return;const _0x415b8f=_0x36da20['locale'],_0x5f2ebb=_0x36da20['plugins']['get']('TrackChangesEditing');_0x5f2ebb['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x5f2ebb['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x5f2ebb['descriptionFactory']['registerAttributeLabel']('headingRows',NL(_0x415b8f,'FORMAT_HEADER_ROW')),_0x5f2ebb['descriptionFactory']['registerAttributeLabel']('headingColumns',NL(_0x415b8f,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0xee4c1f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1b40f2=this['editor']['plugins']['get'](TrackChangesTable)['_acceptFormatSuggestionCallbackFactory']();_0xee4c1f['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x1b40f2),_0xee4c1f['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x1b40f2),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x41cbb0=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3811bd=this['editor']['plugins']['get']('TableUtils');function _0x3158bc({showActiveMarker:_0x151af6=!0x0,setDataAttribute:_0x2f2855=!0x0}={}){return(_0x32e973,_0x57429d,_0x20be19)=>{const {type:_0x216e7d,id:_0x4c9870}=_0x41cbb0['_splitMarkerName'](_0x57429d['markerName']);if(!_0x41cbb0['hasSuggestion'](_0x4c9870))return;const _0x46376b=_0x41cbb0['getSuggestion'](_0x4c9870),_0x50344d=_0x46376b['data'];if('formatBlock'!=_0x46376b['type']||!_0x50344d||'setTableColumnHeader'!=_0x50344d['commandName'])return;if(_0x57429d['item'])return void _0x32e973['stop']();if(!_0x20be19['consumable']['consume'](_0x57429d['markerRange'],_0x32e973['name']))return;const _0x21a032=_0x57429d['markerRange']['start']['nodeAfter'],_0x59b8c2=_0x57429d['markerRange']['end']['nodeBefore'],_0xef1250=_0x21a032['parent']['parent'],{column:_0x20a0d8}=_0x3811bd['getCellLocation'](_0x21a032),{column:_0x3c66ab}=_0x3811bd['getCellLocation'](_0x59b8c2);for(let _0x13898a=_0x20a0d8;_0x13898a<=_0x3c66ab;_0x13898a++){const _0x51df6a=_0x3811bd['createTableWalker'](_0xef1250,{'column':_0x13898a,'includeAllSlots':!0x1});for(const _0x21ac9b of _0x51df6a){const _0x3a783c=_0x21ac9b['cell'],_0xe2d78=_0x20be19['mapper']['toViewElement'](_0x3a783c);_0x20be19['writer']['addClass']('ck-suggestion-marker-'+_0x216e7d,_0xe2d78),_0x2f2855&&_0x20be19['writer']['setAttribute']('data-suggestion',_0x4c9870,_0xe2d78),_0x20be19['mapper']['bindElementToMarker'](_0xe2d78,_0x57429d['markerName']),_0x151af6&&(_0x41cbb0['activeMarkers']['includes'](_0x57429d['markerName'])?_0x20be19['writer']['addClass']('ck-suggestion-marker--active',_0xe2d78):_0x20be19['writer']['removeClass']('ck-suggestion-marker--active',_0xe2d78));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x3158bc(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x51c266,_0x39cb32,_0x35622b)=>{_0x35622b['options']['showSuggestionHighlights']&&_0x3158bc({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x51c266,_0x39cb32,_0x35622b);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5dd0d9,_0x2d315f,_0x3d45b1)=>{const {type:_0x32fd3b,id:_0x31195b}=_0x41cbb0['_splitMarkerName'](_0x2d315f['markerName']);if(!_0x41cbb0['hasSuggestion'](_0x31195b))return;const _0x39eaab=_0x41cbb0['getSuggestion'](_0x31195b),_0x3f2780=_0x39eaab['data'];if('formatBlock'!=_0x39eaab['type']||!_0x3f2780||'setTableColumnHeader'!=_0x3f2780['commandName'])return;const _0x5e5118=_0x3d45b1['mapper']['markerNameToElements'](_0x2d315f['markerName']);if(_0x5e5118){for(const _0x4c65a2 of _0x5e5118)_0x3d45b1['writer']['removeClass']('ck-suggestion-marker-'+_0x32fd3b,_0x4c65a2),_0x3d45b1['writer']['removeClass']('ck-suggestion-marker--active',_0x4c65a2),_0x3d45b1['writer']['removeAttribute']('data-suggestion',_0x4c65a2),_0x3d45b1['mapper']['unbindElementFromMarkerName'](_0x4c65a2,_0x2d315f['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0xef0354=this['editor'],_0x745172=_0xef0354['locale'];function _0x211913(_0x2f116c){return{'type':'format','content':NL(_0x745172,'*Format:*\x20%0',_0x2f116c)};}_0xef0354['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x42e38f=>{if('formatBlock'!=_0x42e38f['type'])return;const {data:_0x5a1a44}=_0x42e38f;if(_0x5a1a44){if('setTableRowHeader'==_0x5a1a44['commandName']){const _0x1ccda2=_0x5a1a44['commandParams'][0x0]['forceValue'];return _0x211913(NL(_0x745172,_0x1ccda2?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5a1a44['commandName']){const _0xc256ef=_0x5a1a44['commandParams'][0x0]['forceValue'];return _0x211913(NL(_0x745172,_0xc256ef?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends _0x4ac504{['afterInit'](){const _0x1006fe=this['editor'],_0x24d5ea=_0x1006fe['locale'],_0x40fe2c=_0x1006fe['plugins']['get']('TrackChangesEditing');function _0x594289(_0x5ca131){return{'type':'format','content':''+NL(_0x24d5ea,'*Set\x20table\x20type:*\x20%0',_0x5ca131)};}_0x1006fe['plugins']['has']('TableLayout')&&(_0x40fe2c['enableCommand']('insertTableLayout'),_0x40fe2c['enableDefaultAttributesIntegration']('tableType'),_0x40fe2c['descriptionFactory']['registerElementLabel'](_0x38218d=>_0x38218d['is']('element','table')&&'layout'===_0x38218d['getAttribute']('tableType'),_0x52f651=>NL(_0x24d5ea,'ELEMENT_LAYOUT_TABLE',_0x52f651)),_0x40fe2c['descriptionFactory']['registerDescriptionCallback'](_0x2eb6ab=>{const {data:_0x345416}=_0x2eb6ab;if(_0x345416&&'tableType'==_0x345416['key'])switch(_0x345416['newValue']){case'layout':return _0x594289(NL(_0x24d5ea,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x594289(NL(_0x24d5ea,'ELEMENT_CONTENT_TABLE'));}}));}}const XL=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],qL=/* #__PURE__ -- @preserve */
Object['fromEntries'](XL['map'](_0x3e4354=>[_0x3e4354,null]));class TrackChangesTableClipboard extends _0x4ac504{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x2e9211=this['editor'];if(!_0x2e9211['plugins']['has']('TableClipboard'))return;const _0x432ab9=_0x2e9211['plugins']['get']('TrackChangesEditing'),_0xc855fd=_0x2e9211['plugins']['get']('TableUtils'),_0x40e977=_0x2e9211['plugins']['get'](TrackChangesTable),_0x3cca99=_0x2e9211['plugins']['get']('TableClipboard'),_0x2eedbc=_0x2e9211['plugins']['get']('TableSelection'),_0x40f8d7=_0x2e9211['plugins']['get'](_0x3ecbd1);_0x40e977['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x2e9211['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x2e9211['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x5a9187=null,_0x338983=!0x1;_0x40f8d7['on']('contentInsertion',(_0x1b6c6b,_0x2e1551)=>{_0x338983='paste'===_0x2e1551['method'];}),_0x2e9211['model']['on']('insertContent',(_0x5f5b27,_0x4d6011)=>{if(!_0x338983&&null===_0x2eedbc['getSelectedTableCells']())return;const [_0x2e9423,_0x3963a6]=_0x4d6011,_0x384852=_0x4d6011[_0x4d6011['length']-0x1];_0x384852&&_0x384852['forceDefaultExecution']||_0x432ab9['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x2dd00,_0x380dc5,_0x5ec190,_0x385779,_0x1e317b){if(_0x380dc5&&!_0x380dc5['is']('documentSelection'))return!0x1;const _0x231980=_0x1e317b['getTableIfOnlyTableInContent'](_0x2dd00,_0x5ec190);if(!_0x231980||!zL(_0x231980,void 0x0,_0x385779))return!0x1;const _0x23b2ec=_0x385779['getSelectionAffectedTableCells'](_0x5ec190['document']['selection']);if(!_0x23b2ec['length'])return!0x1;const _0x242e12=_0x23b2ec[0x0]['findAncestor']('table'),_0x2c42d7=_0x385779['getRowIndexes'](_0x23b2ec),_0xd87213=_0x385779['getColumnIndexes'](_0x23b2ec),_0x11a7e7={'startRow':_0x2c42d7['first'],'endRow':_0x2c42d7['last'],'startColumn':_0xd87213['first'],'endColumn':_0xd87213['last']};return 0x1==_0x23b2ec['length']&&(_0x11a7e7['endRow']+=_0x385779['getRows'](_0x231980)-0x1,_0x11a7e7['endColumn']+=_0x385779['getColumns'](_0x231980)-0x1),zL(_0x242e12,_0x11a7e7,_0x385779);}(_0x2e9423,_0x3963a6,_0x2e9211['model'],_0xc855fd,_0x3cca99)&&(_0x5f5b27['stop'](),_0x5a9187={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2e9211['model']['change'](()=>{_0x2e9211['model']['insertContent'](_0x4d6011[0x0],_0x4d6011[0x1],_0x4d6011[0x2],{'forceDefaultExecution':!0x0});const _0xc1505c=_0x288d30(),{rowInsertionRanges:_0x51ca60,columnInsertionRanges:_0x5c0cef,insertionRanges:_0x5d4108,deletionRanges:_0xbcab8d,cells:_0x2681b1}=_0x5a9187;_0x51ca60['length']&&_0x432ab9['markMultiRangeInsertion'](_0x51ca60,'tablePasteRow',{'tablePasteChainId':_0xc1505c}),_0x5c0cef['length']&&_0x432ab9['markMultiRangeInsertion'](_0x5c0cef,'tablePasteColumn',{'tablePasteChainId':_0xc1505c}),_0x5d4108['length']&&(_0x432ab9['markMultiRangeInsertion'](_0x5d4108,'tablePaste',{'tablePasteChainId':_0xc1505c,'skipNestingCheck':!0x0}),_0x5d4108['forEach'](_0x148da2=>_0x148da2['detach']?.())),_0xbcab8d['length']&&(_0x432ab9['markMultiRangeDeletion'](_0xbcab8d,'tablePaste',{'tablePasteChainId':_0xc1505c,'skipNestingCheck':!0x0}),_0xbcab8d['forEach'](_0x36662c=>_0x36662c['detach']?.()));const _0x2cda8e=_0x432ab9['markMultiRangeBlockFormat'](_0x2681b1['map'](({element:_0x313cd0})=>_0x313cd0),{'formatGroupId':_0x288d30()},[],'tablePasteCell',{'tablePasteChainId':_0xc1505c});if(_0x2cda8e){const _0x3a66f2=_0x2cda8e['getMarkers'](),_0x4d2a90=[];for(const {element:_0x30096f,attributes:_0x38f98f}of _0x2681b1){if(!_0x38f98f)continue;const _0x1f68ff=_0x2e9211['model']['createRangeOn'](_0x30096f),_0x2efbc2=_0x3a66f2['find'](_0x5b33df=>_0x5b33df['getRange']()['isEqual'](_0x1f68ff));_0x2efbc2&&_0x4d2a90['push']([_0x2efbc2['name'],_0x38f98f]);}_0x4d2a90['length']&&_0x2cda8e['setAttribute']('markerAttributes',Object['fromEntries'](_0x4d2a90));}_0x5a9187=null;}));},{'priority':_0x31e080['high']+0xa}),_0x40f8d7['on']('contentInsertion',()=>{_0x338983=!0x1;},{'priority':'lowest'}),_0x2e9211['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x263020,_0x4276dd)=>{const [_0x54a71a,_0x43150b,,_0x22a177]=_0x4276dd;if(!_0x5a9187)return;_0x263020['stop']();const _0x4256a6=_0x54a71a['cell'],_0x3f0cdc=_0x43150b,_0x4e05d1=WL(_0x4256a6),_0x473805=WL(_0x3f0cdc);_0x263020['return']=_0x4256a6;let _0x2d0713=null,_0x44732c=null;if(_0x473805||_0x4e05d1){if(_0x4e05d1&&!_0x473805){_0x22a177['remove'](_0x4256a6['getChild'](0x0));for(const _0x5bbdeb of Array['from'](_0x3f0cdc['getChildren']()))_0x22a177['insert'](_0x5bbdeb,_0x4256a6,'end');const _0x4e3072=_0x5a9187['rowInsertionIndexes']['includes'](_0x54a71a['row']),_0x5ba6fa=_0x5a9187['columnInsertionIndexes']['includes'](_0x54a71a['column']);_0x4e3072||_0x5ba6fa||(_0x2d0713=_0x4131d3['fromRange'](_0x22a177['createRangeIn'](_0x4256a6)));}else _0x473805&&!_0x4e05d1&&(_0x44732c=_0x22a177['createRangeIn'](_0x4256a6));}else{const _0x239ff9=_0x22a177['createElement']('tableCellSuggestion'),_0x12cb1f=_0x22a177['createElement']('tableCellSuggestion');_0x22a177['wrap'](_0x22a177['createRangeIn'](_0x4256a6),_0x12cb1f),_0x22a177['insert'](_0x239ff9,_0x4256a6,0x0);for(const _0x208beb of Array['from'](_0x3f0cdc['getChildren']()))_0x22a177['insert'](_0x208beb,_0x239ff9,'end');_0x2d0713=_0x4131d3['fromRange'](_0x22a177['createRangeOn'](_0x239ff9)),_0x44732c=_0x4131d3['fromRange'](_0x22a177['createRangeOn'](_0x12cb1f));}const _0xbd83fe=Array['from'](_0x3f0cdc['getAttributes']())['filter'](([_0x49edb9])=>XL['includes'](_0x49edb9));_0x5a9187['cells']['push']({'element':_0x4256a6,'attributes':_0xbd83fe['length']?Object['fromEntries'](_0xbd83fe):null}),_0x2d0713&&_0x5a9187['insertionRanges']['push'](_0x2d0713),_0x44732c&&_0x5a9187['deletionRanges']['push'](_0x44732c);},{'priority':'high'}),_0xc855fd['on']('insertColumns',(_0xe6ad1a,_0x2a44ee)=>{const [_0x9de88e,_0x2a0933={}]=_0x2a44ee;if(!_0x5a9187)return;const _0x15883b=_0x2a0933['at']||0x0,_0x4916a8=_0x2a0933['columns']||0x1;_0x5a9187['columnInsertionIndexes']=new Array(_0x4916a8)['fill'](_0x15883b)['map']((_0x2806c9,_0x519884)=>_0x2806c9+_0x519884);for(const {cell:_0x5892c2}of _0xc855fd['createTableWalker'](_0x9de88e,{'startColumn':_0x15883b,'endColumn':_0x15883b+_0x4916a8-0x1}))_0x5a9187['columnInsertionRanges']['push'](_0x2e9211['model']['createRangeOn'](_0x5892c2));},{'priority':'low'}),_0xc855fd['on']('insertRows',(_0x4ac42e,_0x5829fc)=>{const [_0x4d1e1a,_0x40f58f={}]=_0x5829fc;if(!_0x5a9187)return;const _0x58297a=_0x40f58f['at']||0x0,_0x48b375=_0x40f58f['rows']||0x1;_0x5a9187['rowInsertionIndexes']=new Array(_0x48b375)['fill'](_0x58297a)['map']((_0x3c6fe6,_0x6ddb1)=>_0x3c6fe6+_0x6ddb1);for(const {cell:_0x3fc66d}of _0xc855fd['createTableWalker'](_0x4d1e1a,{'startRow':_0x58297a,'endRow':_0x58297a+_0x48b375-0x1}))_0x5a9187['rowInsertionRanges']['push'](_0x2e9211['model']['createRangeOn'](_0x3fc66d));},{'priority':'low'}),_0x432ab9['descriptionFactory']['registerDescriptionCallback'](_0x4ddf22=>{if(_0x4ddf22['subType']&&_0x4ddf22['subType']['startsWith']('tablePaste'))return _0x4ddf22['previous']?{}:{'type':'insertion','content':NL(_0x2e9211['locale'],'*Replace\x20table\x20cells*')};});const _0x5e7554=()=>!0x1;for(const _0x49d3c6 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x432ab9['_suggestionFactory']['registerCustomCallback']('insertion',_0x49d3c6,'join',_0x5e7554),_0x432ab9['_suggestionFactory']['registerCustomCallback']('deletion',_0x49d3c6,'join',_0x5e7554),_0x432ab9['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x49d3c6,'join',_0x5e7554);_0x432ab9['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x5e7554),_0x432ab9['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x4338a0,_0x2aa7ba,_0x18e079)=>{const _0x35e089=_0x4338a0['map'](_0x67499a=>_0x67499a['getContainedElement']())['filter'](_0x1911bc=>_0x1911bc),_0x4245c4=new Map(_0x35e089['map'](_0x5036b8=>[_0x5036b8,null]));if(_0x5a9187){for(const {element:_0x2241d2,attributes:_0x5637f2}of _0x5a9187['cells'])_0x5637f2&&_0x4245c4['set'](_0x2241d2,_0x5637f2);}else{if(_0x18e079&&_0x18e079['markerAttributes'])for(const [_0x4b0779,_0x2ae2d9]of Object['entries'](_0x18e079['markerAttributes'])){const _0x44d4a6=_0x2e9211['model']['markers']['get'](_0x4b0779),_0x3636c4=_0x44d4a6?_0x44d4a6['getRange']()['getContainedElement']():null;_0x3636c4&&_0x4245c4['set'](_0x3636c4,_0x2ae2d9);}}_0x2e9211['model']['change'](_0x27fd56=>{for(const [_0x451798,_0xf47e28]of _0x4245c4)_0x27fd56['setAttributes']({...qL,..._0xf47e28},_0x451798);});});const _0x5305ee=(_0x1f3274,_0x4465c9)=>{_0x432ab9['_suggestionFactory']['registerCustomCallback'](_0x1f3274,'tablePaste',_0x4465c9,(_0x5097a8,_0x137d2d,_0x4a8597)=>{_0x2e9211['model']['change'](_0x297bc4=>{const _0x4b63e8=[];for(const _0x195f64 of _0x5097a8){const _0x4b11c5=_0x195f64['start']['nodeAfter'];_0x4b11c5['is']('element','tableCellSuggestion')&&_0x4b63e8['push'](_0x4b11c5);}_0x432ab9['_suggestionFactory']['getSuggestionCallback'](_0x1f3274,null,_0x4465c9)(_0x5097a8,_0x137d2d,_0x4a8597);for(const _0x510fdd of _0x4b63e8)'$graveyard'!=_0x510fdd['root']['rootName']&&_0x297bc4['unwrap'](_0x510fdd);});});};_0x5305ee('insertion','accept'),_0x5305ee('insertion','discard'),_0x5305ee('deletion','accept'),_0x5305ee('deletion','discard'),_0x432ab9['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x17acec=>{const _0x64f6a5=_0x17acec['map'](_0x2e5460=>_0x2e5460['getContainedElement']()),_0x51347b=_0x64f6a5[0x0]['findAncestor']('table'),{minRow:_0x1cd13f,maxRow:_0x4766a8}=_0x40e977['_getCoordsForCells'](_0x64f6a5);_0xc855fd['removeRows'](_0x51347b,{'at':_0x1cd13f,'rows':_0x4766a8-_0x1cd13f+0x1});}),_0x432ab9['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x15db72=>{const _0xb9ed10=_0x15db72['map'](_0x62c395=>_0x62c395['getContainedElement']()),_0x476a17=_0xb9ed10[0x0]['findAncestor']('table'),{minColumn:_0x25cac2,maxColumn:_0x404b30}=_0x40e977['_getCoordsForCells'](_0xb9ed10);_0xc855fd['removeColumns'](_0x476a17,{'at':_0x25cac2,'columns':_0x404b30-_0x25cac2+0x1});});const _0x54b55d=(_0xb7cf9,_0x4fc2d0)=>{if(!_0x4fc2d0['subType']||!_0x4fc2d0['subType']['startsWith']('tablePaste'))return;const _0x13af01=_0x4fc2d0['attributes']['tablePasteChainId'],_0x1e25d9=_0x432ab9['getSuggestions']()['filter'](_0x5b4c4d=>_0x5b4c4d['isInContent']&&_0x5b4c4d['attributes']&&_0x5b4c4d['attributes']['tablePasteChainId']==_0x13af01);_0x1e25d9['length']&&_0x4fc2d0['getAllAdjacentSuggestions']()['length']!=_0x1e25d9['length']&&_0x1e25d9['reduce']((_0x9be2b8,_0x5b4b66)=>(_0x9be2b8['next']=_0x5b4b66,_0x5b4b66['previous']=_0x9be2b8,_0x5b4b66));};function _0x435744(_0xf2dc2c,_0x5f1cb8=!0x0){const {id:_0x5e57f7,authorId:_0x228a24}=_0x432ab9['_splitMarkerName'](_0xf2dc2c['markerName']),_0x566403=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x5876f8=_0x432ab9['activeMarkers']['includes'](_0xf2dc2c['markerName']);return _0x5876f8&&_0x566403['push']('ck-suggestion-marker--active'),{'classes':_0x566403,'attributes':{'data-suggestion':_0x5e57f7,'data-author-id':_0x228a24},'priority':_0x5876f8&&_0x5f1cb8?0xbc2:0xbb8};}_0x432ab9['on']('suggestionLoaded',_0x54b55d,{'priority':'high'}),_0x432ab9['on']('suggestionUnloaded',_0x54b55d,{'priority':'high'}),_0x2e9211['model']['document']['registerPostFixer'](()=>{let _0x6107ca=!0x1;const _0x485eb5=Array['from'](_0x2e9211['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3baebb,data:_0x3229da}of _0x485eb5){const {group:_0x1f52d9,type:_0x32cf3a,id:_0x4e5f1e}=_0x432ab9['_splitMarkerName'](_0x3baebb);if('suggestion'!=_0x1f52d9||'deletion'!=_0x32cf3a||_0x3229da['oldRange'])continue;if(!_0x432ab9['hasSuggestion'](_0x4e5f1e))continue;const _0x24bfc8=_0x432ab9['getSuggestion'](_0x4e5f1e)['getRanges'](),_0x65d703=_0x2e9211['plugins']['get']('Users')['me'];for(const _0x231338 of _0x432ab9['getSuggestions']()){if(!_0x231338['isInContent']||_0x231338['author']!=_0x65d703)continue;if('formatBlock'!=_0x231338['type']||'tablePasteCell'!=_0x231338['subType'])continue;if(_0x231338['getRanges']()['every'](_0x5e44bb=>_0x24bfc8['some'](_0x39f86d=>_0x39f86d['containsRange'](_0x5e44bb,!0x0)))){for(const _0x5302f6 of _0x231338['getAllAdjacentSuggestions']())_0x5302f6['isInContent']&&(_0x5302f6['discard'](),_0x6107ca=!0x0);}}}return _0x6107ca;}),_0x2e9211['model']['document']['registerPostFixer'](_0x2e6da9=>{const _0x1d678c=_0x2e9211['commands']['get']('redo');if(!_0x1d678c||!_0x1d678c['_createdBatches']['has'](_0x2e6da9['batch']))return!0x1;let _0x29ae5c=!0x1;const _0x58adc7=_0x2e9211['plugins']['get']('Users')['me'],_0x2cf1a1=_0x2e9211['model']['document']['differ']['getChanges'](),_0x546038=Array['from'](_0x2e9211['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x25cbc7,data:_0x2b2b54})=>{const {group:_0x5e9003,subType:_0x941d92,authorId:_0x34706d}=_0x432ab9['_splitMarkerName'](_0x25cbc7);return'suggestion'==_0x5e9003&&'tablePaste'==_0x941d92&&_0x34706d==_0x58adc7['id']&&!_0x2b2b54['oldRange'];});for(const _0x5b9821 of _0x2cf1a1){if('insert'!=_0x5b9821['type']||'tableCellSuggestion'!=_0x5b9821['name']||0x1!=_0x5b9821['length'])continue;const _0x3f66b2=_0x2e6da9['createRange'](_0x5b9821['position'],_0x5b9821['position']['getShiftedBy'](0x1)),_0x1132d1=_0x546038['find'](({data:_0x7bb68})=>_0x7bb68['newRange']['isEqual'](_0x3f66b2));if(!_0x1132d1){for(const {name:_0x5599a3,data:_0x550eef}of _0x546038)if(_0x3f66b2['containsRange'](_0x550eef['newRange'])){_0x2e6da9['updateMarker'](_0x5599a3,{'range':_0x3f66b2}),_0x29ae5c=!0x0;break;}}}return _0x29ae5c;}),_0x2e9211['model']['document']['registerPostFixer'](_0x5a836b=>{let _0x22556a=!0x1;const _0x36ec56=_0x2e9211['plugins']['get']('Users')['me'],_0x4ef24b=_0x432ab9['getSuggestions']()['filter'](_0x2dfa48=>_0x2dfa48['isInContent']&&_0x2dfa48['author']==_0x36ec56),_0x197243=new Set(),_0x1b45fb=new Set();for(const _0x516e49 of _0x4ef24b)if('tablePaste'==_0x516e49['subType'])for(const _0x567dfd of _0x516e49['getMarkers']()){const _0x229bc3=_0x567dfd['getRange']()['getContainedElement']();if(_0x229bc3){if(_0x229bc3['is']('element','tableCellSuggestion')&&WL(_0x229bc3)){_0x516e49['removeMarker'](_0x567dfd['name']),_0x197243['add'](_0x229bc3),_0x22556a=!0x0;const _0x36ff54=_0x229bc3['nextSibling'],_0x351fb7=_0x229bc3['previousSibling'],_0x3bfca1=_0x36ff54&&_0x36ff54['is']('element','tableCellSuggestion'),_0x5ab51d=_0x351fb7&&_0x351fb7['is']('element','tableCellSuggestion');_0x3bfca1&&!_0x197243['has'](_0x36ff54)&&_0x1b45fb['add'](_0x36ff54),_0x5ab51d&&!_0x197243['has'](_0x351fb7)&&_0x1b45fb['add'](_0x351fb7);}else _0x229bc3['is']('element','paragraph')&&_0x229bc3['isEmpty']&&(_0x516e49['removeMarker'](_0x567dfd['name']),_0x22556a=!0x0);}}else{if('tablePasteCell'==_0x516e49['subType']){if(!_0x516e49['attributes']||!_0x516e49['attributes']['tablePasteChainId'])continue;const _0x1ae47d=_0x516e49['attributes']['markerAttributes'];if(_0x1ae47d&&Object['keys'](_0x1ae47d)['length'])continue;const _0x301655=_0x516e49['attributes']['tablePasteChainId'];let _0x59e646=!0x0,_0x288e2c=!0x0;for(const _0x56c8d of _0x4ef24b)if(_0x56c8d['subType']&&_0x56c8d['subType']['startsWith']('tablePaste')){if(!_0x56c8d['attributes']['tablePasteChainId']){_0x288e2c=!0x1;break;}if(_0x56c8d['id']!=_0x516e49['id']&&_0x56c8d['attributes']['tablePasteChainId']==_0x301655){_0x59e646=!0x1;break;}}_0x288e2c&&_0x59e646&&(_0x516e49['removeMarkers'](),_0x22556a=!0x0);}}for(const _0x18fe7b of _0x197243)_0x5a836b['remove'](_0x18fe7b);for(const _0xcb33b1 of _0x1b45fb)_0x5a836b['unwrap'](_0xcb33b1);return _0x22556a;}),_0x2e9211['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x54791d=>_0x435744(_0x54791d),'converterPriority':'high'}),_0x2e9211['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x21a5ad,_0x88baa5)=>_0x88baa5['options']['showSuggestionHighlights']?_0x435744(_0x21a5ad,!0x1):null,'converterPriority':'high'});const _0x5beb0f=_0x2e9211['editing']['view'];this['listenTo'](_0x5beb0f['document'],'clipboardOutput',(_0x4e9028,_0x1a9aa2)=>{const _0x1a6f44=[];for(const _0x276203 of _0x5beb0f['createRangeIn'](_0x1a9aa2['content'])['getItems']())_0x276203['is']('element','suggestion-td')&&_0x1a6f44['push'](_0x276203);_0x5beb0f['change'](_0x2d5411=>{for(const _0x51743e of _0x1a6f44)_0x2d5411['move'](_0x2d5411['createRangeIn'](_0x51743e),_0x2d5411['createPositionBefore'](_0x51743e)),_0x2d5411['remove'](_0x51743e);});});}}function WL(_0x120179){if(_0x120179['isEmpty'])return!0x0;const _0x3a3717=_0x120179['getChild'](0x0);return _0x3a3717['is']('element','paragraph')&&_0x3a3717['isEmpty'];}function zL(_0x1456a4,_0x35da72={},_0x29ac3c){for(const {isAnchor:_0x7a2d0a,cellHeight:_0x2f5cbb,cellWidth:_0x979369}of _0x29ac3c['createTableWalker'](_0x1456a4,{'includeAllSlots':!0x0,..._0x35da72}))if(!_0x7a2d0a||0x1!=_0x2f5cbb||0x1!=_0x979369)return!0x1;return!0x0;}class TrackChangesTableColumnResize extends _0x4ac504{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x414bb3=this['editor']['plugins']['get']('TrackChangesEditing');_0x414bb3['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x414bb3['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x414bb3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x414bb3['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x414bb3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x414bb3['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x26e5ad,_0x586891){const _0x56865e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x441102=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x3bf258=_0x586891['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x3c6443=_0x441102['getColumnGroupElement'](_0x3bf258);let _0x131551=_0x3c6443?_0x441102['getTableColumnsWidths'](_0x3c6443):null,_0x2f1f39=_0x3bf258['getAttribute']('tableWidth')||null;const _0x3018f6=_0x586891['tableWidth']||_0x2f1f39,_0x5b9493=_0x586891['columnWidths']||_0x131551,_0x55662a=this['editor']['plugins']['get']('Users')['me'];for(const _0x21848a of _0x56865e['getSuggestions']()){const _0x42491b=_0x21848a['getContainedElement']();if('resizeTable'===_0x21848a['subType']&&_0x42491b===_0x3bf258){_0x21848a['author']!==_0x55662a&&_0x21848a['discard']();const _0x325964=_0x21848a['data']['commandParams'];_0x2f1f39=_0x325964[0x0]['tableWidth'],_0x131551=_0x325964[0x0]['columnWidths'];break;}}_0x26e5ad({'table':_0x3bf258,'tableWidth':_0x3018f6,'columnWidths':_0x5b9493}),_0x56865e['markBlockFormat'](_0x3bf258,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x2f1f39,'columnWidths':_0x131551}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x1356f5){if('formatBlock'!=_0x1356f5['type']&&'formatInline'!=_0x1356f5['type'])return;const {data:_0x4fc938}=_0x1356f5;if(_0x4fc938&&'resizeTable'===_0x4fc938['formatGroupId']){const _0x4177c2='*Format:*\x20resize\x20table';return{'type':'format','content':NL(this['editor']['locale'],_0x4177c2)};}}}class TrackChangesTemplate extends _0x4ac504{['afterInit'](){const _0x6aa5e4=this['editor'];_0x6aa5e4['plugins']['has']('Template')&&_0x6aa5e4['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x4ac504{['afterInit'](){const _0x2f524a=this['editor'];if(!_0x2f524a['commands']['get']('insertTableOfContents'))return;_0x2f524a['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x9ba4fa=_0x2f524a['plugins']['get']('TrackChangesEditing'),_0x59c6f8=_0x2f524a['locale'];_0x9ba4fa['descriptionFactory']['registerElementLabel']('tableOfContents',_0x582527=>NL(_0x59c6f8,'ELEMENT_TABLE_OF_CONTENTS',_0x582527));}}class TrackChangesTitle extends _0x4ac504{['afterInit'](){const _0xa64c03=this['editor'];if(!_0xa64c03['plugins']['has']('Title'))return;const _0x12ac4c=_0xa64c03['plugins']['get']('TrackChangesEditing');_0x12ac4c['descriptionFactory']['registerElementLabel']('title-content',()=>NL(_0xa64c03['locale'],'ELEMENT_TITLE')),_0xa64c03['model']['document']['registerPostFixer'](_0x179a37=>{let _0x519abf=!0x1;const _0x3af97a=Array['from'](_0xa64c03['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4d12a0,data:_0x3ff194}of _0x3af97a){const {group:_0x14aae3}=_0x12ac4c['_splitMarkerName'](_0x4d12a0);if('suggestion'!==_0x14aae3||!_0x3ff194['newRange'])continue;const _0x5c4ed2=_0x3ff194['newRange'],_0x4b00a5=_0x5c4ed2['end']['nodeBefore'];if(!_0x4b00a5||!_0x4b00a5['is']('element','title-content'))continue;if(!_0x5c4ed2['start']['isTouching'](_0x5c4ed2['end']))continue;const _0x16c506=_0xa64c03['model']['schema']['getNearestSelectionRange'](_0x5c4ed2['end'],'forward');if(_0x16c506&&_0x16c506['isCollapsed']){const _0x318433=_0x179a37['createRange'](_0x5c4ed2['start'],_0x16c506['start']);_0x318433['isEqual'](_0x5c4ed2)||(_0x179a37['updateMarker'](_0x4d12a0,{'range':_0x318433}),_0x519abf=!0x0);}_0x519abf||(_0x179a37['removeMarker'](_0x4d12a0),_0x519abf=!0x0);}return _0x519abf;});}}class TrackChangesUploadcare extends _0x4ac504{['afterInit'](){const _0x3ce642=this['editor'],_0x2d18d7=_0x3ce642['plugins']['get']('TrackChangesEditing');_0x3ce642['plugins']['has']('Uploadcare')&&(_0x2d18d7['enableCommand']('uploadcare'),_0x3ce642['plugins']['has']('UploadcareImageEdit')&&(_0x2d18d7['enableCommand']('uploadcareImageEdit'),_0x2d18d7['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x2d18d7['descriptionFactory']['registerDescriptionCallback'](_0x29ad4a=>{if('attribute'!=_0x29ad4a['type'])return;const {data:_0x5e3326}=_0x29ad4a;return _0x5e3326&&'uploadcareImageId'==_0x5e3326['key']?{'type':'format','content':''}:void 0x0;})));}}class TrackChangesUndo extends _0x4ac504{['afterInit'](){const _0x5338f4=this['editor'],_0x1853c9=_0x5338f4['plugins']['get']('TrackChangesEditing');_0x5338f4['plugins']['has']('UndoEditing')&&(_0x1853c9['enableCommand']('undo'),_0x1853c9['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x4ac504{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x2cbd1d=this['editor'];if(!_0x2cbd1d['plugins']['has']('TableCaptionEditing'))return;_0x2cbd1d['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x4ac504{['tableProperties'];['tableCellProperties'];constructor(_0xd9a570){super(_0xd9a570),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0xd9a570['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 _0x737aad=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x245ea1 of this['tableProperties'])_0x737aad['enableCommand'](_0x245ea1,(_0x450ff5,_0xfea7d2)=>{const _0x5529d2=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x245ea1,[_0x5529d2],this['tableProperties'],'tableProperties',_0x450ff5,_0xfea7d2);});_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x737aad['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x3de64e,_0x5b3e82)=>this['handleDiscardAction'](this['tableProperties'],_0x3de64e,_0x5b3e82)),_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x400f6c of this['tableCellProperties'])this['editor']['commands']['get'](_0x400f6c)&&_0x737aad['enableCommand'](_0x400f6c,(_0x3112a0,_0x5a3a89)=>{const _0x4421a3=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x400f6c,_0x4421a3,this['tableCellProperties'],'tableCellProperties',_0x3112a0,_0x5a3a89);});_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x737aad['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x50c018,_0x13f8d2)=>this['handleDiscardAction'](this['tableCellProperties'],_0x50c018,_0x13f8d2)),_0x737aad['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x737aad['descriptionFactory']['registerAttributeLabel']('tableCellType',NL(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x737aad['descriptionFactory']['registerDescriptionCallback'](_0x10eba3=>this['handleSuggestionDescription'](_0x10eba3)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x22456f,_0x3dc76e,_0x1b3cd0,_0x7c1b80,_0x4cfd26,_0x418cf5){const _0x588303=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x418cf5['batch'],()=>{for(const _0x514e27 of _0x3dc76e){if(this['_getSuggestion'](_0x514e27,_0x7c1b80))_0x4cfd26(_0x418cf5);else{const _0xc55135={};for(const _0x492e83 of _0x1b3cd0){const _0x342c9e=_0x514e27['getAttribute'](_0x492e83);void 0x0!==_0x342c9e&&(_0xc55135[_0x492e83]=_0x342c9e);}_0x4cfd26(_0x418cf5),_0x588303['markBlockFormat'](_0x514e27,{'commandParams':[_0xc55135]},[],_0x7c1b80);}}});}['handleDiscardAction'](_0x4e41c9,_0x2c4a07,_0x469e12){const _0x10a465=_0x2c4a07[0x0]['start']['nodeAfter'],_0x1e9beb=_0x469e12['commandParams'][0x0];this['editor']['model']['change'](_0x494e47=>{for(const _0x2c5f28 of _0x4e41c9)void 0x0!==_0x1e9beb[_0x2c5f28]?_0x494e47['setAttribute'](_0x2c5f28,_0x1e9beb[_0x2c5f28],_0x10a465):_0x494e47['removeAttribute'](_0x2c5f28,_0x10a465);});}['handleSuggestionDescription'](_0x135a09){if(_0x135a09['data'])switch(_0x135a09['subType']){case'tableProperties':return{'type':'format','content':NL(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':NL(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0xa37c8,_0x3c1209){const _0x2d6db9=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x5c8a85 of _0x2d6db9['getSuggestions']({'skipNotAttached':!0x0})){const _0x5c0615=_0x5c8a85['getContainedElement']();if(_0x5c8a85['subType']===_0x3c1209&&_0x5c0615===_0xa37c8)return _0x5c8a85;}return null;}['_registerTablePropertiesAttributes'](){const _0x3d26e3=this['editor']['plugins']['get']('TrackChangesEditing'),_0x28ab3b=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x8bdc19 of _0x28ab3b){const _0x4e3c83=_0x8bdc19['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x3d26e3['descriptionFactory']['registerAttributeLabel'](_0x8bdc19,NL(this['editor']['locale'],'FORMAT_'+_0x4e3c83));}}}class TrackChangesLineHeight extends _0x4ac504{['afterInit'](){const _0x34cb32=this['editor'];if(!_0x34cb32['plugins']['has']('LineHeight'))return;const _0x512440=_0x34cb32['plugins']['get']('TrackChangesEditing'),_0x52674a=_0x34cb32['locale'];_0x512440['enableDefaultAttributesIntegration']('lineHeight'),_0x512440['descriptionFactory']['registerAttributeLabel']('lineHeight',NL(_0x52674a,'FORMAT_LINE_HEIGHT'));}}const YL='$elementName';class TrackChangesEditing extends _0x4ac504{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,Users,_0xdf428,DocumentCompare,TrackChangesAIAssistant,TrackChangesAI,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,TrackChangesBookmark,TrackChangesCKBox,TrackChangesCaseChange,TrackChangesCodeBlock,TrackChangesComments,TrackChangesDeleteCommand,TrackChangesEmoji,TrackChangesEnterCommand,TrackChangesFindAndReplace,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,TrackChangesHeading,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,TrackChangesImage,TrackChangesImageStyle,TrackChangesImageReplace,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,TrackChangesLink,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,TrackChangesMediaEmbed,TrackChangesMention,TrackChangesMergeFields,TrackChangesPageBreak,TrackChangesParagraph,TrackChangesReplaceSourceCommand,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,TrackChangesTable,TrackChangesTableMergeSplit,TrackChangesTableHeadings,TrackChangesTableLayout,TrackChangesTableCaption,TrackChangesTableClipboard,TrackChangesTableColumnResize,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,TrackChangesUploadcare,TrackChangesUndo];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ad26d){super(_0x2ad26d),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x3f0843,_0x4d5863,_0xa988a6,_0x1ed455)=>{this['_model']['change'](()=>{for(const _0x3f5879 of[..._0x1ed455,..._0xa988a6])this['_model']['markers']['has'](_0x3f5879)&&_0x2ad26d['editing']['reconvertMarker'](_0x3f5879);});}),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']=_0x2ad26d['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x2ad26d['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x2ad26d['config']['get']('trackChanges.trackFormatChanges'),_0x2ad26d['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2ad26d['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new TrackChangesCommand(_0x2ad26d,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x451e0e=this['editor'];_0x451e0e['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xe30e6a,{writer:_0x5a2c14})=>{let _0x326740='suggestion:'+_0xe30e6a['getAttribute']('suggestion-type')+':'+_0xe30e6a['getAttribute']('id');return _0xe30e6a['getAttribute']('marker-count')&&(_0x326740+=':'+_0xe30e6a['getAttribute']('marker-count')),_0x5a2c14['createElement']('$marker',{'data-name':_0x326740});}}),_0x451e0e['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x451e0e['model']['document']['registerPostFixer'](_0x52778c=>{let _0x4d7417=!0x1;const _0x45ef37=Array['from'](_0x451e0e['model']['document']['differ']['getChangedMarkers']()),_0x4145b3=new Set();for(const {name:_0x4f32c9,data:_0x2e8a16}of _0x45ef37){const {group:_0x47fd9d,type:_0x17c485,subType:_0x1e9369,id:_0x3bfb58}=this['_splitMarkerName'](_0x4f32c9);if('suggestion'!==_0x47fd9d)continue;const _0x29a2bc=_0x1e9369?'suggestion:'+_0x17c485+':'+_0x1e9369+':'+_0x3bfb58:'suggestion:'+_0x17c485+':'+_0x3bfb58,_0x7a5bb4=_0x451e0e['model']['markers']['getMarkersGroup'](_0x29a2bc),_0x30f643=_0x451e0e['model']['markers']['get'](_0x4f32c9),_0x560751=this['_suggestions']['get'](_0x3bfb58);if(null!=_0x2e8a16['newRange']){'formatInline'==_0x17c485&&(_0x4d7417=_0x4d7417||tD(_0x2e8a16['newRange'],_0x4f32c9,_0x52778c,_0x451e0e['model']['schema']));const _0x23e286='attribute'==_0x17c485&&this['_isBlockAttribute'](_0x1e9369['split']('|')[0x0]),_0x50250a='attribute'==_0x17c485&&this['_isInlineAttribute'](_0x1e9369['split']('|')[0x0]);if(_0x2e8a16['newRange']['isCollapsed']||'$graveyard'==_0x2e8a16['newRange']['root']['rootName']||'formatBlock'==_0x17c485&&!iD(_0x2e8a16['newRange'])||_0x23e286&&!iD(_0x2e8a16['newRange'])||_0x50250a&&sD(_0x2e8a16['newRange'])||'deletion'==_0x17c485&&sD(_0x2e8a16['newRange'])||_0x30f643&&nD(_0x30f643,_0x7a5bb4))_0x52778c['removeMarker'](_0x4f32c9),_0x4d7417=!0x0;else{if(!_0x560751||!_0x560751['isInContent'])continue;if(_0x2e8a16['newRange']&&_0x2e8a16['oldRange']&&_0x2e8a16['newRange']['isEqual'](_0x2e8a16['oldRange']))continue;_0x4145b3['add'](_0x560751);}}}return _0x4145b3['size']>0x0&&(_0x4d7417=!!this['_joinWithAdjacentSuggestions'](_0x4145b3)||_0x4d7417),_0x4d7417;}),_0x451e0e['model']['document']['registerPostFixer'](_0x44d1a0=>{let _0x2b6d7c=!0x1;for(const _0x33da6a of _0x451e0e['model']['document']['differ']['getChanges']())if('insert'==_0x33da6a['type'])for(const _0x5a9812 of this['_suggestions']['values']()){if(_0x5a9812['isMultiRange']||!_0x5a9812['isInContent'])continue;const _0x263837='formatBlock'==_0x5a9812['type'],_0x4be770=this['_getAttributeKey'](_0x5a9812),_0x4b3f52=_0x4be770&&this['_isBlockAttribute'](_0x4be770);if(!_0x263837&&!_0x4b3f52)continue;const _0x3e4985=_0x5a9812['getFirstRange']();if(_0x3e4985['start']['parent']!=_0x3e4985['end']['parent']&&!_0x3e4985['end']['isAtEnd']){const _0x3f9b9d=_0x451e0e['model']['createPositionAt'](_0x3e4985['start']['nodeAfter'],'end'),_0x4db2c9=_0x451e0e['model']['createRange'](_0x3e4985['start'],_0x3f9b9d);_0x44d1a0['updateMarker'](_0x5a9812['getFirstMarker'](),{'range':_0x4db2c9}),_0x2b6d7c=!0x0;}}return _0x2b6d7c;}),_0x451e0e['model']['document']['registerPostFixer'](_0x72f0fa=>this['_processAttributeChanges'](_0x72f0fa)),_0x451e0e['model']['document']['registerPostFixer'](_0x147c4d=>!_0x147c4d['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x147c4d)),_0x451e0e['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x451e0e['model']['document']['on']('change:data',(_0x34bc6b,_0x3e2d66)=>{if(!_0x3e2d66['isLocal']||_0x3e2d66['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x5d82db=_0x451e0e['model']['document']['differ']['getChanges']();if(0x0==_0x5d82db['length'])return;const _0x9f10f4=[],_0xd920d1=_0x5d82db['filter'](_0x5af2fe=>'attribute'==_0x5af2fe['type']),_0xccac6b=_0x5d82db['filter'](_0x40777e=>'insert'==_0x40777e['type']&&'$text'!=_0x40777e['name']);for(const _0x4979c2 of _0xd920d1)this['_isRegisteredAttribute'](_0x4979c2['attributeKey'])&&_0x9f10f4['push']({'key':_0x4979c2['attributeKey'],'newValue':_0x4979c2['attributeNewValue'],'oldValue':_0x4979c2['attributeOldValue'],'range':rD(_0x4979c2['range'],_0x451e0e['model'])});for(const _0x27febd of _0xccac6b){if('rename'!=_0x27febd['action']&&'refresh'!=_0x27febd['action'])continue;const _0x46c1be=oD(_0x27febd['position']['nodeAfter'],_0x451e0e['model']),_0x83a971=_0x27febd['before'];'rename'==_0x27febd['action']&&_0x9f10f4['push']({'key':YL,'newValue':_0x27febd['name'],'oldValue':_0x83a971['name'],'range':_0x46c1be});for(const [_0xec1588,_0x2a9545]of _0x83a971['attributes']){if(!this['_isRegisteredAttribute'](_0xec1588))continue;const _0xd7a845=_0x27febd['attributes']['get'](_0xec1588);_0x2a9545!==_0xd7a845&&_0x9f10f4['push']({'key':_0xec1588,'newValue':_0xd7a845,'oldValue':_0x2a9545,'range':_0x46c1be});}for(const [_0x8735c,_0x5a344b]of _0x27febd['attributes'])this['_isRegisteredAttribute'](_0x8735c)&&(_0x83a971['attributes']['has'](_0x8735c)||_0x9f10f4['push']({'key':_0x8735c,'newValue':_0x5a344b,'oldValue':null,'range':_0x46c1be}));}0x0!=_0x9f10f4['length']&&_0x451e0e['model']['enqueueChange'](_0x3e2d66,_0x17b67b=>{const _0x349755=_0x288d30();for(const {range:_0x389039,key:_0x26562b,oldValue:_0x539bf5,newValue:_0x6ccc8a}of _0x9f10f4)this['markAttributeChange'](_0x389039,_0x26562b,_0x539bf5,_0x6ccc8a,{'groupId':_0x349755});this['_reduceExistingSuggestions'](_0x17b67b,_0x9f10f4);});},{'priority':'lowest'}),_0x451e0e['model']['markers']['on']('update:suggestion',(_0x351ba9,_0x37328b,_0xe3963b)=>{if(null==_0xe3963b){const {id:_0x5a3889}=this['_splitMarkerName'](_0x37328b['name']),_0x643911=this['_suggestions']['get'](_0x5a3889);_0x643911&&_0x643911['addMarkerName'](_0x37328b['name']);}}),_0x451e0e['model']['document']['on']('change:data',()=>{const _0x224c43=Array['from'](_0x451e0e['model']['document']['differ']['getChangedMarkers']())['filter'](_0x52548b=>'suggestion'===this['_splitMarkerName'](_0x52548b['name'])['group']);if(0x0===_0x224c43['length'])return;_0x224c43['sort']((_0xeb856a,_0x41d9a4)=>{const _0x161436=_0xeb856a['data']['oldRange'],_0x20c4db=_0x41d9a4['data']['oldRange'];return null===_0x161436&&null===_0x20c4db?0x0:null===_0x161436&&null!==_0x20c4db?-0x1:null!==_0x161436&&null===_0x20c4db?0x1:_0x161436['start']['isBefore'](_0x20c4db['start'])?-0x1:0x1;});const _0x1df6cc=new Set(),_0xfdb733=new Set();for(const {name:_0x6eca58,data:_0x29671f}of _0x224c43){const {id:_0x49bf25}=this['_splitMarkerName'](_0x6eca58);if(null===_0x29671f['oldRange']){const _0x5db82c=this['_handleNewSuggestionMarker'](_0x6eca58);_0xfdb733['add'](_0x5db82c);}else{const _0x326f75=this['_suggestions']['get'](_0x49bf25);null!==_0x29671f['newRange']||_0x326f75['isInContent']?(_0x1df6cc['add'](_0x326f75['head']),_0xfdb733['add'](_0x326f75)):this['_removeSuggestion'](_0x326f75);}}_0xfdb733['size']>0x0&&this['_refreshSuggestionsChain'](_0xfdb733);for(const _0x4da22a of _0x1df6cc)this['fire']('suggestionChanged',_0x4da22a);}),_0x451e0e['model']['on']('applyOperation',(_0x5376fa,_0x458bfb)=>{const _0x51edb9=_0x458bfb[0x0];if(!this['_suggestions']['size'])return;if(!_0x51edb9['isDocumentOperation'])return;if(_0x51edb9['batch']['isUndo']||!_0x51edb9['batch']['isLocal'])return;let _0x3c3702,_0x4c8ac4;switch(_0x51edb9['type']){case'insert':_0x3c3702=_0x451e0e['model']['createPositionAt'](_0x51edb9['position']),_0x4c8ac4=_0x3c3702['getShiftedBy'](_0x51edb9['howMany']);break;case'split':_0x3c3702=_0x451e0e['model']['createPositionAt'](_0x51edb9['splitPosition']),_0x4c8ac4=_0x451e0e['model']['createPositionAt'](_0x51edb9['moveTargetPosition']);break;case'move':_0x3c3702=_0x451e0e['model']['createPositionAt'](_0x51edb9['targetPosition']),_0x4c8ac4=_0x3c3702['getShiftedBy'](_0x51edb9['howMany']);break;default:return;}const _0x4a3cb2=_0x451e0e['model']['createRange'](_0x3c3702,_0x4c8ac4);_0x451e0e['model']['change'](()=>{for(const {suggestion:_0x2328a4,meta:_0x1c5319}of this['_findSuggestions'](_0x4a3cb2)){if(_0x2328a4['isMultiRange'])continue;if('formatInline'==_0x2328a4['type'])continue;const _0x4c49d2=this['_getAttributeKey'](_0x2328a4);if(_0x4c49d2&&this['_isBlockAttribute'](_0x4c49d2)&&'split'!=_0x51edb9['type'])continue;const _0x4c6641=_0x2328a4['data']&&_0x2328a4['data']['multipleBlocks'];('formatBlock'!=_0x2328a4['type']||'split'==_0x51edb9['type']&&!_0x4c6641)&&(_0x1c5319['containsRangeInObject']||'insertion'==_0x2328a4['type']&&_0x1c5319['isOwn']||_0x2328a4['getFirstRange']()['containsRange'](_0x4a3cb2)&&this['_breakSuggestionMarker'](_0x2328a4,_0x3c3702,_0x4c8ac4));}});},{'priority':'lowest'}),_0x451e0e['model']['on']('deleteContent',(_0x33f16b,_0x221faf)=>{const _0x2fdd02=_0x221faf[0x0],_0x531c7c=_0x221faf[0x1];if(_0x531c7c&&_0x531c7c['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x2fdd02['isCollapsed'])return;const _0x20c84f=_0x451e0e['model']['schema'],{start:_0x5a5f5a,end:_0x2de299}=_0x2fdd02['getFirstRange'](),_0x425f7d=_0x5a5f5a['nodeAfter']&&_0x20c84f['isLimit'](_0x5a5f5a['nodeAfter'])?null:_0x20c84f['getNearestSelectionRange'](_0x5a5f5a,'forward'),_0xcc9d74=_0x2de299['nodeBefore']&&_0x20c84f['isLimit'](_0x2de299['nodeBefore'])?null:_0x20c84f['getNearestSelectionRange'](_0x2de299,'backward'),_0x419630=_0x451e0e['model']['createRange'](_0x425f7d?_0x425f7d['start']:_0x5a5f5a,_0xcc9d74?_0xcc9d74['end']:_0x2de299);_0x451e0e['model']['change'](_0x1fc057=>{this['markDeletion'](_0x419630);const _0x149ec7=_0x451e0e['model']['schema']['getNearestSelectionRange'](_0x419630['start']);_0x2fdd02['is']('documentSelection')?_0x1fc057['setSelection'](_0x149ec7):_0x2fdd02['setTo'](_0x149ec7);}),_0x33f16b['stop']();},{'priority':_0x31e080['normal']+0xa}),_0x451e0e['model']['on']('insertContent',(_0x214ee3,_0x8f7a13)=>{const _0x147d04=_0x8f7a13[_0x8f7a13['length']-0x1];_0x147d04&&_0x147d04['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x451e0e['model']['change'](()=>{let _0x35f426=_0x451e0e['model']['insertContent'](_0x8f7a13[0x0],_0x8f7a13[0x1],_0x8f7a13[0x2],{'forceDefaultExecution':!0x0});if(!_0x35f426)return;_0x214ee3['return']=_0x35f426['clone']();const _0xa5a4d=_0x35f426['end']['nodeBefore'],_0x24c70d=_0x451e0e['model']['schema'];_0xa5a4d&&_0x24c70d['isBlock'](_0xa5a4d)&&!_0x24c70d['isObject'](_0xa5a4d)&&(_0x35f426=_0x451e0e['model']['createRange'](_0x35f426['start'],_0x451e0e['model']['createPositionAt'](_0xa5a4d,'end'))),this['markInsertion'](_0x35f426);}),_0x214ee3['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x47d650=new AcceptSuggestionCommand(_0x451e0e,this['_suggestions']);_0x451e0e['commands']['add']('acceptSuggestion',_0x47d650),this['enableCommand']('acceptSuggestion');const _0x410bf5=new DiscardSuggestionCommand(_0x451e0e,this['_suggestions']);_0x451e0e['commands']['add']('discardSuggestion',_0x410bf5),this['enableCommand']('discardSuggestion'),_0x451e0e['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x451e0e,_0x47d650,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x451e0e['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x451e0e,_0x410bf5,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x451e0e['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x451e0e,_0x47d650,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x451e0e['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x451e0e,_0x410bf5,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x1b54c8=_0x451e0e['plugins']['get']('CommentsRepository');this['listenTo'](_0x1b54c8,'addComment',(_0x1c6067,{threadId:_0x423607})=>{const _0xdff20e=this['_suggestions']['get'](_0x423607);_0xdff20e&&_0xdff20e['commentThread']&&0x1===_0xdff20e['commentThread']['length']&&this['_updateSuggestionData'](_0x423607,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x1b54c8,'removeComment',(_0x5d87a2,{threadId:_0x22411a})=>{const _0x28ae42=this['_suggestions']['get'](_0x22411a);_0x28ae42&&_0x28ae42['commentThread']&&!_0x28ae42['commentThread']['length']&&this['_updateSuggestionData'](_0x22411a,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x2f72e2){const _0x2ed2f4=_0x13a0bc([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]),_0x2a72d9=0x3d8d0df,_0x59b4ac=0x3df5ab7^_0x2a72d9,_0x3d32fb=window[_0x13a0bc([0x44,0x61,0x74,0x65])][_0x13a0bc([0x6e,0x6f,0x77])](),_0x2d4485=_0x2f72e2[_0x13a0bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x18737c=new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c1e92=>{_0x2d4485[_0x13a0bc([0x6f,0x6e,0x63,0x65])](_0x13a0bc([0x72,0x65,0x61,0x64,0x79]),_0x5c1e92);}),_0x15b662={[_0x13a0bc([0x6b,0x74,0x79])]:_0x13a0bc([0x45,0x43]),[_0x13a0bc([0x75,0x73,0x65])]:_0x13a0bc([0x73,0x69,0x67]),[_0x13a0bc([0x63,0x72,0x76])]:_0x13a0bc([0x50,0x2d,0x32,0x35,0x36]),[_0x13a0bc([0x78])]:_0x13a0bc([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]),[_0x13a0bc([0x79])]:_0x13a0bc([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]),[_0x13a0bc([0x61,0x6c,0x67])]:_0x13a0bc([0x45,0x53,0x32,0x35,0x36])},_0x21391e=_0x2d4485[_0x13a0bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13a0bc([0x67,0x65,0x74])](_0x13a0bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47d3d7(){let _0x21d27a,_0x794375=null,_0x24a9ad=null;try{if(_0x21391e==_0x13a0bc([0x47,0x50,0x4c]))return _0x13a0bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21d27a=_0x259fc5(),!_0x21d27a)return _0x13a0bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21d27a[_0x13a0bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24a9ad=_0x3dc145(_0x21d27a[_0x13a0bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21d27a[_0x13a0bc([0x6a,0x74,0x69])])),await _0x3c1b3d()?_0x2c0620()?_0x42cd09()?_0x13a0bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20cff3()?(_0x21d27a[_0x13a0bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13a0bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x794375=_0x38358d(_0x13a0bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbf9f65()):_0x13a0bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13a0bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13a0bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13a0bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42cd09(){const _0x589b83=[_0x13a0bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13a0bc([0x74,0x72,0x69,0x61,0x6c])][_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d27a[_0x13a0bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d32fb/0x3e8:0xe10*_0x59b4ac;return _0x21d27a[_0x13a0bc([0x65,0x78,0x70])]<_0x589b83;}function _0x2c0620(){const _0x43182d=_0x21d27a[_0x13a0bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x43182d)return!0x1;if(_0x43182d[_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a0bc([0x2a])))return!0x0;if(_0x43182d[_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a0bc([0x54,0x43])))return!0x0;if(_0x43182d[_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a0bc([0x52,0x54,0x43]))){if(_0x3572aa())return!0x0;if(_0x316b48()||_0x56cc60())return!0x0;}return!0x1;}function _0x20cff3(){const _0x576c74=_0x21d27a[_0x13a0bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x576c74||0x0==_0x576c74[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e1040}=new URL(window[_0x13a0bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x576c74[_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e1040))return!0x0;const _0x47c3c9=_0x5e1040[_0x13a0bc([0x73,0x70,0x6c,0x69,0x74])](_0x13a0bc([0x2e]));return _0x576c74[_0x13a0bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b647b=>_0x3b647b[_0x13a0bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a0bc([0x2a])))[_0x13a0bc([0x6d,0x61,0x70])](_0xb9b3e4=>_0xb9b3e4[_0x13a0bc([0x73,0x70,0x6c,0x69,0x74])](_0x13a0bc([0x2e])))[_0x13a0bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5158ec=>_0x5158ec[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47c3c9[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13a0bc([0x6d,0x61,0x70])](_0x36f043=>Array(_0x47c3c9[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36f043[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13a0bc([0x66,0x69,0x6c,0x6c])](_0x36f043[0x0]===_0x13a0bc([0x2a])?_0x13a0bc([0x2a]):'')[_0x13a0bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36f043))[_0x13a0bc([0x73,0x6f,0x6d,0x65])](_0x3768b4=>_0x47c3c9[_0x13a0bc([0x65,0x76,0x65,0x72,0x79])]((_0x9cd3cb,_0x5e601a)=>_0x3768b4[_0x5e601a]===_0x9cd3cb||_0x3768b4[_0x5e601a]===_0x13a0bc([0x2a])));}function _0xbf9f65(){return _0x794375&&_0x24a9ad?new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e787f,_0x2d9bc8)=>{_0x794375[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x5e787f,_0x2d9bc8),_0x24a9ad[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x970082=>{_0x970082!=_0x13a0bc([0x56,0x61,0x6c,0x69,0x64])&&_0x5e787f(_0x970082);},_0x2d9bc8);}):_0x794375||_0x24a9ad||_0x13a0bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3dc145(_0xeeea48,_0x37a914){return new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29d7c6=>{if(_0x57b243())return _0x29d7c6(_0x13a0bc([0x56,0x61,0x6c,0x69,0x64]));_0x4cd58f(),_0x2d4485[_0x13a0bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13a0bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x143b68=!0x1;const _0x5923fc=_0x288d30();function _0x4c56de(_0x16393d){return!!_0x16393d&&(typeof _0x16393d===_0x13a0bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16393d===_0x13a0bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16393d[_0x13a0bc([0x74,0x68,0x65,0x6e])]===_0x13a0bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16393d[_0x13a0bc([0x63,0x61,0x74,0x63,0x68])]===_0x13a0bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f9561(_0x1c0de6){_0x38ca81(_0x1c0de6)[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x60c62d=>{if(!_0x60c62d||_0x60c62d[_0x13a0bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13a0bc([0x6f,0x6b]))return _0x13a0bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a6da5(_0x52f43e(_0x5923fc+_0x37a914))!=_0x60c62d[_0x13a0bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13a0bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13a0bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x33a4ee=>(_0x4f6b9d(),_0x33a4ee),()=>{const _0x163f2a=_0x30dd39();return null==_0x163f2a?(_0x4f6b9d(),_0x13a0bc([0x56,0x61,0x6c,0x69,0x64])):_0x13a0bc(_0x3d32fb-_0x163f2a>(0x27d454df^_0x2a72d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x29d7c6)[_0x13a0bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29d7c6(_0x13a0bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x450024=0x3ee3e5f^_0x2a72d9;function _0x4f6b9d(){const _0x3f136e=_0x13a0bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a6da5(_0x52f43e(_0xeeea48)),_0x3c73c8=_0xadf98f(_0x4a6da5(window[_0x13a0bc([0x4d,0x61,0x74,0x68])][_0x13a0bc([0x63,0x65,0x69,0x6c])](_0x3d32fb/_0x450024)));window[_0x13a0bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13a0bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f136e,_0x3c73c8);}function _0x30dd39(){const _0x368f5b=_0x13a0bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a6da5(_0x52f43e(_0xeeea48)),_0x23d4be=window[_0x13a0bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13a0bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x368f5b);return _0x23d4be?window[_0x13a0bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xadf98f(_0x23d4be),0x10)*_0x450024:null;}function _0x38ca81(_0x5c8939){return new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d05ac,_0x101f60)=>{_0x5c8939[_0x13a0bc([0x74,0x68,0x65,0x6e])](_0x3d05ac,_0x101f60),window[_0x13a0bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x101f60,0x3d9041f^_0x2a72d9);});}}_0x2d4485[_0x13a0bc([0x6f,0x6e])](_0x13a0bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e0e29,_0x1e0afe)=>{if(_0x1e0afe[0x0]!=_0xeeea48)return _0x29d7c6(_0x13a0bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e0afe[0x1]={..._0x1e0afe[0x1],[_0x13a0bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5923fc};},{[_0x13a0bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13a0bc([0x68,0x69,0x67,0x68])}),_0x2d4485[_0x13a0bc([0x6f,0x6e])](_0x13a0bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x470b1d=>{_0x4c56de(_0x470b1d[_0x13a0bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x143b68=!0x0,_0x4f9561(_0x470b1d[_0x13a0bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13a0bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13a0bc([0x6c,0x6f,0x77])}),_0x18737c[_0x13a0bc([0x74,0x68,0x65,0x6e])](()=>{_0x143b68||_0x29d7c6(_0x13a0bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57b243(){return _0x2d4485[_0x13a0bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13a0bc([0x76,0x69,0x65,0x77])][_0x13a0bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13a0bc([0x61,0x75,0x74,0x6f]);}function _0x4cd58f(){_0x2d4485[_0x13a0bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13a0bc([0x76,0x69,0x65,0x77])][_0x13a0bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13a0bc([0x61,0x75,0x74,0x6f]);}}function _0x38358d(_0x1fc525){const _0x5eba83=[new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f853=>setTimeout(_0x11f853,0x3d1ee13^_0x2a72d9)),_0x18737c[_0x13a0bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1597=>{let _0x39a7e1=0x0;_0x2d4485[_0x13a0bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x13a0bc([0x6f,0x6e])](_0x13a0bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18d328,_0x1b524d)=>{_0x1b524d[0x0][_0x13a0bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39a7e1++,_0x39a7e1==(0x3d8d537^_0x2a72d9)&&(_0x1b1597(),_0x18d328[_0x13a0bc([0x6f,0x66,0x66])]());});}))];return window[_0x13a0bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13a0bc([0x72,0x61,0x63,0x65])](_0x5eba83)[_0x13a0bc([0x74,0x68,0x65,0x6e])](()=>_0x1fc525);}async function _0x32f800(){await _0x18737c,_0x2d4485[_0x13a0bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x13a0bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdb0d,_0x2d4485[_0x13a0bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x13a0bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdb0d,_0x2d4485[_0x13a0bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13a0bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3572aa(){return _0x42f7fb(_0x13a0bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dde02(_0x13a0bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x13a0bc([0x73,0x74,0x61,0x74,0x65])]==_0x13a0bc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x316b48(){return _0x42f7fb(_0x13a0bc([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]));}function _0x56cc60(){return _0x42f7fb(_0x13a0bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x30c112(_0x241651){const _0x2ad203=_0x58d11e();_0x2d4485[_0x2ad203]=_0x13a0bc([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x241651,_0x241651!=_0x13a0bc([0x56,0x61,0x6c,0x69,0x64])&&_0x32f800();}function _0x58d11e(){const _0xc9baa9=window[_0x13a0bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13a0bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13a0bc([0x6e,0x6f,0x77])]())[_0x13a0bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13a0bc([0x2e]),'');let _0x4ade86=_0x13a0bc([0x52]);for(let _0x3fbadb=0x0;_0x3fbadb<_0xc9baa9[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fbadb+=0x2){let _0x570e44=window[_0x13a0bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc9baa9[_0x13a0bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fbadb,_0x3fbadb+0x2));_0x570e44>=_0x2ed2f4[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x570e44-=_0x2ed2f4[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ade86+=_0x2ed2f4[_0x570e44];}return _0x4ade86;}function _0x259fc5(){const _0x206627=_0x21391e[_0x13a0bc([0x73,0x70,0x6c,0x69,0x74])](_0x13a0bc([0x2e]));if(0x3!=_0x206627[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51426e(_0x206627[0x1]);function _0x51426e(_0x50afd1){const _0x4fa46f=_0x49828e(_0x50afd1);return _0x4fa46f&&_0x9f6033()?_0x4fa46f:null;function _0x9f6033(){const _0x53f133=_0x4fa46f[_0x13a0bc([0x6a,0x74,0x69])],_0x36d374=window[_0x13a0bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f133[_0x13a0bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53f133[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dbb23={..._0x4fa46f,[_0x13a0bc([0x6a,0x74,0x69])]:_0x53f133[_0x13a0bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53f133[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dbb23[_0x13a0bc([0x76,0x63])],_0x52f43e(_0x2dbb23)==_0x36d374;}}}async function _0x3c1b3d(){let _0x4d12c7=!0x0;try{const _0x4265c1=_0x21391e[_0x13a0bc([0x73,0x70,0x6c,0x69,0x74])](_0x13a0bc([0x2e])),[_0x1d4dbc,_0x5bd25b,_0x4e3eba]=_0x4265c1;return _0x1e56ae(_0x1d4dbc),await _0x32c375(_0x1d4dbc,_0x5bd25b,_0x4e3eba),_0x4d12c7;}catch{return!0x1;}function _0x1e56ae(_0x3741e4){const _0x3ed8a3=_0x49828e(_0x3741e4);_0x3ed8a3&&_0x3ed8a3[_0x13a0bc([0x61,0x6c,0x67])]==_0x13a0bc([0x45,0x53,0x32,0x35,0x36])||(_0x4d12c7=!0x1);}async function _0x32c375(_0x3ebeb9,_0x1779c0,_0x3981d8){const _0x97bede=window[_0x13a0bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13a0bc([0x66,0x72,0x6f,0x6d])](_0x1f9171(_0x3981d8),_0x12cdae=>_0x12cdae[_0x13a0bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a5de0=new window[(_0x13a0bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13a0bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ebeb9+_0x13a0bc([0x2e])+_0x1779c0),_0x25fb10=window[_0x13a0bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13a0bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25fb10)return;const _0x238cbf=await _0x25fb10[_0x13a0bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13a0bc([0x6a,0x77,0x6b]),_0x15b662,{[_0x13a0bc([0x6e,0x61,0x6d,0x65])]:_0x13a0bc([0x45,0x43,0x44,0x53,0x41]),[_0x13a0bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13a0bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13a0bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25fb10[_0x13a0bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13a0bc([0x6e,0x61,0x6d,0x65])]:_0x13a0bc([0x45,0x43,0x44,0x53,0x41]),[_0x13a0bc([0x68,0x61,0x73,0x68])]:{[_0x13a0bc([0x6e,0x61,0x6d,0x65])]:_0x13a0bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x238cbf,_0x97bede,_0x4a5de0)||(_0x4d12c7=!0x1);}}function _0x49828e(_0x3f58c1){return _0x3f58c1[_0x13a0bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13a0bc([0x65,0x79]))?JSON[_0x13a0bc([0x70,0x61,0x72,0x73,0x65])](_0x1f9171(_0x3f58c1)):null;}function _0x1f9171(_0x1a5de7){return window[_0x13a0bc([0x61,0x74,0x6f,0x62])](_0x1a5de7[_0x13a0bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13a0bc([0x2b]))[_0x13a0bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13a0bc([0x2f])));}function _0x52f43e(_0x41b147){let _0x5866c5=0x1505;function _0x4700c9(_0x494d8d){for(let _0x112e92=0x0;_0x112e92<_0x494d8d[_0x13a0bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x112e92++){const _0x3ef98f=_0x494d8d[_0x13a0bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x112e92);_0x5866c5=(_0x5866c5<<0x5)+_0x5866c5+_0x3ef98f,_0x5866c5&=_0x5866c5;}}function _0x382da5(_0x131f72){Array[_0x13a0bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x131f72)?_0x131f72[_0x13a0bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x382da5):_0x131f72&&typeof _0x131f72==_0x13a0bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13a0bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x131f72)[_0x13a0bc([0x73,0x6f,0x72,0x74])]()[_0x13a0bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45e926,_0x1b5ccd])=>{_0x4700c9(_0x45e926),_0x382da5(_0x1b5ccd);}):_0x4700c9(window[_0x13a0bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x131f72));}return _0x382da5(_0x41b147),_0x5866c5>>>0x0;}function _0x4a6da5(_0x47397d){return _0x47397d[_0x13a0bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13a0bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13a0bc([0x30]));}function _0xadf98f(_0x31426d){return _0x31426d[_0x13a0bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13a0bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13a0bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x42f7fb(_0x40a175){return _0x2d4485[_0x13a0bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13a0bc([0x68,0x61,0x73])](_0x40a175);}function _0x4dde02(_0x10fce7){return _0x2d4485[_0x13a0bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x13a0bc([0x67,0x65,0x74])](_0x10fce7);}function _0x2cdb0d(){}function _0x13a0bc(_0x381863){return _0x381863['map'](_0x416509=>String['fromCharCode'](_0x416509))['join']('');}_0x30c112(await _0x47d3d7());}(this);}set['adapter'](_0x4f2a7b){if(this['_adapter'])throw new _0x1976e8('track-changes-adapter-already-set',this);this['_adapter']=_0x4f2a7b;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x5954a5=!0x1,toJSON:_0x2b0182=!0x1}={}){const _0x4abf9d=[];for(const _0x53a726 of this['_suggestions']['values']())_0x5954a5&&!_0x53a726['isInContent']||_0x4abf9d['push'](_0x53a726);return _0x2b0182?_0x4abf9d['map'](_0x335d3d=>_0x335d3d['toJSON']()):_0x4abf9d;}['getSuggestion'](_0x466d77){const _0x38258f=this['_suggestions']['get'](_0x466d77);if(!_0x38258f)throw new _0x1976e8('track-changes-suggestion-not-found',this);return _0x38258f;}['hasSuggestion'](_0x33902e){return this['_suggestions']['has'](_0x33902e);}['addSuggestionData'](_0x49a18d){const {authorId:_0x369a32,id:_0x5f53ee,originalSuggestionId:_0x23c32e,attributes:_0x5e0862}=_0x49a18d,[_0x238a9a,_0x4364a8]=_0x49a18d['type']['split'](':'),_0x29b115=this['_suggestions']['get'](_0x5f53ee)||this['_createSuggestion'](_0x238a9a,_0x4364a8,_0x5f53ee,_0x369a32,_0x5e0862,_0x23c32e);if(this['_addThreadToSuggestion'](_0x29b115),this['_checkSuggestionCorrectness'](_0x29b115,_0x238a9a,_0x4364a8||null,_0x369a32),_0x29b115['createdAt']=_0x49a18d['createdAt'],_0x29b115['_isDataLoaded']=!0x0,_0x5e0862&&_0x5e0862['@external']){const _0x5d0599=_0x5e0862['@external'],_0x374f2f=this['_getExternalAuthor'](_0x5d0599['authorName']);_0x29b115['authoredAt']=_0x5d0599['createdAt'],_0x29b115['author']=_0x374f2f,_0x29b115['isExternal']=!0x0;}else _0x29b115['authoredAt']=_0x49a18d['createdAt'];switch(_0x49a18d['data']&&(_0x29b115['data']=_0x49a18d['data']),_0x49a18d['attributes']&&(_0x29b115['attributes']=_0x49a18d['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x29b115['_saved']=!0x0),this['_suggestionState']['get'](_0x29b115)){case'notReady':this['_suggestionState']['set'](_0x29b115,'dataReady');break;case'markerReady':_0x29b115['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x29b115])),this['_refreshSuggestionsChain'](new Set([_0x29b115])),this['_suggestionState']['set'](_0x29b115,'ready'),this['fire']('suggestionLoaded',_0x29b115)):this['_suggestionState']['set'](_0x29b115,'removed');}return _0x29b115;}['acceptSuggestion'](_0x5ae04d){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0xe2107c of _0x5ae04d['getAllAdjacentSuggestions']())_0xe2107c['accept']();});});}['discardSuggestion'](_0x27c457){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x8852b0 of _0x27c457['getAllAdjacentSuggestions']())_0x8852b0['discard']();});});}['enableCommand'](_0x3ce76e,_0x1c4c77){const _0x5ded08=this['editor']['commands']['get'](_0x3ce76e);if(!_0x5ded08)throw new _0x1976e8('track-changes-command-not-found',this,{'commandName':_0x3ce76e});if(this['_enabledCommands']['has'](_0x5ded08))throw new _0x1976e8('track-changes-enable-command-twice',this,{'commandName':_0x3ce76e});this['_enabledCommands']['add'](_0x5ded08),_0x1c4c77&&_0x5ded08['on']('execute',(_0xa5e786,_0x5f0df1)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x5f0df1['length']>0x0&&_0x5f0df1[_0x5f0df1['length']-0x1]&&_0x5f0df1[_0x5f0df1['length']-0x1]['forceDefaultExecution']?_0x5f0df1['pop']():(_0xa5e786['return']=_0x1c4c77((..._0x40c8cf)=>_0x5ded08['execute'](..._0x40c8cf,{'forceDefaultExecution':!0x0}),..._0x5f0df1),_0xa5e786['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x51dddd){let _0x4441fc,_0x1f3090;const _0x2b1958=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x4441fc=_0x51dddd();}catch(_0x24047a){_0x1f3090=_0x24047a;}return _0x2b1958||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x1f3090&&_0x1976e8['rethrowUnexpectedError'](_0x1f3090,this),_0x4441fc;}['markInsertion'](_0x14a89b,_0x1178e0=null,_0x1e7212={}){if(_0x14a89b['isCollapsed'])return null;const _0x33fa0c=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x1e7212['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x55be48,meta:_0x5e648a}of this['_findSuggestions'](_0x14a89b,'insertion'))if(_0x5e648a['isOwn']){if(!_0x5e648a['isNextTo']){if(_0x5e648a['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!lD(_0x55be48,_0x1e7212))continue;return _0x55be48;}if(lD(_0x55be48,_0x1e7212))return _0x55be48;this['_breakSuggestionMarker'](_0x55be48,_0x14a89b['start'],_0x14a89b['end']);break;}if(_0x1178e0==_0x55be48['subType']&&lD(_0x55be48,_0x1e7212)){const _0x379fb9=_0x55be48['getFirstRange']();return _0x379fb9['start']['isEqual'](_0x14a89b['end'])?this['_setSuggestionRange'](_0x55be48,this['_model']['createRange'](_0x14a89b['start'],_0x379fb9['end'])):this['_setSuggestionRange'](_0x55be48,this['_model']['createRange'](_0x379fb9['start'],_0x14a89b['end'])),_0x55be48;}}const _0x20906d=_0x288d30(),_0x3be086=_0x33fa0c['id'],_0x37c6de=_0x1178e0?'insertion:'+_0x1178e0:'insertion',_0x3d51cf=this['_setSuggestionData']({'id':_0x20906d,'type':_0x37c6de,'createdAt':new Date(),'authorId':_0x3be086,'attributes':_0x1e7212});return this['_addSuggestionMarker'](_0x37c6de,_0x20906d,_0x3be086,_0x14a89b),_0x3d51cf;}['markMultiRangeInsertion'](_0x406f31,_0x6977be='multi',_0x42d5c1={}){const _0x23d2c6=this['editor']['plugins']['get']('Users')['me'],_0x23e804=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x6977be,'join');this['_trackingSessionId']&&(_0x42d5c1['trackingSessionId']=this['_trackingSessionId']);for(const _0x5daa8b of this['getSuggestions']())if(_0x5daa8b['author']['id']==_0x23d2c6['id']&&'insertion'==_0x5daa8b['type']&&_0x5daa8b['subType']==_0x6977be&&lD(_0x5daa8b,_0x42d5c1)&&(_0x23e804(_0x5daa8b['getRanges'](),_0x406f31)||_0x23e804(_0x406f31,_0x5daa8b['getRanges']()))){for(const _0x262344 of _0x406f31)_0x5daa8b['addRange'](_0x262344);return _0x5daa8b;}for(const {suggestion:_0x5546bc,meta:_0x9a26c4}of this['_findSuggestions'](_0x406f31,'insertion')){if(!_0x9a26c4['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x9a26c4['containsRangeInObject'])continue;if(!lD(_0x5546bc,_0x42d5c1))continue;let _0x23d6a1=!0x0;for(const _0x4f6d42 of _0x5546bc['getRanges']())for(const _0x3d298d of _0x406f31)if(!_0x4f6d42['containsRange'](_0x3d298d)){_0x23d6a1=!0x1;break;}if(_0x23d6a1)return _0x5546bc;}const _0x405cdc=_0x288d30(),_0x2707d8=_0x23d2c6['id'],_0x33d8bb='insertion:'+_0x6977be,_0xa2d42c=this['_setSuggestionData']({'id':_0x405cdc,'type':_0x33d8bb,'createdAt':new Date(),'authorId':_0x2707d8,'attributes':_0x42d5c1});for(const _0x55aa3d of _0x406f31)this['_addSuggestionMarker'](_0x33d8bb,_0x405cdc,_0x2707d8,_0x55aa3d,Suggestion['getMultiRangeId']());return _0xa2d42c;}['markInlineFormat'](_0x22f3e4,_0x57ff8c,_0x410a84=null,_0x159fc8={}){if(_0x410a84=_0x410a84||eD(_0x57ff8c),_0x22f3e4['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x159fc8['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x2625ab=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x410a84,'accept');return this['forceDefaultExecution'](()=>_0x2625ab([_0x22f3e4],_0x57ff8c,_0x159fc8)),null;}const _0xfc740e=this['editor']['plugins']['get']('Users')['me'],_0xb0a8c=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x4172cd,meta:_0x15ab77}of this['_findSuggestions'](_0x22f3e4,'insertion'))_0x15ab77['isOwn']&&!_0x15ab77['isInsideObject']&&_0xb0a8c['push'](..._0x4172cd['getRanges']());}const _0x286ce0=function(_0x14e3ff,_0x7736e9){const _0x73b6de=[];for(const _0x1a753a of _0x7736e9){const _0x2b1377=_0x14e3ff['getIntersection'](_0x1a753a);_0x2b1377&&_0x73b6de['push'](_0x2b1377);}return _0x73b6de;}(_0x22f3e4,_0xb0a8c),_0x41a02c=function(_0x52553d,_0x127524){const _0x1f197f=[_0x52553d];for(const _0x1a0ae0 of _0x127524){let _0x5582c9=0x0;for(;_0x5582c9<_0x1f197f['length'];){const _0x350b2d=_0x1f197f[_0x5582c9]['getDifference'](_0x1a0ae0);_0x1f197f['splice'](_0x5582c9,0x1,..._0x350b2d),_0x5582c9+=_0x350b2d['length'];}}return _0x1f197f;}(_0x22f3e4,_0xb0a8c);_0x286ce0['length']&&this['_model']['change'](()=>{for(const _0x3b9dc4 of _0x286ce0){const _0x36666a=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x410a84,'accept');this['forceDefaultExecution'](()=>_0x36666a([_0x3b9dc4],_0x57ff8c,_0x159fc8));}});for(const _0x460eef of _0x41a02c){let _0x588d0d=null,_0x5260c3=_0x460eef['start'],_0x41e0d9=_0x460eef['end'];for(const {suggestion:_0x33c138,meta:_0x16ce44}of this['_findSuggestions'](_0x460eef,'formatInline')){if(!_0x16ce44['isOwn'])continue;if(_0x33c138['subType']!=_0x410a84)continue;if(!lD(_0x33c138,_0x159fc8))continue;const _0x140312=_0x33c138['getFirstRange']();if(_0x140312['containsRange'](_0x460eef,!0x0))return null;_0x5260c3=_0x5260c3['isBefore'](_0x140312['start'])?_0x5260c3:_0x140312['start'],_0x41e0d9=_0x41e0d9['isAfter'](_0x140312['end'])?_0x41e0d9:_0x140312['end'],_0x588d0d?_0x140312['start']['isBefore'](_0x588d0d['getFirstRange']()['start'])?(_0x588d0d['removeMarkers'](),_0x588d0d=_0x33c138):_0x33c138['removeMarkers']():_0x588d0d=_0x33c138;}const _0x3cd3a6=this['_model']['createRange'](_0x5260c3,_0x41e0d9);if(_0x588d0d)this['_setSuggestionRange'](_0x588d0d,_0x3cd3a6);else{const _0x36a2bf=_0x288d30(),_0x24a619=_0xfc740e['id'];this['_setSuggestionData']({'id':_0x36a2bf,'type':'formatInline:'+_0x410a84,'data':_0x57ff8c,'createdAt':new Date(),'authorId':_0x24a619,'attributes':_0x159fc8}),this['_addSuggestionMarker']('formatInline:'+_0x410a84,_0x36a2bf,_0x24a619,_0x3cd3a6);}}return null;}['markBlockFormat'](_0x3adc42,_0x25f467,_0x63771d=[],_0x7b5ce3=null,_0x5e8bbe={}){_0x25f467['formatGroupId']||(_0x25f467['formatGroupId']=_0x25f467['commandName']),_0x25f467['multipleBlocks']=_0x3adc42['is']('range'),_0x7b5ce3=_0x7b5ce3||eD(_0x25f467);const _0x59b4cd=_0x63771d['map'](_0x4e7ef9=>oD(_0x4e7ef9,this['_model'])),_0x184da0=_0x3adc42['is']('range')?_0x3adc42:oD(_0x3adc42,this['_model']);if(this['_trackingSessionId']&&(_0x5e8bbe['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x404f75=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x7b5ce3,'accept');return this['forceDefaultExecution'](()=>_0x404f75([_0x184da0],_0x25f467,_0x5e8bbe)),null;}_0x59b4cd['push'](_0x184da0);let _0xd6a07=!0x0;for(const _0xd8d278 of _0x59b4cd)if(!this['_rangeIsInLocalUserInsertion'](_0xd8d278)){_0xd6a07=!0x1;break;}if(_0xd6a07&&'always'!==this['_trackFormatChanges']){const _0x15465a=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x7b5ce3,'accept');return this['forceDefaultExecution'](()=>_0x15465a([_0x184da0],_0x25f467,_0x5e8bbe)),null;}let _0x58fdd5=null,_0x4bf61a=_0x184da0['start'],_0x74817f=_0x184da0['end'];for(const {suggestion:_0x417a58,meta:_0x879b79}of this['_findSuggestions'](_0x184da0,'formatBlock')){if(!_0x879b79['isOwn'])continue;if(_0x879b79['isNextTo']||_0x879b79['containsRangeInObject']||_0x879b79['isInsideObject'])continue;if(_0x417a58['data']['formatGroupId']!=_0x25f467['formatGroupId'])continue;if(!lD(_0x417a58,_0x5e8bbe))continue;const _0x410af0=_0x417a58['getFirstRange']();if(_0x417a58['subType']==_0x7b5ce3){if(_0x410af0['containsRange'](_0x184da0,!0x0))return null;_0x4bf61a=_0x4bf61a['isBefore'](_0x410af0['start'])?_0x4bf61a:_0x410af0['start'],_0x74817f=_0x74817f['isAfter'](_0x410af0['end'])?_0x74817f:_0x410af0['end'],_0x58fdd5?_0x410af0['start']['isBefore'](_0x58fdd5['getFirstRange']()['start'])?(_0x58fdd5['removeMarkers'](),_0x58fdd5=_0x417a58):_0x417a58['removeMarkers']():_0x58fdd5=_0x417a58;}else{const _0x119cc7=_0x184da0['getIntersection'](_0x410af0);this['_cutOutSuggestionMarker'](_0x417a58,_0x119cc7);}}const _0x5723c1=this['editor']['plugins']['get']('Users')['me'],_0x355904=_0x288d30(),_0x20007d=_0x5723c1['id'];if(_0x58fdd5)return this['_setSuggestionRange'](_0x58fdd5,this['_model']['createRange'](_0x4bf61a,_0x74817f)),_0x58fdd5;{const _0x1adf59=this['_setSuggestionData']({'id':_0x355904,'type':'formatBlock:'+_0x7b5ce3,'data':_0x25f467,'createdAt':new Date(),'authorId':_0x20007d,'attributes':_0x5e8bbe});return this['_addSuggestionMarker']('formatBlock:'+_0x7b5ce3,_0x355904,_0x20007d,this['_model']['createRange'](_0x4bf61a,_0x74817f)),_0x1adf59;}}['markMultiRangeBlockFormat'](_0x14b198,_0x3be8de,_0x39e394=[],_0x3921da=null,_0x35c5a1={}){_0x3be8de['formatGroupId']||(_0x3be8de['formatGroupId']=_0x3be8de['commandName']);const _0x5e37f9=_0x14b198[0x0];_0x3be8de['multipleBlocks']=_0x5e37f9['is']('range'),_0x3921da=_0x3921da||eD(_0x3be8de);const _0x2fe340=_0x39e394['map'](_0x5576e4=>oD(_0x5576e4,this['_model'])),_0x2e1cd8=_0x5e37f9['is']('range')?_0x14b198:_0x14b198['map'](_0x38a4f1=>oD(_0x38a4f1,this['_model']));if(this['_trackingSessionId']&&(_0x35c5a1['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x1c6d09=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3921da,'accept');return this['forceDefaultExecution'](()=>_0x1c6d09(_0x2e1cd8,_0x3be8de,_0x35c5a1)),null;}_0x2fe340['push'](..._0x2e1cd8);let _0x311640=!0x0;for(const _0x5c0466 of _0x2fe340)if(!this['_rangeIsInLocalUserInsertion'](_0x5c0466)){_0x311640=!0x1;break;}if(_0x311640&&'always'!==this['_trackFormatChanges']){const _0x302d7e=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3921da,'accept');return this['forceDefaultExecution'](()=>_0x302d7e(_0x2e1cd8,_0x3be8de,_0x35c5a1)),null;}const _0x1ab677=this['editor']['plugins']['get']('Users')['me'];for(const _0x3bcc84 of this['getSuggestions']()){const _0x215e1c=_0x3bcc84['data'];if(_0x3bcc84['author']['id']!=_0x1ab677['id'])continue;if('formatBlock'!=_0x3bcc84['type']||_0x215e1c['formatGroupId']!=_0x3be8de['formatGroupId'])continue;if(!lD(_0x3bcc84,_0x35c5a1))continue;const _0x3b6467=_0x3bcc84['subType']==_0x3921da;for(let _0x4193c0=0x0;_0x4193c0<_0x2e1cd8['length'];_0x4193c0++){const _0x1c67d4=_0x2e1cd8[_0x4193c0];for(const _0xb6d737 of _0x3bcc84['getMarkers']()){const _0x3509c4=_0xb6d737['getRange']();if(_0x1c67d4['isEqual'](_0x3509c4)){_0x3b6467?(_0x2e1cd8['splice'](_0x4193c0,0x1),_0x4193c0--):_0x3bcc84['removeMarker'](_0xb6d737['name']);break;}}}}if(0x0==_0x2e1cd8['length'])return null;const _0x22ce0d=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3921da,'join');for(const _0x3b1916 of this['getSuggestions']()){const _0x1729f5=_0x3b1916['data'];if(_0x3b1916['author']['id']==_0x1ab677['id']&&('formatBlock'==_0x3b1916['type']&&_0x1729f5['formatGroupId']==_0x3be8de['formatGroupId']&&_0x3b1916['subType']==_0x3921da&&lD(_0x3b1916,_0x35c5a1)&&(_0x22ce0d(_0x3b1916['getRanges'](),_0x2e1cd8)||_0x22ce0d(_0x2e1cd8,_0x3b1916['getRanges']())))){for(const _0x696300 of _0x2e1cd8)_0x3b1916['addRange'](_0x696300);return _0x3b1916;}}const _0x2e868f=_0x288d30(),_0x412da3=_0x1ab677['id'],_0x3d6999='formatBlock:'+_0x3921da,_0x5a3527=this['_setSuggestionData']({'id':_0x2e868f,'type':_0x3d6999,'data':_0x3be8de,'createdAt':new Date(),'authorId':_0x412da3,'attributes':_0x35c5a1});for(const _0x36785c of _0x2e1cd8)this['_addSuggestionMarker'](_0x3d6999,_0x2e868f,_0x412da3,_0x36785c,Suggestion['getMultiRangeId']());return _0x5a3527;}['markDeletion'](_0x4e167b,_0x4304d8=null,_0x52f743={}){if(_0x4e167b['isCollapsed'])return null;const _0x4b01b2=this['editor']['plugins']['get']('Users')['me'],_0x397106=new _0x4131d3(_0x4e167b['start'],_0x4e167b['end']);this['_trackingSessionId']&&(_0x52f743['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x8a5f00,meta:_0x375359}of this['_findSuggestions'](_0x397106,'insertion'))if(_0x375359['isOwn']&&!_0x375359['isNextTo']){if(_0x8a5f00['isMultiRange']){const _0x5bf1c3=_0x8a5f00['getRanges']()['filter'](_0x330034=>'$graveyard'!=_0x330034['root']['rootName']);_0x5bf1c3['every'](_0x25fa93=>_0x397106['containsRange'](_0x25fa93,!0x0))&&_0x8a5f00['discard']();if(_0x5bf1c3['some'](_0x128332=>_0x128332['containsRange'](_0x397106,!0x0))){const _0x1ef395=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4304d8,'accept');return this['forceDefaultExecution'](()=>_0x1ef395([_0x397106],null,_0x52f743)),null;}}else{const _0x214708=_0x397106['getIntersection'](_0x8a5f00['getFirstRange']());null!==_0x214708&&_0x8a5f00['_onDiscard']([_0x214708],null,_0x52f743);}}if(_0x397106['detach'](),_0x397106['isCollapsed']||'$graveyard'==_0x397106['root']['rootName'])return null;let _0x51ed79=null,_0x21f118=_0x397106['start'],_0x5d7101=_0x397106['end'];const _0x1edac7=this['_findSuggestions'](_0x397106,'deletion');for(const {suggestion:_0x46685d,meta:_0x5e5c9d}of _0x1edac7){const _0x1d16bc=this['_model']['createRange'](_0x21f118,_0x5d7101);if(_0x5e5c9d['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5e5c9d['containsRangeInObject']&&!_0x5e5c9d['isInsideObject'])){if(_0x46685d['isMultiRange']){if(!lD(_0x46685d,_0x52f743))continue;let _0x29fb1f=!0x0;for(const _0x2b05b2 of _0x46685d['getRanges']()){if(_0x2b05b2['containsRange'](_0x1d16bc,!0x0))return _0x46685d;_0x1d16bc['containsRange'](_0x2b05b2)||(_0x29fb1f=!0x1);}_0x29fb1f&&_0x46685d['discard']();}else{const _0x4e7ba1=_0x46685d['getFirstRange']();if(_0x4e7ba1['containsRange'](_0x1d16bc,!0x0))return _0x46685d;if(!lD(_0x46685d,_0x52f743)){_0x1d16bc['containsRange'](_0x4e7ba1)?_0x46685d['removeMarkers']():_0x4e7ba1['containsPosition'](_0x21f118)?_0x21f118=_0x4e7ba1['end']:_0x4e7ba1['containsPosition'](_0x5d7101)&&(_0x5d7101=_0x4e7ba1['start']);continue;}_0x21f118=_0x21f118['isBefore'](_0x4e7ba1['start'])?_0x21f118:_0x4e7ba1['start'],_0x5d7101=_0x5d7101['isAfter'](_0x4e7ba1['end'])?_0x5d7101:_0x4e7ba1['end'],_0x52f743=Object['assign']({},_0x46685d['attributes']),_0x51ed79?_0x4e7ba1['start']['isBefore'](_0x51ed79['getFirstRange']()['start'])?(_0x51ed79['removeMarkers'](),_0x51ed79=_0x46685d):_0x46685d['removeMarkers']():_0x51ed79=_0x46685d;}}}if(_0x51ed79)return this['_setSuggestionRange'](_0x51ed79,this['_model']['createRange'](_0x21f118,_0x5d7101)),_0x51ed79;{const _0x36b1bb=_0x288d30(),_0xc516e2=this['_model']['createRange'](_0x21f118,_0x5d7101),_0x137bda=_0x4b01b2['id'],_0x18c069=_0x4304d8?'deletion:'+_0x4304d8:'deletion',_0x56a898=this['_setSuggestionData']({'id':_0x36b1bb,'type':_0x18c069,'createdAt':new Date(),'authorId':_0x137bda,'attributes':_0x52f743});return this['_addSuggestionMarker'](_0x18c069,_0x36b1bb,_0x137bda,_0xc516e2),_0x56a898;}}['markMultiRangeDeletion'](_0x401aa1,_0x1764d1='multi',_0x288146={}){const _0x582d0c=this['editor']['plugins']['get']('Users')['me'],_0x47b80c=_0x401aa1['map'](_0xe90c86=>new _0x4131d3(_0xe90c86['start'],_0xe90c86['end'])),_0xc1639f=new Set();this['_trackingSessionId']&&(_0x288146['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x274914,meta:_0x482bfb}of this['_findSuggestions'](_0x47b80c,'insertion'))_0x482bfb['isOwn']&&!_0x482bfb['isNextTo']&&_0xc1639f['add'](_0x274914);for(const _0x124981 of _0xc1639f)if(_0x124981['isMultiRange']){const _0x73f4a0=_0x124981['getRanges']();(!_0x124981['attributes']||!_0x124981['attributes']['skipNestingCheck'])&&(_0x73f4a0['every'](_0x97b891=>_0x47b80c['some'](_0xb90342=>_0xb90342['containsRange'](_0x97b891,!0x0)))&&_0x124981['discard']());if(_0x47b80c['every'](_0xa2ad76=>_0x73f4a0['some'](_0x169be4=>_0x169be4['containsRange'](_0xa2ad76,!0x0)))){const _0x595431=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1764d1,'accept');return this['forceDefaultExecution'](()=>_0x595431(_0x401aa1,null,_0x288146)),null;}}else{const _0x10234a=_0x124981['getFirstRange']();_0x47b80c['some'](_0x3d473e=>_0x3d473e['containsRange'](_0x10234a,!0x0))&&_0x124981['discard']();if(_0x47b80c['every'](_0x5e4b92=>_0x10234a['containsRange'](_0x5e4b92,!0x0))){const _0x582826=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1764d1,'accept');return this['forceDefaultExecution'](()=>_0x582826(_0x47b80c,null,_0x288146)),null;}}const _0x576be0=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1764d1,'join');let _0x4db775=null;for(const _0xec7296 of this['getSuggestions']())if(_0xec7296['author']['id']==_0x582d0c['id']&&_0xec7296['isInContent']&&'deletion'==_0xec7296['type']&&_0xec7296['subType']==_0x1764d1&&lD(_0xec7296,_0x288146)&&(_0x576be0(_0xec7296['getRanges'](),_0x47b80c)||_0x576be0(_0x47b80c,_0xec7296['getRanges']()))){if(_0x4db775){if(_0xec7296['commentThread']&&_0xec7296['commentThread']['length'])continue;for(const _0x275fda of _0xec7296['getRanges']())_0x4db775['isIntersectingWithRange'](_0x275fda)||_0x4db775['addRange'](_0x275fda);_0xec7296['removeMarkers']();}else{_0x4db775=_0xec7296;for(const _0x366b89 of _0x47b80c)_0xec7296['isIntersectingWithRange'](_0x366b89)||_0xec7296['addRange'](_0x366b89);}}if(_0x4db775)return _0x4db775;_0xc1639f['clear']();for(const {suggestion:_0x321c71,meta:_0x2087c7}of this['_findSuggestions'](_0x47b80c,'deletion'))_0x2087c7['isOwn']&&(this['_mergeNestedSuggestions']||!_0x2087c7['containsRangeInObject']&&!_0x2087c7['isInsideObject'])&&lD(_0x321c71,_0x288146)&&_0xc1639f['add'](_0x321c71);for(const _0x18b406 of _0xc1639f){const _0x2c0020=_0x18b406['getRanges']();if(!_0x288146||!_0x288146['skipNestingCheck']){if(_0x47b80c['every'](_0x33871d=>_0x2c0020['some'](_0xadc3b4=>_0xadc3b4['containsRange'](_0x33871d,!0x0))))return _0x18b406;}(!_0x18b406['attributes']||!_0x18b406['attributes']['skipNestingCheck'])&&(_0x2c0020['every'](_0x1e08e0=>_0x47b80c['some'](_0xb691cf=>_0xb691cf['containsRange'](_0x1e08e0,!0x0)))&&_0x18b406['discard']());}const _0x26d40b=_0x288d30(),_0x5e3a89=_0x582d0c['id'],_0x2f2318='deletion:'+_0x1764d1,_0x1ca0e9=this['_setSuggestionData']({'id':_0x26d40b,'type':_0x2f2318,'createdAt':new Date(),'authorId':_0x5e3a89,'attributes':_0x288146});for(const _0xd371ad of _0x47b80c)_0xd371ad['detach'](),_0xd371ad['isCollapsed']||'$graveyard'==_0xd371ad['root']['rootName']||this['_addSuggestionMarker'](_0x2f2318,_0x26d40b,_0x5e3a89,_0xd371ad,Suggestion['getMultiRangeId']());return _0x1ca0e9;}['markAttributeChange'](_0x8426cb,_0xca8292,_0x473795,_0x3ce19b,_0x15d9f1){if(_0x8426cb['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x16c0d4=this['editor']['plugins']['get']('Users')['me']['id'],_0x6e6f11=Array['from'](this['_suggestions']['values']())['filter'](_0x329d1b=>'attribute'==_0x329d1b['type']&&_0x329d1b['data']['key']==_0xca8292&&_0x329d1b['isIntersectingWithRange'](_0x8426cb));if(this['_trackingSessionId']&&(_0x15d9f1['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0xe9e209=this['_findSuggestions'](_0x8426cb,'insertion')['filter'](({meta:_0x552c8c})=>_0x552c8c['isOwn']&&!_0x552c8c['isInsideObject']&&!_0x552c8c['isNextTo'])['map'](({suggestion:_0x545e07})=>_0x545e07);_0x6e6f11['unshift'](..._0xe9e209);}const _0x392bba=new Map([[_0x8426cb,_0x473795]]);for(const _0x42658c of _0x6e6f11){const _0xce14b9='attribute'==_0x42658c['type']?_0x42658c['data']['oldValue']:void 0x0,_0x266b16=_0x42658c['getFirstRange'](),_0x5f2451=Array['from'](_0x392bba['keys']())['find'](_0x5e2063=>_0x5e2063['isIntersecting'](_0x266b16));if(!_0x5f2451)continue;const _0x1e47b4=_0x5f2451['getDifference'](_0x266b16);this['_isBlockAttribute'](_0xca8292)&&'insertion'==_0x42658c['type']&&0x0!=_0x1e47b4['length']||(_0x392bba['delete'](_0x5f2451),_0x1e47b4['forEach'](_0xc6f69b=>{_0x392bba['set'](_0xc6f69b,_0x473795);}),'insertion'!=_0x42658c['type']&&_0xce14b9!=_0x3ce19b&&_0x392bba['set'](_0x5f2451['getIntersection'](_0x266b16),_0xce14b9));}const _0x1161ad=[];for(const [_0x19ec07,_0x2afdcd]of _0x392bba){const _0x27b4a1=_0x288d30(),_0x2e518e={'key':_0xca8292,'oldValue':_0x2afdcd,'newValue':_0x3ce19b};_0xca8292['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':_0xca8292});const _0xeed498=('attribute:'+(_0xca8292+'|'+eD({'newValue':_0x3ce19b})))['substring'](0x0,0x3c),_0xf6bbfb=this['_setSuggestionData']({'id':_0x27b4a1,'type':_0xeed498,'data':_0x2e518e,'createdAt':new Date(),'authorId':_0x16c0d4,'attributes':_0x15d9f1});_0x1161ad['push'](_0xf6bbfb),this['_addSuggestionMarker'](_0xeed498,_0x27b4a1,_0x16c0d4,_0x19ec07);}return _0x1161ad;}['enableDefaultAttributesIntegration'](_0x597b20){this['enableCommand'](_0x597b20,(_0x50e079,..._0xa48970)=>{this['recordAttributeChanges'](()=>{_0x50e079(..._0xa48970);});});}['registerBlockAttribute'](_0x1ab232){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x1ab232);}['registerInlineAttribute'](_0x200fae){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x200fae);}['startTrackingSession'](_0x308f00){return this['_trackingSessionId']=void 0x0!==_0x308f00?_0x308f00:_0x288d30(),this['_trackingSessionId'];}['_getAttributeKey'](_0x31f763){return'attribute'==_0x31f763['type']?_0x31f763['subType']['split']('|')[0x0]:null;}['_applyOperationsAsSuggestions'](_0x34547a){if(0x0==_0x34547a['length'])return;const _0x1f6a7d=this['editor'],_0xd2f83f=_0x1f6a7d['plugins']['get'](DocumentCompare),_0x3eb584=[];_0x1f6a7d['model']['change'](_0x2d89fd=>{for(let _0x26340a=0x0;_0x26340a<_0x34547a['length'];_0x26340a++){const _0x3716c8=_0x34547a[_0x26340a];if(_0x3716c8['baseVersion']=_0x1f6a7d['model']['document']['version'],_0x3716c8['isDocumentOperation']=!0x0,_0xd2f83f['isMarkedRemoveOperation'](_0x3716c8)){const _0x4d7ac1=Ja(_0x3716c8['newRange'],_0x1f6a7d['model']);_0x3eb584['unshift'](_0x4131d3['fromRange'](_0x4d7ac1));}else switch(_0x3716c8['type']){case'rename':{const _0x290989=_0x3716c8['oldName'],_0x58bb56=_0x3716c8['newName'];if(_0x290989==_0x58bb56)break;_0x2d89fd['batch']['addOperation'](_0x3716c8),_0x1f6a7d['model']['applyOperation'](_0x3716c8);const _0x2db445='$elementName',_0x239d84=_0x3716c8['position'],_0x1fea39=_0x1f6a7d['model']['createRange'](_0x239d84,_0x1f6a7d['model']['createPositionAt'](_0x239d84['nodeAfter'],'end'));this['markAttributeChange'](_0x1fea39,_0x2db445,_0x290989,_0x58bb56,{'groupId':_0x288d30()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x3c771b=_0x3716c8['oldValue'],_0x2cb96b=_0x3716c8['newValue'];if(_0x3c771b==_0x2cb96b)break;_0x2d89fd['batch']['addOperation'](_0x3716c8),_0x1f6a7d['model']['applyOperation'](_0x3716c8);const _0x41aa65=_0x3716c8['key'];if(!this['_isRegisteredAttribute'](_0x41aa65))break;const _0x587086=Ja(_0x3716c8['range'],_0x1f6a7d['model']);this['markAttributeChange'](_0x587086,_0x41aa65,_0x3c771b,_0x2cb96b,{'groupId':_0x288d30()});break;}case'insert':{_0x2d89fd['batch']['addOperation'](_0x3716c8),_0x1f6a7d['model']['applyOperation'](_0x3716c8);if(_0x34547a[_0x26340a+0x1]&&'move'==_0x34547a[_0x26340a+0x1]['type'])break;const _0x44b619=_0x3716c8['position'],_0x3e634d=_0x3716c8['howMany'],_0x18838e=Ja(_0x1f6a7d['model']['createRange'](_0x44b619,_0x44b619['getShiftedBy'](_0x3e634d)),_0x1f6a7d['model']);this['markInsertion'](_0x18838e);break;}case'split':{_0x2d89fd['batch']['addOperation'](_0x3716c8),_0x1f6a7d['model']['applyOperation'](_0x3716c8);const _0x1b1d5d=_0x3716c8['splitPosition'],_0x3f542f=_0x3716c8['moveTargetPosition'];this['markInsertion'](_0x1f6a7d['model']['createRange'](_0x1b1d5d,_0x3f542f));break;}case'move':case'remove':_0x2d89fd['batch']['addOperation'](_0x3716c8),_0x1f6a7d['model']['applyOperation'](_0x3716c8);}}for(const _0x43b933 of _0x3eb584)_0x43b933['detach'](),this['markDeletion'](_0x43b933);});}['_setSuggestionRange'](_0x1fd2e5,_0x5e6559){const _0x2ac0f1=_0x1fd2e5['getFirstMarker']();this['_model']['change'](_0x100b8b=>{_0x100b8b['updateMarker'](_0x2ac0f1,{'range':_0x5e6559});});}['_addThreadToSuggestion'](_0xc14438){const _0x58fa6b=_0xc14438['id'],_0x25ad0c=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x58fa6b)||this['_commentsRepository']['addCommentThread']({'channelId':_0x25ad0c,'threadId':_0x58fa6b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3a5fcf=this['_commentsRepository']['getCommentThread'](_0x58fa6b);_0x3a5fcf['unbind']('isRemovable'),_0x3a5fcf['isRemovable']=!0x1,_0xc14438['commentThread']=_0x3a5fcf;}['_checkSuggestionCorrectness'](_0x2cae33,_0x731574,_0x5269e1,_0x471f41){if(_0x2cae33['type']!=_0x731574||_0x2cae33['subType']!=_0x5269e1||_0x2cae33['creator']['id']!=_0x471f41)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x1976e8('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x41cb77,_0x4ca152){const _0x3adf03=_0x41cb77['getFirstRange']();if(_0x4ca152['isEqual'](_0x3adf03))_0x41cb77['removeMarkers']();else{if(_0x3adf03['containsRange'](_0x4ca152)){const _0x35c15b=this['_model']['createPositionAt'](_0x4ca152['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x41cb77,this['_model']['createRange'](_0x3adf03['start'],_0x35c15b));const _0x20b965=_0x288d30(),_0x4aa7f3=_0x41cb77['creator']['id'],_0x17cf82=_0x41cb77['type']+':'+_0x41cb77['subType'];this['_setSuggestionData']({'id':_0x20b965,'type':_0x17cf82,'createdAt':new Date(),'authorId':_0x4aa7f3,'data':_0x41cb77['data'],'attributes':_0x41cb77['attributes']});const _0x13e83f=this['_model']['createPositionAt'](_0x4ca152['end']['parent'],'after'),_0x34baa1=this['_model']['createRange'](_0x13e83f,_0x3adf03['end']);this['_addSuggestionMarker'](_0x17cf82,_0x20b965,_0x4aa7f3,_0x34baa1);}else{if(_0x3adf03['containsPosition'](_0x4ca152['start'])){const _0x1e0661=this['_model']['createPositionAt'](_0x4ca152['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x41cb77,this['_model']['createRange'](_0x3adf03['start'],_0x1e0661));}else{const _0x21cd5a=this['_model']['createPositionAt'](_0x4ca152['end']['parent'],'after');this['_setSuggestionRange'](_0x41cb77,this['_model']['createRange'](_0x21cd5a,_0x3adf03['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x3bc426){for(const {suggestion:_0x4a15de,meta:_0x41b5d7}of this['_findSuggestions'](_0x3bc426,'insertion')){if(!_0x41b5d7['isOwn'])continue;const _0x3f8aae=_0x4a15de['getRanges']();for(const _0x893cd of _0x3f8aae)if(!_0x3bc426['getDifference'](_0x893cd)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x5e5bfa){return this['editor']['plugins']['get']('Users')['getUser'](_0x5e5bfa);}['_getExternalAuthor'](_0x214413){const _0x33ec9d=this['editor']['plugins']['get']('Users'),_0x31b3b1=Ju('external:'+_0x214413),_0x254080=_0x33ec9d['getUser'](_0x31b3b1);return _0x254080||_0x33ec9d['addUser']({'id':_0x31b3b1,'name':_0x214413});}['_createSuggestion'](_0x5185d5,_0x3f094d,_0xa23e5,_0x12f262,_0x25aa40,_0x4b9944){const _0x2854fd=this['_getAuthorFromId'](_0x12f262);if(!_0x2854fd)throw new _0x1976e8('track-changes-user-not-found',this,{'authorId':_0x12f262,'suggestionId':_0xa23e5});const _0x4eaa16=this['_suggestionFactory']['buildSuggestion'](_0x5185d5,_0x3f094d,_0xa23e5,_0x2854fd,_0x25aa40,_0x4b288a=>{this['_updateSuggestionData'](_0xa23e5,{'attributes':_0x4b288a});const _0x1372a9=this['getSuggestion'](_0xa23e5);this['_joinWithAdjacentSuggestions'](new Set([_0x1372a9])),this['_refreshSuggestionsChain'](new Set([_0x1372a9]));},_0x4b9944);return this['listenTo'](_0x4eaa16,'accept',()=>{this['_updateSuggestionData'](_0xa23e5,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x4eaa16,'discard',()=>{this['_updateSuggestionData'](_0xa23e5,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0xa23e5,_0x4eaa16),this['_suggestionState']['set'](_0x4eaa16,'notReady'),_0x4eaa16;}['_splitMarkerName'](_0x26a749){return Ka(_0x26a749);}['_breakSuggestionMarker'](_0xc79b7a,_0x387ba6,_0x5422aa){const _0x5a72a5=_0xc79b7a['getFirstRange'](),_0x20b0e0=_0x5a72a5['start'],_0x36ccd8=_0x5a72a5['end'];this['_setSuggestionRange'](_0xc79b7a,this['_model']['createRange'](_0x20b0e0,_0x387ba6));const _0xd502b3=_0x288d30(),_0x4c6acf=_0xc79b7a['creator']['id'],_0x26418c=_0xc79b7a['type']+(_0xc79b7a['subType']?':'+_0xc79b7a['subType']:'');this['_setSuggestionData']({'id':_0xd502b3,'type':_0x26418c,'createdAt':new Date(),'authorId':_0x4c6acf,'originalSuggestionId':_0xc79b7a['_originalSuggestionId']||_0xc79b7a['id'],'attributes':_0xc79b7a['attributes'],'data':_0xc79b7a['data']});const _0x5cdf63=this['_getAttributeKey'](_0xc79b7a);('formatBlock'==_0xc79b7a['type']||_0x5cdf63&&this['_isBlockAttribute'](_0x5cdf63))&&(_0x5422aa=this['_model']['createPositionBefore'](_0x5422aa['parent'])),this['_addSuggestionMarker'](_0x26418c,_0xd502b3,_0x4c6acf,this['_model']['createRange'](_0x5422aa,_0x36ccd8));}['_findSuggestions'](_0x30fec6,_0x33e485=null){const _0x503eef=[],_0xe49454=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x30fec6)||(_0x30fec6=[_0x30fec6]);for(const _0x125264 of this['getSuggestions']()){if(!_0x125264['isInContent'])continue;if(_0x33e485&&_0x125264['type']!=_0x33e485)continue;let _0x50e8d0=!0x1;for(const _0x3585f2 of _0x125264['getRanges']()){for(const _0x365da1 of _0x30fec6){const _0x3ff08e=_0x365da1['start']['isEqual'](_0x3585f2['end'])||_0x365da1['end']['isEqual'](_0x3585f2['start']);if(_0x3ff08e||_0x365da1['getIntersection'](_0x3585f2)){const _0x2af9cd=_0x365da1['containsRange'](_0x3585f2)&&KL(this['_model']['schema'],_0x3585f2['start'],_0x365da1),_0x54c729=_0x3585f2['containsRange'](_0x365da1)&&KL(this['_model']['schema'],_0x365da1['start'],_0x3585f2);_0x503eef['push']({'suggestion':_0x125264,'meta':{'isOwn':_0xe49454==_0x125264['author'],'isNextTo':_0x3ff08e,'isInsideObject':_0x2af9cd,'containsRangeInObject':_0x54c729}}),_0x50e8d0=!0x0;break;}}if(_0x50e8d0)break;}}return _0x503eef;}['_addSuggestionMarker'](_0x3d37fc,_0x1dafe8,_0x12e2e2,_0x4becbd,_0x447ff1){this['_model']['change'](_0x111ca1=>{let _0x3f6b00='suggestion:'+_0x3d37fc+':'+_0x1dafe8+':'+_0x12e2e2;_0x447ff1&&(_0x3f6b00=_0x3f6b00+':'+_0x447ff1),_0x111ca1['addMarker'](_0x3f6b00,{'range':_0x4becbd,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x570ff9){const _0x3b5a17=_0x570ff9['previous'],_0x410838=_0x570ff9['next'];_0x570ff9['previous']=null,_0x570ff9['next']=null,null!=_0x3b5a17&&_0x3b5a17['next']==_0x570ff9&&(_0x3b5a17['next']=_0x410838),null!=_0x410838&&_0x410838['previous']==_0x570ff9&&(_0x410838['previous']=_0x3b5a17),'ready'==this['_suggestionState']['get'](_0x570ff9)&&(this['_suggestionState']['set'](_0x570ff9,'removed'),this['fire']('suggestionUnloaded',_0x570ff9,_0x3b5a17,_0x410838));}['_setSuggestionData'](_0x381c5d){const _0x3492e0=_0x381c5d['id'],_0x1382a8=this['addSuggestionData'](_0x381c5d);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x404e1f=this['editor']['plugins']['get']('PendingActions'),_0x1ba955=_0x1382a8['hasComments'],_0x34d0b5=_0x1382a8['subType']?_0x1382a8['type']+':'+_0x1382a8['subType']:_0x1382a8['type'],_0xdfa113=this['editor']['locale'],_0x45ee40=_0x404e1f['add'](NL(_0xdfa113,'PENDING_ACTION_SUGGESTION')),_0x40afa7={'id':_0x3492e0,'type':_0x34d0b5,'hasComments':_0x1ba955,'data':_0x381c5d['data']||null,'originalSuggestionId':_0x381c5d['originalSuggestionId']||null,'attributes':_0x1382a8['attributes']};this['_adapter']['addSuggestion'](_0x40afa7)['then'](_0x1c40a5=>{_0x1382a8['_saved']=!0x0,_0x404e1f['remove'](_0x45ee40),_0x1c40a5&&_0x1c40a5['createdAt']&&(this['_suggestions']['get'](_0x3492e0)['createdAt']=_0x1c40a5['createdAt']);})['catch'](_0x4d90a7=>{throw _0x2e934f('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x1382a8['discard']();}),_0x1382a8['stopListening'](),this['_suggestions']['delete'](_0x1382a8['id']),this['_suggestionState']['delete'](_0x1382a8),_0x4d90a7;});}return _0x1382a8;}['_isBlockAttribute'](_0x4e0500){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x4e0500);}['_isInlineAttribute'](_0x4a602d){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x4a602d);}['_updateSuggestionData'](_0x2d60c4,_0x380774){const _0xa6d1ff=this['editor']['plugins']['get']('PendingActions'),_0x5bf8db=this['getSuggestion'](_0x2d60c4);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x5bf8db['_saved']){const _0x5522a2=_0xa6d1ff['add'](NL(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x2d60c4,_0x380774)['then'](()=>{_0xa6d1ff['remove'](_0x5522a2);});}else _0x5bf8db['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x2d60c4,_0x380774);});}}['_getSuggestionData'](_0x27df80){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x1976e8('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x27df80);}['_handleNewSuggestionMarker'](_0x135995){const {id:_0x17d46e,type:_0x2349a5,subType:_0x148705,authorId:_0x2183fc}=this['_splitMarkerName'](_0x135995),_0x36c3d3=this['_suggestions']['get'](_0x17d46e)||this['_createSuggestion'](_0x2349a5,_0x148705,_0x17d46e,_0x2183fc,{});switch(this['_checkSuggestionCorrectness'](_0x36c3d3,_0x2349a5,_0x148705,_0x2183fc),this['_suggestionState']['get'](_0x36c3d3)){case'notReady':this['_getSuggestionData'](_0x17d46e)['then'](_0x593eda=>{let _0x21a78f=Promise['resolve']();_0x593eda['hasComments']&&(_0x21a78f=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x17d46e})),_0x21a78f['then'](()=>{this['addSuggestionData'](_0x593eda)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x36c3d3,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x17d46e,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x36c3d3,'ready'),this['fire']('suggestionLoaded',_0x36c3d3);break;case'ready':this['fire']('suggestionChanged',_0x36c3d3);}return _0x36c3d3['addMarkerName'](_0x135995),_0x36c3d3;}['_refreshSuggestionsChain'](_0x2e4078){const _0x3056d3=Array['from'](_0x2e4078),_0x40c57a=_0x3056d3['filter'](_0x40b71d=>'attribute'==_0x40b71d['type']);this['_refreshAttributeSuggestionsChain'](_0x40c57a);const _0x164e61=_0x3056d3['filter'](_0x2e10b7=>!_0x2e10b7['isMultiRange']&&'attribute'!=_0x2e10b7['type']),_0x2b118d=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x560659=>!_0x560659['isMultiRange']&&'attribute'!=_0x560659['type']),_0x565cd4=_0x2b118d['filter'](_0x1fa517=>!_0x2e4078['has'](_0x1fa517)),_0x20e13b=new Map(_0x2b118d['map'](_0x18ac1f=>[_0x18ac1f,this['_suggestionFactory']['getSuggestionCallback'](_0x18ac1f['type'],_0x18ac1f['subType'],'chain')])),_0x46d29a=new Map(_0x2b118d['map'](_0x1366b9=>[_0x1366b9,_0x1366b9['getFirstRange']()])),_0x4ccbda=new Set(),_0xacf6a4=new Set();for(let _0x36770c=0x0;_0x36770c<_0x164e61['length'];_0x36770c++)_0x557ada(_0x164e61[_0x36770c],_0x164e61,_0x36770c+0x1);for(let _0xa4f00c=0x0;_0xa4f00c<_0x164e61['length'];_0xa4f00c++)_0x557ada(_0x164e61[_0xa4f00c],_0x565cd4,0x0);const _0x627822=new Set();for(let _0x1e2a29=0x0;_0x1e2a29<_0x164e61['length'];_0x1e2a29++){const _0x4e941a=_0x164e61[_0x1e2a29];!_0xacf6a4['has'](_0x4e941a)&&_0x4e941a['previous']&&(_0x627822['add'](_0x4e941a['previous']),_0x4e941a['previous']['next']===_0x4e941a&&(_0x4e941a['previous']['next']=null),_0x4e941a['previous']=null),!_0x4ccbda['has'](_0x4e941a)&&_0x4e941a['next']&&(_0x627822['add'](_0x4e941a['next']),_0x4e941a['next']['previous']===_0x4e941a&&(_0x4e941a['next']['previous']=null),_0x4e941a['next']=null);}function _0x557ada(_0x209ae9,_0x24e877,_0x2597a6){for(let _0x4d268e=_0x2597a6;_0x4d268e<_0x24e877['length'];_0x4d268e++){const _0x5ec463=_0x496a61(_0x209ae9,_0x24e877[_0x4d268e]);_0x5ec463&&(_0x5ec463[0x0]['next']=_0x5ec463[0x1],_0x5ec463[0x1]['previous']=_0x5ec463[0x0],_0x4ccbda['add'](_0x5ec463[0x0]),_0xacf6a4['add'](_0x5ec463[0x1]));}}function _0x496a61(_0x56c4bf,_0x56f640){if(_0x56c4bf['author']['id']!==_0x56f640['author']['id'])return null;const _0x326394=_0x20e13b['get'](_0x56c4bf)(_0x56c4bf,_0x56f640,_0x46d29a['get'](_0x56c4bf),_0x46d29a['get'](_0x56f640));if(!_0x326394)return null;return _0x20e13b['get'](_0x56f640)(_0x56c4bf,_0x56f640,_0x46d29a['get'](_0x56c4bf),_0x46d29a['get'](_0x56f640))?_0x326394[0x1]['commentThread']&&_0x326394[0x1]['commentThread']['length']?null:_0x326394:null;}_0x627822['size']&&this['_refreshSuggestionsChain'](_0x627822);}['_refreshAttributeSuggestionsChain'](_0x1361a0){if(0x0==_0x1361a0['length'])return;const _0x4e7c6f=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xb934f=>'attribute'==_0xb934f['type']&&_0xb934f['_isDataLoaded']),_0x3272d1=[],_0x5aeb35=new Map();for(const _0x473108 of _0x4e7c6f){const _0x43bf18=Ju(_0x473108['attributes']);_0x5aeb35['has'](_0x43bf18)||(_0x5aeb35['set'](_0x43bf18,_0x3272d1['length']),_0x3272d1['push']([]));const _0x1f8837=_0x5aeb35['get'](_0x43bf18);_0x3272d1[_0x1f8837]['push'](_0x473108);}!(function(){_0x3272d1['sort']((_0x4ec344,_0x25b364)=>{const _0x25df5a=_0x4ec344[0x0]['createdAt'],_0x94c25a=_0x25b364[0x0]['createdAt'];return _0x25df5a==_0x94c25a?_0x4ec344[0x0]['attributes']['groupId']<_0x25b364[0x0]['attributes']['groupId']?-0x1:0x1:_0x25df5a<_0x94c25a?-0x1:0x1;});for(const _0x42327a of _0x3272d1)_0x42327a['sort']((_0x2b1c5b,_0x55c652)=>_0x2b1c5b['id']<_0x55c652['id']?-0x1:0x1);}());for(let _0x59d429=0x0;_0x59d429<_0x3272d1['length'];_0x59d429++){if(0x0==_0x3272d1[_0x59d429]['length'])continue;const _0x867ec=[];for(let _0x508acd=_0x59d429+0x1;_0x508acd<_0x3272d1['length'];_0x508acd++)0x0!=_0x3272d1[_0x508acd]['length']&&_0x2f6b88(_0x3272d1[_0x59d429],_0x3272d1[_0x508acd])&&_0x867ec['push'](_0x508acd);for(const _0x37e99a of _0x867ec)_0x3272d1[_0x59d429]=_0x3272d1[_0x59d429]['concat'](_0x3272d1[_0x37e99a]),_0x3272d1[_0x37e99a]=[];}for(const _0x5e3401 of _0x3272d1)for(let _0x2b0634=0x0;_0x2b0634<_0x5e3401['length'];_0x2b0634++){const _0x59028c=_0x5e3401[_0x2b0634+0x1]||null;_0x5e3401[_0x2b0634]['next']!==_0x59028c&&(_0x5e3401[_0x2b0634]['next']=_0x59028c);}for(const _0x363ed0 of _0x3272d1)for(let _0x17bd79=0x0;_0x17bd79<_0x363ed0['length'];_0x17bd79++){const _0x542052=_0x363ed0[_0x17bd79-0x1]||null;_0x363ed0[_0x17bd79]['previous']!==_0x542052&&(_0x363ed0[_0x17bd79]['previous']=_0x542052);}function _0x2f6b88(_0x580574,_0x53375e){if(_0x580574[0x0]['attributes']['groupId']!==_0x53375e[0x0]['attributes']['groupId']&&_0x580574[0x0]['author']!==_0x53375e[0x0]['author'])return!0x1;if(!function(_0x2ed605,_0x26674d){if(!_0x2ed605['hasComments']&&!_0x26674d['hasComments'])return!0x0;if(_0x2ed605['hasComments']&&_0x26674d['hasComments'])return!0x1;if(_0x2ed605['hasComments']&&_0x26674d['createdAt']<_0x2ed605['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x26674d['hasComments']&&_0x2ed605['createdAt']<_0x26674d['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x580574[0x0],_0x53375e[0x0]))return!0x1;if(!Zr(Xr(_0x580574[0x0]['attributes'],['groupId','trackingSessionId']),Xr(_0x53375e[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x580574[0x0]['attributes']['groupId']==_0x53375e[0x0]['attributes']['groupId'])return!0x0;if(_0x580574[0x0]['attributes']['trackingSessionId']!==_0x53375e[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x580574['every'](_0x4812c8=>_0x53375e['some'](_0x553131=>_0x4812c8['getFirstRange']()['isEqual'](_0x553131['getFirstRange']())))&&_0x53375e['every'](_0x3c678e=>_0x580574['some'](_0x5879f5=>_0x3c678e['getFirstRange']()['isEqual'](_0x5879f5['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x28c1e0){const _0x1633ed=Array['from'](_0x28c1e0),_0x3b61a4=this['getSuggestions']({'skipNotAttached':!0x0}),_0x28c856=_0x3b61a4['filter'](_0x55750f=>!_0x28c1e0['has'](_0x55750f)),_0x372bac=new Map(_0x1633ed['map'](_0x16e8c3=>[_0x16e8c3,this['_suggestionFactory']['getSuggestionCallback'](_0x16e8c3['type'],_0x16e8c3['subType'],'join')])),_0x52fb60=new Map(_0x3b61a4['map'](_0x15d35a=>[_0x15d35a,_0x15d35a['getRanges']()]));for(let _0x115677=0x0;_0x115677<_0x1633ed['length'];_0x115677++){if(_0x32f117(this,_0x1633ed[_0x115677],_0x1633ed,_0x115677+0x1))return!0x0;}for(let _0x183544=0x0;_0x183544<_0x1633ed['length'];_0x183544++){if(_0x32f117(this,_0x1633ed[_0x183544],_0x28c856,0x0))return!0x0;}return!0x1;function _0x32f117(_0x5074af,_0x457461,_0x5c2587,_0x525171){for(let _0x5010bc=_0x525171;_0x5010bc<_0x5c2587['length'];_0x5010bc++){const _0x5120e7=_0x5c2587[_0x5010bc];if(_0x5120e7['type']!==_0x457461['type']||_0x5120e7['author']['id']!==_0x457461['author']['id']||_0x5120e7['subType']!==_0x457461['subType'])continue;if(!cD(_0x457461,_0x5120e7))continue;if('attribute'==_0x457461['type']&&_0x457461['data']['oldValue']!=_0x5120e7['data']['oldValue'])continue;if('attribute'==_0x457461['type']&&_0x5074af['_isBlockAttribute'](_0x457461['data']['key']))continue;if('formatBlock'==_0x457461['type']){const _0x5ba6d3=_0x5074af['editor']['model'],_0xe90beb=_0x457461['getContainedElement']();if(_0xe90beb&&(_0x5ba6d3['schema']['isObject'](_0xe90beb)||_0x5ba6d3['schema']['isLimit'](_0xe90beb)))continue;}const _0x10bb99=_0x372bac['get'](_0x457461),_0x3da126=_0x52fb60['get'](_0x457461),_0x5908fb=_0x52fb60['get'](_0x5120e7),_0x1f1e5b=_0x457461['commentThread']&&_0x457461['commentThread']['length'],_0x55d608=_0x5120e7['commentThread']&&_0x5120e7['commentThread']['length'];if(!_0x1f1e5b&&_0x10bb99(_0x5908fb,_0x3da126))return _0x5074af['_joinSuggestions'](_0x5120e7,_0x457461),_0x52fb60['delete'](_0x457461),!0x0;if(!_0x55d608&&_0x10bb99(_0x3da126,_0x5908fb))return _0x5074af['_joinSuggestions'](_0x457461,_0x5120e7),_0x52fb60['delete'](_0x5120e7),!0x0;}return!0x1;}}['_joinSuggestions'](_0x54a6c5,_0x33d749){if(_0x54a6c5['isMultiRange']){for(const _0x2c9a26 of _0x33d749['getRanges']())_0x54a6c5['addRange'](_0x2c9a26);}else{const _0x124b83=_0x33d749['getFirstRange']()['end'];this['_setSuggestionRange'](_0x54a6c5,this['_model']['createRange'](_0x54a6c5['getFirstRange']()['start'],_0x124b83));}_0x33d749['removeMarkers']();}['_getMarkerAnnouncementText'](_0x166a04,_0x241a59,_0x3d9699){const _0x39258e=_0x166a04['startsWith']('format')||_0x166a04['startsWith']('attribute')?'FORMATTING':_0x166a04['toUpperCase']();return NL(this['editor']['locale'],_0x241a59+'_'+_0x39258e+'_SUGGESTION_ANNOUNCEMENT',_0x3d9699);}['_initAriaMarkerChangeAnnouncements'](){const _0x5be9cf=this['editor'];if(!_0x5be9cf['ui'])return;const {ariaLiveAnnouncer:_0x4a7e07}=_0x5be9cf['ui'];ld(this['_model'],({left:_0x3abcd5,entered:_0x1bdc3b})=>{for(const _0xc6e9a6 of _0x3abcd5){const {group:_0x5a5a4b,type:_0x23ccfb}=this['_splitMarkerName'](_0xc6e9a6['name']);if('suggestion'===_0x5a5a4b){_0x4a7e07['announce'](this['_getMarkerAnnouncementText'](_0x23ccfb,'LEAVE'));break;}}for(const _0x3d2eea of _0x1bdc3b){const {group:_0x3d1c5b,type:_0x52fcc2}=this['_splitMarkerName'](_0x3d2eea['name']);if('suggestion'===_0x3d1c5b){_0x4a7e07['announce'](this['_getMarkerAnnouncementText'](_0x52fcc2,'ENTER',_0xfc7c08(hd)));break;}}});}['_processAttributeChanges'](_0x38d23e){if(this['_recordAttributeSuggestions'])return!0x1;const _0x123f9e=this['editor'],_0x4354a6=_0x123f9e['model']['document']['differ']['getChanges']();if(0x0==_0x4354a6['length'])return!0x1;const _0x263926=[],_0x355f92=_0x4354a6['filter'](_0x5e143a=>'attribute'==_0x5e143a['type']),_0x1c00db=_0x4354a6['filter'](_0x5160c9=>'insert'==_0x5160c9['type']&&'$text'!=_0x5160c9['name']),_0x5b900f=_0x4354a6['filter'](_0x2a11a7=>'remove'==_0x2a11a7['type']&&'$text'!=_0x2a11a7['name']);for(const _0x145e84 of _0x355f92)_0x263926['push']({'key':_0x145e84['attributeKey'],'newValue':_0x145e84['attributeNewValue'],'oldValue':_0x145e84['attributeOldValue'],'range':rD(_0x145e84['range'],_0x123f9e['model'])});for(const _0x11732b of _0x1c00db){const _0x37efea=_0x5b900f['find'](_0x5113d4=>_0x5113d4['position']['isEqual'](_0x11732b['position']));_0x37efea&&_0x263926['push']({'key':YL,'newValue':_0x11732b['name'],'oldValue':_0x37efea['name'],'range':_0x123f9e['model']['createRangeOn'](_0x11732b['position']['nodeAfter'])});}return 0x0!=_0x263926['length']&&this['_reduceExistingSuggestions'](_0x38d23e,_0x263926);}['_processAttributeSuggestions'](_0x37bb36){let _0xa42557=!0x1;const _0x414ffd=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x34bbf0=>_0x34bbf0['data']['newRange']&&_0x34bbf0['name']['startsWith']('suggestion:attribute:'));for(const _0x216186 of _0x414ffd){const {subType:_0x52ae2b,id:_0x55c95d}=this['_splitMarkerName'](_0x216186['name']),_0x40cbb4=_0x52ae2b['split']('|')[0x0];for(const _0x75a61b of this['getSuggestions']({'skipNotAttached':!0x0}))_0x75a61b['id']!=_0x55c95d&&'attribute'==_0x75a61b['type']&&_0x75a61b['data']&&_0x75a61b['data']['key']==_0x40cbb4&&_0x75a61b['getFirstRange']()['isIntersecting'](_0x216186['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x75a61b,_0x216186['data']['newRange'],_0x37bb36),_0xa42557=!0x0);}return _0xa42557;}['recordAttributeChanges'](_0xa2ad6b){this['_recordAttributeSuggestions']=!0x0,_0xa2ad6b();}['_isRegisteredAttribute'](_0x9aea3a){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x9aea3a);}['_reduceExistingSuggestions'](_0x4a46bc,_0x3602c3){if(0x0==_0x3602c3['length'])return!0x1;let _0x3964d6=!0x1;for(const _0x2c6d80 of _0x3602c3){const _0x5b8006=this['_findSuggestions'](_0x2c6d80['range'],'attribute')['filter'](_0x50653b=>!_0x50653b['meta']['isNextTo'])['map'](_0x290641=>_0x290641['suggestion']),_0x30015b=Ju({'newValue':_0x2c6d80['newValue']});_0x5b8006['filter'](_0x2a480b=>{const [_0x759a3,_0x1f5c56]=_0x2a480b['subType']['split']('|');return _0x759a3==_0x2c6d80['key']&&_0x1f5c56!=_0x30015b;})['forEach'](_0x213e46=>{this['_reduceSuggestionAttributeRange'](_0x213e46,_0x2c6d80['range'],_0x4a46bc),_0x3964d6=!0x0;});}return _0x3964d6;}['_reduceSuggestionAttributeRange'](_0x2af7ab,_0x3785f0,_0x1c8722){const _0x321f75=_0x2af7ab['getFirstRange']()['getDifference'](_0x3785f0);0x0!==_0x321f75['length']?0x1!==_0x321f75['length']?this['_breakSuggestionMarker'](_0x2af7ab,_0x3785f0['start'],_0x3785f0['end']):this['_setSuggestionRange'](_0x2af7ab,_0x321f75[0x0]):_0x1c8722['removeMarker'](_0x2af7ab['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x1635d7){this['_editor']=_0x1635d7,this['_model']=_0x1635d7['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xb73d98,_0x311a42,_0x21be38,_0x417112,_0x1ef245,_0x472abc,_0x412164){return new Suggestion(this['_model'],{'type':_0xb73d98,'subType':_0x311a42,'id':_0x21be38,'originalSuggestionId':_0x412164,'author':_0x417112,'creator':_0x417112,'attributes':_0x1ef245,'onAttributesChange':_0x472abc,'onAccept':(..._0xec9e3e)=>this['getSuggestionCallback'](_0xb73d98,_0x311a42,'accept')(..._0xec9e3e),'onDiscard':(..._0x41c9e8)=>this['getSuggestionCallback'](_0xb73d98,_0x311a42,'discard')(..._0x41c9e8)});}['registerCustomCallback'](_0x4c2cb0,_0x14a753,_0x491beb,_0x4e8084){const _0x1c34b3=_0x4c2cb0+':'+_0x14a753+':'+_0x491beb;this['_customCallbacks']['set'](_0x1c34b3,_0x4e8084);}['getSuggestionCallback'](_0x227e41,_0x231eec,_0x4d645d){const _0x522ce5=_0x227e41+':'+_0x231eec+':'+_0x4d645d;return this['_customCallbacks']['get'](_0x522ce5)||this['_defaultCallbacks']['get'](_0x227e41+':'+_0x4d645d);}['_registerDefaultCallbacks'](){const _0x56764b=()=>!0x1,_0x4cde13=_0x2f5200=>{_0x2f5200['sort']((_0x1b9fb1,_0x4f3e9d)=>_0x1b9fb1['start']['isBefore'](_0x4f3e9d['start'])?0x1:-0x1),this['_model']['change'](_0x431f1f=>{for(const _0x13a31b of _0x2f5200){let _0x238fb9;_0x238fb9=_0x13a31b['end']['isAtEnd']&&_0x13a31b['end']['parent']==_0x13a31b['start']['nodeAfter']?_0x431f1f['createSelection'](_0x13a31b['start']['nodeAfter'],'on'):_0x431f1f['createSelection'](_0x13a31b),this['_model']['deleteContent'](_0x238fb9,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x1f2ab6=(_0x3fdd26,_0x41e621)=>{_0x41e621&&this['_model']['change'](_0x5dd53b=>{const {commandName:_0x24e94b,commandParams:_0xd30330=[]}=_0x41e621,_0x28bf5d=_0x3fdd26['map'](_0x32b42e=>(JL(_0x32b42e)&&(_0x32b42e=this['_model']['createRange'](_0x32b42e['end'])),_0x32b42e))['filter'](_0x25ac47=>'$graveyard'!==_0x25ac47['root']['rootName']);if(_0x28bf5d['length']<0x1)return;const _0xad7dd=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x440f06=>_0x4131d3['fromRange'](_0x440f06));_0x5dd53b['setSelection'](_0x28bf5d);for(const _0x10386b of this['_editor']['commands']['commands']())_0x10386b['refresh']();_0xd30330['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x24e94b,..._0xd30330);const _0x379af5=_0xad7dd['filter'](_0x1eae9c=>'$graveyard'!=_0x1eae9c['root']['rootName']);_0x379af5['length']>0x0&&_0x5dd53b['setSelection'](_0x379af5);for(const _0xed5365 of _0xad7dd)_0xed5365['detach']();});},_0x543a27=(_0x519703,_0x879741)=>0x1==_0x519703['length']&&0x1==_0x879741['length']&&_0x519703[0x0]['end']['isEqual'](_0x879741[0x0]['start']),_0x1f5a1d=(_0x3d2935,_0x58edff,_0x561590,_0x55ffb1)=>aD(_0x3d2935,_0x58edff,_0x561590,_0x55ffb1)?[_0x3d2935,_0x58edff]:aD(_0x58edff,_0x3d2935,_0x55ffb1,_0x561590)?[_0x58edff,_0x3d2935]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x56764b),this['_defaultCallbacks']['set']('insertion:discard',_0x4cde13),this['_defaultCallbacks']['set']('insertion:join',_0x543a27),this['_defaultCallbacks']['set']('insertion:chain',_0x1f5a1d),this['_defaultCallbacks']['set']('deletion:accept',_0x4cde13),this['_defaultCallbacks']['set']('deletion:discard',_0x56764b),this['_defaultCallbacks']['set']('deletion:join',_0x543a27),this['_defaultCallbacks']['set']('deletion:chain',_0x1f5a1d),this['_defaultCallbacks']['set']('formatInline:accept',_0x1f2ab6),this['_defaultCallbacks']['set']('formatInline:discard',_0x56764b),this['_defaultCallbacks']['set']('formatInline:join',_0x543a27),this['_defaultCallbacks']['set']('formatInline:chain',_0x56764b),this['_defaultCallbacks']['set']('formatBlock:accept',_0x1f2ab6),this['_defaultCallbacks']['set']('formatBlock:discard',_0x56764b),this['_defaultCallbacks']['set']('formatBlock:join',_0x543a27),this['_defaultCallbacks']['set']('formatBlock:chain',_0x56764b),this['_defaultCallbacks']['set']('attribute:accept',_0x56764b),this['_defaultCallbacks']['set']('attribute:discard',(_0x40c546,_0x3e3042)=>{if(!_0x3e3042)return;const _0x3854d4=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x25d7d4=>{if(_0x3e3042['key']==YL)for(const _0x4825c2 of _0x40c546){const _0x26e724=_0x4825c2['start']['nodeAfter'],_0x4fdfab=_0x3e3042['oldValue'];_0x25d7d4['rename'](_0x26e724,_0x4fdfab);}else{if(_0x3854d4['_isBlockAttribute'](_0x3e3042['key'])){for(const _0x6155d1 of _0x40c546)void 0x0!==_0x3e3042['oldValue']?_0x25d7d4['setAttribute'](_0x3e3042['key'],_0x3e3042['oldValue'],_0x6155d1['start']['nodeAfter']):_0x25d7d4['removeAttribute'](_0x3e3042['key'],_0x6155d1['start']['nodeAfter']);}else{for(const _0x2b0453 of _0x40c546)_0x3e3042['oldValue']?_0x25d7d4['setAttribute'](_0x3e3042['key'],_0x3e3042['oldValue'],_0x2b0453):_0x25d7d4['removeAttribute'](_0x3e3042['key'],_0x2b0453);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x543a27);}}function KL(_0x387fcf,_0x4908b1,_0x191fd1){for(const _0x52a9c6 of _0x4908b1['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x52a9c6['root']==_0x52a9c6)return!0x1;if(!_0x191fd1['containsItem'](_0x52a9c6))return!0x1;if(_0x387fcf['isObject'](_0x52a9c6)||_0x387fcf['isLimit'](_0x52a9c6))return!0x0;}return!0x1;}function JL(_0x3a2f93){return _0x3a2f93['end']['parent']==_0x3a2f93['start']['nodeAfter']&&_0x3a2f93['end']['isAtStart'];}function tD(_0x5c3b09,_0x93cb7,_0x4802ca,_0x33f366){const _0x522a5c=_0x529098=>!_0x529098['item']['is']('$textProxy')&&!_0x33f366['isObject'](_0x529098['item']),_0x5b05f5=_0x5c3b09['start']['getLastMatchingPosition'](_0x522a5c),_0x485874=_0x5c3b09['end']['getLastMatchingPosition'](_0x522a5c,{'direction':'backward'});return(!_0x5c3b09['start']['isEqual'](_0x5b05f5)||!_0x5c3b09['end']['isEqual'](_0x485874))&&(_0x5b05f5['isBefore'](_0x485874)?_0x4802ca['updateMarker'](_0x93cb7,{'range':_0x4802ca['createRange'](_0x5b05f5,_0x485874)}):_0x4802ca['removeMarker'](_0x93cb7),!0x0);}function eD(_0x48e32c){return Ju(_0x48e32c);}function iD(_0x3e7076){const _0x2f9f01=_0x3e7076['start']['nodeAfter'];return _0x2f9f01&&_0x2f9f01['is']('element');}function sD(_0xcb0378){return JL(_0xcb0378)||function(_0x2b6090){return _0x2b6090['start']['parent']==_0x2b6090['end']['nodeBefore']&&_0x2b6090['start']['isAtEnd'];}(_0xcb0378);}function nD(_0x54330d,_0x985df8){try{const _0x394fa4=_0x54330d['getRange']();for(const _0x566d27 of _0x985df8)if(_0x54330d!==_0x566d27&&_0x394fa4&&_0x394fa4['isIntersecting'](_0x566d27['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function rD(_0x5460ca,_0x151754){return null==_0x5460ca['end']['nodeBefore']&&_0x5460ca['end']['parent']==_0x5460ca['start']['nodeAfter']?oD(_0x5460ca['start']['nodeAfter'],_0x151754):_0x5460ca;}function oD(_0x5d4ec5,_0x2f096d){const _0x4096c3=_0x2f096d['schema']['isObject'](_0x5d4ec5)||_0x2f096d['schema']['isSelectable'](_0x5d4ec5);return _0x2f096d['createRange'](_0x2f096d['createPositionAt'](_0x5d4ec5,'before'),_0x4096c3?_0x2f096d['createPositionAfter'](_0x5d4ec5):_0x2f096d['createPositionAt'](_0x5d4ec5,'end'));}function aD(_0x29adf1,_0x42cd9e,_0xd997b9,_0x50d7d3){return!!cD(_0x29adf1,_0x42cd9e)&&_0xd997b9['end']['isEqual'](_0x50d7d3['start']);}function cD(_0x4f6a2e,_0x346770){if(!_0x4f6a2e['_isDataLoaded']||!_0x346770['_isDataLoaded'])return!0x1;const _0x7f5613=new Set(Object['keys'](_0x4f6a2e['attributes'])),_0x40d9ea=new Set(Object['keys'](_0x346770['attributes']));if(_0x7f5613['delete']('groupId'),_0x40d9ea['delete']('groupId'),0x0==_0x7f5613['size']&&0x0==_0x40d9ea['size'])return!0x0;if(_0x7f5613['size']!=_0x40d9ea['size'])return!0x1;const _0x46b116={..._0x4f6a2e['attributes']},_0x228b19={..._0x346770['attributes']};return delete _0x46b116['groupId'],delete _0x228b19['groupId'],JSON['stringify'](_0x46b116)==JSON['stringify'](_0x228b19);}function lD(_0x1b57de,_0x56cdd0){const _0x28f40d=hD(_0x1b57de['attributes']),_0x5003f7=hD(_0x56cdd0);if(!_0x1b57de['_isDataLoaded'])return!0x1;for(const _0x5f40c6 of Object['keys'](_0x5003f7))if(!Zr(_0x28f40d[_0x5f40c6],_0x5003f7[_0x5f40c6]))return!0x1;return!0x0;}function hD(_0x50918f){const _0x3d1cfd=Object['assign']({},_0x50918f);return delete _0x3d1cfd['skipNestingCheck'],delete _0x3d1cfd['tablePasteChainId'],_0x3d1cfd;}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x266f1a(){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x575e7a,_0x842307,_0x4517e5,_0x9b0ad2){super(),this['model']=_0x842307,this['view']=_0x4517e5,this['commentThreadController']=_0x9b0ad2,this['_editor']=_0x575e7a,this['_acceptCommand']=_0x575e7a['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x575e7a['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x537ed4,_0x5e9c53)=>_0x537ed4||_0x5e9c53),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x50766e=>_0x50766e&&this['_editor']['model']['canEditAt'](_0x842307['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0xab84e3=>_0xab84e3&&this['_editor']['model']['canEditAt'](_0x842307['getRanges']())),this['_pendingAction']=null,_0x4517e5['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x4517e5,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x4517e5,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x4517e5,'change:isDirty',()=>{_0x4517e5['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 _0x42359a=NL(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x42359a);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x268b55{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x3c4f78,_0xfea21f,_0x5e6a39,_0x18d84){super(_0x3c4f78),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x3c4f78,NL(_0x3c4f78,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0xfea21f['authoredAt']),this['bind']('authoredAt')['to'](_0xfea21f),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',_0xfea21f,'authoredAt',this,'descriptionParts',(_0x3970ec,_0x1c7f63,_0x1b8411)=>{const _0x5142f7=_0x1b8411['map'](_0x45b4af=>CL(_0x45b4af['content']))['join']('.\x20')+'.';return NL(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x3970ec-0x1,_0xfea21f['author']['name'],_0x1c7f63?_0x18d84['formatDateTime'](_0x1c7f63):'',new DOMParser()['parseFromString'](_0x5142f7,'text/html')['body']['textContent']]);}),this['focusables']=new vt(),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3baae0=>_0x3baae0['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0xfea21f,this['_localUser']=_0x5e6a39,this['_config']=_0x18d84,_0x18d84['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),ud(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x357463}=this['_config'];this['commentsListView']=new _0x357463(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',_0x2ddf97=>_0x2ddf97+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x2737e8,_0x5f14fa)=>_0x2737e8||!!_0x5f14fa);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x3558cc}=this['_config'],_0x1f9e36=new _0x3558cc(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x6f5d8c=_0x1f9e36['commentInputView'];return _0x1f9e36['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x6f5d8c,'value',(_0x54ad88,_0x22d0c2,_0x2e07e2)=>!!_0x2e07e2||_0x54ad88&&!_0x22d0c2),_0x6f5d8c['on']('submit',(_0x1cfabc,_0x41bd5a)=>{this['fire']('addComment',_0x41bd5a),_0x6f5d8c['editor']['setData']('');}),_0x6f5d8c['on']('cancel',()=>this['focus']()),_0x6f5d8c['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x1f9e36;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x514b3c,_0x5a142c,_0x3310bc,_0x900c22){super(_0x514b3c,_0x5a142c,_0x3310bc,_0x900c22),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x3771b6=>_0x3771b6&&_0x3771b6[0x0]?_0x3771b6[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x579487,_0x26d685)=>{let _0x28dc0b='';for(const _0x3e0bd1 of _0x579487)_0x28dc0b+='<p>'+CL(_0x3e0bd1['content'],_0x3e0bd1['color'])+'</p>';return _0x26d685?_0x28dc0b:zu(_0x28dc0b,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x900c22['SuggestionView'](_0x514b3c,_0x5a142c,{'formatDateTime':_0x900c22['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 _0x334e95=this['bindTemplate'],_0x652873=[this['suggestionView']];this['commentsListView']&&_0x652873['push'](this['commentsListView']),this['commentThreadInputView']&&_0x652873['push'](this['commentThreadInputView']),_0x652873['push'](this['ariaDescriptionView']);const _0x1854b1={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x334e95['if']('isActive','ck-suggestion-wrapper--active'),_0x334e95['to']('type',_0x2eb8b3=>'ck-suggestion-'+_0x2eb8b3),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':_0x334e95['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x652873};return _0x1854b1;}['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 _0x268b55{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x1a27af,_0x48b5a8,_0x3dfcaa){super(_0x1a27af),this['_model']=_0x48b5a8,this['_config']=_0x3dfcaa,this['set']('description',''),this['bind']('authoredAt')['to'](_0x48b5a8),this['acceptButton']=this['_createButton'](NL(_0x1a27af,'Accept\x20suggestion'),_0x424b4d,'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](NL(_0x1a27af,'Discard\x20suggestion'),_0x288b7f,'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new UserView(_0x1a27af,_0x48b5a8['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new vt([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0xc1a0cc(),this['keystrokes']=new _0x3c1644(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0xe5f18f=>_0xe5f18f['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0xdbf422=this['element']['querySelector']('.ck-annotation__content-wrapper');_0xdbf422['innerHTML']=this['description'],this['on']('change:description',(_0x5cfda0,_0x327ccb,_0x3c004a)=>{_0xdbf422['innerHTML']=_0x3c004a;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0xe523a1=this['bindTemplate'],_0x3f5ebd=[{'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':_0xe523a1['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0xe523a1['to']('authoredAt',_0x35f469=>this['_config']['formatDateTime'](_0x35f469))}]}]},{'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']&&_0x3f5ebd['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':_0x3f5ebd}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?NL(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):NL(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?NL(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):NL(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x5e4a80,_0x384701,_0x398515,_0x9c0777,_0x25a0d7){const _0x175461=new LateFocusButtonView(this['locale']);return _0x175461['set']({'label':_0x5e4a80,'icon':_0x384701,'tooltip':!0x0,'tooltipPosition':_0x25a0d7}),_0x175461['extendTemplate']({'attributes':{'class':_0x398515}}),_0x175461['on']('execute',()=>{this['fire'](_0x9c0777,this['_model']['id']);}),_0x175461;}['_setupKeyboardNavigation'](){const _0x137bf1=this['element'];this['keystrokes']['listenTo'](_0x137bf1);for(const _0x4f5606 of this['focusables'])this['focusTracker']['add'](_0x4f5606['element']),this['keystrokes']['listenTo'](_0x4f5606['element']);this['keystrokes']['set']('enter',(_0x3797a7,_0x214c83)=>{_0x137bf1===_0x3797a7['target']&&(this['focusCycler']['focusFirst'](),_0x214c83());}),this['keystrokes']['set']('esc',(_0x121087,_0xcdf7f8)=>{_0x137bf1!==_0x121087['target']&&(this['focus'](),_0xcdf7f8());});}}class TrackChangesUI extends _0x4ac504{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,Users,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3acb7e){super(_0x3acb7e),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x1258de=this['editor']['config'];_0x1258de['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x1258de['define']('trackChanges.SuggestionView',SuggestionView),_0x1258de['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x1258de['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x5892a9,_0x453f74){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x154ab5,_0x5936d0]of this['_handleControllerBuffer']){const _0x85d9e=this['_suggestionToController']['has'](_0x154ab5);_0x85d9e||_0x5936d0?_0x85d9e&&_0x5936d0&&this['_destroyController'](_0x154ab5):this['_initializeController'](_0x154ab5);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x5892a9,_0x453f74);}['init'](){const _0x329ff5=this['editor'],_0x2d41af=_0x329ff5['plugins']['get']('TrackChangesEditing'),_0x1cbd72=_0x329ff5['plugins']['get']('Annotations'),_0x4fc27a=_0x329ff5['plugins']['get']('EditorAnnotations'),_0x271649=_0x329ff5['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x4fc27a['addSourceCollector'](()=>{const _0x1336fc=[];for(const [_0x3bce23,_0x373765]of Array['from'](this['_suggestionToController'])){const _0x3b6474=_0x3bce23['getAllAdjacentSuggestions'](),_0x5a6375=[];for(const _0x7dacf8 of _0x3b6474){if(!_0x7dacf8['isInContent'])continue;if(_0x7dacf8['isMultiRange']){_0x5a6375['push'](..._0x7dacf8['getRanges']());continue;}const _0x669df8=_0x7dacf8['getFirstRange']();if(_0x5a6375['length']>0x0){const _0x258486=_0x5a6375[0x0]['getJoined'](_0x669df8);if(_0x258486){_0x5a6375[0x0]=_0x258486;continue;}}_0x5a6375['push'](_0x669df8);}_0x1336fc['push']([_0x373765['view'],_0x5a6375]);}return _0x1336fc;}),this['listenTo'](_0x2d41af,'suggestionLoaded',(_0xe16eba,_0x5d9208)=>{this['listenTo'](_0x5d9208,'change:previous',(_0x5725bc,_0x2514a3,_0x5eaed4,_0x398bdb)=>{_0x5d9208['isInContent']&&(null==_0x5eaed4?(this['_updateController'](_0x398bdb['head']),this['_handleSuggestionControllerDelayed'](_0x5d9208,!0x1)):(this['_updateController'](_0x5eaed4['head']),null==_0x398bdb&&this['_handleSuggestionControllerDelayed'](_0x5d9208,!0x0)));}),null!==_0x5d9208['previous']?this['_updateController'](_0x5d9208['head']):this['_handleSuggestionControllerDelayed'](_0x5d9208,!0x1);}),this['listenTo'](_0x2d41af,'suggestionUnloaded',(_0x4ee0f5,_0x6fb1c6,_0x40ac2b)=>{this['stopListening'](_0x6fb1c6,'change:previous'),this['_handleControllerBuffer']['delete'](_0x6fb1c6),this['_suggestionToController']['has'](_0x6fb1c6)&&this['_destroyController'](_0x6fb1c6),_0x40ac2b&&this['_updateController'](_0x40ac2b['head']);}),this['listenTo'](_0x2d41af,'suggestionChanged',(_0x322bd3,_0x5dffa9)=>{this['_updateController'](_0x5dffa9);}),this['listenTo'](_0x1cbd72,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x271649,'addComment',(_0x284afc,{threadId:_0xb03959,isFromAdapter:_0x3ddb02})=>{if(_0x3ddb02||!_0x2d41af['hasSuggestion'](_0xb03959))return;const _0x3bf26a=_0x2d41af['getSuggestion'](_0xb03959);this['_suggestionToController']['get'](_0x3bf26a)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb37cb2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26169d;for(const _0x337234 in _0xb37cb2){const _0x18a625=_0x337234,_0xcefd24=_0xb37cb2[_0x18a625];if('trackChangesLicenseKeyValid'==_0xcefd24||'trackChangesLicenseKeyInvalid'==_0xcefd24||'trackChangesLicenseKeyExpired'==_0xcefd24||'trackChangesLicenseKeyDomainLimit'==_0xcefd24||'trackChangesLicenseKeyNotAllowed'==_0xcefd24||'trackChangesLicenseKeyEvaluationLimit'==_0xcefd24||'trackChangesLicenseKeyUsageLimit'==_0xcefd24){delete _0xb37cb2[_0x18a625],_0x26169d=_0xcefd24,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x26169d&&_0xb37cb2['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x26169d&&_0xb37cb2['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x26169d&&_0xb37cb2['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x26169d&&_0xb37cb2['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x26169d&&_0xb37cb2['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x26169d&&_0xb37cb2['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x5b7ef5){const _0xb0f965=this['_suggestionToController']['get'](_0x5b7ef5);if(!_0xb0f965)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0xb0f965['view'])||null;}['getSuggestionForAnnotation'](_0x57f18e){const _0x5c2854=this['_viewToController']['get'](_0x57f18e['innerView']);return _0x5c2854?_0x5c2854['model']:null;}['_refreshActiveMarkers'](){const _0x2b321a=this['editor']['plugins']['get']('Annotations'),_0x90a4f8=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1a2ef2=Array['from'](_0x2b321a['activeAnnotations'],_0x20f171=>_0x20f171['innerView'])['filter'](_0x2aed5b=>this['_viewToController']['has'](_0x2aed5b)),_0x3a8734=[];for(const _0x2c30f9 of _0x1a2ef2){const _0x4ee091=this['_viewToController']['get'](_0x2c30f9)['model']['getAllAdjacentSuggestions']();_0x3a8734['push'](..._0x4ee091['reduce']((_0x37fe0e,_0x5d9fa9)=>[..._0x37fe0e,..._0x5d9fa9['getMarkerNames']()],[]));}_0x90a4f8['activeMarkers']=_0x3a8734;}['_addUIComponentsToFactory'](){const _0x23b2f8=this['editor'],_0xa0506d=_0x23b2f8['locale'],_0x2f635f=NL(_0xa0506d,'Track\x20changes'),_0x5121f8=new _0xe4e0d0([{'type':'switchbutton','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':_0x2f635f,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new pt({'withText':!0x0,'label':NL(_0xa0506d,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':NL(_0xa0506d,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':NL(_0xa0506d,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':NL(_0xa0506d,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x23b2f8['plugins']['has']('TrackChangesPreview')&&_0x5121f8['addMany']([{'type':'separator'},{'type':'button','model':new pt({'withText':!0x0,'label':NL(_0xa0506d,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x3be84d of _0x5121f8)if(uD(_0x3be84d)){const _0x33530a=_0x23b2f8['commands']['get'](_0x3be84d['model']['commandName']);_0x3be84d['model']['bind']('isOn','isEnabled')['to'](_0x33530a,'value','isEnabled');}_0x23b2f8['ui']['componentFactory']['add']('trackChanges',_0x281f79=>this['_createToolbarButton'](_0x281f79,_0x5121f8,_0x2f635f)),_0x23b2f8['ui']['componentFactory']['add']('menuBar:trackChanges',_0x4224b4=>this['_createMenuBarMenu'](_0x4224b4,_0x5121f8,_0x2f635f));}['_createToolbarButton'](_0x46b6d2,_0x3afce4,_0x303d00){const _0x400736=st(_0x46b6d2,Bt),_0x29086b=this['editor']['commands']['get']('trackChanges');_0x400736['buttonView']['set']({'tooltip':_0x303d00,'label':_0x303d00,'icon':_0x5d1602}),_0x400736['buttonView']['bind']('isOn')['to'](_0x29086b,'value'),_0x400736['buttonView']['on']('execute',()=>{_0x29086b['execute'](),this['editor']['editing']['view']['focus']();}),gt(_0x400736,_0x3afce4,{'role':'menu'});const _0x11f464=[];for(const _0x2ba5b1 of _0x3afce4)uD(_0x2ba5b1)&&_0x11f464['push'](this['editor']['commands']['get'](_0x2ba5b1['model']['commandName']));const _0x2dd127=_0x400736['buttonView'];return _0x2dd127['actionView']['unbind']('isEnabled'),_0x2dd127['arrowView']['unbind']('isEnabled'),_0x2dd127['actionView']['bind']('isEnabled')['to'](_0x29086b,'isEnabled'),_0x2dd127['arrowView']['bind']('isEnabled')['toMany'](_0x11f464,'isEnabled',(..._0x56bcde)=>_0x56bcde['some'](_0x397647=>_0x397647)),_0x400736['on']('execute',_0x35131f=>{this['editor']['execute'](_0x35131f['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x400736;}['_createMenuBarMenu'](_0x2fe7fc,_0x2f5843,_0x4c9bea){const _0x2bc3b4=new rt(_0x2fe7fc),_0x37d6b9=this['editor']['commands']['get']('trackChanges');_0x2bc3b4['buttonView']['set']({'label':_0x4c9bea,'icon':_0x5d1602});const _0x38e9f4=new ct(_0x2fe7fc);for(const _0x68a430 of _0x2f5843){if('separator'==_0x68a430['type']){_0x38e9f4['items']['add'](new Jt(_0x2fe7fc));continue;}const _0x34bd22=new lt(_0x2fe7fc,_0x2bc3b4),_0x496fbc=new ot(_0x2fe7fc),_0x1c99cb=_0x68a430['model'];_0x496fbc['bind'](...Object['keys'](_0x1c99cb))['to'](_0x1c99cb),_0x496fbc['delegate']('execute')['to'](_0x2bc3b4),_0x496fbc['on']('execute',()=>{this['editor']['execute'](_0x1c99cb['commandName']),this['editor']['editing']['view']['focus']();}),_0x34bd22['children']['add'](_0x496fbc),_0x38e9f4['items']['add'](_0x34bd22);}return _0x2bc3b4['bind']('isEnabled')['to'](_0x37d6b9,'isEnabled'),_0x2bc3b4['panelView']['children']['add'](_0x38e9f4),_0x2bc3b4;}['_initializeController'](_0x555ade){const _0x36efbb=this['editor'],_0x184ca5=_0x36efbb['config'],_0x42f960=_0x36efbb['plugins']['get']('Annotations'),_0x3db839=_0x36efbb['plugins']['get']('CommentsRepository'),_0x1a202f=_0x36efbb['plugins']['get']('EditorAnnotations'),_0x950813=_0x36efbb['plugins']['get'](Users)['me'],_0x5d98b0=_0x184ca5['get']('trackChanges')['SuggestionThreadView'],_0x2b4d80=_0x184ca5['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x405ed1,CommentThreadInputView:_0x3d2c23}=_0x36efbb['plugins']['get']('CommentsUI');let _0x1c971a,_0x1fe74f,_0x23421b;this['_annotationViews']['has'](_0x555ade['id'])?(_0x1fe74f=this['_annotationViews']['get'](_0x555ade['id']),_0x1c971a=_0x1fe74f['mainView']):(_0x1c971a=new _0x5d98b0(_0x36efbb['locale'],_0x555ade,_0x950813,{'disableComments':this['_disableComments'],'editorConfig':{..._0x184ca5['get']('comments.editorConfig'),'licenseKey':_0x184ca5['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x184ca5['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x184ca5['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x184ca5['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':Xu(_0x184ca5['get']('locale'),_0x36efbb['locale']),'CommentView':_0x184ca5['get']('comments')['CommentView'],'CommentsListView':_0x405ed1,'CommentThreadInputView':_0x3d2c23,'SuggestionView':_0x2b4d80}),_0x1c971a['suggestionView']['acceptButton']['on']('execute',()=>{_0x36efbb['editing']['view']['focus']();}),_0x1c971a['suggestionView']['discardButton']['on']('execute',()=>{_0x36efbb['editing']['view']['focus']();}),_0x1fe74f=_0x42f960['createAnnotationView'](this['editor']['locale'],_0x1c971a),_0x1fe74f['bind']('isDirty')['to'](_0x1c971a,'isDirty'),_0x1fe74f['bind']('length')['to'](_0x1c971a),_0x1fe74f['bind']('type')['to'](_0x1c971a,'type',_0x2deeb7=>'suggestion-'+_0x2deeb7),_0x1c971a['on']('escape',()=>{_0x23421b['fire']('escape');}),this['_annotationViews']['set'](_0x555ade['id'],_0x1fe74f));const _0x4c8e11=_0x3db839['createCommentThreadController'](_0x555ade['commentThread'],_0x1c971a),_0x3e55ed=new SuggestionController(_0x36efbb,_0x555ade,_0x1c971a,_0x4c8e11),_0x49bb1c=_0x555ade['getAllAdjacentSuggestions']()['filter'](_0x121c35=>_0x121c35['isInContent']);_0x1c971a['descriptionParts']=_0x36efbb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x49bb1c),this['_suggestionToController']['set'](_0x555ade,_0x3e55ed),this['_viewToController']['set'](_0x1c971a,_0x3e55ed);const _0x2f87c6=()=>{const _0x50f712=[],_0x5d3ef7=_0x555ade['getAllAdjacentSuggestions']()['filter'](_0x5dd52f=>_0x5dd52f['isInContent']);for(const _0x20ca13 of _0x5d3ef7)_0x50f712['push'](..._0x20ca13['getMarkers']());return Wu(_0x36efbb['editing'],_0x50f712);};_0x23421b=_0x42f960['createAnnotation']({'view':_0x1fe74f,'target':_0x2f87c6,'type':()=>'suggestion-'+_0x3e55ed['view']['type'],'isVisible':!!_0x2f87c6()}),_0x3db839['_bindAnnotationToEditors'](_0x1c971a,_0x23421b),_0x42f960['add'](_0x23421b),_0x1a202f['registerAnnotation'](_0x23421b);}['_destroyController'](_0x588a53){const _0x37c1a3=this['editor']['plugins']['get']('CommentsRepository'),_0x4d889c=this['editor']['plugins']['get']('Annotations'),_0x5f2732=this['_suggestionToController']['get'](_0x588a53),_0x39135e=_0x5f2732['view'],_0x448169=_0x4d889c['getByInnerView'](_0x39135e);_0x37c1a3['_unbindEditors'](_0x39135e),_0x448169&&_0x4d889c['remove'](_0x448169),this['_suggestionToController']['delete'](_0x588a53),this['_viewToController']['delete'](_0x39135e),_0x5f2732['destroy']();}['_updateController'](_0x4c3a06){if(!_0x4c3a06['isInContent']||!this['_suggestionToController']['has'](_0x4c3a06))return;const _0x305d9a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x27663f=this['_suggestionToController']['get'](_0x4c3a06),_0x2849a5=_0x4c3a06['getAllAdjacentSuggestions']();_0x27663f['view']['descriptionParts']=_0x305d9a['descriptionFactory']['getDescriptions'](_0x2849a5);}['destroy'](){for(const _0x292677 of this['_suggestionToController']['keys']())this['_destroyController'](_0x292677);for(const _0x533bbf of this['_annotationViews']['values']())_0x533bbf['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function uD(_0x50d5d5){return'model'in _0x50d5d5;}class TrackChanges extends _0x4ac504{static get['requires'](){return[TrackChangesEditing,TrackChangesUI,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x4f275f){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x4f275f;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0xc6d92f){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0xc6d92f);}['getSuggestions']({skipNotAttached:_0x37314e=!0x1,toJSON:_0x2b2170=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x37314e,'toJSON':_0x2b2170});}['getSuggestion'](_0x3b67ef){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x3b67ef);}}const dD=['Pagination'];class TrackChangesData extends _0x4ac504{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xeff9f5=this['editor'];if(_0xeff9f5['config']['define']('trackChangesData.editorCreator',_0x5a1147=>{const _0x1bbe70=_0xeff9f5['model']['document']['getRootNames']()['reduce']((_0x3c0b3d,_0x2dd9ee)=>(_0x3c0b3d[_0x2dd9ee]='',_0x3c0b3d),{});return _0xeff9f5['constructor']['create'](_0x1bbe70,_0x5a1147);}),'function'!=typeof _0xeff9f5['config']['get']('trackChangesData')['editorCreator'])throw new _0x1976e8('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x3a6d6e){return mD(this['editor'],!0x0,_0x3a6d6e);}['getDataWithDiscardedSuggestions'](_0x2d2043){return mD(this['editor'],!0x1,_0x2d2043);}}class TrackChangesDataGetter extends _0x4ac504{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c1dac){function _0x1f1766(_0x47f55f){return _0x47f55f['map'](_0x573cf0=>String['fromCharCode'](_0x573cf0))['join']('');}super(_0x2c1dac),this['result']='end',_0x2c1dac[_0x1f1766([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1766([0x76,0x69,0x65,0x77])][_0x1f1766([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f1766([0x61,0x75,0x74,0x6f]),_0x2c1dac[_0x1f1766([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x1f1766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f1766([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x1f1766([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x1f1766([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 fD(_0x5a1153){return void 0x0!==_0x5a1153['getRootsAttributes'];}async function mD(_0x36cab5,_0x2b4d3d,_0x103c55){const _0x36bf78=cd(_0x36cab5,dD);_0x36bf78['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x36bf78['rootsAttributes']=fD(_0x36cab5)?_0x36cab5['getRootsAttributes']():void 0x0;const _0x131da0=document['createDocumentFragment'](),_0x503a4f=_0x36cab5['config']['get']('trackChangesData')['editorCreator'],_0x2a5c78=await _0x503a4f(_0x36bf78,()=>function(_0x39b2aa){const _0x273730=document['createElement']('div');return _0x39b2aa['appendChild'](_0x273730),_0x273730;}(_0x131da0));!function(_0x4fdbae,_0x3a2715){const _0x1a684a=_0x4fdbae['model']['document']['getRootNames']()['reduce']((_0x47b32a,_0x4d4556)=>(_0x47b32a[_0x4d4556]=_0x4fdbae['data']['get']({'rootName':_0x4d4556}),_0x47b32a),{}),_0x2eb9f7=_0x4fdbae['plugins']['get']('Users')['users']['map'](_0x11c7c9=>({'id':_0x11c7c9['id'],'name':_0x11c7c9['name']})),_0x117d55=_0x4fdbae['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x23fa39=_0x4fdbae['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xf22130=_0x3a2715['plugins']['get']('Users'),_0x6c0c5a=_0x3a2715['plugins']['get']('TrackChangesEditing'),_0x29e4cc=_0x3a2715['plugins']['get']('CommentsRepository');for(const _0x3803c6 of _0x29e4cc['getCommentThreads']())_0x3803c6['remove']();for(const _0x144bbc of _0x2eb9f7)_0xf22130['getUser'](_0x144bbc['id'])||_0xf22130['addUser'](_0x144bbc);_0xf22130['me']||_0xf22130['useAnonymousUser']();for(const _0x4c20ba of _0x23fa39)_0x29e4cc['addCommentThread'](_0x4c20ba);for(const _0x13557b of _0x117d55)_0x6c0c5a['addSuggestionData'](_0x13557b);_0x3a2715['data']['set'](_0x1a684a);}(_0x36cab5,_0x2a5c78),_0x2a5c78['execute'](_0x2b4d3d?'acceptAllSuggestions':'discardAllSuggestions');const _0x34da96=fD(_0x2a5c78)?_0x2a5c78['getFullData'](_0x103c55):_0x2a5c78['data']['get'](_0x103c55);return await _0x2a5c78['destroy'](),_0x34da96;}class TrackChangesPreviewView extends _0x268b55{['options'];constructor(_0x1ec465,_0x2c5895){super(_0x1ec465),this['options']=_0x2c5895,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'](_0x176b57,_0x571734){if(!this['element'])return;const _0x472b1b=[];for(const [_0x677111,_0x3f4801]of _0x176b57){const _0x8d3886=document['createElement']('div');_0x8d3886['setAttribute']('data-ck-root-name',_0x677111),_0x8d3886['className']=_0x3f4801['classes']+'\x20ck-track-changes-preview__root-container',_0x8d3886['innerHTML']=_0x3f4801['content'],_0x472b1b['push'](_0x8d3886);}_0x571734(this['element'],_0x472b1b),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x1110b9{constructor(_0x2e974e){super(_0x2e974e),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5a4179=this['editor'],_0x470641=_0x5a4179['locale'],_0x45615f=_0x5a4179['plugins']['get']('Dialog');let _0x2d86cd;const _0x51e183=function(_0x3c70a1){const _0x348e57={};if('editables'in _0x3c70a1['ui']['view']){for(const [_0x26cf59,_0x308b93]of Object['entries'](_0x3c70a1['ui']['view']['editables']))_0x348e57[_0x26cf59]=_0x308b93['element'];}else _0x348e57[_0x3c70a1['model']['document']['getRootNames']()[0x0]]=_0x3c70a1['ui']['view']['editable']['element'];return _0x348e57;}(_0x5a4179),_0x33fc26=function(_0x1ecf29){let _0x3ad906=0x0;for(const _0x2e9e05 of Object['values'](_0x1ecf29))_0x3ad906=Math['max'](_0x3ad906,_0x2e9e05['getBoundingClientRect']()['width']);let _0x55ba4a=0x0;for(const _0x427324 of Object['values'](_0x1ecf29))_0x55ba4a+=_0x427324['getBoundingClientRect']()['height'];const _0x5abffa=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x349426=Math['min'](_0x55ba4a,_0x5abffa);return{'width':_0x3ad906,'height':_0x349426};}(_0x51e183);_0x45615f['show']({'id':'finalContentPreview','title':NL(_0x470641,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new TrackChangesPreviewView(_0x470641,{'dialogRects':_0x33fc26}),'onHide':()=>{_0x2d86cd['detachFromDom']();},'onShow':()=>{_0x5a4179['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x377392=>{const _0x4df352=this['_standarizeRootsData'](_0x377392,_0x5a4179,_0x51e183);_0x45615f['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x4df352,_0x5a4179['config']['get']('trackChanges.preview.renderFunction'));}),_0x2d86cd=new dt(_0x470641,[_0x45615f['view']]),_0x2d86cd['attachToDom'](),_0x2d86cd['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x5a4179['once']('destroy',()=>{_0x2d86cd['detachFromDom']();});const _0x36b969=_0x45615f['view']['headerView']['class'];_0x45615f['view']['headerView']['class']=_0x36b969?_0x36b969+'\x20ck-reset_all':'ck-reset_all',_0x45615f['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x45615f['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x54579e=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x21f85c=_0x54579e['previewMode'],_0x5093c7={};if('$labels'===_0x21f85c){for(const _0x53874a of _0x54579e['getMergeFieldsIds']())_0x5093c7[_0x53874a]=_0x54579e['getLabel'](_0x53874a)||_0x53874a;}else{const _0x51290c='$defaultValues'===_0x21f85c?_0x54579e['getDefaultValues']():_0x54579e['getDataSetValues'](_0x21f85c,!0x0);for(const _0x4844a7 of Object['entries'](_0x51290c)){const [_0x5cdf1d,_0x4f861a]=_0x4844a7;_0x5093c7[_0x5cdf1d]=null!==_0x4f861a?_0x4f861a:_0x54579e['getLabel'](_0x5cdf1d)||_0x5cdf1d;}}return{'mergeFieldsData':_0x5093c7};}['_standarizeRootsData'](_0x5a1694,_0x33e56a,_0x495f2e){let _0x34a31e;if('string'==typeof _0x5a1694){const _0x11f77a=_0x33e56a['model']['document']['getRootNames']()[0x0];_0x34a31e={[_0x11f77a]:_0x5a1694};}else _0x34a31e=_0x5a1694;const _0x576fff=this['_fixMediaEmbeds'](_0x34a31e,_0x33e56a),_0x110393=function(_0x173f2f,_0x19b0ec){for(const [_0x45f195,_0x529b4a]of _0x173f2f)_0x529b4a['classes']=_0x19b0ec[_0x45f195]['classList']['value']['replace']('ck-focused','');return _0x173f2f;}(this['_sortRoots'](_0x33e56a)['reduce']((_0x53a818,_0x24fb9e)=>(_0x53a818['push']([_0x24fb9e,{'content':_0x576fff[_0x24fb9e],'classes':''}]),_0x53a818),[]),_0x495f2e);return _0x110393;}['_fixMediaEmbeds'](_0x150411,_0xf0ad0){if(!_0xf0ad0['plugins']['has']('MediaEmbedEditing'))return _0x150411;const _0x5d78bf=_0xf0ad0['plugins']['get']('MediaEmbedEditing');for(const [_0x3c9aa1,_0x2566fc]of Object['entries'](_0x150411)){const _0x9b07ff=document['createElement']('div');_0x9b07ff['innerHTML']=_0x2566fc,(_0x9b07ff['querySelectorAll']('figure.media')['forEach'](_0x470d8d=>{const _0xb48064=_0x470d8d['querySelector']('oembed');if(_0xb48064){const _0xb94eb7=_0xb48064['getAttribute']('url');if(_0xb94eb7){const _0x50e84c=_0x5d78bf['registry']['getMediaViewElement'](new _0x21b52e(_0xf0ad0['editing']['view']['document']),_0xb94eb7,{'elementName':'','renderForEditingView':!0x0}),_0x5615d6=document['createElement']('div');_0x5615d6['classList']['add']('ck-media__wrapper'),_0x50e84c['render'](_0x5615d6,_0xf0ad0['editing']['view']['domConverter']),_0xb48064['replaceWith'](_0x5615d6);}}}),_0x150411[_0x3c9aa1]=_0x9b07ff['innerHTML']);}return _0x150411;}['_sortRoots'](_0x79c2b3){if(!function(_0x16e998){return void 0x0!==_0x16e998['getRootsAttributes'];}(_0x79c2b3))return _0x79c2b3['model']['document']['getRootNames']();const _0x230896=[],_0x47fef1=new Map();for(const _0x4c6593 of _0x79c2b3['model']['document']['getRootNames']()){const _0x9d243b=_0x79c2b3['editing']['view']['getDomRoot'](_0x4c6593)['getClientRects']()['item'](0x0);_0x230896['push'](_0x4c6593),_0x47fef1['set'](_0x4c6593,_0x9d243b);}return _0x230896['sort']((_0x536fc9,_0x59952c)=>{const _0x4c2dee=_0x47fef1['get'](_0x536fc9),_0x2a8fda=_0x47fef1['get'](_0x59952c);return _0x4c2dee['y']-_0x2a8fda['y']||_0x4c2dee['x']-_0x2a8fda['x'];}),_0x230896;}}class TrackChangesPreview extends _0x4ac504{static get['requires'](){return[TrackChangesData,it];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57ea04){super(_0x57ea04),_0x57ea04['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x57ea04['config']['define']('trackChanges.preview.renderFunction',(_0x104972,_0x4f70b3)=>{for(const _0x1aacf3 of _0x4f70b3)_0x104972['appendChild'](_0x1aacf3);});}}var gD=function(_0x237a45){return _0x237a45['Local']='local',_0x237a45['URL']='url',_0x237a45['Dropbox']='dropbox',_0x237a45['GDrive']='gdrive',_0x237a45['Facebook']='facebook',_0x237a45['GPhotos']='gphotos',_0x237a45['OneDrive']='onedrive',_0x237a45;}({});function pD(_0x14e6de,_0x23a900,_0x40ea36){const t=_0x14e6de['t'],_0x31697c=_0x14e6de['t'];switch(_0x23a900){case gD['Local']:return{'text':_0x31697c('Insert'===_0x40ea36?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x31697c('From\x20computer')};case gD['URL']:return{'text':'Insert'===_0x40ea36?_0x31697c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x31697c('Via\x20URL')};case gD['Dropbox']:return{'text':t('Insert'===_0x40ea36?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case gD['Facebook']:return{'text':t('Insert'===_0x40ea36?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case gD['GDrive']:return{'text':t('Insert'===_0x40ea36?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case gD['GPhotos']:return{'text':t('Insert'===_0x40ea36?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case gD['OneDrive']:return{'text':t('Insert'===_0x40ea36?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23a900;}}class UploadcareUI extends _0x4ac504{['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 _0x5b3e0b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40c99a;for(const _0x2fc759 in _0x5b3e0b){const _0x27c066=_0x2fc759,_0x587be1=_0x5b3e0b[_0x27c066];if('uploadcareLicenseKeyValid'==_0x587be1||'uploadcareLicenseKeyInvalid'==_0x587be1||'uploadcareLicenseKeyExpired'==_0x587be1||'uploadcareLicenseKeyDomainLimit'==_0x587be1||'uploadcareLicenseKeyNotAllowed'==_0x587be1||'uploadcareLicenseKeyEvaluationLimit'==_0x587be1||'uploadcareLicenseKeyUsageLimit'==_0x587be1){delete _0x5b3e0b[_0x27c066],_0x40c99a=_0x587be1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x40c99a&&_0x5b3e0b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1e4577}=this,_0xcc0cc1=_0x1e4577['commands']['get']('uploadcare');if(!_0xcc0cc1)return;const _0x3e2691=this['_normalizeConfigSourceList'](_0x1e4577['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x127d08,_0x335ecd)=>{const _0x35e147=this['_getIntegrationKey'](_0x335ecd['type']);return _0x127d08[_0x35e147]||(_0x127d08[_0x35e147]=[]),_0x127d08[_0x35e147]['push'](_0x335ecd),_0x127d08;},{});_0x1e4577['plugins']['has']('ImageInsertUI')&&_0x1e4577['commands']['get']('uploadcare')&&Object['entries'](_0x3e2691)['forEach'](([_0x2ecd31,_0x3d4199])=>{_0x1e4577['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2ecd31,'observable':()=>_0xcc0cc1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3d4199),'formViewCreator':()=>this['_createDropdownButtons'](_0x3d4199),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3d4199),'override':'assetManager'!==_0x2ecd31});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x16e456){const {locale:_0x396423}=this['editor'];return _0x16e456['map'](_0x1305f1=>{const _0x3636ed=pD(_0x396423,_0x1305f1,'Insert');switch(_0x1305f1){case gD['Local']:return{'icon':_0x1f6870,'type':gD['Local'],..._0x3636ed};case gD['URL']:return{'icon':_0x211508,'type':gD['URL'],..._0x3636ed};case gD['Dropbox']:return{'icon':_0x43d826,'type':gD['Dropbox'],..._0x3636ed};case gD['Facebook']:return{'icon':_0x387d30,'type':gD['Facebook'],..._0x3636ed};case gD['GDrive']:return{'icon':_0x39a86b,'type':gD['GDrive'],..._0x3636ed};case gD['GPhotos']:return{'icon':_0x2dca0c,'type':gD['GPhotos'],..._0x3636ed};case gD['OneDrive']:return{'icon':_0xe3f326,'type':gD['OneDrive'],..._0x3636ed};}});}['_getIntegrationKey'](_0xa9a08c){switch(_0xa9a08c){case gD['Local']:return'upload';case gD['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3ff43c,_0x211287){const _0x26a96c=this['editor'],_0x59ba67=new _0x3ff43c(_0x26a96c['locale']),_0x35ab4b=_0x26a96c['commands']['get']('uploadcare');return _0x59ba67['bind']('isEnabled')['to'](_0x35ab4b),_0x59ba67['on']('execute',()=>{_0x35ab4b['execute'](_0x211287);}),_0x59ba67;}['_createToolbarButton'](_0x42e9d0){const {locale:_0x5b252c}=this['editor'],_0x15236c=this['editor']['plugins']['get']('ImageInsertUI'),_0x137b00=_0x42e9d0[0x0],_0x4a9818=this['_createButton'](_0x13bcd9,_0x137b00['type']);return _0x4a9818['icon']=_0x137b00['icon'],_0x4a9818['bind']('label')['to'](_0x15236c,'isImageSelected',_0x17cf31=>pD(_0x5b252c,_0x137b00['type'],_0x17cf31?'Replace':'Insert')['text']),_0x4a9818['tooltip']=!0x0,_0x4a9818;}['_createDropdownButtons'](_0x16c535){const {locale:_0x47d016}=this['editor'],_0x596bad=this['editor']['plugins']['get']('ImageInsertUI');return _0x16c535['map'](_0x4d7aa7=>{const _0xc85836=this['_createButton'](_0x13bcd9,_0x4d7aa7['type']);return _0xc85836['withText']=!0x0,_0xc85836['icon']=_0x4d7aa7['icon'],_0xc85836['bind']('label')['to'](_0x596bad,'isImageSelected',_0xb35dd6=>pD(_0x47d016,_0x4d7aa7['type'],_0xb35dd6?'Replace':'Insert')['text']),_0xc85836;});}['_createMenuBarButtons'](_0xdb27ed){return _0xdb27ed['map'](_0x1fdae5=>{const _0x21b4c7=this['_createButton'](ot,_0x1fdae5['type']);return _0x21b4c7['icon']=_0x1fdae5['icon'],_0x21b4c7['label']=_0x1fdae5['shortText'],_0x21b4c7;});}}class DialogFocusManagerView extends _0x268b55{['focusTracker'];['focusCycler'];constructor(_0x1f7d2c){super(_0x1f7d2c),this['focusTracker']=new _0xc1a0cc(),this['focusCycler']=new tt({'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 UploadcareFormView extends DialogFocusManagerView{constructor(_0x5176d1,_0x50a97a){super(_0x5176d1),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-'+_0x50a97a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function OD(_0x4b81cc,_0x58b0db){const _0x29d6cf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x385805=>_0x385805<=_0x58b0db)['map'](_0x1d9212=>_0x4b81cc['replace'](/\/$/,'')+'/-/resize/'+_0x1d9212+'x/\x20'+_0x1d9212+'w');return{'imageFallbackUrl':_0x4b81cc,'imageSources':[{'srcset':_0x29d6cf['join'](',\x20'),'sizes':'(max-width:\x20'+_0x58b0db+'px)\x20100vw,\x20'+_0x58b0db+'px','type':'image/webp'}]};}function wD(_0x506dc9,_0x26eef7,_0x3c7a28){const _0x1cb906=_0x506dc9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1cb906?parseInt(_0x1cb906[0x1],0xa):_0x26eef7,'height':_0x1cb906?parseInt(_0x1cb906[0x2],0xa):_0x3c7a28};}function bD(_0x59637f,_0xf2bbe){const _0x4efbd2=new(_0x3b006d())(),_0x5b9c9e=_0x59637f['plugins']['get']('ImageUtils'),_0x381f56=_0x59637f['editing']['mapper']['toViewElement'](_0xf2bbe),_0x3ee0ea=_0x5b9c9e['findViewImgElement'](_0x381f56),_0x2a7db8=_0x59637f['editing']['view']['domConverter']['viewToDom'](_0x3ee0ea),_0x13a761=_0xf2bbe['getAttribute']('width'),_0x131b7d=_0xf2bbe['getAttribute']('height'),_0x1d66bf='image-processing';_0x59637f['editing']['view']['change'](_0x37c128=>{_0x37c128['addClass'](_0x1d66bf,_0x381f56),_0x37c128['setStyle']('aspect-ratio',_0x13a761+'/'+_0x131b7d,_0x3ee0ea);}),_0x4efbd2['listenTo'](_0x2a7db8,'load',()=>{_0x4efbd2['stopListening'](_0x2a7db8,'load'),_0x59637f['editing']['view']['change'](_0x3025a8=>{_0x3025a8['removeClass'](_0x1d66bf,_0x381f56),_0x3025a8['removeStyle']('aspect-ratio',_0x3ee0ea);});});}function yD(_0x2eb9b9){if(Array['isArray'](_0x2eb9b9)){const _0x1551a6=_0x2eb9b9['map'](yD);return _0x57e8fb=>_0x1551a6['some'](_0x317b36=>_0x317b36(_0x57e8fb));}if('origin'==_0x2eb9b9){const _0x703776=_0x81fd87['window']['location']['origin'];return _0x8b6170=>new URL(_0x8b6170,_0x81fd87['document']['baseURI'])['origin']==_0x703776;}return'function'==typeof _0x2eb9b9?_0x2eb9b9:_0x2eb9b9 instanceof RegExp?_0x5d67d3=>!(!_0x5d67d3['match'](_0x2eb9b9)&&!_0x5d67d3['replace'](/^https?:\/\//,'')['match'](_0x2eb9b9)):()=>!0x1;}function _D(_0x3ba4d0,_0x55d266){return _0xba0311(_0x3ba4d0['target'])['includes'](_0x55d266);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x266f1a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x342da2,_0x9cee66,_0x4879e9){super(),this['_editor']=_0x342da2,this['_editing']=_0x9cee66,this['_dialog']=_0x342da2['plugins']['get'](it),this['_api']=_0x9cee66['ctxElement']['getAPI'](),this['_type']=_0x4879e9,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:_0x152a09,model:_0x6a0098}=this['_editor'],_0x41942d=_0x6a0098['document']['selection']['getSelectedElement'](),_0x59a276=_0x41942d&&(_0x41942d['is']('element','imageBlock')||_0x41942d['is']('element','imageInline'));this['_formView']=new UploadcareFormView(_0x152a09,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1f6870,'title':pD(_0x152a09,this['_type'],_0x59a276?'Replace':'Insert')['text'],'content':this['_formView'],'position':at['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49a7e8=>!_D(_0x49a7e8,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1da1dc}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2babea=>{const _0x26a009=_0x1da1dc['length'];for(const _0x5232d1 of _0x1da1dc){const _0x1b2c11=_0x5232d1===_0x1da1dc[_0x26a009-0x1],{cdnUrl:_0x41e5e4,fileInfo:_0x1c69ec}=_0x5232d1;if(!_0x41e5e4||!_0x1c69ec)continue;const {width:_0x1c7e0b,height:_0x348b45}=_0x1c69ec['imageInfo'],_0x31c1eb=wD(_0x41e5e4,_0x1c7e0b,_0x348b45),_0x2d3057=OD(_0x41e5e4,_0x31c1eb['width']),_0x3c4e98={'id':_0x1c69ec['uuid'],'type':'image','attributes':{'imageDimension':_0x31c1eb,..._0x2d3057}};this['_insertAsset'](_0x3c4e98,_0x1b2c11,_0x2babea);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2343a9=>{'idle'===_0x2343a9['detail']['status']&&!_0x2343a9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===gD['Local']?this['_api']['setCurrentActivity'](gD['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x51ded6,_0x32b398,_0x2e667a){const _0x337635=this['_editor']['model']['document']['selection'],_0x317fc4=_0x337635['getSelectedElement'](),_0x27c83a=!(!_0x317fc4||!_0x317fc4['is']('element','imageInline'));_0x2e667a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x51ded6,_0x27c83a),_0x32b398||_0x2e667a['setSelection'](_0x337635['getLastPosition']());}['_insertImage'](_0x5b790c,_0x3db405){const _0x8bba90=this['_editor'],{imageDimension:_0x28e934,imageFallbackUrl:_0x2f5cc9,imageSources:_0x484113}=_0x5b790c['attributes'];_0x8bba90['execute']('insertImage',{'imageType':_0x3db405?'imageInline':null,'source':{'uploadcareImageId':_0x5b790c['id'],'src':_0x2f5cc9,'sources':_0x484113,..._0x28e934}});}}class UploadcareCommand extends _0x1110b9{['_editing'];['_controller']=null;static get['requires'](){return[it,UploadcareEditing];}constructor(_0x4284c2){super(_0x4284c2),this['_editing']=_0x4284c2['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xf11a2f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0xf11a2f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function vD(_0x1c633c){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1c633c);}const TD=/\W|_/g;function ED(_0x501063){return _0x501063['split'](TD)['map']((_0x93a7f1,_0x11760e)=>_0x93a7f1['charAt'](0x0)[_0x11760e>0x0?'toUpperCase':'toLowerCase']()+_0x93a7f1['slice'](0x1))['join']('');}function AD(_0x490ab6,{ignoreKeys:_0x3c888d}={'ignoreKeys':[]}){return Array['isArray'](_0x490ab6)?_0x490ab6['map'](_0x3987ae=>SD(_0x3987ae,{'ignoreKeys':_0x3c888d})):_0x490ab6;}function SD(_0x3915e5,{ignoreKeys:_0x13a93e}={'ignoreKeys':[]}){if(Array['isArray'](_0x3915e5))return AD(_0x3915e5,{'ignoreKeys':_0x13a93e});if(!vD(_0x3915e5))return _0x3915e5;const _0x3a0104={};for(const _0x269262 of Object['keys'](_0x3915e5)){let _0x458705=_0x3915e5[_0x269262];_0x13a93e['includes'](_0x269262)?_0x3a0104[_0x269262]=_0x458705:(vD(_0x458705)?_0x458705=SD(_0x458705,{'ignoreKeys':_0x13a93e}):Array['isArray'](_0x458705)&&(_0x458705=AD(_0x458705,{'ignoreKeys':_0x13a93e})),_0x3a0104[ED(_0x269262)]=_0x458705);}return _0x3a0104;}const ID={'factor':0x2,'time':0x64};function CD(_0x29edb1,_0x567420=ID){let _0x5c93f8=0x0;return function _0x54bc44(_0x3a0064){const _0x40a986=Math['round'](_0x567420['time']*_0x567420['factor']**_0x5c93f8);return _0x3a0064({'attempt':_0x5c93f8,'retry':_0x2f3ca3=>(_0x41c98e=>new Promise(_0x3bf8a3=>setTimeout(_0x3bf8a3,_0x41c98e)))(_0x2f3ca3??_0x40a986)['then'](()=>(_0x5c93f8+=0x1,_0x54bc44(_0x3a0064)))});}(_0x29edb1);}let kD=class UploadcareError extends Error{},xD=class NetworkError extends kD{['originalProgressEvent'];constructor(_0x1f6f94){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x1f6f94;}};const RD=(_0x291566,_0x3907e5)=>{_0x291566&&(_0x291566['aborted']?Promise['resolve']()['then'](_0x3907e5):_0x291566['addEventListener']('abort',()=>_0x3907e5(),{'once':!0x0}));};let PD=class CancelError extends kD{['isCancel']=!0x0;constructor(_0xcbf10c='Request\x20canceled'){super(_0xcbf10c),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}};const MD=({check:_0x46100f,interval:_0x1917ba=0x1f4,timeout:_0x22c6ec,signal:_0x2a364b})=>new Promise((_0x268aec,_0x523343)=>{let _0x12df68,_0x47bce8;RD(_0x2a364b,()=>{_0x12df68&&clearTimeout(_0x12df68),_0x523343(new PD('Poll\x20cancelled'));}),_0x22c6ec&&(_0x47bce8=setTimeout(()=>{_0x12df68&&clearTimeout(_0x12df68),_0x523343(new PD('Timed\x20out'));},_0x22c6ec));const _0x2f080c=()=>{try{Promise['resolve'](_0x46100f(_0x2a364b))['then'](_0x3393e5=>{_0x3393e5?(_0x47bce8&&clearTimeout(_0x47bce8),_0x268aec(_0x3393e5)):_0x12df68=setTimeout(_0x2f080c,_0x1917ba);})['catch'](_0x430dd0=>{_0x47bce8&&clearTimeout(_0x47bce8),_0x523343(_0x430dd0);});}catch(_0x362c21){_0x47bce8&&clearTimeout(_0x47bce8),_0x523343(_0x362c21);}};_0x12df68=setTimeout(_0x2f080c,0x0);}),ND='https://ucarecdn.com',LD='https://upload.uploadcare.com',DD=0x1,QD=0x3,$D=0x1900000,VD=0x500000,UD=0x4,BD='79ae88bd931ea68464d9',FD='application/octet-stream',jD='original',HD=({method:_0x4b650c,url:_0x3e75e6,data:_0x321297,headers:_0x4b086f={},signal:_0x5584b9,onProgress:_0x3ceb24})=>new Promise((_0x458d16,_0x52a238)=>{const _0x538476=new XMLHttpRequest(),_0x4bf523=_0x4b650c?.['toUpperCase']()||'GET';let _0x4ff2bb=!0x1;_0x538476['open'](_0x4bf523,_0x3e75e6,!0x0),_0x4b086f&&Object['entries'](_0x4b086f)['forEach'](_0x31542b=>{const [_0xa3eaff,_0x2d1655]=_0x31542b;void 0x0!==_0x2d1655&&!Array['isArray'](_0x2d1655)&&_0x538476['setRequestHeader'](_0xa3eaff,_0x2d1655);}),_0x538476['responseType']='text',RD(_0x5584b9,()=>{_0x4ff2bb=!0x0,_0x538476['abort'](),_0x52a238(new PD());}),_0x538476['onload']=()=>{if(0xc8!=_0x538476['status'])_0x52a238(new Error('Error\x20'+_0x538476['status']+':\x20'+_0x538476['statusText']));else{const _0x38a720={'method':_0x4bf523,'url':_0x3e75e6,'data':_0x321297,'headers':_0x4b086f||void 0x0,'signal':_0x5584b9,'onProgress':_0x3ceb24},_0x41288e=_0x538476['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x31d3ad={};_0x41288e['forEach'](function(_0x123809){const _0x3e0e52=_0x123809['split'](':\x20'),_0x1a0d73=_0x3e0e52['shift'](),_0x38edae=_0x3e0e52['join'](':\x20');_0x1a0d73&&void 0x0!==_0x1a0d73&&(_0x31d3ad[_0x1a0d73]=_0x38edae);});const _0x2ce264=_0x538476['response'],_0x3c042d=_0x538476['status'];_0x458d16({'request':_0x38a720,'data':_0x2ce264,'headers':_0x31d3ad,'status':_0x3c042d});}},_0x538476['onerror']=_0x40bc4e=>{_0x4ff2bb||_0x52a238(new xD(_0x40bc4e));},_0x3ceb24&&'function'==typeof _0x3ceb24&&(_0x538476['upload']['onprogress']=_0x4d01fd=>{_0x4d01fd['lengthComputable']?_0x3ceb24({'isComputable':!0x0,'value':_0x4d01fd['loaded']/_0x4d01fd['total']}):_0x3ceb24({'isComputable':!0x1});}),_0x321297?_0x538476['send'](_0x321297):_0x538476['send']();}),GD=function(_0x33a621,..._0x2b9617){return _0x33a621;},ZD=_0x3458e7=>'undefined'!=typeof Blob&&_0x3458e7 instanceof Blob,XD=_0x2e9ad6=>'undefined'!=typeof File&&_0x2e9ad6 instanceof File,qD=_0x1f5419=>!!_0x1f5419&&'object'==typeof _0x1f5419&&!Array['isArray'](_0x1f5419)&&'uri'in _0x1f5419&&'string'==typeof _0x1f5419['uri'],WD=_0x5973f3=>ZD(_0x5973f3)||XD(_0x5973f3)||qD(_0x5973f3);function zD(_0x51af88,_0x4ef74e,_0x38d031){if(Array['isArray'](_0x38d031)){for(const _0x358dea of _0x38d031)zD(_0x51af88,_0x4ef74e+'[]',_0x358dea);}else{if((_0x10598c=>!!_0x10598c&&'object'==typeof _0x10598c&&'data'in _0x10598c&&WD(_0x10598c['data']))(_0x38d031)){const {name:_0x4d52c4,contentType:_0xc2a559}=_0x38d031,_0x537fe2=GD(_0x38d031['data'],_0x4d52c4,_0xc2a559??FD),_0x37742f=(({name:_0x5e20ca})=>_0x5e20ca?[_0x5e20ca]:[])({'name':_0x4d52c4});_0x51af88['push']([_0x4ef74e,_0x537fe2,..._0x37742f]);}else{if((_0x4ad3ba=>!!_0x4ad3ba&&'object'==typeof _0x4ad3ba&&!Array['isArray'](_0x4ad3ba))(_0x38d031)){for(const [_0x51e782,_0x1c1146]of Object['entries'](_0x38d031))void 0x0!==_0x1c1146&&_0x51af88['push']([_0x4ef74e+'['+_0x51e782+']',String(_0x1c1146)]);}else(_0x43c5f2=>'string'==typeof _0x43c5f2||'number'==typeof _0x43c5f2||void 0x0===_0x43c5f2)(_0x38d031)&&_0x38d031&&_0x51af88['push']([_0x4ef74e,_0x38d031['toString']()]);}}}function YD(_0x4ce127){const _0x502d48=new FormData(),_0x13563d=function(_0x10f535){const _0x3701bd=[];for(const [_0x3ab3ac,_0x1bc537]of Object['entries'](_0x10f535))zD(_0x3701bd,_0x3ab3ac,_0x1bc537);return _0x3701bd;}(_0x4ce127);for(const _0x5d52e5 of _0x13563d){const [_0x4f4f3a,_0x28e60a,..._0x5410fe]=_0x5d52e5;_0x502d48['append'](_0x4f4f3a,_0x28e60a,..._0x5410fe);}return _0x502d48;}let KD=class UploadError extends kD{['code'];['request'];['response'];['headers'];constructor(_0x410f28,_0x5141ac,_0x50aa36,_0x157c2a,_0x2932b8){super(),this['name']='UploadError',this['message']=_0x410f28,this['code']=_0x5141ac,this['request']=_0x50aa36,this['response']=_0x157c2a,this['headers']=_0x2932b8,Object['setPrototypeOf'](this,UploadError['prototype']);}};const JD=(_0x15f3d1,_0x276cef,_0x5c900b)=>{const _0x223b0a=new URL(_0x15f3d1);return _0x223b0a['pathname']=(_0x223b0a['pathname']+_0x276cef)['replace']('//','/'),_0x5c900b&&(_0x223b0a['search']=(_0x144b94=>{const _0x966073=new URLSearchParams();for(const [_0x55f383,_0x29ac51]of Object['entries'](_0x144b94))_0x29ac51&&'object'==typeof _0x29ac51&&!Array['isArray'](_0x29ac51)?Object['entries'](_0x29ac51)['filter'](_0xd0655a=>_0xd0655a[0x1]??!0x1)['forEach'](_0x5c9491=>_0x966073['set'](_0x55f383+'['+_0x5c9491[0x0]+']',String(_0x5c9491[0x1]))):Array['isArray'](_0x29ac51)?_0x29ac51['forEach'](_0x1a93d2=>{_0x966073['append'](_0x55f383+'[]',_0x1a93d2);}):'string'==typeof _0x29ac51&&_0x29ac51?_0x966073['set'](_0x55f383,_0x29ac51):'number'==typeof _0x29ac51&&_0x966073['set'](_0x55f383,_0x29ac51['toString']());return _0x966073['toString']();})(_0x5c900b)),_0x223b0a['toString']();};function tQ(_0x2ac833){return function({libraryName:_0x3a8684,libraryVersion:_0x50d24d,userAgent:_0xb24ce4,publicKey:_0x298d7c='',integration:_0x492172=''}){const _0x1cb9e4='JavaScript';return'string'==typeof _0xb24ce4?_0xb24ce4:'function'==typeof _0xb24ce4?_0xb24ce4({'publicKey':_0x298d7c,'libraryName':_0x3a8684,'libraryVersion':_0x50d24d,'languageName':_0x1cb9e4,'integration':_0x492172}):[_0x3a8684,_0x50d24d,_0x298d7c]['filter'](Boolean)['join']('/')+'\x20('+[_0x1cb9e4,_0x492172]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x2ac833});}function eQ(_0x474761,_0x4124d3){const {retryThrottledRequestMaxTimes:_0x320105,retryNetworkErrorMaxTimes:_0x256a58}=_0x4124d3;return CD(({attempt:_0x7fcf4d,retry:_0x564d96})=>_0x474761()['catch'](_0x245d02=>{if('response'in _0x245d02&&'RequestThrottledError'===_0x245d02?.['code']&&_0x7fcf4d<_0x320105)return _0x564d96(function(_0x59050a){const {headers:_0x1de663}=_0x59050a||{};if(!_0x1de663||'string'!=typeof _0x1de663['retry-after'])return 0x3a98;const _0x58469d=parseInt(_0x1de663['retry-after'],0xa);return Number['isFinite'](_0x58469d)?0x3e8*_0x58469d:0x3a98;}(_0x245d02));if(_0x245d02 instanceof xD&&_0x7fcf4d<_0x256a58)return _0x564d96(0x3e8*(_0x7fcf4d+0x1));throw _0x245d02;}));}const iQ=_0x167cf3=>{let _0xed6baf='';return(ZD(_0x167cf3)||XD(_0x167cf3)||qD(_0x167cf3))&&(_0xed6baf=_0x167cf3['type']),_0xed6baf||FD;},sQ=_0xa7a3fb=>{let _0x2b24d8='';return XD(_0xa7a3fb)&&_0xa7a3fb['name']?_0x2b24d8=_0xa7a3fb['name']:ZD(_0xa7a3fb)?_0x2b24d8='':qD(_0xa7a3fb)&&_0xa7a3fb['name']&&(_0x2b24d8=_0xa7a3fb['name']),_0x2b24d8||jD;};function nQ(_0x5d1b5e){return void 0x0===_0x5d1b5e||'auto'===_0x5d1b5e?'auto':_0x5d1b5e?'1':'0';}var rQ,oQ;!function(_0x755082){_0x755082['Token']='token',_0x755082['FileInfo']='file_info';}(rQ||(rQ={})),function(_0x4e11e2){_0x4e11e2['Unknown']='unknown',_0x4e11e2['Waiting']='waiting',_0x4e11e2['Progress']='progress',_0x4e11e2['Error']='error',_0x4e11e2['Success']='success';}(oQ||(oQ={}));function aQ(_0x55510f,{publicKey:_0x1afdba,baseURL:_0x295b51=LD,signal:_0xd77a0d,integration:_0x580282,userAgent:_0x530ece,retryThrottledRequestMaxTimes:_0x41156f=DD,retryNetworkErrorMaxTimes:_0x50b669=QD}={}){return eQ(()=>HD({'method':'GET','headers':_0x1afdba?{'X-UC-User-Agent':tQ({'publicKey':_0x1afdba,'integration':_0x580282,'userAgent':_0x530ece})}:void 0x0,'url':JD(_0x295b51,'/from_url/status/',{'jsonerrors':0x1,'token':_0x55510f}),'signal':_0xd77a0d})['then'](({data:_0x27c07a,headers:_0x434cfd,request:_0x4c5ed6})=>{const _0x29a68c=SD(JSON['parse'](_0x27c07a));if('error'in _0x29a68c&&!(_0x18cc36=>'status'in _0x18cc36&&_0x18cc36['status']===oQ['Error'])(_0x29a68c))throw new KD(_0x29a68c['error']['content'],_0x29a68c['error']['errorCode'],_0x4c5ed6,_0x29a68c,_0x434cfd);return _0x29a68c;}),{'retryNetworkErrorMaxTimes':_0x50b669,'retryThrottledRequestMaxTimes':_0x41156f});}function cQ(_0xf83a76,{publicKey:_0x282b97,baseURL:_0x15b2b9=LD,signal:_0x5953af,source:_0x42985e,integration:_0x2bf13d,userAgent:_0x1d7d38,retryThrottledRequestMaxTimes:_0x436ab0=DD,retryNetworkErrorMaxTimes:_0x44e1ec=QD}){return eQ(()=>HD({'method':'GET','headers':{'X-UC-User-Agent':tQ({'publicKey':_0x282b97,'integration':_0x2bf13d,'userAgent':_0x1d7d38})},'url':JD(_0x15b2b9,'/info/',{'jsonerrors':0x1,'pub_key':_0x282b97,'file_id':_0xf83a76,'source':_0x42985e}),'signal':_0x5953af})['then'](({data:_0x519354,headers:_0xebac78,request:_0x107be2})=>{const _0xe4d376=SD(JSON['parse'](_0x519354));if('error'in _0xe4d376)throw new KD(_0xe4d376['error']['content'],_0xe4d376['error']['errorCode'],_0x107be2,_0xe4d376,_0xebac78);return _0xe4d376;}),{'retryThrottledRequestMaxTimes':_0x436ab0,'retryNetworkErrorMaxTimes':_0x44e1ec});}function lQ(_0x14849c,{publicKey:_0x37864c,baseURL:_0x25d2e8,source:_0x4b7bec,integration:_0x1d3def,userAgent:_0x2729f6,retryThrottledRequestMaxTimes:_0x3febdf,retryNetworkErrorMaxTimes:_0x12f672,signal:_0x3fc501,onProgress:_0x17ae24}){return MD({'check':_0x4bf573=>cQ(_0x14849c,{'publicKey':_0x37864c,'baseURL':_0x25d2e8,'signal':_0x4bf573,'source':_0x4b7bec,'integration':_0x1d3def,'userAgent':_0x2729f6,'retryThrottledRequestMaxTimes':_0x3febdf,'retryNetworkErrorMaxTimes':_0x12f672})['then'](_0x4883e5=>_0x4883e5['isReady']?_0x4883e5:(_0x17ae24&&_0x17ae24({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x3fc501});}let hQ=class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x194e35,{baseCDN:_0xa2c205=ND,fileName:_0x401703}={}){const {uuid:_0x478e19,s3Bucket:_0xbb8a95}=_0x194e35,_0xc2dcad=JD(_0xa2c205,_0x478e19+'/'),_0x251a08=_0xbb8a95?JD('https://'+_0xbb8a95+'.s3.amazonaws.com/',_0x478e19+'/'+_0x194e35['filename']):null;this['uuid']=_0x478e19,this['name']=_0x401703||_0x194e35['filename'],this['size']=_0x194e35['size'],this['isStored']=_0x194e35['isStored'],this['isImage']=_0x194e35['isImage'],this['mimeType']=_0x194e35['mimeType'],this['cdnUrl']=_0xc2dcad,this['originalFilename']=_0x194e35['originalFilename'],this['imageInfo']=_0x194e35['imageInfo'],this['videoInfo']=_0x194e35['videoInfo'],this['contentInfo']=_0x194e35['contentInfo'],this['metadata']=_0x194e35['metadata']||null,this['s3Bucket']=_0xbb8a95||null,this['s3Url']=_0x251a08,function(_0x1dfd8e){return'defaultEffects'in _0x1dfd8e;}(_0x194e35)&&(this['defaultEffects']=_0x194e35['defaultEffects']);}};const uQ=(_0x1ba0ab,{publicKey:_0x3663d2,fileName:_0x1f537c,baseURL:_0xaad6e3,secureSignature:_0x210225,secureExpire:_0x1cade2,store:_0x34d560,contentType:_0x350032,signal:_0x1251a3,onProgress:_0x3fd7dd,source:_0x21bd96,integration:_0xbe440e,userAgent:_0x4dfce2,retryThrottledRequestMaxTimes:_0x3c89bd,retryNetworkErrorMaxTimes:_0x38141d,baseCDN:_0xeaecef,metadata:_0x2a89c4})=>function(_0x429405,{publicKey:_0x590a71,fileName:_0x130b82,contentType:_0x4d4cc5,baseURL:_0x488218=LD,secureSignature:_0x1ca636,secureExpire:_0x377f6b,store:_0x488a8f,signal:_0x352dfd,onProgress:_0x211dbb,source:_0x5c05c8='local',integration:_0x11c371,userAgent:_0x116114,retryThrottledRequestMaxTimes:_0x3c0955=DD,retryNetworkErrorMaxTimes:_0x55d1d0=QD,metadata:_0x363ee2}){return eQ(()=>HD({'method':'POST','url':JD(_0x488218,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':tQ({'publicKey':_0x590a71,'integration':_0x11c371,'userAgent':_0x116114})},'data':YD({'file':{'data':_0x429405,'name':_0x130b82||sQ(_0x429405),'contentType':_0x4d4cc5||iQ(_0x429405)},'UPLOADCARE_PUB_KEY':_0x590a71,'UPLOADCARE_STORE':nQ(_0x488a8f),'signature':_0x1ca636,'expire':_0x377f6b,'source':_0x5c05c8,'metadata':_0x363ee2}),'signal':_0x352dfd,'onProgress':_0x211dbb})['then'](({data:_0xf333e7,headers:_0x43a257,request:_0x29dd0f})=>{const _0x3d9c38=SD(JSON['parse'](_0xf333e7));if('error'in _0x3d9c38)throw new KD(_0x3d9c38['error']['content'],_0x3d9c38['error']['errorCode'],_0x29dd0f,_0x3d9c38,_0x43a257);return _0x3d9c38;}),{'retryNetworkErrorMaxTimes':_0x55d1d0,'retryThrottledRequestMaxTimes':_0x3c0955});}(_0x1ba0ab,{'publicKey':_0x3663d2,'fileName':_0x1f537c,'contentType':_0x350032,'baseURL':_0xaad6e3,'secureSignature':_0x210225,'secureExpire':_0x1cade2,'store':_0x34d560,'signal':_0x1251a3,'onProgress':_0x3fd7dd,'source':_0x21bd96,'integration':_0xbe440e,'userAgent':_0x4dfce2,'retryThrottledRequestMaxTimes':_0x3c89bd,'retryNetworkErrorMaxTimes':_0x38141d,'metadata':_0x2a89c4})['then'](({file:_0x173b63})=>lQ(_0x173b63,{'publicKey':_0x3663d2,'baseURL':_0xaad6e3,'source':_0x21bd96,'integration':_0xbe440e,'userAgent':_0x4dfce2,'retryThrottledRequestMaxTimes':_0x3c89bd,'retryNetworkErrorMaxTimes':_0x38141d,'onProgress':_0x3fd7dd,'signal':_0x1251a3}))['then'](_0x3eb71=>new hQ(_0x3eb71,{'baseCDN':_0xeaecef})),dQ=(_0x8bf70e,{signal:_0x13b916}={})=>{let _0x51278b=null,_0xdfebd1=null;const _0x24c468=_0x8bf70e['map'](()=>new AbortController());return RD(_0x13b916,()=>{_0x24c468['forEach'](_0x1848e0=>_0x1848e0['abort']());}),Promise['all'](_0x8bf70e['map']((_0x4e2ed7,_0x3d2240)=>{const _0x1ca754=(_0x4e590f=>()=>{_0xdfebd1=_0x4e590f,_0x24c468['forEach']((_0x51d344,_0x405898)=>_0x405898!==_0x4e590f&&_0x51d344['abort']());})(_0x3d2240);return Promise['resolve']()['then'](()=>_0x4e2ed7({'stopRace':_0x1ca754,'signal':_0x24c468[_0x3d2240]['signal']}))['then'](_0x5a748f=>(_0x1ca754(),_0x5a748f))['catch'](_0x1e38eb=>(_0x51278b=_0x1e38eb,null));}))['then'](_0x265184=>{if(null===_0xdfebd1)throw _0x51278b;return _0x265184[_0xdfebd1];});};var fQ=window['WebSocket'];let mQ=class Events{['events']=Object['create']({});['emit'](_0x4602f4,_0x145ce5){this['events'][_0x4602f4]?.['forEach'](_0x1c96ec=>_0x1c96ec(_0x145ce5));}['on'](_0x474f88,_0x13809a){this['events'][_0x474f88]=this['events'][_0x474f88]||[],this['events'][_0x474f88]['push'](_0x13809a);}['off'](_0x415876,_0x379523){this['events'][_0x415876]=_0x379523?this['events'][_0x415876]['filter'](_0x55308e=>_0x55308e!==_0x379523):[];}},gQ=class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new mQ();['disconnectTimeoutId']=null;constructor(_0x130448,_0x598aa9=0x7530){this['key']=_0x130448,this['disconnectTime']=_0x598aa9;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x5cb64f='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new fQ(_0x5cb64f),this['ws']['addEventListener']('error',_0x3f3c81=>{this['emmitter']['emit']('error',new Error(_0x3f3c81['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x44600c=>this['send'](_0x44600c['event'],_0x44600c['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x397f85=>{const _0x7a0834=JSON['parse'](_0x397f85['data']['toString']());switch(_0x7a0834['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'](_0x7a0834['channel'],((_0x4b0784,_0xa5563d)=>'success'===_0x4b0784?{'status':oQ['Success'],..._0xa5563d}:'progress'===_0x4b0784?{'status':oQ['Progress'],..._0xa5563d}:{'status':oQ['Error'],..._0xa5563d})(_0x7a0834['event'],JSON['parse'](_0x7a0834['data'])));}});}}['disconnect'](){const _0x389385=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x389385();},this['disconnectTime']):_0x389385();}['send'](_0x981804,_0x4333ef){const _0x1cbe48=JSON['stringify']({'event':_0x981804,'data':_0x4333ef});this['ws']?.['send'](_0x1cbe48);}['subscribe'](_0x1439f0,_0x1a0f47){this['subscribers']+=0x1,this['connect']();const _0x476f9a='task-status-'+_0x1439f0,_0x81b131={'event':'pusher:subscribe','data':{'channel':_0x476f9a}};this['emmitter']['on'](_0x476f9a,_0x1a0f47),this['isConnected']?this['send'](_0x81b131['event'],_0x81b131['data']):this['queue']['push'](_0x81b131);}['unsubscribe'](_0x297a72){this['subscribers']-=0x1;const _0x39c664='task-status-'+_0x297a72,_0x5620e4={'event':'pusher:unsubscribe','data':{'channel':_0x39c664}};this['emmitter']['off'](_0x39c664),this['isConnected']?this['send'](_0x5620e4['event'],_0x5620e4['data']):this['queue']=this['queue']['filter'](_0x56d3f0=>_0x56d3f0['data']['channel']!==_0x39c664),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x16d21f){return this['emmitter']['on']('error',_0x16d21f),()=>this['emmitter']['off']('error',_0x16d21f);}},pQ=null;const OQ=_0x58530d=>{if(!pQ){const _0xe30294='undefined'==typeof window?0x0:0x7530;pQ=new gQ(_0x58530d,_0xe30294);}return pQ;},wQ=(_0x222a6b,{publicKey:_0x1ec0f3,fileName:_0xb7a1de,baseURL:_0x2313e2,baseCDN:_0x34d711,checkForUrlDuplicates:_0x4b6dc3,saveUrlForRecurrentUploads:_0x19138e,secureSignature:_0x1ce934,secureExpire:_0x1755cb,store:_0x50446d,signal:_0x12e44c,onProgress:_0x165442,source:_0x3391c0,integration:_0x107d8f,userAgent:_0x526650,retryThrottledRequestMaxTimes:_0x1f2e5b,pusherKey:_0x36cd70=BD,metadata:_0x6f269a})=>{return Promise['resolve']((_0xb3ec76=_0x36cd70,void OQ(_0xb3ec76)['connect']()))['then'](()=>function(_0x34119e,{publicKey:_0x3bf664,baseURL:_0x38ff26=LD,store:_0x5e3b4f,fileName:_0x1e789c,checkForUrlDuplicates:_0x499f3d,saveUrlForRecurrentUploads:_0x1b37bf,secureSignature:_0x4cd0e4,secureExpire:_0x2668bf,source:_0xa9f016='url',signal:_0x35e870,integration:_0x5ee771,userAgent:_0x25cd5c,retryThrottledRequestMaxTimes:_0x13a45d=DD,retryNetworkErrorMaxTimes:_0xd6f681=QD,metadata:_0x242357}){return eQ(()=>HD({'method':'POST','headers':{'X-UC-User-Agent':tQ({'publicKey':_0x3bf664,'integration':_0x5ee771,'userAgent':_0x25cd5c})},'url':JD(_0x38ff26,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x3bf664,'source_url':_0x34119e,'store':nQ(_0x5e3b4f),'filename':_0x1e789c,'check_URL_duplicates':_0x499f3d?0x1:void 0x0,'save_URL_duplicates':_0x1b37bf?0x1:void 0x0,'signature':_0x4cd0e4,'expire':_0x2668bf,'source':_0xa9f016,'metadata':_0x242357}),'signal':_0x35e870})['then'](({data:_0x4afceb,headers:_0xf9144c,request:_0x1eaa9d})=>{const _0x31d381=SD(JSON['parse'](_0x4afceb));if('error'in _0x31d381)throw new KD(_0x31d381['error']['content'],_0x31d381['error']['errorCode'],_0x1eaa9d,_0x31d381,_0xf9144c);return _0x31d381;}),{'retryNetworkErrorMaxTimes':_0xd6f681,'retryThrottledRequestMaxTimes':_0x13a45d});}(_0x222a6b,{'publicKey':_0x1ec0f3,'fileName':_0xb7a1de,'baseURL':_0x2313e2,'checkForUrlDuplicates':_0x4b6dc3,'saveUrlForRecurrentUploads':_0x19138e,'secureSignature':_0x1ce934,'secureExpire':_0x1755cb,'store':_0x50446d,'signal':_0x12e44c,'source':_0x3391c0,'integration':_0x107d8f,'userAgent':_0x526650,'retryThrottledRequestMaxTimes':_0x1f2e5b,'metadata':_0x6f269a}))['catch'](_0x1a0fc2=>{const _0x48aa9e=OQ(_0x36cd70);return _0x48aa9e?.['disconnect'](),Promise['reject'](_0x1a0fc2);})['then'](_0x563ad8=>_0x563ad8['type']===rQ['FileInfo']?_0x563ad8:dQ([({signal:_0xc1e780})=>function({token:_0x5e14ca,publicKey:_0x1a800c,baseURL:_0x3838ca,integration:_0x5d08e7,userAgent:_0x321896,retryThrottledRequestMaxTimes:_0x5e2f20,retryNetworkErrorMaxTimes:_0x255580,onProgress:_0x2eeb6e,signal:_0x3cc190}){return MD({'check':_0x526b6e=>aQ(_0x5e14ca,{'publicKey':_0x1a800c,'baseURL':_0x3838ca,'integration':_0x5d08e7,'userAgent':_0x321896,'retryThrottledRequestMaxTimes':_0x5e2f20,'retryNetworkErrorMaxTimes':_0x255580,'signal':_0x526b6e})['then'](_0x3294e5=>{switch(_0x3294e5['status']){case oQ['Error']:return new KD(_0x3294e5['error'],_0x3294e5['errorCode']);case oQ['Waiting']:return!0x1;case oQ['Unknown']:return new KD('Token\x20\x22'+_0x5e14ca+'\x22\x20was\x20not\x20found.');case oQ['Progress']:return _0x2eeb6e&&('unknown'===_0x3294e5['total']?_0x2eeb6e({'isComputable':!0x1}):_0x2eeb6e({'isComputable':!0x0,'value':_0x3294e5['done']/_0x3294e5['total']})),!0x1;case oQ['Success']:return _0x2eeb6e&&_0x2eeb6e({'isComputable':!0x0,'value':_0x3294e5['done']/_0x3294e5['total']}),_0x3294e5;default:throw new Error('Unknown\x20status');}}),'signal':_0x3cc190});}({'token':_0x563ad8['token'],'publicKey':_0x1ec0f3,'baseURL':_0x2313e2,'integration':_0x107d8f,'userAgent':_0x526650,'retryThrottledRequestMaxTimes':_0x1f2e5b,'onProgress':_0x165442,'signal':_0xc1e780}),({signal:_0x509a8c})=>(({token:_0xd91d63,pusherKey:_0x32e3f8,signal:_0x1dfa75,onProgress:_0x39c4ae})=>new Promise((_0x473e8e,_0xc02ed3)=>{const _0x36fc2a=OQ(_0x32e3f8),_0x3635c4=_0x36fc2a['onError'](_0xc02ed3),_0x1459b2=()=>{_0x3635c4(),_0x36fc2a['unsubscribe'](_0xd91d63);};RD(_0x1dfa75,()=>{_0x1459b2(),_0xc02ed3(new PD('pusher\x20cancelled'));}),_0x36fc2a['subscribe'](_0xd91d63,_0x5ca052=>{switch(_0x5ca052['status']){case oQ['Progress']:_0x39c4ae&&('unknown'===_0x5ca052['total']?_0x39c4ae({'isComputable':!0x1}):_0x39c4ae({'isComputable':!0x0,'value':_0x5ca052['done']/_0x5ca052['total']}));break;case oQ['Success']:_0x1459b2(),_0x39c4ae&&_0x39c4ae({'isComputable':!0x0,'value':_0x5ca052['done']/_0x5ca052['total']}),_0x473e8e(_0x5ca052);break;case oQ['Error']:_0x1459b2(),_0xc02ed3(new KD(_0x5ca052['msg'],_0x5ca052['error_code']));}});}))({'token':_0x563ad8['token'],'pusherKey':_0x36cd70,'signal':_0x509a8c,'onProgress':_0x165442})],{'signal':_0x12e44c}))['then'](_0x37221b=>{if(_0x37221b instanceof KD)throw _0x37221b;return _0x37221b;})['then'](_0x3dd571=>lQ(_0x3dd571['uuid'],{'publicKey':_0x1ec0f3,'baseURL':_0x2313e2,'integration':_0x107d8f,'userAgent':_0x526650,'retryThrottledRequestMaxTimes':_0x1f2e5b,'onProgress':_0x165442,'signal':_0x12e44c}))['then'](_0x2f6d7c=>new hQ(_0x2f6d7c,{'baseCDN':_0x34d711}));var _0xb3ec76;},bQ=new WeakMap(),yQ=async _0x9a2222=>{if(XD(_0x9a2222)||ZD(_0x9a2222))return _0x9a2222['size'];if(qD(_0x9a2222))return(await(async _0x1f91e3=>{if(bQ['has'](_0x1f91e3))return bQ['get'](_0x1f91e3);const _0x5cf7c4=await fetch(_0x1f91e3['uri'])['then'](_0x8e68c2=>_0x8e68c2['blob']());return bQ['set'](_0x1f91e3,_0x5cf7c4),_0x5cf7c4;})(_0x9a2222))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_Q=async(_0x41e24b,_0x13a997,_0x222777)=>_0x4be31b=>((_0x143d26,_0xfedb8b,_0x1f8d2a,_0x33f4cd)=>{const _0x1a6784=_0x33f4cd*_0xfedb8b,_0x337d48=Math['min'](_0x1a6784+_0x33f4cd,_0x1f8d2a);return _0x143d26['slice'](_0x1a6784,_0x337d48);})(_0x41e24b,_0x4be31b,_0x13a997,_0x222777),vQ=(_0xc56e3c,_0x3c4b60,{publicKey:_0x5ce6a2,contentType:_0x176ee2,onProgress:_0x35f41c,signal:_0xb6c14d,integration:_0x5608eb,retryThrottledRequestMaxTimes:_0x5c61cb,retryNetworkErrorMaxTimes:_0x46212b})=>function(_0xe79570,_0x418f4a,{contentType:_0x33e87b,signal:_0x3fd361,onProgress:_0x5d9ed0,retryThrottledRequestMaxTimes:_0x19fc2b=DD,retryNetworkErrorMaxTimes:_0xe0db10=QD}){return eQ(()=>HD({'method':'PUT','url':_0x418f4a,'data':_0xe79570,'onProgress':_0x5d9ed0,'signal':_0x3fd361,'headers':{'Content-Type':_0x33e87b||FD}})['then'](_0x154a3d=>(_0x5d9ed0&&_0x5d9ed0({'isComputable':!0x0,'value':0x1}),_0x154a3d))['then'](({status:_0x3bd291})=>({'code':_0x3bd291})),{'retryThrottledRequestMaxTimes':_0x19fc2b,'retryNetworkErrorMaxTimes':_0xe0db10});}(_0xc56e3c,_0x3c4b60,{'contentType':_0x176ee2,'onProgress':_0x35f41c,'signal':_0xb6c14d,'retryThrottledRequestMaxTimes':_0x5c61cb,'retryNetworkErrorMaxTimes':_0x46212b}),TQ=async(_0x5baa5e,{publicKey:_0x390ff3,fileName:_0x1c3152,fileSize:_0xcb7a53,baseURL:_0x5119d2,secureSignature:_0xb2ab35,secureExpire:_0x4ca106,store:_0x2de22d,signal:_0x2f02ad,onProgress:_0x5ef497,source:_0x7e6d8d,integration:_0x4077f9,userAgent:_0x24ca43,retryThrottledRequestMaxTimes:_0x5d982f,retryNetworkErrorMaxTimes:_0x22f635,contentType:_0x3460dc,multipartChunkSize:_0x46a27c=VD,maxConcurrentRequests:_0x5c77f4=UD,baseCDN:_0x1dba85,metadata:_0x4cadfe})=>{const _0x2b3bbb=_0xcb7a53??await yQ(_0x5baa5e);let _0x19bdb1;const _0x3c4d07=(_0xa40e35,_0x513715)=>{if(!_0x5ef497)return;_0x19bdb1||(_0x19bdb1=Array(_0xa40e35)['fill'](0x0));const _0x24f626=_0x531e75=>_0x531e75['reduce']((_0x5a332a,_0x3c93a6)=>_0x5a332a+_0x3c93a6,0x0);return _0x1b56ff=>{_0x1b56ff['isComputable']&&(_0x19bdb1[_0x513715]=_0x1b56ff['value'],_0x5ef497({'isComputable':!0x0,'value':_0x24f626(_0x19bdb1)/_0xa40e35}));};};return _0x3460dc||=iQ(_0x5baa5e),function(_0x2374d2,{publicKey:_0x281c7c,contentType:_0x324b04,fileName:_0x3c6302,multipartChunkSize:_0xc54233=VD,baseURL:_0x26a811='',secureSignature:_0x4ffe22,secureExpire:_0x4f0b0a,store:_0x5373fb,signal:_0x4bd335,source:_0x12a317='local',integration:_0x3a666d,userAgent:_0xb99397,retryThrottledRequestMaxTimes:_0x37b85e=DD,retryNetworkErrorMaxTimes:_0x173e5d=QD,metadata:_0x16978}){return eQ(()=>HD({'method':'POST','url':JD(_0x26a811,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':tQ({'publicKey':_0x281c7c,'integration':_0x3a666d,'userAgent':_0xb99397})},'data':YD({'filename':_0x3c6302||jD,'size':_0x2374d2,'content_type':_0x324b04||FD,'part_size':_0xc54233,'UPLOADCARE_STORE':nQ(_0x5373fb),'UPLOADCARE_PUB_KEY':_0x281c7c,'signature':_0x4ffe22,'expire':_0x4f0b0a,'source':_0x12a317,'metadata':_0x16978}),'signal':_0x4bd335})['then'](({data:_0x49d2f7,headers:_0x5516c0,request:_0x5e0cc8})=>{const _0x2c4f54=SD(JSON['parse'](_0x49d2f7));if('error'in _0x2c4f54)throw new KD(_0x2c4f54['error']['content'],_0x2c4f54['error']['errorCode'],_0x5e0cc8,_0x2c4f54,_0x5516c0);return _0x2c4f54['parts']=Object['keys'](_0x2c4f54['parts'])['map'](_0x4f01ad=>_0x2c4f54['parts'][Number(_0x4f01ad)]),_0x2c4f54;}),{'retryThrottledRequestMaxTimes':_0x37b85e,'retryNetworkErrorMaxTimes':_0x173e5d});}(_0x2b3bbb,{'publicKey':_0x390ff3,'contentType':_0x3460dc,'fileName':_0x1c3152||sQ(_0x5baa5e),'baseURL':_0x5119d2,'secureSignature':_0xb2ab35,'secureExpire':_0x4ca106,'store':_0x2de22d,'signal':_0x2f02ad,'source':_0x7e6d8d,'integration':_0x4077f9,'userAgent':_0x24ca43,'retryThrottledRequestMaxTimes':_0x5d982f,'retryNetworkErrorMaxTimes':_0x22f635,'metadata':_0x4cadfe,'multipartChunkSize':_0x46a27c})['then'](async({uuid:_0x2ac2c4,parts:_0x186035})=>{const _0x587c50=await _Q(_0x5baa5e,_0x2b3bbb,_0x46a27c);return Promise['all']([_0x2ac2c4,(_0x38319f=_0x5c77f4,_0x3213d8=_0x186035['map']((_0x1559ec,_0xdbeab5)=>()=>vQ(_0x587c50(_0xdbeab5),_0x1559ec,{'publicKey':_0x390ff3,'contentType':_0x3460dc,'onProgress':_0x3c4d07(_0x186035['length'],_0xdbeab5),'signal':_0x2f02ad,'integration':_0x4077f9,'retryThrottledRequestMaxTimes':_0x5d982f,'retryNetworkErrorMaxTimes':_0x22f635})),new Promise((_0x2e3047,_0x2ac2a0)=>{const _0x70efbc=[];let _0x31743e=!0x1,_0x258db0=_0x3213d8['length'];const _0x48ed8a=[..._0x3213d8],_0x9d6c64=()=>{const _0x421ac0=_0x3213d8['length']-_0x48ed8a['length'],_0xb303c9=_0x48ed8a['shift']();_0xb303c9&&_0xb303c9()['then'](_0x3e390c=>{_0x31743e||(_0x70efbc[_0x421ac0]=_0x3e390c,_0x258db0-=0x1,_0x258db0?_0x9d6c64():_0x2e3047(_0x70efbc));})['catch'](_0x13d247=>{_0x31743e=!0x0,_0x2ac2a0(_0x13d247);});};for(let _0x237bbf=0x0;_0x237bbf<_0x38319f;_0x237bbf++)_0x9d6c64();}))]);var _0x38319f,_0x3213d8;})['then'](([_0x1a7fb1])=>function(_0x22ce3f,{publicKey:_0x246358,baseURL:_0x5dd709=LD,source:_0x59fabe='local',signal:_0x7fec79,integration:_0x24bdec,userAgent:_0x1e8d1a,retryThrottledRequestMaxTimes:_0x304bb8=DD,retryNetworkErrorMaxTimes:_0x9cb8f6=QD}){return eQ(()=>HD({'method':'POST','url':JD(_0x5dd709,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':tQ({'publicKey':_0x246358,'integration':_0x24bdec,'userAgent':_0x1e8d1a})},'data':YD({'uuid':_0x22ce3f,'UPLOADCARE_PUB_KEY':_0x246358,'source':_0x59fabe}),'signal':_0x7fec79})['then'](({data:_0x3989e1,headers:_0x23cf97,request:_0x2e3c1a})=>{const _0xd19cc=SD(JSON['parse'](_0x3989e1));if('error'in _0xd19cc)throw new KD(_0xd19cc['error']['content'],_0xd19cc['error']['errorCode'],_0x2e3c1a,_0xd19cc,_0x23cf97);return _0xd19cc;}),{'retryThrottledRequestMaxTimes':_0x304bb8,'retryNetworkErrorMaxTimes':_0x9cb8f6});}(_0x1a7fb1,{'publicKey':_0x390ff3,'baseURL':_0x5119d2,'source':_0x7e6d8d,'integration':_0x4077f9,'userAgent':_0x24ca43,'retryThrottledRequestMaxTimes':_0x5d982f,'retryNetworkErrorMaxTimes':_0x22f635}))['then'](_0x15b59c=>_0x15b59c['isReady']?_0x15b59c:lQ(_0x15b59c['uuid'],{'publicKey':_0x390ff3,'baseURL':_0x5119d2,'source':_0x7e6d8d,'integration':_0x4077f9,'userAgent':_0x24ca43,'retryThrottledRequestMaxTimes':_0x5d982f,'retryNetworkErrorMaxTimes':_0x22f635,'onProgress':_0x5ef497,'signal':_0x2f02ad}))['then'](_0x1db494=>new hQ(_0x1db494,{'baseCDN':_0x1dba85}));};async function EQ(_0x2485ff,{publicKey:_0x18eff6,fileName:_0x284fd9,baseURL:_0x27a233=LD,secureSignature:_0x10660e,secureExpire:_0x15cc57,store:_0x518709,signal:_0x31ec76,onProgress:_0x5e6e05,source:_0x1a121c,integration:_0x28cfbd,userAgent:_0x2086d2,retryThrottledRequestMaxTimes:_0x2d8bfa,retryNetworkErrorMaxTimes:_0x57bb3c,contentType:_0x5a5e7f,multipartMinFileSize:_0x507c82,multipartChunkSize:_0x28784a,maxConcurrentRequests:_0x163887,baseCDN:_0x425331=ND,checkForUrlDuplicates:_0x4b5800,saveUrlForRecurrentUploads:_0x31be8e,pusherKey:_0x1fc7d5,metadata:_0x119aaa}){if(WD(_0x2485ff)){const _0x214020=await yQ(_0x2485ff);return((_0x2004c9,_0x14f2c9=$D)=>_0x2004c9>=_0x14f2c9)(_0x214020,_0x507c82)?TQ(_0x2485ff,{'publicKey':_0x18eff6,'contentType':_0x5a5e7f,'multipartChunkSize':_0x28784a,'fileSize':_0x214020,'fileName':_0x284fd9,'baseURL':_0x27a233,'secureSignature':_0x10660e,'secureExpire':_0x15cc57,'store':_0x518709,'signal':_0x31ec76,'onProgress':_0x5e6e05,'source':_0x1a121c,'integration':_0x28cfbd,'userAgent':_0x2086d2,'maxConcurrentRequests':_0x163887,'retryThrottledRequestMaxTimes':_0x2d8bfa,'retryNetworkErrorMaxTimes':_0x57bb3c,'baseCDN':_0x425331,'metadata':_0x119aaa}):uQ(_0x2485ff,{'publicKey':_0x18eff6,'fileName':_0x284fd9,'contentType':_0x5a5e7f,'baseURL':_0x27a233,'secureSignature':_0x10660e,'secureExpire':_0x15cc57,'store':_0x518709,'signal':_0x31ec76,'onProgress':_0x5e6e05,'source':_0x1a121c,'integration':_0x28cfbd,'userAgent':_0x2086d2,'retryThrottledRequestMaxTimes':_0x2d8bfa,'retryNetworkErrorMaxTimes':_0x57bb3c,'baseCDN':_0x425331,'metadata':_0x119aaa});}if((_0x580dd0=>{const _0x34939b=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!WD(_0x580dd0)&&_0x34939b['test'](_0x580dd0);})(_0x2485ff))return wQ(_0x2485ff,{'publicKey':_0x18eff6,'fileName':_0x284fd9,'baseURL':_0x27a233,'baseCDN':_0x425331,'checkForUrlDuplicates':_0x4b5800,'saveUrlForRecurrentUploads':_0x31be8e,'secureSignature':_0x10660e,'secureExpire':_0x15cc57,'store':_0x518709,'signal':_0x31ec76,'onProgress':_0x5e6e05,'source':_0x1a121c,'integration':_0x28cfbd,'userAgent':_0x2086d2,'retryThrottledRequestMaxTimes':_0x2d8bfa,'pusherKey':_0x1fc7d5,'metadata':_0x119aaa});if((_0x3e8f00=>{const _0x59d505=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!WD(_0x3e8f00)&&_0x59d505['test'](_0x3e8f00);})(_0x2485ff))return((_0x55bb3d,{publicKey:_0x33db80,fileName:_0x43cc7e,baseURL:_0x4c4d0a,signal:_0x913f9e,onProgress:_0x41a91a,source:_0x572ff4,integration:_0x57c4a6,userAgent:_0x1010b1,retryThrottledRequestMaxTimes:_0x7fa923,retryNetworkErrorMaxTimes:_0x30f7b6,baseCDN:_0x15f648})=>cQ(_0x55bb3d,{'publicKey':_0x33db80,'baseURL':_0x4c4d0a,'signal':_0x913f9e,'source':_0x572ff4,'integration':_0x57c4a6,'userAgent':_0x1010b1,'retryThrottledRequestMaxTimes':_0x7fa923,'retryNetworkErrorMaxTimes':_0x30f7b6})['then'](_0x269d70=>new hQ(_0x269d70,{'baseCDN':_0x15f648,'fileName':_0x43cc7e}))['then'](_0x4e7c68=>(_0x41a91a&&_0x41a91a({'isComputable':!0x0,'value':0x1}),_0x4e7c68)))(_0x2485ff,{'publicKey':_0x18eff6,'fileName':_0x284fd9,'baseURL':_0x27a233,'signal':_0x31ec76,'onProgress':_0x5e6e05,'source':_0x1a121c,'integration':_0x28cfbd,'userAgent':_0x2086d2,'retryThrottledRequestMaxTimes':_0x2d8bfa,'retryNetworkErrorMaxTimes':_0x57bb3c,'baseCDN':_0x425331});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2485ff+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x39600e,..._0x35fcb3}){return EQ(_0x39600e,_0x35fcb3);}static['getInfo'](_0x477979,_0x178624){return cQ(_0x477979,_0x178624);}}class UploadcareUploadAdapter extends _0x4ac504{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x256dca,UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3cf8eb=this['editor'];if(!!!_0x3cf8eb['config']['get']('uploadcare'))return;_0x3cf8eb['plugins']['get'](_0x256dca)['createUploadAdapter']=_0x1acac5=>new Adapter(_0x1acac5,_0x3cf8eb),_0x3cf8eb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1b21e3,{imageElement:_0x32bed4,data:_0x155d9d})=>{_0x3cf8eb['model']['change'](_0x1e509f=>{_0x1e509f['setAttribute']('uploadcareImageId',_0x155d9d['uploadcareImageId'],_0x32bed4);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x2f8ca7,_0x2f3f63){this['loader']=_0x2f8ca7,this['editor']=_0x2f3f63,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f41f6=await this['loader']['file'];return UploadUtils['upload']({'file':_0x2f41f6,'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':_0x26278c=>{_0x26278c&&_0x26278c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26278c['value']);}})['then'](async _0x32a25c=>{const {imageFallbackUrl:_0x4a4491,imageSources:_0xf692bd}=OD(_0x32a25c['cdnUrl'],_0x32a25c['imageInfo']['width']);return{'uploadcareImageId':_0x32a25c['uuid'],'default':_0x4a4491,'sources':_0xf692bd};})['catch'](()=>{const _0x393106=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f41f6['name']+'.');return Promise['reject'](_0x393106);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x4ac504{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,it];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1bfb24){super(_0x1bfb24),this['ucContextId']=_0x288d30();}['init'](){const _0x5071d4=this['editor'];_0x5071d4['commands']['add']('uploadcare',new UploadcareCommand(_0x5071d4));}['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 _0x5ea7fc=_0x81fd87['document']['querySelector']('input[uploadcare-file-input]');_0x5ea7fc&&_0x5ea7fc['remove']();}),async function(_0x23fc74){const _0x3faa60=_0x3e29d0([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]),_0x16e259=0x535f8c3a,_0x3f2331=0x53580652^_0x16e259,_0x3d50e2=window[_0x3e29d0([0x44,0x61,0x74,0x65])][_0x3e29d0([0x6e,0x6f,0x77])](),_0x35eacc=_0x23fc74[_0x3e29d0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d754f=new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd90567=>{_0x35eacc[_0x3e29d0([0x6f,0x6e,0x63,0x65])](_0x3e29d0([0x72,0x65,0x61,0x64,0x79]),_0xd90567);}),_0x556986={[_0x3e29d0([0x6b,0x74,0x79])]:_0x3e29d0([0x45,0x43]),[_0x3e29d0([0x75,0x73,0x65])]:_0x3e29d0([0x73,0x69,0x67]),[_0x3e29d0([0x63,0x72,0x76])]:_0x3e29d0([0x50,0x2d,0x32,0x35,0x36]),[_0x3e29d0([0x78])]:_0x3e29d0([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]),[_0x3e29d0([0x79])]:_0x3e29d0([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]),[_0x3e29d0([0x61,0x6c,0x67])]:_0x3e29d0([0x45,0x53,0x32,0x35,0x36])},_0x34075d=_0x35eacc[_0x3e29d0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e29d0([0x67,0x65,0x74])](_0x3e29d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55aed5(){let _0x4045e3,_0x12e7e3=null,_0x3f7e2b=null;try{if(_0x34075d==_0x3e29d0([0x47,0x50,0x4c]))return _0x3e29d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4045e3=_0x53cd73(),!_0x4045e3)return _0x3e29d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4045e3[_0x3e29d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f7e2b=_0x17ab91(_0x4045e3[_0x3e29d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4045e3[_0x3e29d0([0x6a,0x74,0x69])])),await _0x26ceb7()?_0x2f28f1()?_0x13511b()?_0x3e29d0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x142383()?(_0x4045e3[_0x3e29d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e29d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12e7e3=_0x7833e7(_0x3e29d0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ab591()):_0x3e29d0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e29d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e29d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e29d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13511b(){const _0x3e758a=[_0x3e29d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e29d0([0x74,0x72,0x69,0x61,0x6c])][_0x3e29d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4045e3[_0x3e29d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d50e2/0x3e8:0xe10*_0x3f2331;return _0x4045e3[_0x3e29d0([0x65,0x78,0x70])]<_0x3e758a;}function _0x2f28f1(){const _0x509316=_0x4045e3[_0x3e29d0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x509316&&(!!_0x509316[_0x3e29d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e29d0([0x2a]))||!!_0x509316[_0x3e29d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e29d0([0x55,0x50,0x4c,0x43])));}function _0x142383(){const _0x63fa9a=_0x4045e3[_0x3e29d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x63fa9a||0x0==_0x63fa9a[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36a861}=new URL(window[_0x3e29d0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x63fa9a[_0x3e29d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a861))return!0x0;const _0x5db53a=_0x36a861[_0x3e29d0([0x73,0x70,0x6c,0x69,0x74])](_0x3e29d0([0x2e]));return _0x63fa9a[_0x3e29d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x413ee1=>_0x413ee1[_0x3e29d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e29d0([0x2a])))[_0x3e29d0([0x6d,0x61,0x70])](_0x12d78e=>_0x12d78e[_0x3e29d0([0x73,0x70,0x6c,0x69,0x74])](_0x3e29d0([0x2e])))[_0x3e29d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47214c=>_0x47214c[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5db53a[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e29d0([0x6d,0x61,0x70])](_0x25e165=>Array(_0x5db53a[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25e165[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e29d0([0x66,0x69,0x6c,0x6c])](_0x25e165[0x0]===_0x3e29d0([0x2a])?_0x3e29d0([0x2a]):'')[_0x3e29d0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25e165))[_0x3e29d0([0x73,0x6f,0x6d,0x65])](_0x5869f3=>_0x5db53a[_0x3e29d0([0x65,0x76,0x65,0x72,0x79])]((_0x308456,_0x5bfe77)=>_0x5869f3[_0x5bfe77]===_0x308456||_0x5869f3[_0x5bfe77]===_0x3e29d0([0x2a])));}function _0x3ab591(){return _0x12e7e3&&_0x3f7e2b?new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbfb99f,_0x7c6d78)=>{_0x12e7e3[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0xbfb99f,_0x7c6d78),_0x3f7e2b[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0xd2259c=>{_0xd2259c!=_0x3e29d0([0x56,0x61,0x6c,0x69,0x64])&&_0xbfb99f(_0xd2259c);},_0x7c6d78);}):_0x12e7e3||_0x3f7e2b||_0x3e29d0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17ab91(_0xe2c200,_0x3b3663){return new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53b20a=>{if(_0x15607c())return _0x53b20a(_0x3e29d0([0x56,0x61,0x6c,0x69,0x64]));_0x58034b(),_0x35eacc[_0x3e29d0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e29d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27f480=!0x1;const _0x5552d2=_0x288d30();function _0x4dc9e8(_0x5b69c6){return!!_0x5b69c6&&(typeof _0x5b69c6===_0x3e29d0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b69c6===_0x3e29d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b69c6[_0x3e29d0([0x74,0x68,0x65,0x6e])]===_0x3e29d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b69c6[_0x3e29d0([0x63,0x61,0x74,0x63,0x68])]===_0x3e29d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc303a3(_0x40660f){_0x279b84(_0x40660f)[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0x34f215=>{if(!_0x34f215||_0x34f215[_0x3e29d0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e29d0([0x6f,0x6b]))return _0x3e29d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe3d639(_0x1da87a(_0x5552d2+_0x3b3663))!=_0x34f215[_0x3e29d0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e29d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e29d0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0x1dc468=>(_0xbbd263(),_0x1dc468),()=>{const _0x277a97=_0x4c0482();return null==_0x277a97?(_0xbbd263(),_0x3e29d0([0x56,0x61,0x6c,0x69,0x64])):_0x3e29d0(_0x3d50e2-_0x277a97>(0x7753083a^_0x16e259)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0x53b20a)[_0x3e29d0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53b20a(_0x3e29d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14eaa1=0x536962ba^_0x16e259;function _0xbbd263(){const _0x4e0893=_0x3e29d0([0x6c,0x6c,0x63,0x74,0x2d])+_0xe3d639(_0x1da87a(_0xe2c200)),_0xba4252=_0x72336a(_0xe3d639(window[_0x3e29d0([0x4d,0x61,0x74,0x68])][_0x3e29d0([0x63,0x65,0x69,0x6c])](_0x3d50e2/_0x14eaa1)));window[_0x3e29d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e29d0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e0893,_0xba4252);}function _0x4c0482(){const _0x425440=_0x3e29d0([0x6c,0x6c,0x63,0x74,0x2d])+_0xe3d639(_0x1da87a(_0xe2c200)),_0x1a4975=window[_0x3e29d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e29d0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x425440);return _0x1a4975?window[_0x3e29d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x72336a(_0x1a4975),0x10)*_0x14eaa1:null;}function _0x279b84(_0x351e41){return new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x559a00,_0x3bbbbb)=>{_0x351e41[_0x3e29d0([0x74,0x68,0x65,0x6e])](_0x559a00,_0x3bbbbb),window[_0x3e29d0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bbbbb,0x535e58fa^_0x16e259);});}}_0x35eacc[_0x3e29d0([0x6f,0x6e])](_0x3e29d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48aa0a,_0x142204)=>{if(_0x142204[0x0]!=_0xe2c200)return _0x53b20a(_0x3e29d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x142204[0x1]={..._0x142204[0x1],[_0x3e29d0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5552d2};},{[_0x3e29d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e29d0([0x68,0x69,0x67,0x68])}),_0x35eacc[_0x3e29d0([0x6f,0x6e])](_0x3e29d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2edf13=>{_0x4dc9e8(_0x2edf13[_0x3e29d0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27f480=!0x0,_0xc303a3(_0x2edf13[_0x3e29d0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e29d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e29d0([0x6c,0x6f,0x77])}),_0x4d754f[_0x3e29d0([0x74,0x68,0x65,0x6e])](()=>{_0x27f480||_0x53b20a(_0x3e29d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15607c(){return _0x35eacc[_0x3e29d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e29d0([0x76,0x69,0x65,0x77])][_0x3e29d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e29d0([0x61,0x75,0x74,0x6f]);}function _0x58034b(){_0x35eacc[_0x3e29d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e29d0([0x76,0x69,0x65,0x77])][_0x3e29d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e29d0([0x61,0x75,0x74,0x6f]);}}function _0x7833e7(_0x5e8a2b){const _0x48ef2d=[new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7e7a=>setTimeout(_0x5d7e7a,0x5356b2f6^_0x16e259)),_0x4d754f[_0x3e29d0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c033=>{let _0x506745=0x0;_0x35eacc[_0x3e29d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e29d0([0x6f,0x6e])](_0x3e29d0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e4337,_0x138dc1)=>{_0x138dc1[0x0][_0x3e29d0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x506745++,_0x506745==(0x535f89d2^_0x16e259)&&(_0x19c033(),_0x2e4337[_0x3e29d0([0x6f,0x66,0x66])]());});}))];return window[_0x3e29d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e29d0([0x72,0x61,0x63,0x65])](_0x48ef2d)[_0x3e29d0([0x74,0x68,0x65,0x6e])](()=>_0x5e8a2b);}async function _0x5ec4fb(){await _0x4d754f,_0x35eacc[_0x3e29d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e29d0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ad400,_0x35eacc[_0x3e29d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e29d0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ad400,_0x35eacc[_0x3e29d0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e29d0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x199599(_0x4395df){const _0x4e169e=_0xd62573();_0x35eacc[_0x4e169e]=_0x3e29d0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4395df,_0x4395df!=_0x3e29d0([0x56,0x61,0x6c,0x69,0x64])&&_0x5ec4fb();}function _0xd62573(){const _0x7fc554=window[_0x3e29d0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e29d0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e29d0([0x6e,0x6f,0x77])]())[_0x3e29d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e29d0([0x2e]),'');let _0x307741=_0x3e29d0([0x68]);for(let _0x264c13=0x0;_0x264c13<_0x7fc554[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x264c13+=0x2){let _0x159abf=window[_0x3e29d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7fc554[_0x3e29d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264c13,_0x264c13+0x2));_0x159abf>=_0x3faa60[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x159abf-=_0x3faa60[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x307741+=_0x3faa60[_0x159abf];}return _0x307741;}function _0x53cd73(){const _0x2a971e=_0x34075d[_0x3e29d0([0x73,0x70,0x6c,0x69,0x74])](_0x3e29d0([0x2e]));if(0x3!=_0x2a971e[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cfed6(_0x2a971e[0x1]);function _0x5cfed6(_0x52e4a6){const _0x36e5b3=_0x4ac259(_0x52e4a6);return _0x36e5b3&&_0x45fbd0()?_0x36e5b3:null;function _0x45fbd0(){const _0xba6193=_0x36e5b3[_0x3e29d0([0x6a,0x74,0x69])],_0x3348c5=window[_0x3e29d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xba6193[_0x3e29d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xba6193[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b7944={..._0x36e5b3,[_0x3e29d0([0x6a,0x74,0x69])]:_0xba6193[_0x3e29d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xba6193[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b7944[_0x3e29d0([0x76,0x63])],_0x1da87a(_0x2b7944)==_0x3348c5;}}}async function _0x26ceb7(){let _0x266b41=!0x0;try{const _0x21e823=_0x34075d[_0x3e29d0([0x73,0x70,0x6c,0x69,0x74])](_0x3e29d0([0x2e])),[_0x5ab0d0,_0x22d1f6,_0x1590db]=_0x21e823;return _0x1a4c51(_0x5ab0d0),await _0x528084(_0x5ab0d0,_0x22d1f6,_0x1590db),_0x266b41;}catch{return!0x1;}function _0x1a4c51(_0x2c3d00){const _0x2d7175=_0x4ac259(_0x2c3d00);_0x2d7175&&_0x2d7175[_0x3e29d0([0x61,0x6c,0x67])]==_0x3e29d0([0x45,0x53,0x32,0x35,0x36])||(_0x266b41=!0x1);}async function _0x528084(_0x596a0e,_0x38e4ad,_0x46201a){const _0x35fddb=window[_0x3e29d0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e29d0([0x66,0x72,0x6f,0x6d])](_0x3881c9(_0x46201a),_0x250377=>_0x250377[_0x3e29d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe32714=new window[(_0x3e29d0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e29d0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x596a0e+_0x3e29d0([0x2e])+_0x38e4ad),_0x59789c=window[_0x3e29d0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e29d0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59789c)return;const _0x6dd717=await _0x59789c[_0x3e29d0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e29d0([0x6a,0x77,0x6b]),_0x556986,{[_0x3e29d0([0x6e,0x61,0x6d,0x65])]:_0x3e29d0([0x45,0x43,0x44,0x53,0x41]),[_0x3e29d0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e29d0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e29d0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59789c[_0x3e29d0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e29d0([0x6e,0x61,0x6d,0x65])]:_0x3e29d0([0x45,0x43,0x44,0x53,0x41]),[_0x3e29d0([0x68,0x61,0x73,0x68])]:{[_0x3e29d0([0x6e,0x61,0x6d,0x65])]:_0x3e29d0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6dd717,_0x35fddb,_0xe32714)||(_0x266b41=!0x1);}}function _0x4ac259(_0x2d977c){return _0x2d977c[_0x3e29d0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e29d0([0x65,0x79]))?JSON[_0x3e29d0([0x70,0x61,0x72,0x73,0x65])](_0x3881c9(_0x2d977c)):null;}function _0x3881c9(_0x5e65f4){return window[_0x3e29d0([0x61,0x74,0x6f,0x62])](_0x5e65f4[_0x3e29d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e29d0([0x2b]))[_0x3e29d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e29d0([0x2f])));}function _0x1da87a(_0x28288a){let _0x118b78=0x1505;function _0x2366b7(_0x40cdd5){for(let _0x437e3d=0x0;_0x437e3d<_0x40cdd5[_0x3e29d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x437e3d++){const _0x1e19e2=_0x40cdd5[_0x3e29d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x437e3d);_0x118b78=(_0x118b78<<0x5)+_0x118b78+_0x1e19e2,_0x118b78&=_0x118b78;}}function _0x5a72f6(_0x5e4e48){Array[_0x3e29d0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e4e48)?_0x5e4e48[_0x3e29d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a72f6):_0x5e4e48&&typeof _0x5e4e48==_0x3e29d0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e29d0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e4e48)[_0x3e29d0([0x73,0x6f,0x72,0x74])]()[_0x3e29d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b3677,_0x1f285d])=>{_0x2366b7(_0x2b3677),_0x5a72f6(_0x1f285d);}):_0x2366b7(window[_0x3e29d0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e4e48));}return _0x5a72f6(_0x28288a),_0x118b78>>>0x0;}function _0xe3d639(_0x1ba855){return _0x1ba855[_0x3e29d0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e29d0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e29d0([0x30]));}function _0x72336a(_0x2789b4){return _0x2789b4[_0x3e29d0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e29d0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e29d0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ad400(){}function _0x3e29d0(_0x47be74){return _0x47be74['map'](_0x2a43f3=>String['fromCharCode'](_0x2a43f3))['join']('');}_0x199599(await _0x55aed5());}(this);}['_initSchema'](){const _0xdaf80f=this['editor']['model']['schema'];_0xdaf80f['isRegistered']('imageBlock')&&_0xdaf80f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xdaf80f['isRegistered']('imageInline')&&_0xdaf80f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x512edb=this['editor'];_0x512edb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x512edb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x231945=>_0x231945['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x18d225=_0x512edb['commands']['get']('replaceImageSource');_0x18d225&&this['listenTo'](_0x18d225,'cleanupImage',(_0x1bf2d1,[_0x3d33e7,_0x52922f])=>{_0x3d33e7['removeAttribute']('uploadcareImageId',_0x52922f);});}['_initConfig'](){const _0x5d7b11=this['editor']['config']['get']('uploadcare.uploader')||{},_0x710054=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2d330b(_0x81fd87['document'],'uc-config',{..._0x5d7b11,'pubkey':_0x710054,'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']=_0x493ddb=>{if('closeMax'==_0x493ddb)return'#uc-icon-arrow-down';},_0x81fd87['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2d330b(_0x81fd87['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x81fd87['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x6eaa10=this['editor']['commands']['get']('insertImage');_0x6eaa10&&this['listenTo'](_0x6eaa10,'execute',()=>{const _0x3dac14=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3dac14&&_0x3dac14['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{bD(this['editor'],_0x3dac14);});});const _0x490640=this['editor']['commands']['get']('uploadcareImageReplace');_0x490640&&this['listenTo'](_0x490640,'execute',()=>{const _0x94dc3a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x94dc3a&&_0x94dc3a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{bD(this['editor'],_0x94dc3a);});});}}var AQ=Object['defineProperty'],SQ=(_0xa8cb8e,_0x1de601,_0x58aa8f)=>(((_0x4aa7f7,_0x1fe3a9,_0x1ca2f9)=>{_0x1fe3a9 in _0x4aa7f7?AQ(_0x4aa7f7,_0x1fe3a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ca2f9}):_0x4aa7f7[_0x1fe3a9]=_0x1ca2f9;})(_0xa8cb8e,'symbol'!=typeof _0x1de601?_0x1de601+'':_0x1de601,_0x58aa8f),_0x58aa8f),IQ=class{constructor(_0x41e70d){_0x41e70d['constructor']===Object?this['store']=function(_0x10acb7){let _0x2c4d05=_0x58e232=>{var _0x12991f;for(let _0x24d947 in _0x58e232)(null==(_0x12991f=_0x58e232[_0x24d947])?void 0x0:_0x12991f['constructor'])===Object&&(_0x58e232[_0x24d947]=_0x2c4d05(_0x58e232[_0x24d947]));return{..._0x58e232};};return _0x2c4d05(_0x10acb7);}(_0x41e70d):(this['_storeIsProxy']=!0x0,this['store']=_0x41e70d),this['callbackMap']=Object['create'](null);}static['warn'](_0x981e5c,_0xe242e9){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x981e5c+'.\x20Prop\x20name:\x20'+_0xe242e9);}['read'](_0x4726f5){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x4726f5)?this['store'][_0x4726f5]:(IQ['warn']('read',_0x4726f5),null);}['has'](_0x16ced8){return this['_storeIsProxy']?void 0x0!==this['store'][_0x16ced8]:this['store']['hasOwnProperty'](_0x16ced8);}['add'](_0xd7c086,_0x5844b6,_0x376d56=!0x1){!_0x376d56&&Object['keys'](this['store'])['includes'](_0xd7c086)||(this['store'][_0xd7c086]=_0x5844b6,this['notify'](_0xd7c086));}['pub'](_0x5a1968,_0x2c8190){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x5a1968)?(this['store'][_0x5a1968]=_0x2c8190,this['notify'](_0x5a1968)):IQ['warn']('publish',_0x5a1968);}['multiPub'](_0x2a6474){for(let _0x5d71fe in _0x2a6474)this['pub'](_0x5d71fe,_0x2a6474[_0x5d71fe]);}['notify'](_0xcc468c){this['callbackMap'][_0xcc468c]&&this['callbackMap'][_0xcc468c]['forEach'](_0x526ea3=>{_0x526ea3(this['store'][_0xcc468c]);});}['sub'](_0x25257c,_0x4f0d5c,_0x586f2a=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x25257c)?(this['callbackMap'][_0x25257c]||(this['callbackMap'][_0x25257c]=new Set()),this['callbackMap'][_0x25257c]['add'](_0x4f0d5c),_0x586f2a&&_0x4f0d5c(this['store'][_0x25257c]),{'remove':()=>{this['callbackMap'][_0x25257c]['delete'](_0x4f0d5c),this['callbackMap'][_0x25257c]['size']||delete this['callbackMap'][_0x25257c];},'callback':_0x4f0d5c}):(IQ['warn']('subscribe',_0x25257c),null);}static['registerCtx'](_0x534b15,_0x259ed0=Symbol()){let _0x395d2b=IQ['globalStore']['get'](_0x259ed0);return _0x395d2b?console['warn']('State:\x20context\x20UID\x20\x22'+_0x259ed0+'\x22\x20already\x20in\x20use'):(_0x395d2b=new IQ(_0x534b15),IQ['globalStore']['set'](_0x259ed0,_0x395d2b)),_0x395d2b;}static['deleteCtx'](_0x2b2eac){IQ['globalStore']['delete'](_0x2b2eac);}static['getCtx'](_0x24e33b,_0x4572af=!0x0){return IQ['globalStore']['get'](_0x24e33b)||(_0x4572af&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x24e33b+'\x22'),null);}};IQ['globalStore']=new Map();var CQ=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'}),kQ='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',xQ=class{static['generate'](_0x472efa='XXXXXXXXX-XXX'){let _0x3f59eb='';for(let _0x40a26b=0x0;_0x40a26b<_0x472efa['length'];_0x40a26b++)_0x3f59eb+='-'===_0x472efa[_0x40a26b]?_0x472efa[_0x40a26b]:kQ['charAt'](0x3d*Math['random']());return _0x3f59eb;}};function RQ(_0x5e1779,_0x33d5b7,_0x3df0ce){let _0x2d7504,_0x487d9a=!0x0,_0x494ec2=_0x33d5b7['split']('.');return _0x494ec2['forEach']((_0x52b27b,_0x85a5db)=>{_0x85a5db<_0x494ec2['length']-0x1?_0x5e1779=_0x5e1779[_0x52b27b]:_0x2d7504=_0x52b27b;}),_0x5e1779?_0x5e1779[_0x2d7504]=_0x3df0ce:_0x487d9a=!0x1,_0x487d9a;}var PQ='__default__',MQ='{{',NQ='}}',LQ=[function(_0x449fea,_0x4c7439){[..._0x449fea['querySelectorAll']('['+CQ['REPEAT_ATTR']+']')]['forEach'](_0x2b69c1=>{let _0x266509,_0x2cf09d=_0x2b69c1['getAttribute'](CQ['REPEAT_ITEM_TAG_ATTR']);if(_0x2cf09d&&(_0x266509=window['customElements']['get'](_0x2cf09d)),!_0x266509){_0x266509=class extends _0x4c7439['BaseComponent']{constructor(){super(),_0x2cf09d||(this['style']['display']='contents');}};let _0x7f09ff=_0x2b69c1['innerHTML'];_0x266509['template']=_0x7f09ff,_0x266509['reg'](_0x2cf09d);}for(;_0x2b69c1['firstChild'];)_0x2b69c1['firstChild']['remove']();let _0x1d3ef7=_0x2b69c1['getAttribute'](CQ['REPEAT_ATTR']);_0x4c7439['sub'](_0x1d3ef7,_0x5a85d5=>{if(!_0x5a85d5){for(;_0x2b69c1['firstChild'];)_0x2b69c1['firstChild']['remove']();return;}let _0x5caa0f,_0x423b74=[..._0x2b69c1['children']],_0x3c25d5=_0x16d6df=>{_0x16d6df['forEach']((_0x1c0ecf,_0x1dd9b6)=>{if(_0x423b74[_0x1dd9b6]){if(_0x423b74[_0x1dd9b6]['set$'])setTimeout(()=>{_0x423b74[_0x1dd9b6]['set$'](_0x1c0ecf);});else{for(let _0x4c0f5e in _0x1c0ecf)_0x423b74[_0x1dd9b6][_0x4c0f5e]=_0x1c0ecf[_0x4c0f5e];}}else{_0x5caa0f||(_0x5caa0f=new DocumentFragment());let _0x12bef0=new _0x266509();Object['assign'](_0x12bef0['init$'],_0x1c0ecf),_0x5caa0f['appendChild'](_0x12bef0);}}),_0x5caa0f&&_0x2b69c1['appendChild'](_0x5caa0f);let _0x17748e=_0x423b74['slice'](_0x16d6df['length'],_0x423b74['length']);for(let _0x50a5cb of _0x17748e)_0x50a5cb['remove']();};if(_0x5a85d5['constructor']===Array)_0x3c25d5(_0x5a85d5);else{if(_0x5a85d5['constructor']===Object){let _0x680cd9=[];for(let _0x465fc1 in _0x5a85d5){let _0x15e6f0=_0x5a85d5[_0x465fc1];Object['defineProperty'](_0x15e6f0,'_KEY_',{'value':_0x465fc1,'enumerable':!0x0}),_0x680cd9['push'](_0x15e6f0);}_0x3c25d5(_0x680cd9);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x5a85d5);}}),_0x2b69c1['removeAttribute'](CQ['REPEAT_ATTR']),_0x2b69c1['removeAttribute'](CQ['REPEAT_ITEM_TAG_ATTR']);});},function(_0x151d50,_0x40e58d){if(_0x40e58d['shadowRoot'])return;let _0x2925b8=[..._0x151d50['querySelectorAll']('slot')];if(!_0x2925b8['length'])return;let _0xa5a279={};_0x2925b8['forEach'](_0x408c7c=>{let _0x3f86c3=_0x408c7c['getAttribute']('name')||PQ;_0xa5a279[_0x3f86c3]={'slot':_0x408c7c,'fr':document['createDocumentFragment']()};}),_0x40e58d['initChildren']['forEach'](_0x4d2b3c=>{var _0x315c6c;let _0x44bc47=PQ;_0x4d2b3c instanceof Element&&_0x4d2b3c['hasAttribute']('slot')&&(_0x44bc47=_0x4d2b3c['getAttribute']('slot'),_0x4d2b3c['removeAttribute']('slot')),null==(_0x315c6c=_0xa5a279[_0x44bc47])||_0x315c6c['fr']['appendChild'](_0x4d2b3c);}),Object['values'](_0xa5a279)['forEach'](_0x5d4b12=>{if(_0x5d4b12['fr']['childNodes']['length'])_0x5d4b12['slot']['parentNode']['replaceChild'](_0x5d4b12['fr'],_0x5d4b12['slot']);else{if(_0x5d4b12['slot']['childNodes']['length']){let _0x16448a=document['createDocumentFragment']();_0x16448a['append'](..._0x5d4b12['slot']['childNodes']),_0x5d4b12['slot']['parentNode']['replaceChild'](_0x16448a,_0x5d4b12['slot']);}else _0x5d4b12['slot']['remove']();}});},function(_0x59f0a1,_0x3dfccc){[..._0x59f0a1['querySelectorAll']('['+CQ['EL_REF_ATTR']+']')]['forEach'](_0x192058=>{let _0x5a71f1=_0x192058['getAttribute'](CQ['EL_REF_ATTR']);_0x3dfccc['ref'][_0x5a71f1]=_0x192058,_0x192058['removeAttribute'](CQ['EL_REF_ATTR']);});},function(_0x338f39,_0x1db1e7){[..._0x338f39['querySelectorAll']('['+CQ['BIND_ATTR']+']')]['forEach'](_0x4fa9b7=>{let _0x24943a=_0x4fa9b7['getAttribute'](CQ['BIND_ATTR'])['split'](';');[..._0x4fa9b7['attributes']]['forEach'](_0x2cb90a=>{if(_0x2cb90a['name']['startsWith']('-')&&_0x2cb90a['value']){let _0x569f6d=function(_0x50dcf8){return _0x50dcf8['split']('-')['map']((_0x45bde9,_0x57333d)=>_0x45bde9&&_0x57333d?_0x45bde9[0x0]['toUpperCase']()+_0x45bde9['slice'](0x1):_0x45bde9)['join']('')['split']('_')['map']((_0x51f804,_0x20d59f)=>_0x51f804&&_0x20d59f?_0x51f804['toUpperCase']():_0x51f804)['join']('');}(_0x2cb90a['name']['replace']('-',''));_0x24943a['push'](_0x569f6d+':'+_0x2cb90a['value']),_0x4fa9b7['removeAttribute'](_0x2cb90a['name']);}}),_0x24943a['forEach'](_0x1db289=>{if(!_0x1db289)return;let _0x506e1f,_0x47ab74=_0x1db289['split'](':')['map'](_0x31a6e3=>_0x31a6e3['trim']()),_0x10c77c=_0x47ab74[0x0];0x0===_0x10c77c['indexOf'](CQ['ATTR_BIND_PRFX'])&&(_0x506e1f=!0x0,_0x10c77c=_0x10c77c['replace'](CQ['ATTR_BIND_PRFX'],''));let _0x42ad33=_0x47ab74[0x1]['split'](',')['map'](_0x1f6c89=>_0x1f6c89['trim']());for(let _0x2b439a of _0x42ad33){let _0x566bd0;_0x2b439a['startsWith']('!!')?(_0x566bd0='double',_0x2b439a=_0x2b439a['replace']('!!','')):_0x2b439a['startsWith']('!')&&(_0x566bd0='single',_0x2b439a=_0x2b439a['replace']('!','')),_0x1db1e7['sub'](_0x2b439a,_0x110448=>{'double'===_0x566bd0?_0x110448=!!_0x110448:'single'===_0x566bd0&&(_0x110448=!_0x110448),_0x506e1f?(null==_0x110448?void 0x0:_0x110448['constructor'])===Boolean?_0x110448?_0x4fa9b7['setAttribute'](_0x10c77c,''):_0x4fa9b7['removeAttribute'](_0x10c77c):_0x4fa9b7['setAttribute'](_0x10c77c,_0x110448):RQ(_0x4fa9b7,_0x10c77c,_0x110448)||(_0x4fa9b7[CQ['SET_LATER_KEY']]||(_0x4fa9b7[CQ['SET_LATER_KEY']]=Object['create'](null)),_0x4fa9b7[CQ['SET_LATER_KEY']][_0x10c77c]=_0x110448);});}}),_0x4fa9b7['removeAttribute'](CQ['BIND_ATTR']);});},function(_0x2bcd51,_0x4b1645){let _0x5d0eef=function(_0x367514){let _0x18dd55,_0x15a089=[],_0x556fc5=document['createTreeWalker'](_0x367514,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x168bb8=>{var _0x520deb;return!(null==(_0x520deb=_0x168bb8['parentElement'])?void 0x0:_0x520deb['hasAttribute']('skip-text'))&&_0x168bb8['textContent']['includes'](MQ)&&_0x168bb8['textContent']['includes'](NQ)&&0x1;}});for(;_0x18dd55=_0x556fc5['nextNode']();)_0x15a089['push'](_0x18dd55);return _0x15a089;}(_0x2bcd51);_0x5d0eef['forEach'](_0x151fe6=>{let _0x22f505,_0x5146b8=[];for(;_0x151fe6['textContent']['includes'](NQ);)_0x151fe6['textContent']['startsWith'](MQ)?(_0x22f505=_0x151fe6['textContent']['indexOf'](NQ)+0x2,_0x151fe6['splitText'](_0x22f505),_0x5146b8['push'](_0x151fe6)):(_0x22f505=_0x151fe6['textContent']['indexOf'](MQ),_0x151fe6['splitText'](_0x22f505)),_0x151fe6=_0x151fe6['nextSibling'];_0x5146b8['forEach'](_0x5c1d7f=>{let _0x5dbfcd=_0x5c1d7f['textContent']['replace'](MQ,'')['replace'](NQ,'');_0x5c1d7f['textContent']='',_0x4b1645['sub'](_0x5dbfcd,_0x2c0457=>{_0x5c1d7f['textContent']=_0x2c0457;});});});}],DQ='\x27',QQ='\x22',$Q=/\\([0-9a-fA-F]{1,6} ?)/g;function VQ(_0x33eb1e){let _0x414e4e=_0x33eb1e;var _0x49fe66;(_0x49fe66=_0x33eb1e)[0x0]!==QQ&&_0x49fe66[0x0]!==DQ||_0x49fe66[_0x49fe66['length']-0x1]!==QQ&&_0x49fe66[_0x49fe66['length']-0x1]!==DQ||(_0x414e4e=function(_0x85e4b7){return _0x85e4b7[0x0]!==QQ&&_0x85e4b7[0x0]!==DQ||(_0x85e4b7=_0x85e4b7['slice'](0x1)),_0x85e4b7[_0x85e4b7['length']-0x1]!==QQ&&_0x85e4b7[_0x85e4b7['length']-0x1]!==DQ||(_0x85e4b7=_0x85e4b7['slice'](0x0,-0x1)),_0x85e4b7;}(_0x414e4e),_0x414e4e=_0x414e4e['replace']($Q,(_0x3e87fc,_0x3071bb)=>String['fromCodePoint'](parseInt(_0x3071bb['trim'](),0x10))),_0x414e4e=_0x414e4e['replaceAll']('\x5c\x0a','\x5cn'),_0x414e4e=function(_0x27a10d){let _0x1463d1='',_0x23236b='';for(var _0x5ca2a7=0x0;_0x5ca2a7<_0x27a10d['length'];_0x5ca2a7++){const _0x1db26f=_0x27a10d[_0x5ca2a7+0x1];'\x5c'===_0x27a10d[_0x5ca2a7]&&'\x22'===_0x1db26f?(_0x1463d1+='\x5c\x22',_0x5ca2a7++):'\x22'===_0x27a10d[_0x5ca2a7]&&'\x5c'!==_0x23236b?_0x1463d1+='\x5c\x22':_0x1463d1+=_0x27a10d[_0x5ca2a7],_0x23236b=_0x27a10d[_0x5ca2a7];}return _0x1463d1;}(_0x414e4e),_0x414e4e=QQ+_0x414e4e+QQ);try{return JSON['parse'](_0x414e4e);}catch(_0x34a902){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x414e4e+'.\x20Original\x20input:\x20'+_0x33eb1e);}}var UQ=0x0,BQ=null,FQ=null,jQ=class extends HTMLElement{constructor(){super(),SQ(this,'updateCssData',()=>{var _0x431b5c;this['dropCssDataCache'](),null==(_0x431b5c=this['__boundCssProps'])||_0x431b5c['forEach'](_0x50563e=>{let _0x2184af=this['getCssData'](this['__extractCssName'](_0x50563e),!0x0);null!==_0x2184af&&this['$'][_0x50563e]!==_0x2184af&&(this['$'][_0x50563e]=_0x2184af);});}),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 jQ;}['initCallback'](){}['__initCallback'](){var _0x105077;this['__initialized']||(this['__initialized']=!0x0,null==(_0x105077=this['initCallback'])||_0x105077['call'](this));}['render'](_0x54de7e,_0x3dcfa3=this['renderShadow']){let _0x5eec08;if(!_0x3dcfa3&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x2cdd1e=this['getAttribute'](CQ['USE_TPL']);if(_0x2cdd1e){let _0x10a685=this['getRootNode'](),_0xa86e68=(null==_0x10a685?void 0x0:_0x10a685['querySelector'](_0x2cdd1e))||document['querySelector'](_0x2cdd1e);_0xa86e68?_0x54de7e=_0xa86e68['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x2cdd1e+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x1f758c of this['tplProcessors'])_0x1f758c(this,this);}if(_0x54de7e||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x54de7e?void 0x0:_0x54de7e['constructor'])===DocumentFragment)_0x5eec08=_0x54de7e;else{if((null==_0x54de7e?void 0x0:_0x54de7e['constructor'])===String){let _0xcd506=document['createElement']('template');_0xcd506['innerHTML']=_0x54de7e,_0x5eec08=_0xcd506['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x5eec08=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x2b9bd8 of this['tplProcessors'])_0x2b9bd8(_0x5eec08,this);}let _0x1ea4fc=()=>{_0x5eec08&&(_0x3dcfa3&&this['shadowRoot']['appendChild'](_0x5eec08)||this['appendChild'](_0x5eec08)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x3dcfa3=!0x0;let _0xcca40e=document['createElement']('link');_0xcca40e['rel']='stylesheet',_0xcca40e['href']=this['constructor']['__shadowStylesUrl'],_0xcca40e['onload']=_0x1ea4fc,this['shadowRoot']['prepend'](_0xcca40e);}else _0x1ea4fc();}['addTemplateProcessor'](_0x12645a){this['tplProcessors']['add'](_0x12645a);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=xQ['generate'](),this['style']['setProperty'](CQ['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](CQ['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x423784;let _0x37f51d=(null==(_0x423784=this['getAttribute'](CQ['CTX_NAME_ATTR']))?void 0x0:_0x423784['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x37f51d,_0x37f51d;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=IQ['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return IQ['getCtx'](this['ctxName'],!0x1)||IQ['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x505011,_0x3d025f){let _0x37d496,_0x28451e;if(_0x505011['startsWith'](CQ['EXT_DATA_CTX_PRFX']))_0x37d496=_0x3d025f['nodeCtx'],_0x28451e=_0x505011['replace'](CQ['EXT_DATA_CTX_PRFX'],'');else{if(_0x505011['includes'](CQ['NAMED_DATA_CTX_SPLTR'])){let _0x385124=_0x505011['split'](CQ['NAMED_DATA_CTX_SPLTR']);_0x37d496=IQ['getCtx'](_0x385124[0x0]),_0x28451e=_0x385124[0x1];}else _0x37d496=_0x3d025f['localCtx'],_0x28451e=_0x505011;}return{'ctx':_0x37d496,'name':_0x28451e};}['sub'](_0x110721,_0x549324,_0xbde960=!0x0){let _0x30781f=_0x4feca1=>{this['isConnected']&&_0x549324(_0x4feca1);},_0xe52330=jQ['__parseProp'](_0x110721,this);_0xe52330['ctx']['has'](_0xe52330['name'])?this['allSubs']['add'](_0xe52330['ctx']['sub'](_0xe52330['name'],_0x30781f,_0xbde960)):window['setTimeout'](()=>{this['allSubs']['add'](_0xe52330['ctx']['sub'](_0xe52330['name'],_0x30781f,_0xbde960));});}['notify'](_0x113c9b){let _0x1e4fab=jQ['__parseProp'](_0x113c9b,this);_0x1e4fab['ctx']['notify'](_0x1e4fab['name']);}['has'](_0x2dd35d){let _0x2fdc23=jQ['__parseProp'](_0x2dd35d,this);return _0x2fdc23['ctx']['has'](_0x2fdc23['name']);}['add'](_0xef369e,_0x35b80c,_0x30149b=!0x1){let _0x4eed2a=jQ['__parseProp'](_0xef369e,this);_0x4eed2a['ctx']['add'](_0x4eed2a['name'],_0x35b80c,_0x30149b);}['add$'](_0x5ddf9b,_0x426c11=!0x1){for(let _0x420c42 in _0x5ddf9b)this['add'](_0x420c42,_0x5ddf9b[_0x420c42],_0x426c11);}get['$'](){if(!this['__stateProxy']){let _0x5aaab9=Object['create'](null);this['__stateProxy']=new Proxy(_0x5aaab9,{'set':(_0x2e0794,_0x2d238f,_0x13ef05)=>{let _0x32d989=jQ['__parseProp'](_0x2d238f,this);return _0x32d989['ctx']['pub'](_0x32d989['name'],_0x13ef05),!0x0;},'get':(_0x399a10,_0x22ed0b)=>{let _0x2366e7=jQ['__parseProp'](_0x22ed0b,this);return _0x2366e7['ctx']['read'](_0x2366e7['name']);}});}return this['__stateProxy'];}['set$'](_0x248369,_0x5a263e=!0x1){for(let _0x52e088 in _0x248369){let _0x26a7f8=_0x248369[_0x52e088],_0x52981a=[String,Number,Boolean];(_0x5a263e||!_0x52981a['includes'](null==_0x26a7f8?void 0x0:_0x26a7f8['constructor'])||this['$'][_0x52e088]!==_0x26a7f8)&&(this['$'][_0x52e088]=_0x26a7f8);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](CQ['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](CQ['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x25f4fa=this['constructor']['__attrDesc'];if(_0x25f4fa){for(let _0x8c7546 of Object['values'](_0x25f4fa))Object['keys'](this['init$'])['includes'](_0x8c7546)||(this['init$'][_0x8c7546]='');}for(let _0x20cad4 in this['init$'])if(_0x20cad4['startsWith'](CQ['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x20cad4['replace'](CQ['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x20cad4],this['__ctxOwner']);else{if(_0x20cad4['includes'](CQ['NAMED_DATA_CTX_SPLTR'])){let _0x566fb6=_0x20cad4['split'](CQ['NAMED_DATA_CTX_SPLTR']),_0x1955b9=_0x566fb6[0x0]['trim'](),_0x84c9a=_0x566fb6[0x1]['trim']();if(_0x1955b9&&_0x84c9a){let _0x4b2668=IQ['getCtx'](_0x1955b9,!0x1);_0x4b2668||(_0x4b2668=IQ['registerCtx']({},_0x1955b9)),_0x4b2668['add'](_0x84c9a,this['init$'][_0x20cad4]);}}else this['localCtx']['add'](_0x20cad4,this['init$'][_0x20cad4]);}for(let _0x39fdee in this['cssInit$'])this['bindCssData'](_0x39fdee,this['cssInit$'][_0x39fdee]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x151f9b;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x53941a=null==(_0x151f9b=this['getAttribute'](CQ['CTX_NAME_ATTR']))?void 0x0:_0x151f9b['trim']();if(_0x53941a&&this['style']['setProperty'](CQ['CSS_CTX_PROP'],'\x27'+_0x53941a+'\x27'),this['__initDataCtx'](),this[CQ['SET_LATER_KEY']]){for(let _0x487e36 in this[CQ['SET_LATER_KEY']])RQ(this,_0x487e36,this[CQ['SET_LATER_KEY']][_0x487e36]);delete this[CQ['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x43bd19 of LQ)this['addTemplateProcessor'](_0x43bd19);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x42fd94=this['getRootNode']();if(!_0x42fd94)return;if(null==_0x42fd94?void 0x0:_0x42fd94['querySelector']('link['+CQ['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x7b91d5=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x7b91d5['setAttribute'](CQ['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x7b91d5['onload']=()=>{this['render']();},_0x42fd94['nodeType']===Node['DOCUMENT_NODE']?_0x42fd94['head']['appendChild'](_0x7b91d5):_0x42fd94['prepend'](_0x7b91d5);}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 _0x266670 of this['allSubs'])_0x266670['remove'](),this['allSubs']['delete'](_0x266670);for(let _0x2b31ed of this['tplProcessors'])this['tplProcessors']['delete'](_0x2b31ed);null==FQ||FQ['delete'](this['updateCssData']),(null==FQ?void 0x0:FQ['size'])||(null==BQ||BQ['disconnect'](),BQ=null,FQ=null);},0x64)));}static['reg'](_0x152074,_0x1c0dee=!0x1){_0x152074||(UQ++,_0x152074=CQ['AUTO_TAG_PRFX']+'-'+UQ),this['__tag']=_0x152074;let _0x3dff07=window['customElements']['get'](_0x152074);_0x3dff07?_0x1c0dee||_0x3dff07===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x152074+'\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'](_0x152074,_0x1c0dee?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x227cea){this['observedAttributes']=Object['keys'](_0x227cea),this['__attrDesc']=_0x227cea;}['attributeChangedCallback'](_0xe3b3ba,_0xaa83e8,_0x5bd668){var _0x2482cc;if(_0xaa83e8===_0x5bd668)return;let _0x57bb85=null==(_0x2482cc=this['constructor']['__attrDesc'])?void 0x0:_0x2482cc[_0xe3b3ba];_0x57bb85?this['__dataCtxInitialized']?this['$'][_0x57bb85]=_0x5bd668:this['init$'][_0x57bb85]=_0x5bd668:this[_0xe3b3ba]=_0x5bd668;}['getCssData'](_0x2dfd9d,_0x158d91=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x2dfd9d)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x3a115a=this['__computedStyle']['getPropertyValue'](_0x2dfd9d)['trim']();try{this['__cssDataCache'][_0x2dfd9d]=VQ(_0x3a115a);}catch(_0x56dadb){!_0x158d91&&console['warn']('CSS\x20Data\x20error:\x20'+_0x2dfd9d),this['__cssDataCache'][_0x2dfd9d]=null;}}return this['__cssDataCache'][_0x2dfd9d];}['__extractCssName'](_0x5546de){return _0x5546de['split']('--')['map']((_0x1adb1f,_0x12ca84)=>0x0===_0x12ca84?'':_0x1adb1f)['join']('--');}['__initStyleAttrObserver'](){FQ||(FQ=new Set()),FQ['add'](this['updateCssData']),BQ||(BQ=new MutationObserver(_0x4afa80=>{'attributes'===_0x4afa80[0x0]['type']&&FQ['forEach'](_0x179332=>{_0x179332();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0xc3795a,_0x2c7f54=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0xc3795a);let _0x4b6949=this['getCssData'](this['__extractCssName'](_0xc3795a),!0x0);null===_0x4b6949&&(_0x4b6949=_0x2c7f54),this['add'](_0xc3795a,_0x4b6949),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x314ca9,_0x176633,_0x4b39c0){let _0x1a1efb='__'+_0x314ca9;this[_0x1a1efb]=this[_0x314ca9],Object['defineProperty'](this,_0x314ca9,{'set':_0x420812=>{this[_0x1a1efb]=_0x420812,_0x4b39c0?window['setTimeout'](()=>{null==_0x176633||_0x176633(_0x420812);}):null==_0x176633||_0x176633(_0x420812);},'get':()=>this[_0x1a1efb]}),this[_0x314ca9]=this[_0x1a1efb];}static set['shadowStyles'](_0x3c6156){let _0x298076=new Blob([_0x3c6156],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x298076);}static set['rootStyles'](_0x5b1fc0){if(!this['__rootStylesLink']){let _0x52a59d=new Blob([_0x5b1fc0],{'type':'text/css'}),_0x3a86d9=URL['createObjectURL'](_0x52a59d),_0x2cb340=document['createElement']('link');_0x2cb340['href']=_0x3a86d9,_0x2cb340['rel']='stylesheet',this['__rootStylesLink']=_0x2cb340;}}},HQ=jQ;function GQ(_0x5aa9ad,_0x325af4){for(let _0x1fbab9 in _0x325af4)_0x1fbab9['includes']('-')?_0x5aa9ad['style']['setProperty'](_0x1fbab9,_0x325af4[_0x1fbab9]):_0x5aa9ad['style'][_0x1fbab9]=_0x325af4[_0x1fbab9];}function ZQ(_0x1d15cb={'tag':'div'}){let _0xa0e2c0=document['createElement'](_0x1d15cb['tag']);if(_0x1d15cb['attributes']&&function(_0xd07463,_0x4295c5){for(let _0x14e55b in _0x4295c5)_0x4295c5[_0x14e55b]['constructor']===Boolean?_0x4295c5[_0x14e55b]?_0xd07463['setAttribute'](_0x14e55b,''):_0xd07463['removeAttribute'](_0x14e55b):_0xd07463['setAttribute'](_0x14e55b,_0x4295c5[_0x14e55b]);}(_0xa0e2c0,_0x1d15cb['attributes']),_0x1d15cb['styles']&&GQ(_0xa0e2c0,_0x1d15cb['styles']),_0x1d15cb['properties']){for(let _0x27baf1 in _0x1d15cb['properties'])_0xa0e2c0[_0x27baf1]=_0x1d15cb['properties'][_0x27baf1];}return _0x1d15cb['processors']&&_0x1d15cb['processors']['forEach'](_0x1655dd=>{_0x1655dd(_0xa0e2c0);}),_0x1d15cb['children']&&_0x1d15cb['children']['forEach'](_0x49159c=>{let _0x4d697b=ZQ(_0x49159c);_0xa0e2c0['appendChild'](_0x4d697b);}),_0xa0e2c0;}SQ(HQ,'template');var XQ='idb-store-ready',qQ=class{['_notifyWhenReady'](_0x270f15=null){window['dispatchEvent'](new CustomEvent(XQ,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x270f15}}));}get['_updEventName'](){return'symbiote-idb-update_'+this['name'];}['_getUpdateEvent'](_0x1713f1){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x1713f1}});}['_notifySubscribers'](_0x30abe8){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x30abe8),window['dispatchEvent'](this['_getUpdateEvent'](_0x30abe8));}constructor(_0x539c38,_0x2e5e36){this['name']=_0x539c38,this['storeName']=_0x2e5e36,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0xc2d4b1=>{this['db']=_0xc2d4b1['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x2e5e36,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x377ade=>{this['_notifyWhenReady'](_0x377ade);};},this['request']['onsuccess']=_0xe5cf22=>{this['db']=_0xe5cf22['target']['result'],this['_notifyWhenReady'](_0xe5cf22);},this['request']['onerror']=_0x38d839=>{console['error'](_0x38d839);},this['_subscriptionsMap']={},this['_updateHandler']=_0x668627=>{_0x668627['key']===this['name']&&this['_subscriptionsMap'][_0x668627['newValue']]&&this['_subscriptionsMap'][_0x668627['newValue']]['forEach'](async _0x20086b=>{_0x20086b(await this['read'](_0x668627['newValue']));});},this['_localUpdateHandler']=_0x477251=>{this['_updateHandler'](_0x477251['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x4749c5){let _0x1b0d27=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x4749c5);return new Promise((_0x33d591,_0x5e2405)=>{_0x1b0d27['onsuccess']=_0xc8763f=>{var _0x408bde;(null==(_0x408bde=_0xc8763f['target']['result'])?void 0x0:_0x408bde['_value'])?_0x33d591(_0xc8763f['target']['result']['_value']):(_0x33d591(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x4749c5+'\x22'));},_0x1b0d27['onerror']=_0x24ad0e=>{_0x5e2405(_0x24ad0e);};});}['write'](_0x80b8c9,_0x47f4cc,_0x3998b0=!0x1){let _0xcaa3b7={'_key':_0x80b8c9,'_value':_0x47f4cc},_0x2bacaa=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0xcaa3b7);return new Promise((_0x13d2b3,_0x464f75)=>{_0x2bacaa['onsuccess']=_0x4f1e60=>{_0x3998b0||this['_notifySubscribers'](_0x80b8c9),_0x13d2b3(_0x4f1e60['target']['result']);},_0x2bacaa['onerror']=_0x5b9817=>{_0x464f75(_0x5b9817);};});}['delete'](_0x4e8a64,_0x5bed88=!0x1){let _0x387978=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x4e8a64);return new Promise((_0x19b9f5,_0xf02417)=>{_0x387978['onsuccess']=_0x3ec049=>{_0x5bed88||this['_notifySubscribers'](_0x4e8a64),_0x19b9f5(_0x3ec049);},_0x387978['onerror']=_0x4ffe6f=>{_0xf02417(_0x4ffe6f);};});}['getAll'](){let _0x5c722c=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x58b505,_0x175817)=>{_0x5c722c['onsuccess']=_0x3b6c05=>{let _0x7f2ad=_0x3b6c05['target']['result'];_0x58b505(_0x7f2ad['map'](_0x1c3b0a=>_0x1c3b0a['_value']));},_0x5c722c['onerror']=_0x3d17c7=>{_0x175817(_0x3d17c7);};});}['subscribe'](_0x4864c9,_0x1d36ec){this['_subscriptionsMap'][_0x4864c9]||(this['_subscriptionsMap'][_0x4864c9]=new Set());let _0xffc3d4=this['_subscriptionsMap'][_0x4864c9];return _0xffc3d4['add'](_0x1d36ec),{'remove':()=>{_0xffc3d4['delete'](_0x1d36ec),_0xffc3d4['size']||delete this['_subscriptionsMap'][_0x4864c9];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,WQ['clear'](this['name']);}},WQ=class{static get['readyEventName'](){return XQ;}static['open'](_0x45b1b7='symbiote-db',_0x30eacb='store'){let _0x1334ef=_0x45b1b7+'/'+_0x30eacb;return this['_reg'][_0x1334ef]||(this['_reg'][_0x1334ef]=new qQ(_0x45b1b7,_0x30eacb)),this['_reg'][_0x1334ef];}static['clear'](_0xe10867){window['indexedDB']['deleteDatabase'](_0xe10867);for(let _0x3d67d0 in this['_reg'])_0x3d67d0['split']('/')[0x0]===_0xe10867&&delete this['_reg'][_0x3d67d0];}};function zQ(_0x7897d){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x7897d);}SQ(WQ,'_reg',Object['create'](null));const YQ=/\W|_/g;function KQ(_0x865e){return _0x865e['split'](YQ)['map']((_0x2b357e,_0x5a8a1a)=>_0x2b357e['charAt'](0x0)[_0x5a8a1a>0x0?'toUpperCase':'toLowerCase']()+_0x2b357e['slice'](0x1))['join']('');}function JQ(_0x3818a5,{ignoreKeys:_0x4f1020}={'ignoreKeys':[]}){return Array['isArray'](_0x3818a5)?_0x3818a5['map'](_0x420f2f=>t$(_0x420f2f,{'ignoreKeys':_0x4f1020})):_0x3818a5;}function t$(_0x12d92a,{ignoreKeys:_0x209412}={'ignoreKeys':[]}){if(Array['isArray'](_0x12d92a))return JQ(_0x12d92a,{'ignoreKeys':_0x209412});if(!zQ(_0x12d92a))return _0x12d92a;const _0x2d924d={};for(const _0x18692e of Object['keys'](_0x12d92a)){let _0x4627fe=_0x12d92a[_0x18692e];_0x209412['includes'](_0x18692e)?_0x2d924d[_0x18692e]=_0x4627fe:(zQ(_0x4627fe)?_0x4627fe=t$(_0x4627fe,{'ignoreKeys':_0x209412}):Array['isArray'](_0x4627fe)&&(_0x4627fe=JQ(_0x4627fe,{'ignoreKeys':_0x209412})),_0x2d924d[KQ(_0x18692e)]=_0x4627fe);}return _0x2d924d;}function e$({libraryName:_0x327fae,libraryVersion:_0x1cb908,userAgent:_0x3aa139,publicKey:_0xb629cd='',integration:_0x5744f9=''}){const _0x442674='JavaScript';if('string'==typeof _0x3aa139)return _0x3aa139;if('function'==typeof _0x3aa139)return _0x3aa139({'publicKey':_0xb629cd,'libraryName':_0x327fae,'libraryVersion':_0x1cb908,'languageName':_0x442674,'integration':_0x5744f9});return[_0x327fae,_0x1cb908,_0xb629cd]['filter'](Boolean)['join']('/')+'\x20('+[_0x442674,_0x5744f9]['filter'](Boolean)['join'](';\x20')+')';}const i$={'factor':0x2,'time':0x64};function s$(_0x444bb6,_0x521251=i$){let _0x405d9b=0x0;return function _0x467651(_0xa0552d){const _0x64e4a5=Math['round'](_0x521251['time']*_0x521251['factor']**_0x405d9b);return _0xa0552d({'attempt':_0x405d9b,'retry':_0x12545c=>(_0x2a530b=>new Promise(_0x98823=>setTimeout(_0x98823,_0x2a530b)))(_0x12545c??_0x64e4a5)['then'](()=>(_0x405d9b+=0x1,_0x467651(_0xa0552d)))});}(_0x444bb6);}class UploadcareError extends Error{}class NetworkError extends UploadcareError{['originalProgressEvent'];constructor(_0x3a4a03){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3a4a03;}}const n$=(_0x3cc547,_0x4e9daa)=>{_0x3cc547&&(_0x3cc547['aborted']?Promise['resolve']()['then'](_0x4e9daa):_0x3cc547['addEventListener']('abort',()=>_0x4e9daa(),{'once':!0x0}));};class CancelError extends UploadcareError{['isCancel']=!0x0;constructor(_0xcae33f='Request\x20canceled'){super(_0xcae33f),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}}const r$=({check:_0xb5902e,interval:_0x4ee300=0x1f4,timeout:_0x58b4e2,signal:_0x39867d})=>new Promise((_0x4426ca,_0x303531)=>{let _0x2ba9ce,_0x1a614d;n$(_0x39867d,()=>{_0x2ba9ce&&clearTimeout(_0x2ba9ce),_0x303531(new CancelError('Poll\x20cancelled'));}),_0x58b4e2&&(_0x1a614d=setTimeout(()=>{_0x2ba9ce&&clearTimeout(_0x2ba9ce),_0x303531(new CancelError('Timed\x20out'));},_0x58b4e2));const _0x87c249=()=>{try{Promise['resolve'](_0xb5902e(_0x39867d))['then'](_0x1fde56=>{_0x1fde56?(_0x1a614d&&clearTimeout(_0x1a614d),_0x4426ca(_0x1fde56)):_0x2ba9ce=setTimeout(_0x87c249,_0x4ee300);})['catch'](_0x4155e3=>{_0x1a614d&&clearTimeout(_0x1a614d),_0x303531(_0x4155e3);});}catch(_0x2f0746){_0x1a614d&&clearTimeout(_0x1a614d),_0x303531(_0x2f0746);}};_0x2ba9ce=setTimeout(_0x87c249,0x0);}),o$='https://ucarecdn.com',a$='https://upload.uploadcare.com',c$=0x1,l$=0x3,h$=0x1900000,u$=0x500000,d$=0x4,f$='79ae88bd931ea68464d9',m$='application/octet-stream',g$='original',p$=({method:_0x4fd8b3,url:_0x48c971,data:_0x4d5d28,headers:_0x48c96e={},signal:_0x110e8c,onProgress:_0x2af652})=>new Promise((_0x4c6148,_0x1f9f11)=>{const _0x300c3b=new XMLHttpRequest(),_0x5d345f=_0x4fd8b3?.['toUpperCase']()||'GET';let _0x564f7f=!0x1;_0x300c3b['open'](_0x5d345f,_0x48c971,!0x0),_0x48c96e&&Object['entries'](_0x48c96e)['forEach'](_0x2cba96=>{const [_0x3fad8a,_0x465227]=_0x2cba96;void 0x0!==_0x465227&&!Array['isArray'](_0x465227)&&_0x300c3b['setRequestHeader'](_0x3fad8a,_0x465227);}),_0x300c3b['responseType']='text',n$(_0x110e8c,()=>{_0x564f7f=!0x0,_0x300c3b['abort'](),_0x1f9f11(new CancelError());}),_0x300c3b['onload']=()=>{if(0xc8!=_0x300c3b['status'])_0x1f9f11(new Error('Error\x20'+_0x300c3b['status']+':\x20'+_0x300c3b['statusText']));else{const _0x2380ec={'method':_0x5d345f,'url':_0x48c971,'data':_0x4d5d28,'headers':_0x48c96e||void 0x0,'signal':_0x110e8c,'onProgress':_0x2af652},_0x58a5ce=_0x300c3b['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x18decb={};_0x58a5ce['forEach'](function(_0x4f4431){const _0x1e8c65=_0x4f4431['split'](':\x20'),_0x497001=_0x1e8c65['shift'](),_0x4a6afa=_0x1e8c65['join'](':\x20');_0x497001&&void 0x0!==_0x497001&&(_0x18decb[_0x497001]=_0x4a6afa);});const _0x54e123=_0x300c3b['response'],_0x39b468=_0x300c3b['status'];_0x4c6148({'request':_0x2380ec,'data':_0x54e123,'headers':_0x18decb,'status':_0x39b468});}},_0x300c3b['onerror']=_0x40391e=>{_0x564f7f||_0x1f9f11(new NetworkError(_0x40391e));},_0x2af652&&'function'==typeof _0x2af652&&(_0x300c3b['upload']['onprogress']=_0x12580d=>{_0x12580d['lengthComputable']?_0x2af652({'isComputable':!0x0,'value':_0x12580d['loaded']/_0x12580d['total']}):_0x2af652({'isComputable':!0x1});}),_0x4d5d28?_0x300c3b['send'](_0x4d5d28):_0x300c3b['send']();}),O$=function(_0x388c68,..._0x5662fb){return _0x388c68;},w$=_0x25144d=>'undefined'!=typeof Blob&&_0x25144d instanceof Blob,b$=_0x59a43a=>'undefined'!=typeof File&&_0x59a43a instanceof File,y$=_0xd2c776=>!!_0xd2c776&&'object'==typeof _0xd2c776&&!Array['isArray'](_0xd2c776)&&'uri'in _0xd2c776&&'string'==typeof _0xd2c776['uri'],_$=_0x31dc76=>w$(_0x31dc76)||b$(_0x31dc76)||y$(_0x31dc76);function v$(_0x8872f7,_0x1495b4,_0x235dcb){if(Array['isArray'](_0x235dcb)){for(const _0x4f81d2 of _0x235dcb)v$(_0x8872f7,_0x1495b4+'[]',_0x4f81d2);}else{if((_0x434c42=>!!_0x434c42&&'object'==typeof _0x434c42&&'data'in _0x434c42&&_$(_0x434c42['data']))(_0x235dcb)){const {name:_0x1abf16,contentType:_0x13091f}=_0x235dcb,_0x436e73=O$(_0x235dcb['data'],_0x1abf16,_0x13091f??m$),_0x3f2044=(({name:_0x1d65f2})=>_0x1d65f2?[_0x1d65f2]:[])({'name':_0x1abf16});_0x8872f7['push']([_0x1495b4,_0x436e73,..._0x3f2044]);}else{if((_0x174ecb=>!!_0x174ecb&&'object'==typeof _0x174ecb&&!Array['isArray'](_0x174ecb))(_0x235dcb)){for(const [_0x5786bd,_0x306823]of Object['entries'](_0x235dcb))void 0x0!==_0x306823&&_0x8872f7['push']([_0x1495b4+'['+_0x5786bd+']',String(_0x306823)]);}else(_0x92155d=>'string'==typeof _0x92155d||'number'==typeof _0x92155d||void 0x0===_0x92155d)(_0x235dcb)&&_0x235dcb&&_0x8872f7['push']([_0x1495b4,_0x235dcb['toString']()]);}}}function T$(_0x1fb0b5){const _0x2c22e2=new FormData(),_0x3f958c=function(_0xb30764){const _0xdce6f=[];for(const [_0x43f980,_0x311f02]of Object['entries'](_0xb30764))v$(_0xdce6f,_0x43f980,_0x311f02);return _0xdce6f;}(_0x1fb0b5);for(const _0x71a9f8 of _0x3f958c){const [_0x38f720,_0x581151,..._0x261f11]=_0x71a9f8;_0x2c22e2['append'](_0x38f720,_0x581151,..._0x261f11);}return _0x2c22e2;}class UploadError extends UploadcareError{['code'];['request'];['response'];['headers'];constructor(_0x58f843,_0x50d643,_0x1f7af9,_0x57da98,_0x30dc2d){super(),this['name']='UploadError',this['message']=_0x58f843,this['code']=_0x50d643,this['request']=_0x1f7af9,this['response']=_0x57da98,this['headers']=_0x30dc2d,Object['setPrototypeOf'](this,UploadError['prototype']);}}const E$=(_0x35a739,_0x5e70df,_0x4ba2b3)=>{const _0x19f695=new URL(_0x35a739);return _0x19f695['pathname']=(_0x19f695['pathname']+_0x5e70df)['replace']('//','/'),_0x4ba2b3&&(_0x19f695['search']=(_0x30d3e6=>{const _0x56e536=new URLSearchParams();for(const [_0x7454d4,_0x55deea]of Object['entries'](_0x30d3e6))_0x55deea&&'object'==typeof _0x55deea&&!Array['isArray'](_0x55deea)?Object['entries'](_0x55deea)['filter'](_0xd83511=>_0xd83511[0x1]??!0x1)['forEach'](_0x199e79=>_0x56e536['set'](_0x7454d4+'['+_0x199e79[0x0]+']',String(_0x199e79[0x1]))):Array['isArray'](_0x55deea)?_0x55deea['forEach'](_0x232366=>{_0x56e536['append'](_0x7454d4+'[]',_0x232366);}):'string'==typeof _0x55deea&&_0x55deea?_0x56e536['set'](_0x7454d4,_0x55deea):'number'==typeof _0x55deea&&_0x56e536['set'](_0x7454d4,_0x55deea['toString']());return _0x56e536['toString']();})(_0x4ba2b3)),_0x19f695['toString']();};function A$(_0x3c0cbe){return e$({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.2',..._0x3c0cbe});}function S$(_0x19d18a,_0x3958f0){const {retryThrottledRequestMaxTimes:_0x393337,retryNetworkErrorMaxTimes:_0x324af3}=_0x3958f0;return s$(({attempt:_0x4674d5,retry:_0x58a045})=>_0x19d18a()['catch'](_0x49f0d7=>{if('response'in _0x49f0d7&&'RequestThrottledError'===_0x49f0d7?.['code']&&_0x4674d5<_0x393337)return _0x58a045(function(_0x4ded0d){const {headers:_0x3167fd}=_0x4ded0d||{};if(!_0x3167fd||'string'!=typeof _0x3167fd['retry-after'])return 0x3a98;const _0x258129=parseInt(_0x3167fd['retry-after'],0xa);return Number['isFinite'](_0x258129)?0x3e8*_0x258129:0x3a98;}(_0x49f0d7));if(_0x49f0d7 instanceof NetworkError&&_0x4674d5<_0x324af3)return _0x58a045(0x3e8*(_0x4674d5+0x1));throw _0x49f0d7;}));}const I$=_0x2771c2=>{let _0x2771a1='';return(w$(_0x2771c2)||b$(_0x2771c2)||y$(_0x2771c2))&&(_0x2771a1=_0x2771c2['type']),_0x2771a1||m$;},C$=_0x1dfb57=>{let _0x55ae89='';return b$(_0x1dfb57)&&_0x1dfb57['name']?_0x55ae89=_0x1dfb57['name']:w$(_0x1dfb57)?_0x55ae89='':y$(_0x1dfb57)&&_0x1dfb57['name']&&(_0x55ae89=_0x1dfb57['name']),_0x55ae89||g$;};function k$(_0x5062b3){return void 0x0===_0x5062b3||'auto'===_0x5062b3?'auto':_0x5062b3?'1':'0';}var x$,R$;!function(_0x1fc05a){_0x1fc05a['Token']='token',_0x1fc05a['FileInfo']='file_info';}(x$||(x$={})),function(_0x540178){_0x540178['Unknown']='unknown',_0x540178['Waiting']='waiting',_0x540178['Progress']='progress',_0x540178['Error']='error',_0x540178['Success']='success';}(R$||(R$={}));function P$(_0x548b40,{publicKey:_0x2b5448,baseURL:_0x2decde=a$,signal:_0x4fbbdd,integration:_0x1ac324,userAgent:_0x48c30f,retryThrottledRequestMaxTimes:_0xc9081e=c$,retryNetworkErrorMaxTimes:_0x184b1b=l$}={}){return S$(()=>p$({'method':'GET','headers':_0x2b5448?{'X-UC-User-Agent':A$({'publicKey':_0x2b5448,'integration':_0x1ac324,'userAgent':_0x48c30f})}:void 0x0,'url':E$(_0x2decde,'/from_url/status/',{'jsonerrors':0x1,'token':_0x548b40}),'signal':_0x4fbbdd})['then'](({data:_0x1eaa3f,headers:_0x200dcc,request:_0x34473c})=>{const _0x4ee860=t$(JSON['parse'](_0x1eaa3f));if('error'in _0x4ee860&&!(_0x492279=>'status'in _0x492279&&_0x492279['status']===R$['Error'])(_0x4ee860))throw new UploadError(_0x4ee860['error']['content'],_0x4ee860['error']['errorCode'],_0x34473c,_0x4ee860,_0x200dcc);return _0x4ee860;}),{'retryNetworkErrorMaxTimes':_0x184b1b,'retryThrottledRequestMaxTimes':_0xc9081e});}function M$(_0x14d6a7,{publicKey:_0x23aded,baseURL:_0x52a9ca=a$,signal:_0x1b6a79,source:_0x4fce68,integration:_0x1ce111,userAgent:_0x4585fd,retryThrottledRequestMaxTimes:_0x13f6cb=c$,retryNetworkErrorMaxTimes:_0x50b9fd=l$}){return S$(()=>p$({'method':'GET','headers':{'X-UC-User-Agent':A$({'publicKey':_0x23aded,'integration':_0x1ce111,'userAgent':_0x4585fd})},'url':E$(_0x52a9ca,'/info/',{'jsonerrors':0x1,'pub_key':_0x23aded,'file_id':_0x14d6a7,'source':_0x4fce68}),'signal':_0x1b6a79})['then'](({data:_0x1bd675,headers:_0x4a3759,request:_0xc6a5cc})=>{const _0x419df9=t$(JSON['parse'](_0x1bd675));if('error'in _0x419df9)throw new UploadError(_0x419df9['error']['content'],_0x419df9['error']['errorCode'],_0xc6a5cc,_0x419df9,_0x4a3759);return _0x419df9;}),{'retryThrottledRequestMaxTimes':_0x13f6cb,'retryNetworkErrorMaxTimes':_0x50b9fd});}function N$(_0x291535,{publicKey:_0x4c6918,baseURL:_0x501519,source:_0x40bc2c,integration:_0xf5546d,userAgent:_0x50e3d4,retryThrottledRequestMaxTimes:_0x32064c,retryNetworkErrorMaxTimes:_0xf22df8,signal:_0x2b548f,onProgress:_0x3af767}){return r$({'check':_0x351309=>M$(_0x291535,{'publicKey':_0x4c6918,'baseURL':_0x501519,'signal':_0x351309,'source':_0x40bc2c,'integration':_0xf5546d,'userAgent':_0x50e3d4,'retryThrottledRequestMaxTimes':_0x32064c,'retryNetworkErrorMaxTimes':_0xf22df8})['then'](_0x3ea68c=>_0x3ea68c['isReady']?_0x3ea68c:(_0x3af767&&_0x3af767({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x2b548f});}class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x28effb,{baseCDN:_0x48561e=o$,fileName:_0x23067a}={}){const {uuid:_0x299d9c,s3Bucket:_0x35e74e}=_0x28effb,_0x930af6=E$(_0x48561e,_0x299d9c+'/'),_0x4cbb76=_0x35e74e?E$('https://'+_0x35e74e+'.s3.amazonaws.com/',_0x299d9c+'/'+_0x28effb['filename']):null;this['uuid']=_0x299d9c,this['name']=_0x23067a||_0x28effb['filename'],this['size']=_0x28effb['size'],this['isStored']=_0x28effb['isStored'],this['isImage']=_0x28effb['isImage'],this['mimeType']=_0x28effb['mimeType'],this['cdnUrl']=_0x930af6,this['originalFilename']=_0x28effb['originalFilename'],this['imageInfo']=_0x28effb['imageInfo'],this['videoInfo']=_0x28effb['videoInfo'],this['contentInfo']=_0x28effb['contentInfo'],this['metadata']=_0x28effb['metadata']||null,this['s3Bucket']=_0x35e74e||null,this['s3Url']=_0x4cbb76,function(_0x2d88c6){return'defaultEffects'in _0x2d88c6;}(_0x28effb)&&(this['defaultEffects']=_0x28effb['defaultEffects']);}}const L$=(_0x1b5a0b,{publicKey:_0x507c8e,fileName:_0x3d004b,baseURL:_0x4d8844,secureSignature:_0x35beab,secureExpire:_0x5dd34d,store:_0x11e9ba,contentType:_0x4cf521,signal:_0x584356,onProgress:_0x45590e,source:_0x367e80,integration:_0x2dbb20,userAgent:_0x44bfed,retryThrottledRequestMaxTimes:_0x440edb,retryNetworkErrorMaxTimes:_0x3e635a,baseCDN:_0x3ff2d7,metadata:_0x16196c})=>function(_0x505649,{publicKey:_0x31d1ca,fileName:_0x51753c,contentType:_0x4453f9,baseURL:_0x3a82e3=a$,secureSignature:_0x1ada5f,secureExpire:_0x10e84d,store:_0x52d8b9,signal:_0x4e1f19,onProgress:_0x18c163,source:_0x513e23='local',integration:_0x38407d,userAgent:_0x3f00b4,retryThrottledRequestMaxTimes:_0x2d2090=c$,retryNetworkErrorMaxTimes:_0x54ce5e=l$,metadata:_0xba5048}){return S$(()=>p$({'method':'POST','url':E$(_0x3a82e3,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':A$({'publicKey':_0x31d1ca,'integration':_0x38407d,'userAgent':_0x3f00b4})},'data':T$({'file':{'data':_0x505649,'name':_0x51753c||C$(_0x505649),'contentType':_0x4453f9||I$(_0x505649)},'UPLOADCARE_PUB_KEY':_0x31d1ca,'UPLOADCARE_STORE':k$(_0x52d8b9),'signature':_0x1ada5f,'expire':_0x10e84d,'source':_0x513e23,'metadata':_0xba5048}),'signal':_0x4e1f19,'onProgress':_0x18c163})['then'](({data:_0x1f5800,headers:_0x5c71c6,request:_0x2a94f0})=>{const _0x522c50=t$(JSON['parse'](_0x1f5800));if('error'in _0x522c50)throw new UploadError(_0x522c50['error']['content'],_0x522c50['error']['errorCode'],_0x2a94f0,_0x522c50,_0x5c71c6);return _0x522c50;}),{'retryNetworkErrorMaxTimes':_0x54ce5e,'retryThrottledRequestMaxTimes':_0x2d2090});}(_0x1b5a0b,{'publicKey':_0x507c8e,'fileName':_0x3d004b,'contentType':_0x4cf521,'baseURL':_0x4d8844,'secureSignature':_0x35beab,'secureExpire':_0x5dd34d,'store':_0x11e9ba,'signal':_0x584356,'onProgress':_0x45590e,'source':_0x367e80,'integration':_0x2dbb20,'userAgent':_0x44bfed,'retryThrottledRequestMaxTimes':_0x440edb,'retryNetworkErrorMaxTimes':_0x3e635a,'metadata':_0x16196c})['then'](({file:_0x440c14})=>N$(_0x440c14,{'publicKey':_0x507c8e,'baseURL':_0x4d8844,'source':_0x367e80,'integration':_0x2dbb20,'userAgent':_0x44bfed,'retryThrottledRequestMaxTimes':_0x440edb,'retryNetworkErrorMaxTimes':_0x3e635a,'onProgress':_0x45590e,'signal':_0x584356}))['then'](_0x44b5bc=>new UploadcareFile(_0x44b5bc,{'baseCDN':_0x3ff2d7})),D$=(_0xfb6bc1,{signal:_0x4e0ee8}={})=>{let _0x5104a0=null,_0x16ed4f=null;const _0x47de8a=_0xfb6bc1['map'](()=>new AbortController());return n$(_0x4e0ee8,()=>{_0x47de8a['forEach'](_0x56f5f8=>_0x56f5f8['abort']());}),Promise['all'](_0xfb6bc1['map']((_0x1f51e4,_0x578630)=>{const _0x21e0e5=(_0x527564=>()=>{_0x16ed4f=_0x527564,_0x47de8a['forEach']((_0x4164ed,_0x5ba503)=>_0x5ba503!==_0x527564&&_0x4164ed['abort']());})(_0x578630);return Promise['resolve']()['then'](()=>_0x1f51e4({'stopRace':_0x21e0e5,'signal':_0x47de8a[_0x578630]['signal']}))['then'](_0x88297e=>(_0x21e0e5(),_0x88297e))['catch'](_0x14db12=>(_0x5104a0=_0x14db12,null));}))['then'](_0x4747fc=>{if(null===_0x16ed4f)throw _0x5104a0;return _0x4747fc[_0x16ed4f];});};var Q$=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x30195e,_0x47adf6){this['events'][_0x30195e]?.['forEach'](_0x31376d=>_0x31376d(_0x47adf6));}['on'](_0x30f9c3,_0x290d45){this['events'][_0x30f9c3]=this['events'][_0x30f9c3]||[],this['events'][_0x30f9c3]['push'](_0x290d45);}['off'](_0x5c7b04,_0x94b732){this['events'][_0x5c7b04]=_0x94b732?this['events'][_0x5c7b04]['filter'](_0x2ab9d2=>_0x2ab9d2!==_0x94b732):[];}}class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x1d5be6,_0x30269a=0x7530){this['key']=_0x1d5be6,this['disconnectTime']=_0x30269a;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x258a5d='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new Q$(_0x258a5d),this['ws']['addEventListener']('error',_0x2976a2=>{this['emmitter']['emit']('error',new Error(_0x2976a2['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x1be05f=>this['send'](_0x1be05f['event'],_0x1be05f['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x29df2d=>{const _0x12a950=JSON['parse'](_0x29df2d['data']['toString']());switch(_0x12a950['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'](_0x12a950['channel'],((_0x23786b,_0x1d89b2)=>'success'===_0x23786b?{'status':R$['Success'],..._0x1d89b2}:'progress'===_0x23786b?{'status':R$['Progress'],..._0x1d89b2}:{'status':R$['Error'],..._0x1d89b2})(_0x12a950['event'],JSON['parse'](_0x12a950['data'])));}});}}['disconnect'](){const _0x1c4c89=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x1c4c89();},this['disconnectTime']):_0x1c4c89();}['send'](_0x2be66d,_0x50bb35){const _0x23d858=JSON['stringify']({'event':_0x2be66d,'data':_0x50bb35});this['ws']?.['send'](_0x23d858);}['subscribe'](_0x1c6014,_0x27e8a1){this['subscribers']+=0x1,this['connect']();const _0x13839e='task-status-'+_0x1c6014,_0x198dae={'event':'pusher:subscribe','data':{'channel':_0x13839e}};this['emmitter']['on'](_0x13839e,_0x27e8a1),this['isConnected']?this['send'](_0x198dae['event'],_0x198dae['data']):this['queue']['push'](_0x198dae);}['unsubscribe'](_0x57c7ce){this['subscribers']-=0x1;const _0x3e391b='task-status-'+_0x57c7ce,_0xcdefc5={'event':'pusher:unsubscribe','data':{'channel':_0x3e391b}};this['emmitter']['off'](_0x3e391b),this['isConnected']?this['send'](_0xcdefc5['event'],_0xcdefc5['data']):this['queue']=this['queue']['filter'](_0x293ba0=>_0x293ba0['data']['channel']!==_0x3e391b),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x5775a2){return this['emmitter']['on']('error',_0x5775a2),()=>this['emmitter']['off']('error',_0x5775a2);}}let $$=null;const V$=_0x1c64a0=>{if(!$$){const _0x43e2a5='undefined'==typeof window?0x0:0x7530;$$=new Pusher(_0x1c64a0,_0x43e2a5);}return $$;},U$=(_0x2418d7,{publicKey:_0x4a1ccf,fileName:_0x7451c5,baseURL:_0x5f5cbd,baseCDN:_0x106261,checkForUrlDuplicates:_0x339049,saveUrlForRecurrentUploads:_0x4a7303,secureSignature:_0x4f2d9a,secureExpire:_0x2aa916,store:_0x1e9cf8,signal:_0x11725f,onProgress:_0x4dd963,source:_0x501b3a,integration:_0x3d31e2,userAgent:_0x14101f,retryThrottledRequestMaxTimes:_0x32b49f,pusherKey:_0x2fce0b=f$,metadata:_0x55df82})=>{return Promise['resolve']((_0x1de68d=_0x2fce0b,void V$(_0x1de68d)['connect']()))['then'](()=>function(_0x880363,{publicKey:_0x5c3b98,baseURL:_0x435551=a$,store:_0x7322c5,fileName:_0x545f2e,checkForUrlDuplicates:_0x243140,saveUrlForRecurrentUploads:_0x483bb4,secureSignature:_0x19d0f0,secureExpire:_0x71114c,source:_0x2a55c2='url',signal:_0x790d0e,integration:_0x3b1ee0,userAgent:_0x895d87,retryThrottledRequestMaxTimes:_0x5eeeb4=c$,retryNetworkErrorMaxTimes:_0x20f7c6=l$,metadata:_0x33cdd1}){return S$(()=>p$({'method':'POST','headers':{'X-UC-User-Agent':A$({'publicKey':_0x5c3b98,'integration':_0x3b1ee0,'userAgent':_0x895d87})},'url':E$(_0x435551,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x5c3b98,'source_url':_0x880363,'store':k$(_0x7322c5),'filename':_0x545f2e,'check_URL_duplicates':_0x243140?0x1:void 0x0,'save_URL_duplicates':_0x483bb4?0x1:void 0x0,'signature':_0x19d0f0,'expire':_0x71114c,'source':_0x2a55c2,'metadata':_0x33cdd1}),'signal':_0x790d0e})['then'](({data:_0x27dfac,headers:_0x1a32f6,request:_0x4bdfe2})=>{const _0x14b141=t$(JSON['parse'](_0x27dfac));if('error'in _0x14b141)throw new UploadError(_0x14b141['error']['content'],_0x14b141['error']['errorCode'],_0x4bdfe2,_0x14b141,_0x1a32f6);return _0x14b141;}),{'retryNetworkErrorMaxTimes':_0x20f7c6,'retryThrottledRequestMaxTimes':_0x5eeeb4});}(_0x2418d7,{'publicKey':_0x4a1ccf,'fileName':_0x7451c5,'baseURL':_0x5f5cbd,'checkForUrlDuplicates':_0x339049,'saveUrlForRecurrentUploads':_0x4a7303,'secureSignature':_0x4f2d9a,'secureExpire':_0x2aa916,'store':_0x1e9cf8,'signal':_0x11725f,'source':_0x501b3a,'integration':_0x3d31e2,'userAgent':_0x14101f,'retryThrottledRequestMaxTimes':_0x32b49f,'metadata':_0x55df82}))['catch'](_0x54855a=>{const _0x5e7be1=V$(_0x2fce0b);return _0x5e7be1?.['disconnect'](),Promise['reject'](_0x54855a);})['then'](_0x4db6f2=>_0x4db6f2['type']===x$['FileInfo']?_0x4db6f2:D$([({signal:_0x3359ab})=>function({token:_0x165b40,publicKey:_0x4591d0,baseURL:_0x21f0a8,integration:_0x28e598,userAgent:_0x5207b0,retryThrottledRequestMaxTimes:_0x977c95,retryNetworkErrorMaxTimes:_0x330dae,onProgress:_0x1f2267,signal:_0x20208e}){return r$({'check':_0x26ab8a=>P$(_0x165b40,{'publicKey':_0x4591d0,'baseURL':_0x21f0a8,'integration':_0x28e598,'userAgent':_0x5207b0,'retryThrottledRequestMaxTimes':_0x977c95,'retryNetworkErrorMaxTimes':_0x330dae,'signal':_0x26ab8a})['then'](_0x1bd3a2=>{switch(_0x1bd3a2['status']){case R$['Error']:return new UploadError(_0x1bd3a2['error'],_0x1bd3a2['errorCode']);case R$['Waiting']:return!0x1;case R$['Unknown']:return new UploadError('Token\x20\x22'+_0x165b40+'\x22\x20was\x20not\x20found.');case R$['Progress']:return _0x1f2267&&('unknown'===_0x1bd3a2['total']?_0x1f2267({'isComputable':!0x1}):_0x1f2267({'isComputable':!0x0,'value':_0x1bd3a2['done']/_0x1bd3a2['total']})),!0x1;case R$['Success']:return _0x1f2267&&_0x1f2267({'isComputable':!0x0,'value':_0x1bd3a2['done']/_0x1bd3a2['total']}),_0x1bd3a2;default:throw new Error('Unknown\x20status');}}),'signal':_0x20208e});}({'token':_0x4db6f2['token'],'publicKey':_0x4a1ccf,'baseURL':_0x5f5cbd,'integration':_0x3d31e2,'userAgent':_0x14101f,'retryThrottledRequestMaxTimes':_0x32b49f,'onProgress':_0x4dd963,'signal':_0x3359ab}),({signal:_0x33aab6})=>(({token:_0x402e19,pusherKey:_0xb6ba99,signal:_0x3a4a78,onProgress:_0x1468eb})=>new Promise((_0x18a578,_0x222655)=>{const _0x4434c6=V$(_0xb6ba99),_0x16f945=_0x4434c6['onError'](_0x222655),_0x3e9b71=()=>{_0x16f945(),_0x4434c6['unsubscribe'](_0x402e19);};n$(_0x3a4a78,()=>{_0x3e9b71(),_0x222655(new CancelError('pusher\x20cancelled'));}),_0x4434c6['subscribe'](_0x402e19,_0x584702=>{switch(_0x584702['status']){case R$['Progress']:_0x1468eb&&('unknown'===_0x584702['total']?_0x1468eb({'isComputable':!0x1}):_0x1468eb({'isComputable':!0x0,'value':_0x584702['done']/_0x584702['total']}));break;case R$['Success']:_0x3e9b71(),_0x1468eb&&_0x1468eb({'isComputable':!0x0,'value':_0x584702['done']/_0x584702['total']}),_0x18a578(_0x584702);break;case R$['Error']:_0x3e9b71(),_0x222655(new UploadError(_0x584702['msg'],_0x584702['error_code']));}});}))({'token':_0x4db6f2['token'],'pusherKey':_0x2fce0b,'signal':_0x33aab6,'onProgress':_0x4dd963})],{'signal':_0x11725f}))['then'](_0x197d6e=>{if(_0x197d6e instanceof UploadError)throw _0x197d6e;return _0x197d6e;})['then'](_0x8490e=>N$(_0x8490e['uuid'],{'publicKey':_0x4a1ccf,'baseURL':_0x5f5cbd,'integration':_0x3d31e2,'userAgent':_0x14101f,'retryThrottledRequestMaxTimes':_0x32b49f,'onProgress':_0x4dd963,'signal':_0x11725f}))['then'](_0x132fa2=>new UploadcareFile(_0x132fa2,{'baseCDN':_0x106261}));var _0x1de68d;},B$=new WeakMap(),F$=async _0x103d6f=>{if(b$(_0x103d6f)||w$(_0x103d6f))return _0x103d6f['size'];if(y$(_0x103d6f))return(await(async _0x3ff9c1=>{if(B$['has'](_0x3ff9c1))return B$['get'](_0x3ff9c1);const _0x4a3704=await fetch(_0x3ff9c1['uri'])['then'](_0x329164=>_0x329164['blob']());return B$['set'](_0x3ff9c1,_0x4a3704),_0x4a3704;})(_0x103d6f))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},j$=_0x4b0942=>{const _0x1b747e=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_$(_0x4b0942)&&_0x1b747e['test'](_0x4b0942);},H$=_0x4265ee=>{const _0x2e9f63=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_$(_0x4265ee)&&_0x2e9f63['test'](_0x4265ee);},G$=async(_0x4767b3,_0x595a73,_0x2be0c8)=>_0x1c2261=>((_0xcd3d74,_0x19703c,_0x221816,_0x3828b2)=>{const _0x32c4a9=_0x3828b2*_0x19703c,_0x41673b=Math['min'](_0x32c4a9+_0x3828b2,_0x221816);return _0xcd3d74['slice'](_0x32c4a9,_0x41673b);})(_0x4767b3,_0x1c2261,_0x595a73,_0x2be0c8),Z$=(_0x3f5aae,_0x201d12,{publicKey:_0x57cb77,contentType:_0x5d84c8,onProgress:_0x45a2b5,signal:_0x56dd39,integration:_0x2c81a5,retryThrottledRequestMaxTimes:_0x31304e,retryNetworkErrorMaxTimes:_0x85d018})=>function(_0x4fcb21,_0x26e93f,{contentType:_0x2ef47a,signal:_0x4d557b,onProgress:_0x394df6,retryThrottledRequestMaxTimes:_0x40eabb=c$,retryNetworkErrorMaxTimes:_0x58025a=l$}){return S$(()=>p$({'method':'PUT','url':_0x26e93f,'data':_0x4fcb21,'onProgress':_0x394df6,'signal':_0x4d557b,'headers':{'Content-Type':_0x2ef47a||m$}})['then'](_0x7cbf3a=>(_0x394df6&&_0x394df6({'isComputable':!0x0,'value':0x1}),_0x7cbf3a))['then'](({status:_0x212ed7})=>({'code':_0x212ed7})),{'retryThrottledRequestMaxTimes':_0x40eabb,'retryNetworkErrorMaxTimes':_0x58025a});}(_0x3f5aae,_0x201d12,{'contentType':_0x5d84c8,'onProgress':_0x45a2b5,'signal':_0x56dd39,'retryThrottledRequestMaxTimes':_0x31304e,'retryNetworkErrorMaxTimes':_0x85d018}),X$=async(_0x25d841,{publicKey:_0x24563b,fileName:_0x5ce58c,fileSize:_0x2e1546,baseURL:_0x527e6e,secureSignature:_0x33bad3,secureExpire:_0x5d31fe,store:_0xaba1be,signal:_0x525b03,onProgress:_0x2cfcb2,source:_0x147cd5,integration:_0x5aa933,userAgent:_0x131d51,retryThrottledRequestMaxTimes:_0x4700b1,retryNetworkErrorMaxTimes:_0x200353,contentType:_0x418e45,multipartChunkSize:_0x2a0efd=u$,maxConcurrentRequests:_0x29a453=d$,baseCDN:_0x3080e2,metadata:_0x4899d8})=>{const _0x21484b=_0x2e1546??await F$(_0x25d841);let _0x578869;const _0x5181af=(_0x355f4b,_0x43eee9)=>{if(!_0x2cfcb2)return;_0x578869||(_0x578869=Array(_0x355f4b)['fill'](0x0));const _0x15656f=_0x56ba04=>_0x56ba04['reduce']((_0x46b214,_0xae6af1)=>_0x46b214+_0xae6af1,0x0);return _0x41c18d=>{_0x41c18d['isComputable']&&(_0x578869[_0x43eee9]=_0x41c18d['value'],_0x2cfcb2({'isComputable':!0x0,'value':_0x15656f(_0x578869)/_0x355f4b}));};};return _0x418e45||=I$(_0x25d841),function(_0x1f262a,{publicKey:_0x478427,contentType:_0x425e9c,fileName:_0x75081a,multipartChunkSize:_0x516900=u$,baseURL:_0x3656c5='',secureSignature:_0x216ca0,secureExpire:_0x1c493a,store:_0xac48dd,signal:_0x45b6fc,source:_0x167e37='local',integration:_0x49fb97,userAgent:_0x1d9868,retryThrottledRequestMaxTimes:_0x2581aa=c$,retryNetworkErrorMaxTimes:_0x3eea3a=l$,metadata:_0x2ade9e}){return S$(()=>p$({'method':'POST','url':E$(_0x3656c5,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':A$({'publicKey':_0x478427,'integration':_0x49fb97,'userAgent':_0x1d9868})},'data':T$({'filename':_0x75081a||g$,'size':_0x1f262a,'content_type':_0x425e9c||m$,'part_size':_0x516900,'UPLOADCARE_STORE':k$(_0xac48dd),'UPLOADCARE_PUB_KEY':_0x478427,'signature':_0x216ca0,'expire':_0x1c493a,'source':_0x167e37,'metadata':_0x2ade9e}),'signal':_0x45b6fc})['then'](({data:_0x305f05,headers:_0x477e9e,request:_0x118b5c})=>{const _0x5dc3ba=t$(JSON['parse'](_0x305f05));if('error'in _0x5dc3ba)throw new UploadError(_0x5dc3ba['error']['content'],_0x5dc3ba['error']['errorCode'],_0x118b5c,_0x5dc3ba,_0x477e9e);return _0x5dc3ba['parts']=Object['keys'](_0x5dc3ba['parts'])['map'](_0x80fb0f=>_0x5dc3ba['parts'][Number(_0x80fb0f)]),_0x5dc3ba;}),{'retryThrottledRequestMaxTimes':_0x2581aa,'retryNetworkErrorMaxTimes':_0x3eea3a});}(_0x21484b,{'publicKey':_0x24563b,'contentType':_0x418e45,'fileName':_0x5ce58c||C$(_0x25d841),'baseURL':_0x527e6e,'secureSignature':_0x33bad3,'secureExpire':_0x5d31fe,'store':_0xaba1be,'signal':_0x525b03,'source':_0x147cd5,'integration':_0x5aa933,'userAgent':_0x131d51,'retryThrottledRequestMaxTimes':_0x4700b1,'retryNetworkErrorMaxTimes':_0x200353,'metadata':_0x4899d8,'multipartChunkSize':_0x2a0efd})['then'](async({uuid:_0x49790d,parts:_0x2d57a3})=>{const _0x594d08=await G$(_0x25d841,_0x21484b,_0x2a0efd);return Promise['all']([_0x49790d,(_0x12d44b=_0x29a453,_0x49d3b0=_0x2d57a3['map']((_0x15f2d1,_0x27fd87)=>()=>Z$(_0x594d08(_0x27fd87),_0x15f2d1,{'publicKey':_0x24563b,'contentType':_0x418e45,'onProgress':_0x5181af(_0x2d57a3['length'],_0x27fd87),'signal':_0x525b03,'integration':_0x5aa933,'retryThrottledRequestMaxTimes':_0x4700b1,'retryNetworkErrorMaxTimes':_0x200353})),new Promise((_0x3564a1,_0x407aed)=>{const _0x4d3368=[];let _0x8f2ef5=!0x1,_0x32db1e=_0x49d3b0['length'];const _0x4415d8=[..._0x49d3b0],_0x113179=()=>{const _0x3bef4d=_0x49d3b0['length']-_0x4415d8['length'],_0x2b277d=_0x4415d8['shift']();_0x2b277d&&_0x2b277d()['then'](_0x4a8b88=>{_0x8f2ef5||(_0x4d3368[_0x3bef4d]=_0x4a8b88,_0x32db1e-=0x1,_0x32db1e?_0x113179():_0x3564a1(_0x4d3368));})['catch'](_0x220174=>{_0x8f2ef5=!0x0,_0x407aed(_0x220174);});};for(let _0x13d788=0x0;_0x13d788<_0x12d44b;_0x13d788++)_0x113179();}))]);var _0x12d44b,_0x49d3b0;})['then'](([_0x18cb54])=>function(_0x56390e,{publicKey:_0x470bbe,baseURL:_0x4ded31=a$,source:_0xf7dcf1='local',signal:_0x4f7346,integration:_0x257744,userAgent:_0x521ca5,retryThrottledRequestMaxTimes:_0x4f6411=c$,retryNetworkErrorMaxTimes:_0x54d0b2=l$}){return S$(()=>p$({'method':'POST','url':E$(_0x4ded31,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':A$({'publicKey':_0x470bbe,'integration':_0x257744,'userAgent':_0x521ca5})},'data':T$({'uuid':_0x56390e,'UPLOADCARE_PUB_KEY':_0x470bbe,'source':_0xf7dcf1}),'signal':_0x4f7346})['then'](({data:_0x182542,headers:_0x1c3c2c,request:_0x4295de})=>{const _0x28c8b9=t$(JSON['parse'](_0x182542));if('error'in _0x28c8b9)throw new UploadError(_0x28c8b9['error']['content'],_0x28c8b9['error']['errorCode'],_0x4295de,_0x28c8b9,_0x1c3c2c);return _0x28c8b9;}),{'retryThrottledRequestMaxTimes':_0x4f6411,'retryNetworkErrorMaxTimes':_0x54d0b2});}(_0x18cb54,{'publicKey':_0x24563b,'baseURL':_0x527e6e,'source':_0x147cd5,'integration':_0x5aa933,'userAgent':_0x131d51,'retryThrottledRequestMaxTimes':_0x4700b1,'retryNetworkErrorMaxTimes':_0x200353}))['then'](_0x3d4119=>_0x3d4119['isReady']?_0x3d4119:N$(_0x3d4119['uuid'],{'publicKey':_0x24563b,'baseURL':_0x527e6e,'source':_0x147cd5,'integration':_0x5aa933,'userAgent':_0x131d51,'retryThrottledRequestMaxTimes':_0x4700b1,'retryNetworkErrorMaxTimes':_0x200353,'onProgress':_0x2cfcb2,'signal':_0x525b03}))['then'](_0x161227=>new UploadcareFile(_0x161227,{'baseCDN':_0x3080e2}));};async function q$(_0x42613f,{publicKey:_0x1ffe75,fileName:_0x55e508,baseURL:_0x109b1b=a$,secureSignature:_0x1b4acd,secureExpire:_0x5281c0,store:_0x52ca6c,signal:_0x178a51,onProgress:_0x368744,source:_0x2e0289,integration:_0x25ad29,userAgent:_0x1acdcb,retryThrottledRequestMaxTimes:_0x3b78c8,retryNetworkErrorMaxTimes:_0x331865,contentType:_0x356790,multipartMinFileSize:_0x3c6626,multipartChunkSize:_0xb9bf8e,maxConcurrentRequests:_0x43797c,baseCDN:_0x19fec9=o$,checkForUrlDuplicates:_0x4e8aa9,saveUrlForRecurrentUploads:_0x1490fb,pusherKey:_0x4aef7c,metadata:_0x1d7e05}){if(_$(_0x42613f)){const _0x3fac99=await F$(_0x42613f);return((_0x4dc35c,_0x28e5b3=h$)=>_0x4dc35c>=_0x28e5b3)(_0x3fac99,_0x3c6626)?X$(_0x42613f,{'publicKey':_0x1ffe75,'contentType':_0x356790,'multipartChunkSize':_0xb9bf8e,'fileSize':_0x3fac99,'fileName':_0x55e508,'baseURL':_0x109b1b,'secureSignature':_0x1b4acd,'secureExpire':_0x5281c0,'store':_0x52ca6c,'signal':_0x178a51,'onProgress':_0x368744,'source':_0x2e0289,'integration':_0x25ad29,'userAgent':_0x1acdcb,'maxConcurrentRequests':_0x43797c,'retryThrottledRequestMaxTimes':_0x3b78c8,'retryNetworkErrorMaxTimes':_0x331865,'baseCDN':_0x19fec9,'metadata':_0x1d7e05}):L$(_0x42613f,{'publicKey':_0x1ffe75,'fileName':_0x55e508,'contentType':_0x356790,'baseURL':_0x109b1b,'secureSignature':_0x1b4acd,'secureExpire':_0x5281c0,'store':_0x52ca6c,'signal':_0x178a51,'onProgress':_0x368744,'source':_0x2e0289,'integration':_0x25ad29,'userAgent':_0x1acdcb,'retryThrottledRequestMaxTimes':_0x3b78c8,'retryNetworkErrorMaxTimes':_0x331865,'baseCDN':_0x19fec9,'metadata':_0x1d7e05});}if(H$(_0x42613f))return U$(_0x42613f,{'publicKey':_0x1ffe75,'fileName':_0x55e508,'baseURL':_0x109b1b,'baseCDN':_0x19fec9,'checkForUrlDuplicates':_0x4e8aa9,'saveUrlForRecurrentUploads':_0x1490fb,'secureSignature':_0x1b4acd,'secureExpire':_0x5281c0,'store':_0x52ca6c,'signal':_0x178a51,'onProgress':_0x368744,'source':_0x2e0289,'integration':_0x25ad29,'userAgent':_0x1acdcb,'retryThrottledRequestMaxTimes':_0x3b78c8,'pusherKey':_0x4aef7c,'metadata':_0x1d7e05});if(j$(_0x42613f))return((_0x54171f,{publicKey:_0x3d2c09,fileName:_0x37bc2a,baseURL:_0x1fe292,signal:_0x4c1cd7,onProgress:_0x2b0061,source:_0x1846cf,integration:_0x3aa26a,userAgent:_0x24b43b,retryThrottledRequestMaxTimes:_0xb5ec2c,retryNetworkErrorMaxTimes:_0x51b466,baseCDN:_0x5eec49})=>M$(_0x54171f,{'publicKey':_0x3d2c09,'baseURL':_0x1fe292,'signal':_0x4c1cd7,'source':_0x1846cf,'integration':_0x3aa26a,'userAgent':_0x24b43b,'retryThrottledRequestMaxTimes':_0xb5ec2c,'retryNetworkErrorMaxTimes':_0x51b466})['then'](_0x229a89=>new UploadcareFile(_0x229a89,{'baseCDN':_0x5eec49,'fileName':_0x37bc2a}))['then'](_0x2776f2=>(_0x2b0061&&_0x2b0061({'isComputable':!0x0,'value':0x1}),_0x2776f2)))(_0x42613f,{'publicKey':_0x1ffe75,'fileName':_0x55e508,'baseURL':_0x109b1b,'signal':_0x178a51,'onProgress':_0x368744,'source':_0x2e0289,'integration':_0x25ad29,'userAgent':_0x1acdcb,'retryThrottledRequestMaxTimes':_0x3b78c8,'retryNetworkErrorMaxTimes':_0x331865,'baseCDN':_0x19fec9});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x42613f+'\x22\x20is\x20not\x20supported');}class UploadcareGroup{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x3416f3,{baseCDN:_0x2fb425=o$}={}){this['uuid']=_0x3416f3['id'],this['filesCount']=_0x3416f3['filesCount'];const _0x52f8d8=_0x3416f3['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x52f8d8)['reduce']((_0x7cf40f,_0x5ced38)=>_0x7cf40f+_0x5ced38['size'],0x0),this['isStored']=!!_0x3416f3['datetimeStored'],this['isImage']=!!Object['values'](_0x52f8d8)['filter'](_0x28f370=>_0x28f370['isImage'])['length'],this['cdnUrl']=_0x3416f3['cdnUrl'],this['files']=_0x52f8d8['map'](_0x3ad16c=>new UploadcareFile(_0x3ad16c,{'baseCDN':_0x2fb425})),this['createdAt']=_0x3416f3['datetimeCreated'],this['storedAt']=_0x3416f3['datetimeStored'];}}function W$(_0x94353b,{publicKey:_0x17f2e6,fileName:_0xbe0d84,baseURL:_0x3d8be5=a$,secureSignature:_0x20eaad,secureExpire:_0x10c235,store:_0x3db0ec,signal:_0x42f002,onProgress:_0x321037,source:_0x26d038,integration:_0x22c679,userAgent:_0xb79341,retryThrottledRequestMaxTimes:_0x8bef87,retryNetworkErrorMaxTimes:_0x3a4f0f,contentType:_0x235b24,multipartChunkSize:_0xdb608d=u$,baseCDN:_0x1645a7=o$,checkForUrlDuplicates:_0x389dcc,saveUrlForRecurrentUploads:_0x44f850,jsonpCallback:_0x36eec3}){if(!(_0x43348b=>{for(const _0x4624f4 of _0x43348b)if(!_$(_0x4624f4))return!0x1;return!0x0;})(_0x94353b)&&!(_0x2fde8e=>{for(const _0x57a402 of _0x2fde8e)if(!H$(_0x57a402))return!0x1;return!0x0;})(_0x94353b)&&!(_0x1f9065=>{for(const _0x4e0b11 of _0x1f9065)if(!j$(_0x4e0b11))return!0x1;return!0x0;})(_0x94353b))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x94353b+'\x22\x20is\x20not\x20supported');let _0x3a6562,_0x11e557=!0x0;const _0x324c77=_0x94353b['length'],_0x10ff51=(_0x4883a4,_0x2fbd0f)=>{if(!_0x321037)return;_0x3a6562||(_0x3a6562=Array(_0x4883a4)['fill'](0x0));const _0x4ea662=_0x165cf6=>_0x165cf6['reduce']((_0x33f79b,_0x3b3cea)=>_0x33f79b+_0x3b3cea)/_0x4883a4;return _0x36dc89=>{if(!_0x36dc89['isComputable']||!_0x11e557)return _0x11e557=!0x1,void _0x321037({'isComputable':!0x1});_0x3a6562[_0x2fbd0f]=_0x36dc89['value'],_0x321037({'isComputable':!0x0,'value':_0x4ea662(_0x3a6562)});};};return Promise['all'](_0x94353b['map']((_0x35f947,_0x290b73)=>_$(_0x35f947)||H$(_0x35f947)?q$(_0x35f947,{'publicKey':_0x17f2e6,'fileName':_0xbe0d84,'baseURL':_0x3d8be5,'secureSignature':_0x20eaad,'secureExpire':_0x10c235,'store':_0x3db0ec,'signal':_0x42f002,'onProgress':_0x10ff51(_0x324c77,_0x290b73),'source':_0x26d038,'integration':_0x22c679,'userAgent':_0xb79341,'retryThrottledRequestMaxTimes':_0x8bef87,'retryNetworkErrorMaxTimes':_0x3a4f0f,'contentType':_0x235b24,'multipartChunkSize':_0xdb608d,'baseCDN':_0x1645a7,'checkForUrlDuplicates':_0x389dcc,'saveUrlForRecurrentUploads':_0x44f850})['then'](_0x400307=>_0x400307['uuid']):_0x35f947))['then'](_0x85512e=>function(_0x192ea9,{publicKey:_0x2e4fc8,baseURL:_0x146967=a$,jsonpCallback:_0x46526d,secureSignature:_0x35caa4,secureExpire:_0x3fb398,signal:_0x2c28e6,source:_0x48d90b,integration:_0x187571,userAgent:_0x21e99b,retryThrottledRequestMaxTimes:_0x5576f0=c$,retryNetworkErrorMaxTimes:_0x456029=l$}){return S$(()=>p$({'method':'POST','headers':{'X-UC-User-Agent':A$({'publicKey':_0x2e4fc8,'integration':_0x187571,'userAgent':_0x21e99b})},'url':E$(_0x146967,'/group/',{'jsonerrors':0x1}),'data':T$({'files':_0x192ea9,'callback':_0x46526d,'pub_key':_0x2e4fc8,'signature':_0x35caa4,'expire':_0x3fb398,'source':_0x48d90b}),'signal':_0x2c28e6})['then'](({data:_0xb5bea4,headers:_0x5a39cd,request:_0xdd4432})=>{const _0x33bf89=t$(JSON['parse'](_0xb5bea4));if('error'in _0x33bf89)throw new UploadError(_0x33bf89['error']['content'],_0x33bf89['error']['errorCode'],_0xdd4432,_0x33bf89,_0x5a39cd);return _0x33bf89;}),{'retryNetworkErrorMaxTimes':_0x456029,'retryThrottledRequestMaxTimes':_0x5576f0});}(_0x85512e,{'publicKey':_0x17f2e6,'baseURL':_0x3d8be5,'jsonpCallback':_0x36eec3,'secureSignature':_0x20eaad,'secureExpire':_0x10c235,'signal':_0x42f002,'source':_0x26d038,'integration':_0x22c679,'userAgent':_0xb79341,'retryThrottledRequestMaxTimes':_0x8bef87,'retryNetworkErrorMaxTimes':_0x3a4f0f})['then'](_0x21d6fd=>new UploadcareGroup(_0x21d6fd,{'baseCDN':_0x1645a7}))['then'](_0x3a7c9e=>(_0x321037&&_0x321037({'isComputable':!0x0,'value':0x1}),_0x3a7c9e)));}class Queue{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x57addd){this['_concurrency']=_0x57addd;}['run'](){const _0x2b47c6=this['_concurrency']-this['_running'];for(let _0xa5a4ed=0x0;_0xa5a4ed<_0x2b47c6;_0xa5a4ed++){const _0x454537=this['_pending']['shift']();if(!_0x454537)return;const _0x43b283=this['_resolvers']['get'](_0x454537),_0x32a4d9=this['_rejectors']['get'](_0x454537);if(!_0x43b283||!_0x32a4d9)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x454537()['finally'](()=>{this['_resolvers']['delete'](_0x454537),this['_rejectors']['delete'](_0x454537),this['_running']-=0x1,this['run']();})['then'](_0x35b4d4=>_0x43b283(_0x35b4d4))['catch'](_0x1de59a=>_0x32a4d9(_0x1de59a));}}['add'](_0x91926e,{autoRun:_0x255c7b}={'autoRun':!0x0}){return new Promise((_0xfbd892,_0x52bd77)=>{this['_resolvers']['set'](_0x91926e,_0xfbd892),this['_rejectors']['set'](_0x91926e,_0x52bd77),this['_pending']['push'](_0x91926e),_0x255c7b&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x44d54b){this['_concurrency']=_0x44d54b,this['run']();}get['concurrency'](){return this['_concurrency'];}}const z$={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function Y$(_0x1e1909,_0x3a2d5e){_0x3a2d5e['tabIndex']=0x0,_0x3a2d5e['focus'](),_0x1e1909['tabIndex']=-0x1;}function K$(_0x3d5847){let _0x52551b=_0x3d5847['role']||_0x3d5847['type']||_0x3d5847['tagName'];if(!_0x52551b)return null;let _0x4dc6f2=z$[_0x52551b['toLowerCase']()];if(!_0x4dc6f2)return null;for(let _0x26d0a2 of _0x4dc6f2){let _0x273529=_0x3d5847['closest']('[role='+_0x26d0a2+']');if(_0x273529)return _0x273529;}}function J$(_0x455add,_0x21d7f7){return'toolbar'===_0x21d7f7['role']?function(_0x258d6b){let _0x3e22a3=[..._0x258d6b['querySelectorAll']('*')];return _0x3e22a3['filter'](_0x3c5ba5=>'button'===_0x3c5ba5['role']||'button'===_0x3c5ba5['type']||'checkbox'===_0x3c5ba5['role']||'checkbox'===_0x3c5ba5['type']);}(_0x21d7f7):_0x21d7f7['querySelectorAll']('[role='+_0x455add['role']+']');}function tV(){return _0x5b81f7=>{let _0x5dd294=[];function _0x4c3fa1(){let _0x26ee70=_0x5dd294['pop']();if(!_0x26ee70)return void _0x5b81f7['document']['activeElement']['blur']();let _0x5e5e46=_0x26ee70['deref']();_0x5e5e46&&_0x5e5e46['isConnected']?_0x5e5e46['focus']():_0x4c3fa1();}let _0x45448d,_0x4a1313=0x0;function _0xb0658f(_0x3396cd){clearInterval(_0x45448d);let _0x27ee19=_0x3396cd['getAttribute']('aria-controls');_0x45448d=setInterval(()=>{if(_0x4a1313++>0x32)return void clearInterval(_0x45448d);let _0x103cac=_0x5b81f7['document']['getElementById'](_0x27ee19);if(_0x103cac){let _0x30db61=_0x103cac['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x30db61&&(clearInterval(_0x45448d),_0x103cac['dispatchEvent'](new _0x5b81f7['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x1e463e){let _0xc3ea51=_0x5b81f7['document']['activeElement'];_0xc3ea51&&_0xc3ea51!==_0x5b81f7['document']['body']&&_0x5dd294['push'](new WeakRef(_0xc3ea51)),_0x1e463e['focus']({'focusVisible':!0x0});}(_0x30db61));}},0x32);}function _0x86dee7(_0x5d3800){_0x5d3800['target']['getAttribute']('aria-controls')&&'Enter'===_0x5d3800['key']&&_0xb0658f(_0x5d3800['target']),'Escape'===_0x5d3800['key']&&_0x4c3fa1();}return _0x5b81f7['addEventListener']('keydown',_0x86dee7),()=>{_0x5b81f7['removeEventListener']('keydown',_0x86dee7);};};}function eV(_0x5bbc0a){let _0x1716cf,_0x3c02f2,_0x39307a=_0x5bbc0a['split']('\x20');function _0x4f43d5(_0x4b347a){'Enter'!==_0x4b347a['key']||'BUTTON'!==_0x4b347a['target']['tagName']&&'A'!==_0x4b347a['target']['tagName']||(_0x138e47(),_0x4b347a['target']['classList']['add'](..._0x39307a),_0x1716cf=_0x4b347a['target'],_0x3c02f2=_0x4b347a['target']);}function _0x138e47(){_0x1716cf&&_0x1716cf['classList']['remove'](..._0x39307a),_0x3c02f2=null;}function _0x899598(_0x162b06){0x0===_0x162b06['clientX']&&0x0===_0x162b06['clientY']&&_0x3c02f2!==_0x162b06['target']&&(_0x138e47(),_0x162b06['target']['classList']['add'](..._0x39307a),_0x1716cf=_0x162b06['target']);}return _0x50a2a4=>(_0x50a2a4['addEventListener']('click',_0x899598),_0x50a2a4['addEventListener']('keydown',_0x4f43d5),_0x50a2a4['addEventListener']('keyup',_0x138e47),()=>{_0x50a2a4['removeEventListener']('click',_0x899598),_0x50a2a4['removeEventListener']('keydown',_0x4f43d5),_0x50a2a4['removeEventListener']('keyup',_0x138e47);});}function iV(_0x214367){return Array['isArray'](_0x214367)?_0x214367['map'](_0x42aca6=>'object'==typeof _0x42aca6&&null!==_0x42aca6?iV(_0x42aca6):_0x42aca6):'object'!=typeof _0x214367||null===_0x214367?_0x214367:Object['fromEntries'](Object['entries'](_0x214367)['map'](([_0x4d5350,_0x32c8e0])=>{const t=function(_0x16d51a){return _0x16d51a['replace'](/[A-Z]/g,_0xaf6132=>'_'+_0xaf6132['toLowerCase']())['replace'](/__/g,'_');}(_0x4d5350);return'object'==typeof _0x32c8e0&&null!==_0x32c8e0?[t,iV(_0x32c8e0)]:[t,_0x32c8e0];}));}function sV(_0x4f72af){return{'ok':!0x1,'error':_0x4f72af};}class y{constructor(_0x388824='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x388824;}async['base'](_0x4cdad9,_0x16fc49={}){const t=''+this['baseUrl']+_0x4cdad9;try{const _0x5bca82=await fetch(t,_0x16fc49);if(!_0x5bca82['ok'])return sV(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x5bca82['status']['toString']()));try{const _0x166bef=await _0x5bca82['json']();return{'ok':!0x0,'value':_0x166bef};}catch(_0x4e8953){return sV(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x4e8953));}}catch(_0xc44e4e){return sV(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0xc44e4e));}}async['post'](_0x1dfea3,_0x4ef0d3,t={}){return await this['base'](_0x1dfea3,{...t,'method':'POST','body':JSON['stringify'](iV(_0x4ef0d3)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x1e48d4,_0x467cdb={}){return await this['base'](_0x1e48d4,{'method':'GET',..._0x467cdb});}}class p extends y{constructor(){super();}async['sendEvent'](_0xf6c73b,_0x481dfe){const t=await(async(_0x498a15,_0x23f9e2)=>({'success':!0x0,'data':_0x23f9e2}))(0x0,_0xf6c73b);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',_0xf6c73b,_0x481dfe);}}const nV=_0xdc81a1=>{if(_0xdc81a1<=0x0n)return'0';let _0x555a73='';for(;_0xdc81a1>0x0n;){_0x555a73='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0xdc81a1%0x24n)]+_0x555a73,_0xdc81a1/=0x24n;}return _0x555a73;},rV=async _0x11ef01=>{const _0x10253a=await(async _0x2e93c8=>{const _0x137eca=new TextEncoder()['encode'](_0x2e93c8),t=await window['crypto']['subtle']['digest']('SHA-256',_0x137eca),_0x6d4ce0=Array['from'](new Uint8Array(t))['map'](_0x1dae0c=>_0x1dae0c['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x6d4ce0);})(_0x11ef01);return nV(_0x10253a)['slice'](0x0,0xa);},oV=async(_0x50d5e7,_0x47b75b)=>((_0x2995df,_0x414552)=>{const _0x1f4062=new URL(_0x414552);return _0x1f4062['hostname']=_0x2995df+'.'+_0x1f4062['hostname'],_0x1f4062['toString']()['replace'](/\/$/,'');})(await rV(_0x50d5e7),_0x47b75b),aV=()=>{const _0x207393=[];return{'stack':_0x207393,'promiseReadJpegChunks':_0x3a618d=>new Promise((_0x147343,_0x42d6ca)=>{let _0x541184=0x2;const _0xb3e548=(_0x27d29b,_0x15abcd)=>{const _0x338a9b=new FileReader();_0x338a9b['addEventListener']('load',()=>{_0x15abcd(new DataView(_0x338a9b['result']));}),_0x338a9b['addEventListener']('error',_0x16fc30=>{_0x42d6ca('Reader\x20error:\x20'+_0x16fc30);}),_0x338a9b['readAsArrayBuffer'](_0x27d29b);},_0xe1da37=()=>_0xb3e548(_0x3a618d['slice'](_0x541184,_0x541184+0x80),_0x29905d=>{let _0x1be90d,_0x226af0,_0x36cdf5;for(_0x1be90d=_0x226af0=0x0,_0x36cdf5=_0x29905d['byteLength'];_0x36cdf5>=0x0?_0x226af0<_0x36cdf5:_0x226af0>_0x36cdf5;_0x1be90d=_0x36cdf5>=0x0?++_0x226af0:--_0x226af0)if(0xff===_0x29905d['getUint8'](_0x1be90d)){_0x541184+=_0x1be90d;break;}_0x5bd7f9();}),_0x5bd7f9=()=>{const _0x3782a0=_0x541184;return _0xb3e548(_0x3a618d['slice'](_0x541184,_0x541184+=0x4),_0x20880e=>{if(0x4!==_0x20880e['byteLength']||0xff!==_0x20880e['getUint8'](0x0))return void _0x42d6ca('Corrupted');const _0x2cd9ef=_0x20880e['getUint8'](0x1);if(0xda===_0x2cd9ef)return void _0x147343(!0x0);const _0x4036e2=_0x20880e['getUint16'](0x2)-0x2;return _0xb3e548(_0x3a618d['slice'](_0x541184,_0x541184+=_0x4036e2),_0x1559f1=>{_0x1559f1['byteLength']===_0x4036e2?(_0x207393['push']({'startPos':_0x3782a0,'length':_0x4036e2,'marker':_0x2cd9ef,'view':_0x1559f1}),_0xe1da37()):_0x42d6ca('Corrupted');});});};FileReader&&DataView||_0x42d6ca('Not\x20Support'),_0xb3e548(_0x3a618d['slice'](0x0,0x2),_0x477960=>{0xffd8!==_0x477960['getUint16'](0x0)&&_0x42d6ca('Not\x20jpeg'),_0xe1da37();});})};},cV=async _0x41c7ae=>{const _0x1b5121=[],{promiseReadJpegChunks:_0x86e65e,stack:_0x4e9f91}=aV();return await _0x86e65e(_0x41c7ae),_0x4e9f91['forEach'](({marker:_0x2a798a,view:_0x4a628d})=>{0xe2===_0x2a798a&&0x4943435f===_0x4a628d['getUint32'](0x0)&&0x50524f46===_0x4a628d['getUint32'](0x4)&&0x494c4500===_0x4a628d['getUint32'](0x8)&&_0x1b5121['push'](_0x4a628d);}),_0x1b5121;},lV=async(_0x5c3091,_0x50a8b7,_0x345f4e)=>{{const _0x465e86=[],_0x314051=[],{promiseReadJpegChunks:_0x15d997,stack:_0x55a331}=aV();await _0x15d997(_0x5c3091),_0x55a331['forEach'](_0x2864b1=>{if(_0x2864b1['marker']===_0x50a8b7)return _0x465e86['push'](_0x2864b1['startPos']),_0x314051['push'](_0x2864b1['length']);});const _0x5248a5=[_0x5c3091['slice'](0x0,0x2)];for(const _0x1bbd66 of _0x345f4e){const _0x383c45=new DataView(new ArrayBuffer(0x4));_0x383c45['setUint16'](0x0,0xff00+_0x50a8b7),_0x383c45['setUint16'](0x2,_0x1bbd66['byteLength']+0x2),_0x5248a5['push'](_0x383c45['buffer']),_0x5248a5['push'](_0x1bbd66);}let _0xddd078=0x2;for(let _0xc3c497=0x0;_0xc3c497<_0x465e86['length'];_0xc3c497++)_0x465e86[_0xc3c497]>_0xddd078&&_0x5248a5['push'](_0x5c3091['slice'](_0xddd078,_0x465e86[_0xc3c497])),_0xddd078=_0x465e86[_0xc3c497]+_0x314051[_0xc3c497]+0x4;return _0x5248a5['push'](_0x5c3091['slice'](_0xddd078,_0x5c3091['size'])),new Blob(_0x5248a5,{'type':_0x5c3091['type']});}},hV=(_0x244610,_0x2eabbb)=>lV(_0x244610,0xe2,_0x2eabbb['map'](_0x21e559=>_0x21e559['buffer'])),uV=()=>{const _0x1cc6e9=document['createElement']('canvas'),_0x27a0df=_0x1cc6e9['getContext']('2d');return{'canvas':_0x1cc6e9,'ctx':_0x27a0df};},dV=async _0x3b34e=>{let _0x16d7eb=null;const {promiseReadJpegChunks:_0x1373af,stack:_0x219772}=aV();return await _0x1373af(_0x3b34e),_0x219772['forEach'](({marker:_0x18af4e,view:_0x50e756})=>{!_0x16d7eb&&0xe1===_0x18af4e&&_0x50e756['byteLength']>=0xe&&0x45786966===_0x50e756['getUint32'](0x0)&&0x0===_0x50e756['getUint16'](0x4)&&(_0x16d7eb=_0x50e756);}),_0x16d7eb;};let fV;const mV=_0x25537a=>((_0xbdc72,_0x476758)=>new Promise((_0x10070b,_0x267272)=>{_0x476758&&(_0xbdc72['src']=_0x476758),_0xbdc72['complete']?_0x10070b(_0xbdc72):(_0xbdc72['addEventListener']('load',()=>{_0x10070b(_0xbdc72);}),_0xbdc72['addEventListener']('error',()=>{_0x267272(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x25537a),gV=[0x1,0x3],pV=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],OV={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},wV=(_0xb320d9,_0x854523)=>{const _0x4810a1={};return(..._0x323d85)=>{const _0x3432d3=_0x854523(_0x323d85,_0x4810a1);return _0x3432d3 in _0x4810a1?_0x4810a1[_0x3432d3]:_0x4810a1[_0x3432d3]=_0xb320d9(..._0x323d85);};},bV=(_0x1f6a02,_0xac36a7)=>{const [_0xb59917]=_0x1f6a02,_0x40ceea=Object['keys'](_0xac36a7)['map'](_0x393a7f=>parseInt(_0x393a7f,0xa))['sort']((_0xaf8d07,_0x39635a)=>_0xaf8d07-_0x39635a);for(let _0x16960b=0x0;_0x16960b<_0x40ceea['length'];_0x16960b++){const _0x3ae5ac=_0x40ceea[_0x16960b],_0x347b63=!!_0xac36a7[_0x3ae5ac];if(_0x3ae5ac>_0xb59917&&_0x347b63)return _0x3ae5ac;if(_0x3ae5ac<_0xb59917&&!_0x347b63)return _0x3ae5ac;}return _0xb59917;},yV=0x37,_V=0x6e,vV=0xa5,TV=0xff,EV='rgba('+yV+',\x20'+_V+',\x20'+vV+',\x20'+TV/0xff+')',AV=(_0x271cbf,_0x5c03da)=>{try{const _0x52ebf0=[_0x271cbf-0x1,_0x5c03da-0x1,0x1,0x1],{canvas:_0x155835,ctx:_0x327df9}=uV();_0x155835['width']=0x1,_0x155835['height']=0x1;const {canvas:_0x2a18e3,ctx:_0x29b1cf}=uV();_0x2a18e3['width']=_0x271cbf,_0x2a18e3['height']=_0x5c03da,_0x29b1cf&&(_0x29b1cf['fillStyle']=EV,_0x29b1cf['fillRect'](..._0x52ebf0),_0x327df9['drawImage'](_0x2a18e3,_0x271cbf-0x1,_0x5c03da-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x16f2cd=_0x327df9&&_0x327df9['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x95921a=!0x1;return _0x16f2cd&&(_0x95921a=_0x16f2cd[0x0]===yV&&_0x16f2cd[0x1]===_V&&_0x16f2cd[0x2]===vV&&_0x16f2cd[0x3]===TV),_0x2a18e3['width']=_0x2a18e3['height']=0x1,_0x95921a;}catch(_0xf701f8){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x271cbf+'x'+_0x5c03da+'.'),!0x1;}};function SV(_0x62d59){return(..._0x5aefd5)=>new Promise(_0x21b0bf=>{setTimeout(()=>{const _0x263ae1=_0x62d59(..._0x5aefd5);_0x21b0bf(_0x263ae1);},0x0);});}const IV=SV(wV(AV,bV)),CV=SV(wV(AV,bV)),kV=async(_0x34c5c7,_0x3e14ce)=>{const _0x5208d6=OV['squareSide']['find'](_0x3488ef=>_0x3488ef*_0x3488ef>=_0x34c5c7*_0x3e14ce),_0x1c0779=OV['dimension']['find'](_0x5967d=>_0x5967d>=_0x34c5c7&&_0x5967d>=_0x3e14ce);if(!_0x5208d6||!_0x1c0779)throw new Error('Not\x20supported');const [_0x5d64e9,_0xd1764d]=await Promise['all']([IV(_0x5208d6,_0x5208d6),CV(_0x1c0779,0x1)]);if(_0x5d64e9&&_0xd1764d)return!0x0;throw new Error('Not\x20supported');},xV=async(_0x43d3b6,_0x4dbf37,_0xb0a60c)=>{try{const {ctx:_0x297806,canvas:_0x267565}=uV();return _0x267565['width']=_0x4dbf37,_0x267565['height']=_0xb0a60c,_0x297806['imageSmoothingQuality']='high',_0x297806['drawImage'](_0x43d3b6,0x0,0x0,_0x4dbf37,_0xb0a60c),_0x43d3b6 instanceof HTMLImageElement&&(_0x43d3b6['src']='//:0'),_0x43d3b6 instanceof HTMLCanvasElement&&(_0x43d3b6['width']=_0x43d3b6['height']=0x1),_0x267565;}catch(_0x1e57d6){throw new Error('Canvas\x20resize\x20error',{'cause':_0x1e57d6});}},RV=({img:_0x506762,sourceW:_0x5caaa6,targetW:_0x5d3f4a,targetH:_0x447e79,step:_0x373d2f})=>{const _0x2e1478=function({sourceW:_0x3bdffc,targetW:_0x10a873,targetH:_0x1806fc,step:_0x299ead}){const _0x245e5e=[];let _0x29812a=_0x10a873,_0x4de4a9=_0x1806fc;do{_0x245e5e['push']([_0x29812a,_0x4de4a9]),_0x29812a=Math['round'](_0x29812a/_0x299ead),_0x4de4a9=Math['round'](_0x4de4a9/_0x299ead);}while(_0x29812a<_0x3bdffc*_0x299ead);return _0x245e5e['reverse']();}({'sourceW':_0x5caaa6,'targetW':_0x5d3f4a,'targetH':_0x447e79,'step':_0x373d2f});return _0x2e1478['reduce']((_0x22694f,[_0x57921f,_0x1e21c4],_0x4b2246)=>_0x22694f['then'](_0x41e9ab=>kV(_0x57921f,_0x1e21c4)['then'](()=>xV(_0x41e9ab,_0x57921f,_0x1e21c4))['catch'](()=>{if(_0x4b2246===_0x2e1478['length']-0x1)throw new Error('Not\x20supported');return _0x41e9ab;})),Promise['resolve'](_0x506762));},PV=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),MV=0.71,NV=(_0x7eddbc,_0x5b9e05)=>{if(_0x7eddbc['width']*MV*_0x7eddbc['height']*MV<_0x5b9e05['size'])throw new Error('Not\x20required');const _0x485eae=_0x7eddbc['width'],_0x203a98=_0x7eddbc['height'],_0x588808=_0x485eae/_0x203a98,_0x20441c=Math['floor'](Math['sqrt'](_0x5b9e05['size']*_0x588808)),_0x3df7bf=Math['floor'](_0x5b9e05['size']/Math['sqrt'](_0x5b9e05['size']*_0x588808));return kV(_0x20441c,_0x3df7bf)['then'](()=>{const {ctx:_0x252ca4}=uV();return'imageSmoothingQuality'in _0x252ca4&&!(/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']))&&!PV?(({img:_0xbe9fae,targetW:_0x572058,targetH:_0x236938})=>xV(_0xbe9fae,_0x572058,_0x236938))({'img':_0x7eddbc,'targetW':_0x20441c,'targetH':_0x3df7bf}):RV({'img':_0x7eddbc,'sourceW':_0x485eae,'targetW':_0x20441c,'targetH':_0x3df7bf,'step':MV});})['catch'](()=>Promise['reject']('Not\x20supported'));},LV=async(_0x24aaef,_0x285714)=>{try{const _0x338c34=await(async _0x3a1cc5=>{let _0x23604d=!0x1;const {promiseReadJpegChunks:_0x3a91e7,stack:_0x5dcff5}=aV();return await _0x3a91e7(_0x3a1cc5)['then'](()=>(_0x5dcff5['forEach'](({marker:_0x449fa9,view:_0x12a043})=>{if(!_0x23604d&&pV['indexOf'](_0x449fa9)>=0x0){const _0x381ac2=_0x12a043['getUint8'](0x5);gV['indexOf'](_0x381ac2)<0x0&&(_0x23604d=!0x0);}}),_0x23604d))['catch'](()=>_0x23604d);})(_0x24aaef);if(_0x338c34)throw new Error('Should\x20skipped');const _0x3205a6=await Promise['allSettled']([dV(_0x24aaef),new Promise(_0x59f2a1=>{if(void 0x0!==fV)_0x59f2a1(fV);else{const _0x386ead=new Image();_0x386ead['addEventListener']('load',()=>{fV=_0x386ead['naturalWidth']<_0x386ead['naturalHeight'],_0x386ead['src']='//:0',_0x59f2a1(fV);}),_0x386ead['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),cV(_0x24aaef)]),_0x3e92ed=!_0x3205a6['some'](_0x110fc7=>'rejected'===_0x110fc7['status']),[_0x1abe67,_0x110c7f,_0x283bc0]=_0x3205a6,_0x1308d6=await(async _0x4194e1=>{try{return await hV(_0x4194e1,[]);}catch(_0x6c2d16){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x6c2d16);}})(_0x24aaef)['catch'](()=>_0x24aaef),_0x1f502b=await mV(URL['createObjectURL'](_0x1308d6));URL['revokeObjectURL'](_0x1f502b['src']);const _0x2a0ab3=await NV(_0x1f502b,_0x285714);let _0x50b4df='image/jpeg',_0x63687d=_0x285714?.['quality']||0.8;!_0x3e92ed&&(_0x3c7dd6=>{const {ctx:_0x3bed8a,canvas:_0x1efd43}=uV();_0x1efd43['width']=_0x1efd43['height']=0x32,_0x3bed8a['drawImage'](_0x3c7dd6,0x0,0x0,0x32,0x32);const _0xff6216=_0x3bed8a['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x1efd43['width']=_0x1efd43['height']=0x1;for(let _0x50780d=0x3;_0x50780d<_0xff6216['length'];_0x50780d+=0x4)if(_0xff6216[_0x50780d]<0xfe)return!0x0;return!0x1;})(_0x2a0ab3)&&(_0x50b4df='image/png',_0x63687d=void 0x0);let _0x265f3f=await((_0x27988c,_0x422236,_0x423c29)=>new Promise((_0x108022,_0x2c2ffd)=>{_0x27988c['toBlob'](_0x55c265=>{_0x55c265?_0x108022(_0x55c265):_0x2c2ffd('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x422236,_0x423c29),_0x27988c['width']=_0x27988c['height']=0x1;}))(_0x2a0ab3,_0x50b4df,_0x63687d);if(_0x3e92ed&&'fulfilled'===_0x1abe67['status']&&_0x1abe67['value']){const _0x2df717=_0x1abe67['value'],_0x49e87b='fulfilled'===_0x110c7f['status']&&_0x110c7f['value'];_0x265f3f=await(async(_0x472978,_0x40f1db,_0x589fef)=>(_0x589fef&&((_0x3044b9,_0x3b7d0f)=>{((_0x1c6210,_0x4cfe49)=>{let _0x5a12b3,_0x142be0,_0x2ff612,_0x441793;if(_0x1c6210&&!(_0x1c6210['byteLength']<0xe)&&0x45786966===_0x1c6210['getUint32'](0x0)&&0x0===_0x1c6210['getUint16'](0x4)){if(0x4949===_0x1c6210['getUint16'](0x6))_0x142be0=!0x0;else{if(0x4d4d!==_0x1c6210['getUint16'](0x6))return;_0x142be0=!0x1;}if(0x2a===_0x1c6210['getUint16'](0x8,_0x142be0))for(_0x2ff612=0x8+_0x1c6210['getUint32'](0xa,_0x142be0),_0x5a12b3=0x0,_0x441793=_0x1c6210['getUint16'](_0x2ff612-0x2,_0x142be0);_0x441793>=0x0?_0x5a12b3<_0x441793:_0x5a12b3>_0x441793;_0x441793>=0x0?++_0x5a12b3:--_0x5a12b3){if(_0x1c6210['byteLength']<_0x2ff612+0xa)return;0x112===_0x1c6210['getUint16'](_0x2ff612,_0x142be0)&&_0x4cfe49(_0x2ff612+0x8,_0x142be0),_0x2ff612+=0xc;}}})(_0x3044b9,(_0x322d0e,_0x4a5622)=>_0x3044b9['setUint16'](_0x322d0e,_0x3b7d0f,_0x4a5622));})(_0x40f1db,0x1),lV(_0x472978,0xe1,[_0x40f1db['buffer']])))(_0x265f3f,_0x2df717,_0x49e87b);}return _0x3e92ed&&'fulfilled'===_0x283bc0['status']&&_0x283bc0['value']['length']>0x0&&(_0x265f3f=await hV(_0x265f3f,_0x283bc0['value'])),_0x265f3f;}catch(_0x42d457){let _0x25dc82;throw _0x42d457 instanceof Error&&(_0x25dc82=_0x42d457['message']),'string'==typeof _0x42d457&&(_0x25dc82=_0x42d457),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x25dc82?'Message:\x20\x22'+_0x25dc82+'\x22.':''),{'cause':_0x42d457});}};var DV=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),QV=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'}),$V=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x49d254){this['_debugPrint']=_0x49d254;}['bindTarget'](_0x29617b){this['_targets']['add'](_0x29617b);}['unbindTarget'](_0x196454){this['_targets']['delete'](_0x196454);}['_dispatch'](_0x5044d1,_0x24ffc5){for(const _0x101ca6 of this['_targets'])_0x101ca6['dispatchEvent'](new CustomEvent(_0x5044d1,{'detail':_0x24ffc5}));this['_debugPrint']?.(()=>{const _0x5509da=_0x24ffc5&&'object'==typeof _0x24ffc5?{..._0x24ffc5}:_0x24ffc5;return['event\x20\x22'+_0x5044d1+'\x22',_0x5509da];});}['emit'](_0x28ee62,_0x3b0612,_0x1fbfca={}){const {debounce:_0x207358}=_0x1fbfca;if('number'!=typeof _0x207358&&!_0x207358)return void this['_dispatch'](_0x28ee62,'function'==typeof _0x3b0612?_0x3b0612():_0x3b0612);this['_timeoutStore']['has'](_0x28ee62)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x28ee62));const _0x56a977='number'==typeof _0x207358?_0x207358:0x14,_0xdf0f8a=window['setTimeout'](()=>{this['_dispatch'](_0x28ee62,'function'==typeof _0x3b0612?_0x3b0612():_0x3b0612),this['_timeoutStore']['delete'](_0x28ee62);},_0x56a977);this['_timeoutStore']['set'](_0x28ee62,_0xdf0f8a);}};function VV(_0x16c828,_0x1d491f){let _0x1ca3ad;const _0x34668d=(..._0x590626)=>{_0x1ca3ad&&clearTimeout(_0x1ca3ad),_0x1ca3ad=setTimeout(()=>_0x16c828(..._0x590626),_0x1d491f);};return _0x34668d['cancel']=()=>{_0x1ca3ad&&clearTimeout(_0x1ca3ad);},_0x34668d;}var UV=_0x3cab07=>_0x3cab07?_0x3cab07['split'](',')['map'](_0x1414ea=>_0x1414ea['trim']())['filter'](Boolean):[],BV=_0x42a4db=>_0x42a4db['join'](','),FV=_0x1cbdac=>{if('string'!=typeof _0x1cbdac||!_0x1cbdac)return'';let _0x5b0fc8=_0x1cbdac['trim']();return _0x5b0fc8['startsWith']('-/')?_0x5b0fc8=_0x5b0fc8['slice'](0x2):_0x5b0fc8['startsWith']('/')&&(_0x5b0fc8=_0x5b0fc8['slice'](0x1)),_0x5b0fc8['endsWith']('/')&&(_0x5b0fc8=_0x5b0fc8['slice'](0x0,_0x5b0fc8['length']-0x1)),_0x5b0fc8;},jV=(..._0x48d757)=>_0x48d757['filter'](_0x5ee4d0=>'string'==typeof _0x5ee4d0&&!!_0x5ee4d0)['map'](_0x3ca965=>FV(_0x3ca965))['join']('/-/'),HV=(..._0x2b967a)=>{const _0x280d4b=jV(..._0x2b967a);return _0x280d4b?'-/'+_0x280d4b+'/':'';};function GV(_0x22a4c8){const _0x437f37=new URL(_0x22a4c8),_0x2a29a3=_0x437f37['pathname']+_0x437f37['search']+_0x437f37['hash'],_0x4c49e5=_0x2a29a3['lastIndexOf']('http'),_0xbd55c5=_0x2a29a3['lastIndexOf']('/');let _0x64412d='';return _0x4c49e5>=0x0?_0x64412d=_0x2a29a3['slice'](_0x4c49e5):_0xbd55c5>=0x0&&(_0x64412d=_0x2a29a3['slice'](_0xbd55c5+0x1)),_0x64412d;}function ZV(_0x4da7ec){const _0x10e819=new URL(_0x4da7ec),{pathname:_0x484010}=_0x10e819,_0x587a3b=_0x484010['indexOf']('/'),_0x2e9dcd=_0x484010['indexOf']('/',_0x587a3b+0x1);return _0x484010['substring'](_0x587a3b+0x1,_0x2e9dcd);}function XV(_0xba3f6){const _0x35d025=WV(_0xba3f6),_0x485dcb=new URL(_0x35d025),_0x184211=_0x485dcb['pathname']['indexOf']('/-/');if(-0x1===_0x184211)return'';return _0x485dcb['pathname']['substring'](_0x184211)['slice'](0x1);}function qV(_0x33baf1){return XV(_0x33baf1)['split']('/-/')['filter'](Boolean)['map'](_0x1441a7=>FV(_0x1441a7));}function WV(_0x210589){const _0x18a656=new URL(_0x210589),_0x9884e5=GV(_0x210589),_0x582f30=zV(_0x9884e5)?YV(_0x9884e5)['pathname']:_0x9884e5;return _0x18a656['pathname']=_0x18a656['pathname']['replace'](_0x582f30,''),_0x18a656['search']='',_0x18a656['hash']='',_0x18a656['toString']();}function zV(_0x4c1471){return _0x4c1471['startsWith']('http');}function YV(_0x429b67){const _0x2cf83e=new URL(_0x429b67);return{'pathname':''+_0x2cf83e['origin']+(_0x2cf83e['pathname']??''),'search':_0x2cf83e['search']??'','hash':_0x2cf83e['hash']??''};}var KV=(_0x5d890f,_0x30ba2f,_0x4a710d)=>{const _0x4231bc=new URL(WV(_0x5d890f)),_0x2e29eb=_0x4a710d??GV(_0x5d890f),_0x2ec292=_0x30ba2f??'';if(_0x4231bc['pathname']['startsWith']('//')&&(_0x4231bc['pathname']=_0x4231bc['pathname']['replace']('//','/')),_0x2e29eb&&zV(_0x2e29eb)){const _0x10ce90=YV(_0x2e29eb);_0x4231bc['pathname']=''+_0x4231bc['pathname']+_0x2ec292+(_0x10ce90['pathname']||''),_0x4231bc['search']=_0x10ce90['search'],_0x4231bc['hash']=_0x10ce90['hash'];}else _0x4231bc['pathname']=''+_0x4231bc['pathname']+_0x2ec292+(_0x2e29eb||'');return _0x4231bc['toString']();},JV=(_0x214af1,_0x1ad414)=>{const _0x32e382=new URL(_0x214af1);return _0x32e382['pathname']=_0x1ad414+'/',_0x32e382['toString']();},tU=(_0x1776e6,_0x1a80ea=',')=>_0x1776e6['trim']()['split'](_0x1a80ea)['map'](_0x189773=>_0x189773['trim']())['filter'](_0x413d6d=>_0x413d6d['length']>0x0),eU=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}),iU=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function sU(_0x277032){return jV(...iU['filter'](_0x274a12=>void 0x0!==_0x277032[_0x274a12]&&null!==_0x277032[_0x274a12])['map'](_0x25a146=>function(_0x122c69,_0x3a5603){if('number'==typeof _0x3a5603){const _0x4667a7=_0x3a5603;return eU[_0x122c69]!==_0x4667a7?_0x122c69+'/'+_0x4667a7:'';}if('boolean'==typeof _0x3a5603){const _0x52bffb=_0x3a5603;return eU[_0x122c69]!==_0x52bffb?''+_0x122c69:'';}if('filter'===_0x122c69&&_0x3a5603){const {name:_0x127d82,amount:_0x508951}=_0x3a5603;return eU['filter']===_0x508951?'':_0x122c69+'/'+_0x127d82+'/'+_0x508951;}if('crop'===_0x122c69&&_0x3a5603){const {dimensions:_0x23e66d,coords:_0x423ca4}=_0x3a5603;return _0x122c69+'/'+_0x23e66d['join']('x')+'/'+_0x423ca4['join'](',');}return'';}(_0x25a146,_0x277032[_0x25a146]))['filter'](_0x18b01e=>!!_0x18b01e));}var nU=jV('format/auto','progressive/yes'),rU=([_0x1ecbc5])=>void 0x0!==_0x1ecbc5?Number(_0x1ecbc5):void 0x0,oU=()=>!0x0,aU=Object['freeze']({'enhance':rU,'brightness':rU,'exposure':rU,'gamma':rU,'contrast':rU,'saturation':rU,'vibrance':rU,'warmth':rU,'filter':([_0x28605a,_0x18097a])=>({'name':_0x28605a,'amount':void 0x0!==_0x18097a?Number(_0x18097a):0x64}),'mirror':oU,'flip':oU,'rotate':rU,'crop':_0x202c99=>{const [_0xb05b4b,_0x49220a]=_0x202c99,{dimensions:_0x235be3,coords:_0x4a6cf2}=(([_0x3c9ad1,_0x1c69ea])=>{if(!/\d+x\d+/['test'](_0x3c9ad1)||!/\d+,\d+/['test'](_0x1c69ea))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':tU(_0x3c9ad1,'x')['map'](Number),'coords':tU(_0x1c69ea)['map'](Number)};})([_0xb05b4b,_0x49220a]);return{'dimensions':_0x235be3,'coords':_0x4a6cf2};}});function cU(_0x311bd1){const _0x3f80e6={};for(const _0x41ede5 of _0x311bd1){const [_0x2653f6,..._0x1b2e78]=_0x41ede5['split']('/');if(!_0x2653f6||!iU['includes'](_0x2653f6))continue;const _0x5adba5=_0x2653f6,_0x21d71a=aU[_0x5adba5];try{const _0x20497f=_0x21d71a(_0x1b2e78);_0x3f80e6[_0x5adba5]=_0x20497f;}catch(_0x2025c5){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x41ede5+'\x22.\x20It\x20will\x20be\x20ignored.',_0x2025c5 instanceof Error?'Error\x20message:\x20\x22'+_0x2025c5['message']+'\x22':_0x2025c5,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x3f80e6;}var lU=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),hU=Object['freeze']([lU['CROP'],lU['TUNING'],lU['FILTERS']]),uU=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),dU=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']),fU=Object['freeze'](['rotate','mirror','flip']),mU=eU,gU=Object['freeze']({'brightness':{'zero':mU['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':mU['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':mU['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':mU['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':mU['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':mU['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':mU['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':mU['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':mU['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),pU='https://ucarecdn.com',OU={'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':BV(hU),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':pU,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','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},wU=Object['freeze'](OU),bU=(_0x2eaf90,_0x32dfcc)=>new Intl['PluralRules'](_0x2eaf90)['select'](_0x32dfcc),yU=_0x739cc7=>_0x739cc7,_U='{{',vU='}}',TU='plural:';function EU(_0x2c958a,_0x5b7260={},_0x2ff125={}){const {openToken:_0x139e2a=_U,closeToken:_0x3f578d=vU,transform:_0x499da9=yU}=_0x2ff125;for(const _0xffba27 in _0x5b7260){const _0x3172c7=_0x5b7260[_0xffba27],_0x2a2447=null!=_0x3172c7?_0x3172c7['toString']():void 0x0,_0x9f7749='string'==typeof _0x2a2447?_0x499da9(_0x2a2447):String(_0x2a2447);_0x2c958a=_0x2c958a['replaceAll'](_0x139e2a+_0xffba27+_0x3f578d,_0x9f7749);}return _0x2c958a;}var AU='--uploadcare-blocks-window-height',SU=class _WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=VV(()=>{document['documentElement']['style']['setProperty'](AU,window['innerHeight']+'px');},0x64);static['registerClient'](_0x8bc2c6){0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['attachTracker'](),_WindowHeightTracker['clientsRegistry']['add'](_0x8bc2c6);}static['unregisterClient'](_0x179d05){_WindowHeightTracker['clientsRegistry']['delete'](_0x179d05),0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_WindowHeightTracker['flush'],{'passive':!0x0,'capture':!0x0}),_WindowHeightTracker['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_WindowHeightTracker['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](AU);}},IU=_0x4907a4=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x4907a4['modalManager']?.['close'](_0x4907a4['$']['*currentActivity']),_0x4907a4['set$']({'*currentActivity':null});}}),CU=_0xbfd8da=>({...IU(_0xbfd8da),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new Queue(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),kU={'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'},xU=new Map(),RU=new Map(),PU=(_0x4f676b,_0x236f1b)=>{xU['has'](_0x4f676b)&&console['log']('Locale\x20'+_0x4f676b+'\x20is\x20already\x20defined.\x20Overwriting...'),xU['set'](_0x4f676b,{...kU,..._0x236f1b});},MU=(_0x383875,_0x97af8c)=>{'function'==typeof _0x97af8c?((_0x15d7f6,_0xb00206)=>{RU['set'](_0x15d7f6,_0xb00206);})(_0x383875,_0x97af8c):PU(_0x383875,_0x97af8c);};MU('en',kU);var NU=_0x148c15=>'*l10n/'+_0x148c15,LU=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x12b596){this['_blockInstance']=_0x12b596;for(const [_0x15d6ce,_0x410d09]of Object['entries'](kU)){const _0x3233da=!this['_blockInstance']['has'](NU(_0x15d6ce))||!this['_blockInstance']['$'][NU(_0x15d6ce)];this['_blockInstance']['add'](NU(_0x15d6ce),_0x410d09,_0x3233da);}setTimeout(()=>{_0x12b596['subConfigValue']('localeName',async _0x5a238c=>{if(!this['_blockInstance']||!_0x5a238c)return;this['_localeName']=_0x5a238c;const _0x539da3=await(async _0x195853=>{if(!xU['has'](_0x195853)){if(!RU['has'](_0x195853))throw new Error('Locale\x20'+_0x195853+'\x20is\x20not\x20defined');const _0x42b3c5=RU['get'](_0x195853),_0x259bbb=await _0x42b3c5();PU(_0x195853,_0x259bbb);}return xU['get'](_0x195853);})(_0x5a238c);if('en'!==_0x5a238c&&this['_localeName']!==_0x5a238c)return;const _0x4f6c0e=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x5a238c];for(const [_0x17dae6,_0x32dba8]of Object['entries'](_0x539da3)){const _0x2930f3=_0x4f6c0e?.[_0x17dae6];this['_blockInstance']['add'](NU(_0x17dae6),_0x2930f3??_0x32dba8,!0x0);for(const _0x1c426d of this['_callbacks'])_0x1c426d();}}),_0x12b596['subConfigValue']('localeDefinitionOverride',_0x4417ef=>{if(!_0x4417ef)return;const _0x156149=_0x4417ef[this['_localeName']];if(_0x156149)for(const [_0x58a85f,_0x5ed8b4]of Object['entries'](_0x156149)){this['_blockInstance']?.['add'](NU(_0x58a85f),_0x5ed8b4,!0x0);for(const _0x307b8b of this['_callbacks'])_0x307b8b();}});});}['onLocaleChange'](_0x20bdfd){const _0x11647f=VV(_0x20bdfd,0x0);return this['_callbacks']['add'](_0x11647f),()=>{this['_callbacks']['delete'](_0x11647f);};}['bindL10n'](_0x155bc3,_0x4677c7,_0x3c1416){_0x155bc3['$'][_0x4677c7]=_0x3c1416(),this['_boundBlocks']['has'](_0x155bc3)||this['_boundBlocks']['set'](_0x155bc3,new Map()),this['_boundBlocks']['get'](_0x155bc3)?.['get'](_0x4677c7)?.();const _0xc0ba7f=this['onLocaleChange'](()=>{_0x155bc3['$'][_0x4677c7]=_0x3c1416();});this['_boundBlocks']['get'](_0x155bc3)?.['set'](_0x4677c7,_0xc0ba7f);}['destroyL10nBindings'](_0x152efc){const _0x16016e=this['_boundBlocks']['get'](_0x152efc);if(_0x16016e){for(const _0x135259 of _0x16016e['values']())_0x135259();this['_boundBlocks']['delete'](_0x152efc);}}['destroy'](){this['_callbacks']['clear']();}};function DU(_0x29983c,_0x3dfe60){[..._0x29983c['querySelectorAll']('[l10n]')]['forEach'](_0x31a518=>{const _0x412d52=_0x31a518['getAttribute']('l10n');if(!_0x412d52)return;const _0x2c79c5=_0x412d52['split'](';');for(const _0x36b003 of _0x2c79c5)_0x36b003&&QU(_0x31a518,_0x36b003,_0x3dfe60);});}var QU=(_0x11d4d9,_0x5834ab,_0x5290f5)=>{let _0xf86de2='textContent',_0x413088=!0x1;if(_0x5834ab['includes'](':')){const _0xb814cc=_0x5834ab['split'](':');if(0x2!==_0xb814cc['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x5834ab);const _0x15048b=_0xb814cc;_0xf86de2=_0x15048b[0x0],_0x5834ab=_0x15048b[0x1],_0xf86de2['startsWith']('@')&&(_0xf86de2=_0xf86de2['slice'](0x1),_0x413088=!0x0);}const _0x43b414=_0x5834ab;_0x5290f5['has'](_0x43b414)&&_0x5290f5['sub'](_0x43b414,_0x54a3f9=>{if(!_0x54a3f9)return;_0x5290f5['l10nProcessorSubs']['has'](_0x43b414)||_0x5290f5['l10nProcessorSubs']['set'](_0x43b414,new Set());const _0x458206=_0x5290f5['l10nProcessorSubs']['get'](_0x43b414);_0x458206?.['forEach'](_0x2dc39b=>{_0x2dc39b['remove'](),_0x458206['delete'](_0x2dc39b),_0x5290f5['allSubs']['delete'](_0x2dc39b);});const _0x2c93e0=NU(_0x54a3f9)['replace']('*','');_0x5290f5['nodeCtx']['has'](_0x2c93e0)||_0x5290f5['nodeCtx']['add'](_0x2c93e0,_0x54a3f9);const _0x55b6f2=_0x5290f5['nodeCtx']['sub'](_0x2c93e0,()=>{_0x11d4d9[_0xf86de2]=_0x5290f5['l10n'](_0x54a3f9);});_0x458206?.['add'](_0x55b6f2),_0x5290f5['allSubs']['add'](_0x55b6f2),_0x11d4d9['removeAttribute']('l10n');});const _0x1b461e=NU(_0x5834ab);_0x5290f5['has'](_0x1b461e)||_0x5290f5['add'](_0x1b461e,''),_0x5290f5['sub'](_0x1b461e,()=>{_0x413088?_0x11d4d9['setAttribute'](_0xf86de2,_0x5290f5['l10n'](_0x5834ab)):_0x11d4d9[_0xf86de2]=_0x5290f5['l10n'](_0x5834ab);}),_0x11d4d9['removeAttribute']('l10n');},$U=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x1e4dcc,_0x147a36){const _0x20bcc0=_0x147e2d=>{const _0x2f16c7=_0x147e2d['target'];_0x2f16c7 instanceof Node&&this['_scope']['some'](_0x34c5c9=>_0x34c5c9===_0x2f16c7||_0x34c5c9['contains'](_0x2f16c7))&&_0x147a36(_0x147e2d);};this['_listeners']['set'](_0x147a36,_0x20bcc0),window['addEventListener'](_0x1e4dcc,_0x20bcc0);}['removeEventListener'](_0x34a392,_0x301dcb){const _0xe15f21=this['_listeners']['get'](_0x301dcb);_0xe15f21&&window['removeEventListener'](_0x34a392,_0xe15f21),this['_listeners']['delete'](_0x301dcb);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x739699){this['_scope']['push'](_0x739699);}['destroy'](){this['_scope']=[];for(const _0x3ab21e of this['_listeners']['values']())window['removeEventListener']('keydown',_0x3ab21e),window['removeEventListener']('keyup',_0x3ab21e);this['_listeners']['clear']();}},VU=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new $U(),this['_destroyKeyUX']=function(_0x46aa73,_0x56bc86){let _0x217d42=_0x56bc86['map'](_0x3ace03=>_0x3ace03(_0x46aa73));return()=>{_0x217d42['forEach'](_0x3720d1=>_0x3720d1());};}(this['_scopedWindow'],[_0xf57e63=>{let _0x2fa8ba=!0x1,_0x2b3352=0x0,_0x532889='';function _0x2250bb(_0x2e386d){let _0x389bc7=K$(_0x2e386d['target']);if(!_0x389bc7)return void _0x40c643();let _0x2dd832=J$(_0x2e386d['target'],_0x389bc7),_0x28d51b=Array['from'](_0x2dd832)['indexOf'](_0x2e386d['target']),_0x1585fa='ArrowDown',_0xf154cd='ArrowUp';if(function(_0x1e37e3){let _0x5aa4ba=_0x1e37e3['getAttribute']('aria-orientation');if('vertical'===_0x5aa4ba)return!0x1;if('horizontal'===_0x5aa4ba)return!0x0;let _0x46b857=_0x1e37e3['role'];return'menubar'===_0x46b857||'tablist'===_0x46b857||'toolbar'===_0x46b857;}(_0x389bc7)&&('rtl'===_0xf57e63['document']['dir']?(_0x1585fa='ArrowLeft',_0xf154cd='ArrowRight'):(_0x1585fa='ArrowRight',_0xf154cd='ArrowLeft')),_0x2e386d['key']===_0x1585fa)_0x2e386d['preventDefault'](),Y$(_0x2e386d['target'],_0x2dd832[_0x28d51b+0x1]||_0x2dd832[0x0]);else{if(_0x2e386d['key']===_0xf154cd)_0x2e386d['preventDefault'](),Y$(_0x2e386d['target'],_0x2dd832[_0x28d51b-0x1]||_0x2dd832[_0x2dd832['length']-0x1]);else{if('Home'===_0x2e386d['key'])_0x2e386d['preventDefault'](),Y$(_0x2e386d['target'],_0x2dd832[0x0]);else{if('End'===_0x2e386d['key'])_0x2e386d['preventDefault'](),Y$(_0x2e386d['target'],_0x2dd832[_0x2dd832['length']-0x1]);else{if(0x1===_0x2e386d['key']['length']&&'tablist'!==_0x389bc7['role']){let _0xe57d5c=Date['now']();_0xe57d5c-_0x2b3352<=0x12c?_0x532889+=_0x2e386d['key']['toLowerCase']():_0x532889=_0x2e386d['key']['toLowerCase'](),_0x2b3352=_0xe57d5c;let _0x32e976=Array['from'](_0x2dd832)['find'](_0x270b24=>_0x270b24['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x532889));_0x32e976&&(_0x2e386d['preventDefault'](),Y$(_0x2e386d['target'],_0x32e976));}}}}}}function _0x40c643(){_0x2fa8ba=!0x1,_0xf57e63['removeEventListener']('keydown',_0x2250bb);}function _0x427855(_0x5d9312){let _0x4a536a=K$(_0x5d9312['target']);if(_0x4a536a){_0x2fa8ba||(_0x2fa8ba=!0x0,_0xf57e63['addEventListener']('keydown',_0x2250bb));let _0x5a7166=J$(_0x5d9312['target'],_0x4a536a);for(let _0x428d5c of _0x5a7166)_0x428d5c!==_0x5d9312['target']&&_0x428d5c['setAttribute']('tabindex',-0x1);}else _0x2fa8ba&&_0x40c643();}function _0x3fec7e(_0x2db7bb){_0x2db7bb['relatedTarget']&&_0x2db7bb['relatedTarget']!==_0xf57e63['document']||_0x40c643();}function _0x1706ac(_0x5d7b23){let _0x4cabc9=K$(_0x5d7b23['target']);if(_0x4cabc9){let _0x23310c=J$(_0x5d7b23['target'],_0x4cabc9);for(let _0x619b98 of _0x23310c)_0x619b98!==_0x5d7b23['target']&&_0x619b98['setAttribute']('tabindex',-0x1);_0x5d7b23['target']['setAttribute']('tabindex',0x0);}}return _0xf57e63['addEventListener']('click',_0x1706ac),_0xf57e63['addEventListener']('focusin',_0x427855),_0xf57e63['addEventListener']('focusout',_0x3fec7e),()=>{_0x40c643(),_0xf57e63['removeEventListener']('click',_0x1706ac),_0xf57e63['removeEventListener']('focusin',_0x427855),_0xf57e63['removeEventListener']('focusout',_0x3fec7e);};},eV('is-pressed'),tV(),_0x12d9e8=>{let _0x3bd8ff,_0x31ad02;function _0x46a73c(_0x26515b){if('true'===_0x26515b['target']['getAttribute']('aria-hidden')){_0x3bd8ff=_0x26515b['target'],_0x3bd8ff['setAttribute']('aria-hidden','false'),_0x31ad02=_0x3bd8ff['hidden'],_0x31ad02&&(_0x3bd8ff['hidden']=!0x1);let _0x461ad1=_0x26515b['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x461ad1&&(_0x461ad1['tabIndex']=0x0);}}function _0x485260(_0x217cd7){!_0x3bd8ff||!_0x3bd8ff['contains'](_0x217cd7['target'])||_0x217cd7['relatedTarget']&&_0x3bd8ff['contains'](_0x217cd7['relatedTarget'])||(_0x217cd7['target']['tabIndex']=-0x1,_0x3bd8ff['setAttribute']('aria-hidden','true'),_0x31ad02&&(_0x3bd8ff['hidden']=!0x0),_0x3bd8ff=null);}return _0x12d9e8['addEventListener']('keyuxJump',_0x46a73c),_0x12d9e8['addEventListener']('focusout',_0x485260),()=>{_0x12d9e8['removeEventListener']('keyuxJump',_0x46a73c),_0x12d9e8['removeEventListener']('focusout',_0x485260);};}]);}['registerBlock'](_0x108967){this['_scopedWindow']['registerScope'](_0x108967);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},UU=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),BU=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x16baa1){this['_block']=_0x16baa1;}['_debugPrint'](..._0x1c9cc5){this['_block']['debugPrint']('[modal-manager]',..._0x1c9cc5);}['registerModal'](_0x51e28b,_0x2d7ca6){this['_modals']['set'](_0x51e28b,_0x2d7ca6),this['_notify'](UU['ADD'],{'id':_0x51e28b,'modal':_0x2d7ca6});}['deleteModal'](_0x109fb7){if(!this['_modals']['has'](_0x109fb7))return!0x1;const _0x6c5080=this['_modals']['get'](_0x109fb7);return this['_modals']['delete'](_0x109fb7),this['_activeModals']['delete'](_0x109fb7),this['_notify'](UU['DELETE'],{'id':_0x109fb7,'modal':_0x6c5080}),!0x0;}['open'](_0x2e5cda){if(!this['_modals']['has'](_0x2e5cda))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x2e5cda+'\x22\x20not\x20found'),!0x1;const _0x2e211c=this['_modals']['get'](_0x2e5cda);return this['_activeModals']['add'](_0x2e5cda),this['_notify'](UU['OPEN'],{'modal':_0x2e211c,'id':_0x2e5cda}),!0x0;}['close'](_0x316084){if(!this['_modals']['has'](_0x316084)||!this['_activeModals']['has'](_0x316084))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x316084+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x149635=this['_modals']['get'](_0x316084);return this['_activeModals']['delete'](_0x316084),this['_notify'](UU['CLOSE'],{'id':_0x316084,'modal':_0x149635}),!0x0;}['toggle'](_0x3c8a06){return this['_modals']['has'](_0x3c8a06)?this['_activeModals']['has'](_0x3c8a06)?this['close'](_0x3c8a06):this['open'](_0x3c8a06):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x3c8a06+'\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 _0x5a1ef8=Array['from'](this['_activeModals'])['pop']();return!!_0x5a1ef8&&this['close'](_0x5a1ef8);}['closeAll'](){const _0x57cc70=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](UU['CLOSE_ALL'],{}),_0x57cc70;}['subscribe'](_0x3649b4,_0x21ec44){return this['_subscribers']['has'](_0x3649b4)||this['_subscribers']['set'](_0x3649b4,new Set()),this['_subscribers']['get'](_0x3649b4)?.['add'](_0x21ec44),()=>this['unsubscribe'](_0x3649b4,_0x21ec44);}['unsubscribe'](_0x1f829a,_0x22e84b){this['_subscribers']['has'](_0x1f829a)&&this['_subscribers']['get'](_0x1f829a)?.['delete'](_0x22e84b);}['_notify'](_0x5ac2d2,_0x362cb9){if(this['_subscribers']['has'](_0x5ac2d2)){for(const _0x2c05d of this['_subscribers']['get'](_0x5ac2d2)??new Set())try{_0x2c05d(_0x362cb9);}catch(_0x439cfe){this['_block']['telemetryManager']['sendEventError'](_0x439cfe,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x439cfe);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](UU['DESTROY'],{});}},FU='blocks',jU='1.24.5',HU=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(wU);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x181c59){this['_block']=_0x181c59,this['_telemetryInstance']=new p(),this['_queue']=new Queue(0xa);for(const _0x3a38ca of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x3a38ca,_0x654c8e=>{this['_initialized']&&this['_config'][_0x3a38ca]!==_0x654c8e&&this['sendEvent']({'eventType':DV['CHANGE_CONFIG']}),this['_setConfig'](_0x3a38ca,_0x654c8e);});}['_init'](_0x3d0b76){_0x3d0b76!==DV['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x2d4241,_0x3b5fdf){this['_config'][_0x2d4241]!==_0x3b5fdf&&(this['_config'][_0x2d4241]=_0x3b5fdf);}['_formattingPayload'](_0x5e1479){const _0x584dcb=_0x5e1479['payload']?{..._0x5e1479['payload']}:{};_0x584dcb['activity']&&(_0x584dcb['activity']=void 0x0);const _0x3fc68d={..._0x5e1479};return _0x5e1479['eventType']!==DV['INIT_SOLUTION']&&_0x5e1479['eventType']!==DV['CHANGE_CONFIG']||(_0x3fc68d['config']=this['_config']),{..._0x3fc68d,'appVersion':jU,'appName':FU,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x3fc68d['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x584dcb}};}['_excludedEvents'](_0x22ebb7){return!(!_0x22ebb7||![QV['CHANGE'],QV['COMMON_UPLOAD_PROGRESS'],QV['FILE_ADDED'],QV['FILE_REMOVED'],QV['FILE_UPLOAD_START'],QV['FILE_UPLOAD_PROGRESS'],QV['FILE_UPLOAD_SUCCESS'],QV['FILE_UPLOAD_FAILED']]['includes'](_0x22ebb7));}['sendEvent'](_0xd87ea5){const _0x26be3f=this['_formattingPayload']({'eventType':_0xd87ea5['eventType'],'payload':_0xd87ea5['payload'],'config':_0xd87ea5['config']});this['_init'](_0xd87ea5['eventType']);if(this['_excludedEvents'](_0xd87ea5['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x26be3f)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x26be3f,await this['_telemetryInstance']['sendEvent'](_0x26be3f);});}['sendEventError'](_0x2087b7,_0x50931b='unknown'){this['sendEvent']({'eventType':DV['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x50931b,'error':_0x2087b7['message']}}});}['sendEventCloudImageEditor'](_0x4ef913,_0x3a3c31,_0x226174={}){this['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x3a3c31,'node':_0x4ef913['currentTarget']?.['tagName'],'event':_0x4ef913['type'],..._0x226174}}});}['_checkObj'](_0x188790,_0x3ae7bb){if(JSON['stringify'](_0x188790)===JSON['stringify'](_0x3ae7bb))return!0x0;if('object'!=typeof _0x188790||'object'!=typeof _0x3ae7bb||null==_0x188790||null==_0x3ae7bb)return!0x1;const _0x393fa7=Object['keys'](_0x188790),_0x4a9562=Object['keys'](_0x3ae7bb);if(_0x393fa7['length']!==_0x4a9562['length'])return!0x1;for(const _0xa330a0 of _0x393fa7){if(!Object['hasOwn'](_0x3ae7bb,_0xa330a0))return!0x1;if(!this['_checkObj'](_0x188790[_0xa330a0],_0x3ae7bb[_0xa330a0]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x226cb0=this['_block']['$']['*solution'];return _0x226cb0?_0x226cb0['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},GU=_0xf969a9=>'*cfg/'+_0xf969a9;function ZU(_0x175adb,_0x39a0c9){const _0x250fbc=_0x175adb['querySelectorAll']('[data-testid]');if(0x0===_0x250fbc['length'])return;const _0x496c0b=new WeakMap();for(const _0xf4ecc3 of _0x250fbc){const _0x17482b=_0xf4ecc3['getAttribute']('data-testid');_0x17482b&&_0x496c0b['set'](_0xf4ecc3,_0x17482b);}_0x39a0c9['subConfigValue']('testMode',_0x38cd6e=>{if(!_0x38cd6e){for(const _0x3662f7 of _0x250fbc)_0x3662f7['removeAttribute']('data-testid');return;}const _0x207cc1=_0x39a0c9['testId'];for(const _0x5c94e7 of _0x250fbc){const _0x486ecd=_0x496c0b['get'](_0x5c94e7);_0x486ecd&&_0x5c94e7['setAttribute']('data-testid',_0x207cc1+'--'+_0x486ecd);}});}var XU=class extends HQ{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']={};['l10n'](_0x462c36,_0x565619={}){if(!_0x462c36)return'';const _0x3ad134=this['$'][NU(_0x462c36)]||_0x462c36,_0x5a7dec=function(_0x5935a7){const _0x16941e=[];let _0x4bb477=_0x5935a7['indexOf'](_U);for(;-0x1!==_0x4bb477;){const _0x37de35=_0x5935a7['indexOf'](vU,_0x4bb477);if(-0x1===_0x37de35)break;const _0x82d2d9=_0x5935a7['substring'](_0x4bb477+0x2,_0x37de35);if(_0x82d2d9['startsWith'](TU)){const _0x2b54d5=_0x5935a7['substring'](_0x4bb477+0x2,_0x37de35)['replace'](TU,''),_0x148b84=_0x2b54d5['substring'](0x0,_0x2b54d5['indexOf']('(')),_0x13f8ba=_0x2b54d5['substring'](_0x2b54d5['indexOf']('(')+0x1,_0x2b54d5['indexOf'](')'));_0x16941e['push']({'variable':_0x82d2d9,'pluralKey':_0x148b84,'countVariable':_0x13f8ba});}_0x4bb477=_0x5935a7['indexOf'](_U,_0x37de35);}return _0x16941e;}(_0x3ad134);for(const _0x5526ba of _0x5a7dec)_0x565619[_0x5526ba['variable']]=this['pluralize'](_0x5526ba['pluralKey'],Number(_0x565619[_0x5526ba['countVariable']]));return EU(_0x3ad134,_0x565619);}['pluralize'](_0x593d31,_0x9cc0b7){const _0x2d7252=this['l10n']('locale-id')||'en',_0x45c70d=bU(_0x2d7252,_0x9cc0b7);return this['l10n'](_0x593d31+'__'+_0x45c70d);}['bindL10n'](_0xe0d7f9,_0x398719){this['localeManager']?.['bindL10n'](this,_0xe0d7f9,_0x398719);}constructor(){super(),this['addTemplateProcessor'](DU),this['addTemplateProcessor'](ZU);}['emit'](_0x3ddc67,_0x457551,_0x4680a6){const _0x5591a9=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x5591a9&&(_0x5591a9['emit'](_0x3ddc67,_0x457551,_0x4680a6),this['telemetryManager']['sendEvent']({'eventType':_0x3ddc67,'payload':'function'==typeof _0x457551?_0x457551():_0x457551}));}['hasBlockInCtx'](_0x48670e){for(const _0x413f4c of this['blocksRegistry'])if(_0x48670e(_0x413f4c))return!0x0;return!0x1;}['setOrAddState'](_0xf0d6dd,_0x51d27c){this['add$']({[_0xf0d6dd]:_0x51d27c},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x5169da=>{this['setAttribute'](_0x5169da,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?(({element:_0x11decb,attribute:_0x392eeb,onSuccess:_0x5ef178,onTimeout:_0x3bfaaf,timeout:_0x39b66d=0x12c})=>{const _0x498dc6=_0x11decb['getAttribute'](_0x392eeb);if(null!==_0x498dc6)return void _0x5ef178(_0x498dc6);const _0x4a102e=new MutationObserver(_0x41dbc8=>{const _0x363487=_0x41dbc8[_0x41dbc8['length']-0x1];_0x363487&&_0x313208(_0x363487);});_0x4a102e['observe'](_0x11decb,{'attributes':!0x0,'attributeFilter':[_0x392eeb]});const _0x1eb0b6=window['setTimeout'](()=>{_0x4a102e['disconnect'](),_0x3bfaaf();},_0x39b66d),_0x313208=_0x5d3936=>{const _0x2937b4=_0x11decb['getAttribute'](_0x392eeb);'attributes'===_0x5d3936['type']&&_0x5d3936['attributeName']===_0x392eeb&&null!==_0x2937b4&&(window['clearTimeout'](_0x1eb0b6),_0x4a102e['disconnect'](),_0x5ef178(_0x2937b4));};})({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),SU['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),SU['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new $V(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new LU(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new HU(this)),this['has']('*a11y')||this['add']('*a11y',new VU()),this['has']('*modalManager')||this['add']('*modalManager',new BU(this)),this['sub'](NU('locale-id'),_0xd18cdf=>{const _0x3e0b7a=(_0x42446f=>{const _0x12df02=new Intl['Locale'](_0x42446f);let _0x486b98='ltr';const _0x20b6ec=_0x12df02['getTextInfo']?.()['direction'];return _0x20b6ec?_0x486b98=_0x20b6ec:_0x12df02['textInfo']?.['direction']&&(_0x486b98=_0x12df02['textInfo']['direction']),_0x486b98;})(_0xd18cdf);this['style']['direction']='ltr'===_0x3e0b7a?'':_0x3e0b7a;}),this['subConfigValue']('testMode',_0xe9dd71=>{_0xe9dd71&&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 _0x17886c=this['blocksRegistry'];_0x17886c?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),IQ['deleteCtx'](this),0x0===_0x17886c?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){IQ['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x1c380e){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'](_0x1c380e,{'uuid':ZV(_0x1c380e),'cdnUrlModifiers':XV(_0x1c380e),'fileName':GV(_0x1c380e)});}catch(_0x8d42ac){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x8d42ac),this['telemetryManager']['sendEventError'](_0x8d42ac,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x1c380e;}return this['cfg']['secureDeliveryProxy']?EU(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x1c380e},{'transform':_0x401335=>window['encodeURIComponent'](_0x401335)}):_0x1c380e;}get['cfg'](){if(!this['__cfgProxy']){const _0x3015ea=Object['create'](null);this['__cfgProxy']=new Proxy(_0x3015ea,{'set':(_0x39e90b,_0x441295,_0x30261f)=>{if('string'!=typeof _0x441295)return!0x1;const _0x3b6ee4=GU(_0x441295);return this['has'](_0x3b6ee4)||this['add'](_0x3b6ee4,wU[_0x441295]),this['$'][_0x3b6ee4]=_0x30261f,!0x0;},'get':(_0x381b0b,_0x3e20b1)=>{const _0x57c982=GU(_0x3e20b1);return this['has'](_0x57c982)||this['add'](_0x57c982,wU[_0x3e20b1]),this['$'][GU(_0x3e20b1)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x281fb7,_0x2db52d){const _0x1ae55f=GU(_0x281fb7);this['has'](_0x1ae55f)||this['add'](_0x1ae55f,wU[_0x281fb7]),this['sub'](_0x1ae55f,_0x2db52d);}['debugPrint'](..._0x250ac6){if(!this['cfg']['debug'])return;let _0x5867dd=_0x250ac6;'function'==typeof _0x250ac6?.[0x0]&&(_0x5867dd=(0x0,_0x250ac6[0x0])()),console['log']('['+this['ctxName']+']',..._0x5867dd);}static['reg'](_0x1a2191){_0x1a2191?_0x1a2191['startsWith']('uc-')&&super['reg'](_0x1a2191):super['reg']();}},qU='active',WU='___ACTIVITY_IS_ACTIVE___',zU=class _ActivityBlock extends XU{['historyTracked']=!0x1;[WU];['init$']=IU(this);['_debouncedHistoryFlush']=VV(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x29fb33=_ActivityBlock['_activityCallbacks']['get'](this);this[WU]=!0x1,this['removeAttribute'](qU),_0x29fb33?.['deactivateCallback']?.();}['_activate'](){const _0x566bb6=_ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[WU]=!0x0,this['setAttribute'](qU,''),_0x566bb6?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](QV['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x22b7ab=>{try{this['activityType']!==_0x22b7ab&&this[WU]?this['_deactivate']():this['activityType']!==_0x22b7ab||this[WU]||this['_activate']();}catch(_0x1e8638){this['telemetryManager']['sendEventError'](_0x1e8638,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x1e8638),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x22b7ab||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x10c303=this['$']['*history'];_0x10c303&&(_0x10c303['length']>0xa&&(_0x10c303=_0x10c303['slice'](_0x10c303['length']-0xb,_0x10c303['length']-0x1)),this['historyTracked']&&_0x10c303[_0x10c303['length']-0x1]!==this['activityType']&&_0x10c303['push'](this['activityType']),this['$']['*history']=_0x10c303);}['_isActivityRegistered'](){return!!this['activityType']&&_ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[WU];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x4030aa,_0x45be4f={}){const {onActivate:_0x56dee2,onDeactivate:_0x23f85d}=_0x45be4f;_ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x56dee2,'deactivateCallback':_0x23f85d});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x16d0c4=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x1877ba=>_0x1877ba instanceof _ActivityBlock&&_0x1877ba['activityType']===_0x16d0c4)||(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 _0x31d403=this['$']['*history'];if(_0x31d403){let _0x13b3e0=_0x31d403['pop']();for(;_0x13b3e0===this['activityType'];)_0x13b3e0=_0x31d403['pop']();let _0x39ad18=!!_0x13b3e0;if(_0x13b3e0){const _0x2e494c=[...this['blocksRegistry']]['find'](_0x3c7fcd=>_0x3c7fcd['activityType']===_0x13b3e0);_0x39ad18=_0x2e494c?.['couldOpenActivity']??!0x1;}_0x13b3e0=_0x39ad18?_0x13b3e0:void 0x0,_0x13b3e0&&this['modalManager']?.['open'](_0x13b3e0),this['$']['*currentActivity']=_0x13b3e0,this['$']['*history']=_0x31d403,_0x13b3e0||this['modalManager']?.['closeAll']();}}};function YU(_0x479521){for(const _0x7165c9 in _0x479521){let _0x466ff9=[..._0x7165c9]['reduce']((_0x128e34,_0x14e12)=>(_0x14e12['toUpperCase']()===_0x14e12&&(_0x14e12='-'+_0x14e12['toLowerCase']()),_0x128e34+=_0x14e12),'');_0x466ff9['startsWith']('-')&&(_0x466ff9=_0x466ff9['replace']('-','')),_0x466ff9['startsWith']('uc-')||(_0x466ff9='uc-'+_0x466ff9),_0x479521[_0x7165c9]['reg']&&_0x479521[_0x7165c9]['reg'](_0x466ff9);}}zU['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 KU='UC',JU=class extends XU{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=(e=>({...CU(e),'*solution':null}))(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x52cbcc){this['_template']='<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>'+_0x52cbcc+'<slot></slot>';}static get['template'](){return this['_template'];}},tB=1.5,eB=0x64/0x3;function iB(_0x255e88,_0x41aaee){for(const [_0xa2cea9,_0x3869a2]of Object['entries'](_0x41aaee))_0x255e88['setAttributeNS'](null,_0xa2cea9,_0x3869a2['toString']());}function sB(_0x2d8668,_0x19678d={}){const _0x271296=document['createElementNS']('http://www.w3.org/2000/svg',_0x2d8668);return iB(_0x271296,_0x19678d),_0x271296;}function nB(_0x2ad724,_0x583b9f,_0x19fc0c){const {x:_0x57f19d,y:_0x189753,width:_0x560b9b,height:_0x3f6fff}=_0x2ad724,_0x49a690=_0x583b9f['includes']('w')?0x0:0x1,_0x3ca15f=_0x583b9f['includes']('n')?0x0:0x1,_0x546cd0=0x0===_0x49a690?-0x1:0x1,_0x40956d=0x0===_0x3ca15f?-0x1:0x1,_0x138129=[_0x57f19d+_0x49a690*_0x560b9b+tB*_0x546cd0,_0x189753+_0x3ca15f*_0x3f6fff+tB*_0x40956d-0x18*_0x19fc0c*_0x40956d],_0x300562=[_0x57f19d+_0x49a690*_0x560b9b+tB*_0x546cd0,_0x189753+_0x3ca15f*_0x3f6fff+tB*_0x40956d],_0xbf7412=[_0x57f19d+_0x49a690*_0x560b9b-0x18*_0x19fc0c*_0x546cd0+tB*_0x546cd0,_0x189753+_0x3ca15f*_0x3f6fff+tB*_0x40956d];return{'d':'M\x20'+_0x138129[0x0]+'\x20'+_0x138129[0x1]+'\x20L\x20'+_0x300562[0x0]+'\x20'+_0x300562[0x1]+'\x20L\x20'+_0xbf7412[0x0]+'\x20'+_0xbf7412[0x1],'center':[_0x300562[0x0],_0x300562[0x1]]};}function rB(_0x3922e1,_0x534727,_0x2e36b1){const {x:_0x2a2301,y:_0x7e23f9,width:_0x2dc487,height:_0x5da016}=_0x3922e1,_0x1cca07='n'===_0x534727||'s'===_0x534727,_0x35c145=_0x1cca07?0.5:'w'===_0x534727?0x0:0x1,_0x1a5d2c='w'===_0x534727||'e'===_0x534727?0.5:'n'===_0x534727?0x0:0x1,_0x155468='w'===_0x534727?-0x1:'e'===_0x534727?0x1:0x0,_0x3834a3='n'===_0x534727?-0x1:'s'===_0x534727?0x1:0x0;let _0x9e7b86,_0x14ee1e;return _0x1cca07?(_0x9e7b86=[_0x2a2301+_0x35c145*_0x2dc487-0x22*_0x2e36b1/0x2,_0x7e23f9+_0x1a5d2c*_0x5da016+tB*_0x3834a3],_0x14ee1e=[_0x2a2301+_0x35c145*_0x2dc487+0x22*_0x2e36b1/0x2,_0x7e23f9+_0x1a5d2c*_0x5da016+tB*_0x3834a3]):(_0x9e7b86=[_0x2a2301+_0x35c145*_0x2dc487+tB*_0x155468,_0x7e23f9+_0x1a5d2c*_0x5da016-0x22*_0x2e36b1/0x2],_0x14ee1e=[_0x2a2301+_0x35c145*_0x2dc487+tB*_0x155468,_0x7e23f9+_0x1a5d2c*_0x5da016+0x22*_0x2e36b1/0x2]),{'d':'M\x20'+_0x9e7b86[0x0]+'\x20'+_0x9e7b86[0x1]+'\x20L\x20'+_0x14ee1e[0x0]+'\x20'+_0x14ee1e[0x1],'center':[(_0x9e7b86[0x0]+_0x14ee1e[0x0])/0x2,(_0x9e7b86[0x1]+_0x14ee1e[0x1])/0x2]};}function oB(_0x199a2e,_0x39e10f){let {x:_0x1fcd20}=_0x199a2e,{y:_0x5ab4e1}=_0x199a2e;return _0x199a2e['x']<_0x39e10f['x']?_0x1fcd20=_0x39e10f['x']:_0x199a2e['x']+_0x199a2e['width']>_0x39e10f['x']+_0x39e10f['width']&&(_0x1fcd20=_0x39e10f['x']+_0x39e10f['width']-_0x199a2e['width']),_0x199a2e['y']<_0x39e10f['y']?_0x5ab4e1=_0x39e10f['y']:_0x199a2e['y']+_0x199a2e['height']>_0x39e10f['y']+_0x39e10f['height']&&(_0x5ab4e1=_0x39e10f['y']+_0x39e10f['height']-_0x199a2e['height']),{..._0x199a2e,'x':_0x1fcd20,'y':_0x5ab4e1};}function aB({direction:_0x866c14,..._0x21540a}){switch(_0x866c14){case'n':return function({rect:_0x170520,delta:_0x7f8f78,aspectRatio:_0x278b4f,imageBox:_0x52b009}){const [,_0x21a8db]=_0x7f8f78;let {y:_0xff0a94,width:_0x5364b0,height:_0x3801c6}=_0x170520;_0xff0a94+=_0x21a8db,_0x3801c6-=_0x21a8db,_0x278b4f&&(_0x5364b0=_0x3801c6*_0x278b4f);let _0x270c2a=_0x170520['x']+_0x170520['width']/0x2-_0x5364b0/0x2;return _0xff0a94<=_0x52b009['y']&&(_0xff0a94=_0x52b009['y'],_0x3801c6=_0x170520['y']+_0x170520['height']-_0xff0a94,_0x278b4f&&(_0x5364b0=_0x3801c6*_0x278b4f,_0x270c2a=_0x170520['x']+_0x170520['width']/0x2-_0x5364b0/0x2)),_0x270c2a<=_0x52b009['x']&&(_0x270c2a=_0x52b009['x'],_0xff0a94=_0x170520['y']+_0x170520['height']-_0x3801c6),_0x270c2a+_0x5364b0>=_0x52b009['x']+_0x52b009['width']&&(_0x270c2a=Math['max'](_0x52b009['x'],_0x52b009['x']+_0x52b009['width']-_0x5364b0),_0x5364b0=_0x52b009['x']+_0x52b009['width']-_0x270c2a,_0x278b4f&&(_0x3801c6=_0x5364b0/_0x278b4f),_0xff0a94=_0x170520['y']+_0x170520['height']-_0x3801c6),_0x3801c6<0x1&&(_0x3801c6=0x1,_0x278b4f&&(_0x5364b0=_0x3801c6*_0x278b4f,_0x270c2a=_0x170520['x']+_0x170520['width']/0x2-_0x5364b0/0x2),_0xff0a94=_0x170520['y']+_0x170520['height']-_0x3801c6),_0x5364b0<0x1&&(_0x5364b0=0x1,_0x278b4f&&(_0x3801c6=_0x5364b0/_0x278b4f,_0x270c2a=_0x170520['x']+_0x170520['width']/0x2-_0x5364b0/0x2),_0xff0a94=_0x170520['y']+_0x170520['height']-_0x3801c6),{'x':_0x270c2a,'y':_0xff0a94,'width':_0x5364b0,'height':_0x3801c6};}(_0x21540a);case'w':return function({rect:_0x211661,delta:_0x3113d4,aspectRatio:_0x376dea,imageBox:_0x56ba6c}){const [_0x160f8d]=_0x3113d4;let {x:_0x12368b,width:_0x868e0a,height:_0x40ab9b}=_0x211661;_0x12368b+=_0x160f8d,_0x868e0a-=_0x160f8d,_0x376dea&&(_0x40ab9b=_0x868e0a/_0x376dea);let _0x42149a=_0x211661['y']+_0x211661['height']/0x2-_0x40ab9b/0x2;return _0x12368b<=_0x56ba6c['x']&&(_0x12368b=_0x56ba6c['x'],_0x868e0a=_0x211661['x']+_0x211661['width']-_0x12368b,_0x376dea&&(_0x40ab9b=_0x868e0a/_0x376dea,_0x42149a=_0x211661['y']+_0x211661['height']/0x2-_0x40ab9b/0x2)),_0x42149a<=_0x56ba6c['y']&&(_0x42149a=_0x56ba6c['y'],_0x12368b=_0x211661['x']+_0x211661['width']-_0x868e0a),_0x42149a+_0x40ab9b>=_0x56ba6c['y']+_0x56ba6c['height']&&(_0x42149a=Math['max'](_0x56ba6c['y'],_0x56ba6c['y']+_0x56ba6c['height']-_0x40ab9b),_0x40ab9b=_0x56ba6c['y']+_0x56ba6c['height']-_0x42149a,_0x376dea&&(_0x868e0a=_0x40ab9b*_0x376dea),_0x12368b=_0x211661['x']+_0x211661['width']-_0x868e0a),_0x40ab9b<0x1&&(_0x40ab9b=0x1,_0x376dea&&(_0x868e0a=_0x40ab9b*_0x376dea),_0x42149a=_0x211661['y']+_0x211661['height']/0x2-_0x40ab9b/0x2,_0x12368b=_0x211661['x']+_0x211661['width']-_0x868e0a),_0x868e0a<0x1&&(_0x868e0a=0x1,_0x376dea&&(_0x40ab9b=_0x868e0a/_0x376dea),_0x42149a=_0x211661['y']+_0x211661['height']/0x2-_0x40ab9b/0x2,_0x12368b=_0x211661['x']+_0x211661['width']-_0x868e0a),{'x':_0x12368b,'y':_0x42149a,'width':_0x868e0a,'height':_0x40ab9b};}(_0x21540a);case's':return function({rect:_0x477aae,delta:_0x3525fa,aspectRatio:_0x3b5632,imageBox:_0x12ad1e}){const [,_0x4a8c45]=_0x3525fa;let {y:_0x34c960,width:_0x835e83,height:_0x497b29}=_0x477aae;_0x497b29+=_0x4a8c45,_0x3b5632&&(_0x835e83=_0x497b29*_0x3b5632);let _0x3b8036=_0x477aae['x']+_0x477aae['width']/0x2-_0x835e83/0x2;return _0x34c960+_0x497b29>=_0x12ad1e['y']+_0x12ad1e['height']&&(_0x497b29=_0x12ad1e['y']+_0x12ad1e['height']-_0x34c960,_0x3b5632&&(_0x835e83=_0x497b29*_0x3b5632),_0x3b8036=_0x477aae['x']+_0x477aae['width']/0x2-_0x835e83/0x2),_0x3b8036<=_0x12ad1e['x']&&(_0x3b8036=_0x12ad1e['x'],_0x34c960=_0x477aae['y']),_0x3b8036+_0x835e83>=_0x12ad1e['x']+_0x12ad1e['width']&&(_0x3b8036=Math['max'](_0x12ad1e['x'],_0x12ad1e['x']+_0x12ad1e['width']-_0x835e83),_0x835e83=_0x12ad1e['x']+_0x12ad1e['width']-_0x3b8036,_0x3b5632&&(_0x497b29=_0x835e83/_0x3b5632),_0x34c960=_0x477aae['y']),_0x497b29<0x1&&(_0x497b29=0x1,_0x3b5632&&(_0x835e83=_0x497b29*_0x3b5632),_0x3b8036=_0x477aae['x']+_0x477aae['width']/0x2-_0x835e83/0x2),_0x835e83<0x1&&(_0x835e83=0x1,_0x3b5632&&(_0x497b29=_0x835e83/_0x3b5632),_0x3b8036=_0x477aae['x']+_0x477aae['width']/0x2-_0x835e83/0x2),{'x':_0x3b8036,'y':_0x34c960,'width':_0x835e83,'height':_0x497b29};}(_0x21540a);case'e':return function({rect:_0xd61084,delta:_0x25e99a,aspectRatio:_0x3185a1,imageBox:_0x23455a}){const [_0x492499]=_0x25e99a;let {x:_0x1dfa05,width:_0x1e321e,height:_0x3de017}=_0xd61084;_0x1e321e+=_0x492499,_0x3185a1&&(_0x3de017=_0x1e321e/_0x3185a1);let _0x39ca5b=_0xd61084['y']+_0xd61084['height']/0x2-_0x3de017/0x2;return _0x1dfa05+_0x1e321e>=_0x23455a['x']+_0x23455a['width']&&(_0x1e321e=_0x23455a['x']+_0x23455a['width']-_0x1dfa05,_0x3185a1&&(_0x3de017=_0x1e321e/_0x3185a1),_0x39ca5b=_0xd61084['y']+_0xd61084['height']/0x2-_0x3de017/0x2),_0x39ca5b<=_0x23455a['y']&&(_0x39ca5b=_0x23455a['y'],_0x1dfa05=_0xd61084['x']),_0x39ca5b+_0x3de017>=_0x23455a['y']+_0x23455a['height']&&(_0x39ca5b=Math['max'](_0x23455a['y'],_0x23455a['y']+_0x23455a['height']-_0x3de017),_0x3de017=_0x23455a['y']+_0x23455a['height']-_0x39ca5b,_0x3185a1&&(_0x1e321e=_0x3de017*_0x3185a1),_0x1dfa05=_0xd61084['x']),_0x3de017<0x1&&(_0x3de017=0x1,_0x3185a1&&(_0x1e321e=_0x3de017*_0x3185a1),_0x39ca5b=_0xd61084['y']+_0xd61084['height']/0x2-_0x3de017/0x2),_0x1e321e<0x1&&(_0x1e321e=0x1,_0x3185a1&&(_0x3de017=_0x1e321e/_0x3185a1),_0x39ca5b=_0xd61084['y']+_0xd61084['height']/0x2-_0x3de017/0x2),{'x':_0x1dfa05,'y':_0x39ca5b,'width':_0x1e321e,'height':_0x3de017};}(_0x21540a);case'nw':return function({rect:_0x39fd6d,delta:_0x34b167,aspectRatio:_0x4d5644,imageBox:_0x4db113}){let [_0x5a39a0,_0x314b72]=_0x34b167,{x:_0x51010c,y:_0x4d22ea,width:_0x16726d,height:_0x2fed13}=_0x39fd6d;return _0x51010c+_0x5a39a0<_0x4db113['x']&&(_0x5a39a0=_0x4db113['x']-_0x51010c),_0x4d22ea+_0x314b72<_0x4db113['y']&&(_0x314b72=_0x4db113['y']-_0x4d22ea),_0x51010c+=_0x5a39a0,_0x16726d-=_0x5a39a0,_0x4d22ea+=_0x314b72,_0x2fed13-=_0x314b72,_0x4d5644&&Math['abs'](_0x16726d/_0x2fed13)>_0x4d5644?(_0x314b72=_0x16726d/_0x4d5644-_0x2fed13,_0x2fed13+=_0x314b72,_0x4d22ea-=_0x314b72,_0x4d22ea<=_0x4db113['y']&&(_0x2fed13-=_0x4db113['y']-_0x4d22ea,_0x16726d=_0x2fed13*_0x4d5644,_0x51010c=_0x39fd6d['x']+_0x39fd6d['width']-_0x16726d,_0x4d22ea=_0x4db113['y'])):_0x4d5644&&(_0x5a39a0=_0x2fed13*_0x4d5644-_0x16726d,_0x16726d+=_0x5a39a0,_0x51010c-=_0x5a39a0,_0x51010c<=_0x4db113['x']&&(_0x16726d-=_0x4db113['x']-_0x51010c,_0x2fed13=_0x16726d/_0x4d5644,_0x51010c=_0x4db113['x'],_0x4d22ea=_0x39fd6d['y']+_0x39fd6d['height']-_0x2fed13)),_0x2fed13<0x1&&(_0x2fed13=0x1,_0x4d5644&&(_0x16726d=_0x2fed13*_0x4d5644),_0x51010c=_0x39fd6d['x']+_0x39fd6d['width']-_0x16726d,_0x4d22ea=_0x39fd6d['y']+_0x39fd6d['height']-_0x2fed13),_0x16726d<0x1&&(_0x16726d=0x1,_0x4d5644&&(_0x2fed13=_0x16726d/_0x4d5644),_0x51010c=_0x39fd6d['x']+_0x39fd6d['width']-_0x16726d,_0x4d22ea=_0x39fd6d['y']+_0x39fd6d['height']-_0x2fed13),{'x':_0x51010c,'y':_0x4d22ea,'width':_0x16726d,'height':_0x2fed13};}(_0x21540a);case'ne':return function({rect:_0x47f851,delta:_0x51c52e,aspectRatio:_0x1952ad,imageBox:_0x526758}){let [_0x3e88fa,_0x17d593]=_0x51c52e,{x:_0x362233,y:_0x3be31d,width:_0x12f9e4,height:_0x204933}=_0x47f851;return _0x362233+_0x12f9e4+_0x3e88fa>_0x526758['x']+_0x526758['width']&&(_0x3e88fa=_0x526758['x']+_0x526758['width']-_0x362233-_0x12f9e4),_0x3be31d+_0x17d593<_0x526758['y']&&(_0x17d593=_0x526758['y']-_0x3be31d),_0x12f9e4+=_0x3e88fa,_0x3be31d+=_0x17d593,_0x204933-=_0x17d593,_0x1952ad&&Math['abs'](_0x12f9e4/_0x204933)>_0x1952ad?(_0x17d593=_0x12f9e4/_0x1952ad-_0x204933,_0x204933+=_0x17d593,_0x3be31d-=_0x17d593,_0x3be31d<=_0x526758['y']&&(_0x204933-=_0x526758['y']-_0x3be31d,_0x12f9e4=_0x204933*_0x1952ad,_0x362233=_0x47f851['x'],_0x3be31d=_0x526758['y'])):_0x1952ad&&(_0x3e88fa=_0x204933*_0x1952ad-_0x12f9e4,_0x12f9e4+=_0x3e88fa,_0x362233+_0x12f9e4>=_0x526758['x']+_0x526758['width']&&(_0x12f9e4=_0x526758['x']+_0x526758['width']-_0x362233,_0x204933=_0x12f9e4/_0x1952ad,_0x362233=_0x526758['x']+_0x526758['width']-_0x12f9e4,_0x3be31d=_0x47f851['y']+_0x47f851['height']-_0x204933)),_0x204933<0x1&&(_0x204933=0x1,_0x1952ad&&(_0x12f9e4=_0x204933*_0x1952ad),_0x3be31d=_0x47f851['y']+_0x47f851['height']-_0x204933),_0x12f9e4<0x1&&(_0x12f9e4=0x1,_0x1952ad&&(_0x204933=_0x12f9e4/_0x1952ad),_0x3be31d=_0x47f851['y']+_0x47f851['height']-_0x204933),{'x':_0x362233,'y':_0x3be31d,'width':_0x12f9e4,'height':_0x204933};}(_0x21540a);case'sw':return function({rect:_0x22d151,delta:_0x4b89f0,aspectRatio:_0x555df9,imageBox:_0x50d430}){let [_0xff3930,_0x32a9bf]=_0x4b89f0,{x:_0x3e0375,y:_0x387975,width:_0x516055,height:_0x28ed1f}=_0x22d151;return _0x3e0375+_0xff3930<_0x50d430['x']&&(_0xff3930=_0x50d430['x']-_0x3e0375),_0x387975+_0x28ed1f+_0x32a9bf>_0x50d430['y']+_0x50d430['height']&&(_0x32a9bf=_0x50d430['y']+_0x50d430['height']-_0x387975-_0x28ed1f),_0x3e0375+=_0xff3930,_0x516055-=_0xff3930,_0x28ed1f+=_0x32a9bf,_0x555df9&&Math['abs'](_0x516055/_0x28ed1f)>_0x555df9?(_0x32a9bf=_0x516055/_0x555df9-_0x28ed1f,_0x28ed1f+=_0x32a9bf,_0x387975+_0x28ed1f>=_0x50d430['y']+_0x50d430['height']&&(_0x28ed1f=_0x50d430['y']+_0x50d430['height']-_0x387975,_0x516055=_0x28ed1f*_0x555df9,_0x3e0375=_0x22d151['x']+_0x22d151['width']-_0x516055,_0x387975=_0x50d430['y']+_0x50d430['height']-_0x28ed1f)):_0x555df9&&(_0xff3930=_0x28ed1f*_0x555df9-_0x516055,_0x516055+=_0xff3930,_0x3e0375-=_0xff3930,_0x3e0375<=_0x50d430['x']&&(_0x516055-=_0x50d430['x']-_0x3e0375,_0x28ed1f=_0x516055/_0x555df9,_0x3e0375=_0x50d430['x'],_0x387975=_0x22d151['y'])),_0x28ed1f<0x1&&(_0x28ed1f=0x1,_0x555df9&&(_0x516055=_0x28ed1f*_0x555df9),_0x3e0375=_0x22d151['x']+_0x22d151['width']-_0x516055),_0x516055<0x1&&(_0x516055=0x1,_0x555df9&&(_0x28ed1f=_0x516055/_0x555df9),_0x3e0375=_0x22d151['x']+_0x22d151['width']-_0x516055),{'x':_0x3e0375,'y':_0x387975,'width':_0x516055,'height':_0x28ed1f};}(_0x21540a);case'se':return function({rect:_0x162d1b,delta:_0x3f55c3,aspectRatio:_0xc4b1ee,imageBox:_0x4a3dbe}){let [_0xc3e25a,_0x233247]=_0x3f55c3,{x:_0x4f125b,y:_0x578cf9,width:_0x6473ef,height:_0x17984a}=_0x162d1b;return _0x4f125b+_0x6473ef+_0xc3e25a>_0x4a3dbe['x']+_0x4a3dbe['width']&&(_0xc3e25a=_0x4a3dbe['x']+_0x4a3dbe['width']-_0x4f125b-_0x6473ef),_0x578cf9+_0x17984a+_0x233247>_0x4a3dbe['y']+_0x4a3dbe['height']&&(_0x233247=_0x4a3dbe['y']+_0x4a3dbe['height']-_0x578cf9-_0x17984a),_0x6473ef+=_0xc3e25a,_0x17984a+=_0x233247,_0xc4b1ee&&Math['abs'](_0x6473ef/_0x17984a)>_0xc4b1ee?(_0x233247=_0x6473ef/_0xc4b1ee-_0x17984a,_0x17984a+=_0x233247,_0x578cf9+_0x17984a>=_0x4a3dbe['y']+_0x4a3dbe['height']&&(_0x17984a=_0x4a3dbe['y']+_0x4a3dbe['height']-_0x578cf9,_0x6473ef=_0x17984a*_0xc4b1ee,_0x4f125b=_0x162d1b['x'],_0x578cf9=_0x4a3dbe['y']+_0x4a3dbe['height']-_0x17984a)):_0xc4b1ee&&(_0xc3e25a=_0x17984a*_0xc4b1ee-_0x6473ef,_0x6473ef+=_0xc3e25a,_0x4f125b+_0x6473ef>=_0x4a3dbe['x']+_0x4a3dbe['width']&&(_0x6473ef=_0x4a3dbe['x']+_0x4a3dbe['width']-_0x4f125b,_0x17984a=_0x6473ef/_0xc4b1ee,_0x4f125b=_0x4a3dbe['x']+_0x4a3dbe['width']-_0x6473ef,_0x578cf9=_0x162d1b['y'])),_0x17984a<0x1&&(_0x17984a=0x1,_0xc4b1ee&&(_0x6473ef=_0x17984a*_0xc4b1ee)),_0x6473ef<0x1&&(_0x6473ef=0x1,_0xc4b1ee&&(_0x17984a=_0x6473ef/_0xc4b1ee)),{'x':_0x4f125b,'y':_0x578cf9,'width':_0x6473ef,'height':_0x17984a};}(_0x21540a);default:return _0x21540a['rect'];}}function cB({width:_0x8a794c,height:_0x32f50b},_0x17bfaa){const _0x1c756e=_0x17bfaa/0x5a%0x2!=0x0;return{'width':_0x1c756e?_0x32f50b:_0x8a794c,'height':_0x1c756e?_0x8a794c:_0x32f50b};}function lB(_0x257a8e,_0x1d0a54,_0x2e0733){let _0x5f05b9,_0x5a256c;_0x257a8e/_0x1d0a54>_0x2e0733?(_0x5f05b9=Math['round'](_0x1d0a54*_0x2e0733),_0x5a256c=_0x1d0a54):(_0x5f05b9=_0x257a8e,_0x5a256c=Math['round'](_0x257a8e/_0x2e0733));const _0x591e70=Math['round']((_0x257a8e-_0x5f05b9)/0x2),_0x50caeb=Math['round']((_0x1d0a54-_0x5a256c)/0x2);return _0x591e70+_0x5f05b9>_0x257a8e&&(_0x5f05b9=_0x257a8e-_0x591e70),_0x50caeb+_0x5a256c>_0x1d0a54&&(_0x5a256c=_0x1d0a54-_0x50caeb),{'x':_0x591e70,'y':_0x50caeb,'width':_0x5f05b9,'height':_0x5a256c};}function hB(_0x143d70){return{'x':Math['round'](_0x143d70['x']),'y':Math['round'](_0x143d70['y']),'width':Math['round'](_0x143d70['width']),'height':Math['round'](_0x143d70['height'])};}function uB(_0x1ae9e5,_0x4ec5ed,_0x39f1ee){return Math['min'](Math['max'](_0x1ae9e5,_0x4ec5ed),_0x39f1ee);}var dB=['free'],fB=_0x599a53=>{const _0x11a8ce=tU(_0x599a53);if(!_0x11a8ce||0x0===_0x11a8ce['length'])return[];const _0x1b98a1=[];for(const _0x1af62a of _0x11a8ce){const _0x6b7887=_0x1af62a['trim']();if(!_0x6b7887)continue;const _0x56e9ef=_0x6b7887['indexOf'](':');if(-0x1===_0x56e9ef&&!dB['includes'](_0x6b7887)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x6b7887);continue;}const _0x5f5db2=Number(_0x6b7887['slice'](0x0,_0x56e9ef)),_0x5792d1=Number(_0x6b7887['slice'](_0x56e9ef+0x1));!(!Number['isFinite'](_0x5f5db2)||!Number['isFinite'](_0x5792d1)||_0x5f5db2<=0x0||_0x5792d1<=0x0)||dB['includes'](_0x6b7887)?_0x1b98a1['push']({'id':xQ['generate'](),'type':'aspect-ratio','width':dB['includes'](_0x6b7887)?0x0:_0x5f5db2,'height':dB['includes'](_0x6b7887)?0x0:_0x5792d1,'hasFreeform':dB['includes'](_0x6b7887)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x6b7887);}return _0x1b98a1;},mB=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),gB=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),pB=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',...gB,...mB});function OB(_0x5948ca){return e$({..._0x5948ca,'libraryName':FU,'libraryVersion':jU});}var wB=_0x1d9550=>'number'!=typeof _0x1d9550?0x0:Math['floor'](_0x1d9550/0x3e8),bB=class{['_block'];['_secureToken']=null;constructor(_0x14168a){this['_block']=_0x14168a;}['_debugPrint'](..._0x156995){this['_block']['debugPrint']('[secure-uploads]',..._0x156995);}async['getSecureToken'](){const {secureSignature:_0x5dd22b,secureExpire:_0x25edd9,secureUploadsSignatureResolver:_0x58b459}=this['_block']['cfg'];if((_0x5dd22b||_0x25edd9)&&_0x58b459&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x58b459){if(!this['_secureToken']||((_0xf754c4,{threshold:_0xbe84c0})=>{const {secureExpire:_0x24d576}=_0xf754c4,_0x5241a4=wB(Date['now']()),_0xd3ef33=Number(_0x24d576);return _0x5241a4+wB(_0xbe84c0)>=_0xd3ef33;})(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 _0x2d5b57=await _0x58b459();_0x2d5b57?_0x2d5b57['secureSignature']&&_0x2d5b57['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x2d5b57),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x2d5b57['secureExpire']))['toISOString']()),this['_secureToken']=_0x2d5b57):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x2d5b57):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x107c6d){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x107c6d),this['_block']['telemetryManager']['sendEventError'](_0x107c6d,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x5dd22b&&_0x25edd9?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x5dd22b,'secureExpire':_0x25edd9}),{'secureSignature':_0x5dd22b,'secureExpire':_0x25edd9}):null;}},yB=(_0x625b04,_0x3376fe)=>{if(_0x625b04['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x3376fe['l10n']('some-files-were-not-uploaded')};},_B=(_0x2a9b10,_0x227747)=>{const _0x593d13=_0x2a9b10['totalCount'],_0x2823d7=_0x227747['cfg']['multiple']?_0x227747['cfg']['multipleMin']:0x0,_0x41fbe7=_0x227747['cfg']['multiple']?_0x227747['cfg']['multipleMax']:0x1;if(_0x2823d7&&_0x593d13<_0x2823d7)return{'type':'TOO_FEW_FILES','message':_0x227747['l10n']('files-count-limit-error-too-few',{'min':_0x2823d7,'max':_0x41fbe7,'total':_0x593d13}),'payload':{'total':_0x593d13,'min':_0x2823d7,'max':_0x41fbe7}};if(_0x41fbe7&&_0x593d13>_0x41fbe7)return{'type':'TOO_MANY_FILES','message':_0x227747['l10n']('files-count-limit-error-too-many',{'min':_0x2823d7,'max':_0x41fbe7,'total':_0x593d13}),'payload':{'total':_0x593d13,'min':_0x2823d7,'max':_0x41fbe7}};},vB={'safariDesktop':((()=>{const _0x3891d0=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x3891d0)&&/Version\/[\d.]+.*Safari/['test'](_0x3891d0)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x3891d0);})())},TB={'htmlMediaCapture':'capture'in document['createElement']('input')},EB='image/*',AB='video/*',SB=vB['safariDesktop']?[EB]:[EB,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],IB=_0xa84bed=>_0xa84bed?_0xa84bed['filter'](_0x5ca4e1=>'string'==typeof _0x5ca4e1)['flatMap'](_0x2bcd72=>tU(_0x2bcd72)):[],CB=(_0xef6f2d,_0x2dbb64)=>_0x2dbb64['some'](_0x362671=>{if(_0x362671['endsWith']('*')){const _0x2127a8=_0x362671['replace']('*','');return _0xef6f2d['startsWith'](_0x2127a8);}return _0xef6f2d===_0x362671;}),kB=_0x3a9880=>{const _0x4abee3=_0x3a9880?.['type'];return!!_0x4abee3&&CB(_0x4abee3,SB);},xB=(_0xdedc64,_0x1356da)=>{const _0xc21eaf=_0x1356da['cfg']['imgOnly'],_0x16ccc4=_0x1356da['cfg']['accept'],_0x32d5cc=IB([..._0xc21eaf?SB:[],_0x16ccc4]);if(!_0x32d5cc['length'])return;const _0x1207cf=_0xdedc64['mimeType'],_0x2867dd=_0xdedc64['name'];if(!_0x1207cf||!_0x2867dd)return;const _0x3375c8=CB(_0x1207cf,_0x32d5cc),_0x401748=((_0x4123c1,_0x2b84ce)=>_0x2b84ce['some'](_0x1d2ee8=>!!_0x1d2ee8['startsWith']('.')&&_0x4123c1['toLowerCase']()['endsWith'](_0x1d2ee8['toLowerCase']())))(_0x2867dd,_0x32d5cc);return _0x3375c8||_0x401748?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x1356da['l10n']('file-type-not-allowed'),'payload':{'entry':_0xdedc64}};},RB=(_0x34e6c4,_0x4ff070)=>{const _0x2d16aa=_0x4ff070['cfg']['imgOnly'],_0x2b8484=_0x34e6c4['isImage'];if(_0x2d16aa&&!_0x2b8484&&(_0x34e6c4['fileInfo']||!_0x34e6c4['externalUrl'])&&(_0x34e6c4['fileInfo']||_0x34e6c4['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x4ff070['l10n']('images-only-accepted'),'payload':{'entry':_0x34e6c4}};},PB=0x3e8,MB=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),NB=_0x1a408b=>Math['ceil'](0x64*_0x1a408b)/0x64,LB=(_0xb76015,_0x4cb08f=MB['AUTO'])=>{const _0x1ec227=_0x4cb08f===MB['AUTO'];if(_0x4cb08f===MB['BYTE']||_0x1ec227&&_0xb76015<0x3e8)return _0xb76015+'\x20'+('one'===bU('en-US',_0xb76015)?'byte':'bytes');return _0x4cb08f===MB['KB']||_0x1ec227&&_0xb76015<0xf4240?NB(_0xb76015/0x3e8)+'\x20KB':_0x4cb08f===MB['MB']||_0x1ec227&&_0xb76015<PB**0x3?NB(_0xb76015/0xf4240)+'\x20MB':_0x4cb08f===MB['GB']||_0x1ec227&&_0xb76015<PB**0x4?NB(_0xb76015/PB**0x3)+'\x20GB':_0x4cb08f===MB['TB']||_0x1ec227&&_0xb76015<PB**0x5?NB(_0xb76015/PB**0x4)+'\x20TB':NB(_0xb76015/PB**0x5)+'\x20PB';},DB=(_0x426566,_0x5c8057)=>{const _0x94a9c2=_0x5c8057['cfg']['maxLocalFileSizeBytes'],_0x57f01e=_0x426566['size'];if(_0x94a9c2&&_0x57f01e&&_0x57f01e>_0x94a9c2)return{'type':'FILE_SIZE_EXCEEDED','message':_0x5c8057['l10n']('files-max-size-limit-error',{'maxFileSize':LB(_0x94a9c2)}),'payload':{'entry':_0x426566}};},QB=(_0x267d3e,_0x395ff9)=>{const {internalId:_0x22a7f7}=_0x267d3e,_0x57f0e6=_0x395ff9['_uploadCollection']['read'](_0x22a7f7),_0x3aabb1=_0x57f0e6?.['getValue']('uploadError');if(!_0x3aabb1)return;if(_0x3aabb1 instanceof UploadError)return{'type':'UPLOAD_ERROR','message':_0x3aabb1['message'],'payload':{'entry':_0x267d3e,'error':_0x3aabb1}};if(_0x3aabb1 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x3aabb1['message'],'payload':{'entry':_0x267d3e,'error':_0x3aabb1}};const _0x505658=_0x3aabb1 instanceof Error?_0x3aabb1:new Error('Unknown\x20error',{'cause':_0x3aabb1});return{'type':'UNKNOWN_ERROR','message':_0x505658['message'],'payload':{'entry':_0x267d3e,'error':_0x505658}};},$B='File\x20validator\x20execution\x20has\x20failed',VB='File\x20validator\x20execution\x20has\x20timed\x20out',UB='Collection\x20validator\x20execution\x20has\x20failed',BB='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',FB=_0x8c0424=>'function'==typeof _0x8c0424?{'runOn':'change','validator':_0x8c0424}:_0x8c0424,jB=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[RB,xB,DB,QB];['_commonCollectionValidators']=[_B,yB];['_queue']=new Queue(0x14);['_runQueueDebounced']=VV(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x242caa){this['_blockInstance']=_0x242caa,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x53a9ef=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x53a9ef),this['_blockInstance']['subConfigValue']('multipleMin',_0x53a9ef),this['_blockInstance']['subConfigValue']('multipleMax',_0x53a9ef),this['_blockInstance']['subConfigValue']('multiple',_0x53a9ef),this['_blockInstance']['subConfigValue']('imgOnly',_0x53a9ef),this['_blockInstance']['subConfigValue']('accept',_0x53a9ef),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x5acf9a=>{this['_queue']['concurrency']=_0x5acf9a;});}['runFileValidators'](_0x57161f,_0x5ad5e4){const _0x25ea7d=_0x5ad5e4??this['_uploadCollection']['items']();for(const _0xa2691 of _0x25ea7d){const _0x46e8e6=this['_uploadCollection']['read'](_0xa2691);_0x46e8e6&&this['_runFileValidatorsForEntry'](_0x46e8e6,_0x57161f);}}['runCollectionValidators'](){const _0x33e87d=this['_blockInstance']['api']['getOutputCollectionState'](),_0x566753=[];for(const _0x4a731e of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x5c6063=_0x4a731e(_0x33e87d,this['_blockInstance']['api']);if(!_0x5c6063)continue;_0x5c6063&&(_0x566753['push'](this['_addCustomTypeToValidationError'](_0x5c6063)),_0x5c6063['message']||console['warn'](BB));}catch(_0x31b96e){console['warn'](UB,_0x31b96e);}this['_blockInstance']['$']['*collectionErrors']=_0x566753,_0x566753['length']>0x0&&this['_blockInstance']['emit'](QV['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x32ec45){const _0xce3cf9=this['_entryValidationState']['get'](_0x32ec45['uid']);_0xce3cf9&&(_0xce3cf9['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x32ec45['uid']));}async['_runFileValidatorsForEntry'](_0x2af547,_0x477594){const _0x53e871=this['_getValidatorDescriptorsForEntry'](_0x2af547,_0x477594);if(0x0===_0x53e871['length'])return;_0x2af547['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x3bc238=this['_blockInstance']['api']['getOutputItem'](_0x2af547['uid']),_0x57a060=this['_getEntryValidationState'](_0x2af547);_0x57a060['promise']&&await _0x57a060['promise'];const {promise:_0x532c67,resolve:_0x3cc949}=((()=>{let _0x17a751=()=>{},_0x3a50da=()=>{};return{'promise':new Promise((_0x3e9283,_0x4dabb4)=>{_0x17a751=_0x3e9283,_0x3a50da=_0x4dabb4;}),'resolve':_0x17a751,'reject':_0x3a50da};})());_0x57a060['promise']=_0x532c67;const _0x6a3377=new AbortController();_0x57a060['abortController']=_0x6a3377;const _0x367089=this['_blockInstance']['cfg']['validationTimeout'],_0x5e38e5=this['_getValidatorDescriptors'](),_0x10f7ea=new Set(_0x53e871['map'](_0xae3d3b=>_0xae3d3b['validator'])),_0x1bcff7=[];for(const _0x40c15d of _0x5e38e5)if(!_0x10f7ea['has'](_0x40c15d['validator'])){const _0x2571d6=_0x57a060['lastErrorThrownByValidator']['get'](_0x40c15d['validator']);_0x2571d6&&_0x1bcff7['push'](_0x2571d6);}const _0x41b779=_0x53e871['map'](_0xb1b60a=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x562d87=setTimeout(()=>{_0x57a060['skippedValidators']['add'](_0xb1b60a['validator']),_0x6a3377['abort'](),console['warn'](VB);},_0x367089);try{const _0x50378c=await _0xb1b60a['validator'](_0x3bc238,this['_blockInstance']['api'],{'signal':_0x6a3377['signal']});if(!_0x50378c||_0x6a3377['signal']['aborted'])return void _0x57a060['lastErrorThrownByValidator']['set'](_0xb1b60a['validator'],void 0x0);const _0x3b4336=this['_addCustomTypeToValidationError'](_0x50378c);_0x57a060['lastErrorThrownByValidator']['set'](_0xb1b60a['validator'],_0x3b4336),_0x1bcff7['push'](_0x3b4336),_0x50378c['message']||console['warn'](BB);}catch(_0x3f2944){_0x6a3377['signal']['aborted']||(_0x57a060['skippedValidators']['add'](_0xb1b60a['validator']),console['warn']($B,_0x3f2944),this['_blockInstance']['telemetryManager']['sendEventError'](_0x3f2944,'file\x20validator.\x20'+$B));}finally{clearTimeout(_0x562d87),'change'!==_0xb1b60a['runOn']&&_0x57a060['skippedValidators']['add'](_0xb1b60a['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x2af547['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x41b779['map'](_0x4afcd8=>_0x4afcd8()))['catch'](()=>{});},{'autoRun':!0x1}),_0x6a3377['signal']['aborted'])return _0x2af547['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x3cc949();_0x2af547['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x1bcff7}),_0x3cc949();}['_addCustomTypeToValidationError'](_0x588743){return{..._0x588743,'type':_0x588743['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x37a903){const _0x4f7483=this['_entryValidationState']['get'](_0x37a903['uid']);if(_0x4f7483)return _0x4f7483;const _0x543c33={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x37a903['uid'],_0x543c33),_0x543c33;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](FB);}['_getValidatorDescriptorsForEntry'](_0x5aa992,_0x388b85){const _0xb637cd=this['_getEntryValidationState'](_0x5aa992);return this['_getValidatorDescriptors']()['filter'](_0x13b10e=>!_0xb637cd['skippedValidators']['has'](_0x13b10e['validator']))['filter'](_0x2441da=>_0x2441da['runOn']===_0x388b85);}},HB='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',GB=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x4fd0f4,_0x5465f8){this['__typedSchema']=_0x4fd0f4,this['__ctxId']=_0x5465f8||xQ['generate'](),this['__schema']=Object['keys'](_0x4fd0f4)['reduce']((_0x4a4410,_0x4ab205)=>(_0x4fd0f4[_0x4ab205]&&(_0x4a4410[_0x4ab205]=_0x4fd0f4[_0x4ab205]['value']),_0x4a4410),{}),this['__data']=IQ['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x508fed,_0x5f0fc6){if(!Object['hasOwn'](this['__typedSchema'],_0x508fed)||!this['__typedSchema'][_0x508fed])return void console['warn'](HB+_0x508fed);const _0x395061=this['__typedSchema'][_0x508fed],_0x274d5b=_0x5f0fc6?.['constructor']===_0x395061['type'],_0x12965b=_0x5f0fc6 instanceof _0x395061['type'],_0x28b811=_0x395061['nullable']&&null===_0x5f0fc6;_0x274d5b||_0x12965b||_0x28b811?this['__data']['pub'](_0x508fed,_0x5f0fc6):console['warn']('[Typed\x20State]\x20Wrong\x20property\x20type:\x20'+_0x508fed);}['setMultipleValues'](_0x3ea431){for(const [_0x49536a,_0x409af9]of Object['entries'](_0x3ea431))this['setValue'](_0x49536a,_0x409af9);}['getValue'](_0x1b3fdd){return Object['hasOwn'](this['__typedSchema'],_0x1b3fdd)||console['warn'](HB+_0x1b3fdd),this['__data']['read'](_0x1b3fdd);}['subscribe'](_0x1d9af1,_0xeb9fb2){return this['__data']['sub'](_0x1d9af1,_0xeb9fb2);}['remove'](){IQ['deleteCtx'](this['__ctxId']);}},ZB=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(_0x3e74ae){this['__typedSchema']=_0x3e74ae['typedSchema'],this['__ctxId']=_0x3e74ae['ctxName']||xQ['generate'](),this['__data']=IQ['registerCtx']({},this['__ctxId']),this['__watchList']=_0x3e74ae['watchList']||[];let _0x2ed48a=Object['create'](null);this['__notifyObservers']=(_0x303f5c,_0x196a0a)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x2ed48a[_0x303f5c]||(_0x2ed48a[_0x303f5c]=new Set()),_0x2ed48a[_0x303f5c]['add'](_0x196a0a),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x2ed48a)['length']&&(this['__propertyObservers']['forEach'](_0x29c095=>{_0x29c095({..._0x2ed48a});}),_0x2ed48a=Object['create'](null));});},_0x3e74ae['handler']&&this['observeCollection'](_0x3e74ae['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x14e944=new Set(this['__added']),_0x156208=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0xed6d90 of this['__collectionObservers'])_0xed6d90?.([...this['__items']],_0x14e944,_0x156208);});}['observeCollection'](_0x1df265){return this['__collectionObservers']['add'](_0x1df265),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x1df265);};}['unobserveCollection'](_0x2b572f){this['__collectionObservers']['delete'](_0x2b572f);}['add'](_0x52d404){const _0x4bea8a=new GB(this['__typedSchema']);for(const [_0x107e6b,_0x205063]of Object['entries'](_0x52d404))void 0x0!==_0x205063&&_0x4bea8a['setValue'](_0x107e6b,_0x205063);return this['__items']['add'](_0x4bea8a['uid']),this['notify'](),this['__data']['add'](_0x4bea8a['uid'],_0x4bea8a),this['__added']['add'](_0x4bea8a),this['__watchList']['forEach'](_0x1d9012=>{this['__subsMap'][_0x4bea8a['uid']]||(this['__subsMap'][_0x4bea8a['uid']]=[]),this['__subsMap'][_0x4bea8a['uid']]?.['push'](_0x4bea8a['subscribe'](_0x1d9012,()=>{this['__notifyObservers'](_0x1d9012,_0x4bea8a['uid']);}));}),_0x4bea8a['uid'];}['read'](_0x6d282f){return this['__data']['read'](_0x6d282f);}['readProp'](_0x2c3154,_0x1268c9){const _0x1c03e8=this['read'](_0x2c3154);return _0x1c03e8?_0x1c03e8['getValue'](_0x1268c9):(console['warn']('Item\x20with\x20id\x20'+_0x2c3154+'\x20not\x20found'),null);}['publishProp'](_0x4db65c,_0x1527cc,_0x5455d4){const _0x3f0faa=this['read'](_0x4db65c);_0x3f0faa?_0x3f0faa['setValue'](_0x1527cc,_0x5455d4):console['warn']('Item\x20with\x20id\x20'+_0x4db65c+'\x20not\x20found');}['remove'](_0x3193f8){const _0x2f14be=this['read'](_0x3193f8);_0x2f14be&&this['__removed']['add'](_0x2f14be),this['__items']['delete'](_0x3193f8),this['notify'](),this['__data']['pub'](_0x3193f8,null),delete this['__subsMap'][_0x3193f8];}['clearAll'](){this['__items']['forEach'](_0x1ebf63=>{this['remove'](_0x1ebf63);});}['observeProperties'](_0x4313aa){return this['__propertyObservers']['add'](_0x4313aa),()=>{this['unobserveProperties'](_0x4313aa);};}['unobserveProperties'](_0x69f48f){this['__propertyObservers']['delete'](_0x69f48f);}['findItems'](_0x4c9439){const _0x3b58ef=[];return this['__items']['forEach'](_0x502992=>{const _0x1b3a9b=this['read'](_0x502992);_0x1b3a9b&&_0x4c9439(_0x1b3a9b)&&_0x3b58ef['push'](_0x502992);}),_0x3b58ef;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){IQ['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x16d1a4 in this['__subsMap'])this['__subsMap'][_0x16d1a4]?.['forEach'](_0x424852=>{_0x424852['remove']();}),delete this['__subsMap'][_0x16d1a4];}},XB=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),qB=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),WB=_0x48239c=>({'isVideoRecordingEnabled':UV(_0x48239c['cameraModes'])['includes'](XB['VIDEO']),'isPhotoEnabled':UV(_0x48239c['cameraModes'])['includes'](XB['PHOTO'])}),zB=new RegExp('^/?('+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i');function YB(_0x382c07){const _0x3b6543=new Map();return(..._0x1225fd)=>{const _0x4ac631=JSON['stringify'](_0x1225fd);if(_0x3b6543['has'](_0x4ac631))return _0x3b6543['get'](_0x4ac631);const _0x2b81fd=_0x382c07(..._0x1225fd);return _0x3b6543['set'](_0x4ac631,_0x2b81fd),_0x2b81fd;};}var KB=new Set();function JB(_0x45f578){KB['has'](_0x45f578)||(KB['add'](_0x45f578),console['warn'](_0x45f578));}function tF(_0x512a8f){const _0x435c71={},_0x3f8d37={'progress':()=>_0x512a8f['$']['*commonProgress'],'errors':()=>_0x512a8f['$']['*collectionErrors'],'group':()=>_0x512a8f['$']['*groupInfo'],'totalCount':()=>_0x512a8f['uploadCollection']['size'],'failedCount':()=>_0x435c71['failedEntries']['length'],'successCount':()=>_0x435c71['successEntries']['length'],'uploadingCount':()=>_0x435c71['uploadingEntries']['length'],'status':()=>_0x435c71['isFailed']?'failed':_0x435c71['isUploading']?'uploading':_0x435c71['isSuccess']?'success':'idle','isSuccess':()=>_0x435c71['allEntries']['length']>0x0&&0x0===_0x435c71['errors']['length']&&_0x435c71['successEntries']['length']===_0x435c71['allEntries']['length'],'isUploading':()=>_0x435c71['allEntries']['some'](_0x4a223a=>'uploading'===_0x4a223a['status']),'isFailed':()=>_0x435c71['errors']['length']>0x0||_0x435c71['failedEntries']['length']>0x0,'allEntries':()=>_0x512a8f['getOutputData'](),'successEntries':()=>_0x435c71['allEntries']['filter'](_0x534658=>'success'===_0x534658['status']),'failedEntries':()=>_0x435c71['allEntries']['filter'](_0x8fc3fb=>'failed'===_0x8fc3fb['status']),'uploadingEntries':()=>_0x435c71['allEntries']['filter'](_0x182f01=>'uploading'===_0x182f01['status']),'idleEntries':()=>_0x435c71['allEntries']['filter'](_0x20033c=>'idle'===_0x20033c['status'])},_0x41dad9=function(_0x2d7ba){let _0x2b0317=!0x1;return setTimeout(()=>{_0x2b0317=!0x0;},0x0),_0x45f0a1=>(..._0x46b6c3)=>(_0x2b0317&&JB(_0x2d7ba),_0x45f0a1(..._0x46b6c3));}('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 [_0x19a486,_0x1cb32e]of Object['entries'](_0x3f8d37)){const _0x1ba9cb=_0x19a486,_0x34655e=YB(_0x41dad9(_0x1cb32e));Object['defineProperty'](_0x435c71,_0x1ba9cb,{'get':_0x34655e,'enumerable':!0x0});}return _0x435c71;}var eF=class{['_ctx'];constructor(_0x3dffd5){this['_ctx']=_0x3dffd5;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x495e15,{silent:_0x4b2fa6,fileName:_0x50f525,source:_0x456155}={})=>{const _0x348283=this['_uploadCollection']['add']({'externalUrl':_0x495e15,'fileName':_0x50f525??null,'silent':_0x4b2fa6??!0x1,'source':_0x456155??pB['API']});return this['getOutputItem'](_0x348283);};['addFileFromUuid']=(_0x9ca22f,{silent:_0x3511f0,fileName:_0x521658,source:_0x3349f3}={})=>{const _0x4b9351=this['_uploadCollection']['add']({'uuid':_0x9ca22f,'fileName':_0x521658??null,'silent':_0x3511f0??!0x1,'source':_0x3349f3??pB['API']});return this['getOutputItem'](_0x4b9351);};['addFileFromCdnUrl']=(_0x4ffc29,{silent:_0x3e18b3,fileName:_0x5662fc,source:_0x3dec3a}={})=>{const _0x38aace=(({url:_0xaf9d0a,cdnBase:_0xcdbc67})=>{const _0x4f098c=new URL(_0xcdbc67),_0x57db7b=new URL(pU),_0x1c79a2=new URL(_0xaf9d0a);if(_0x4f098c['host']!==_0x1c79a2['host']&&_0x57db7b['host']!==_0x1c79a2['host'])return null;const _0x52be20=zB['exec'](_0x1c79a2['pathname']);if(!_0x52be20)return null;const [,_0x509ed5,_0x57318e,_0x11d1d1]=_0x52be20;return _0x509ed5?{'uuid':_0x509ed5,'cdnUrlModifiers':_0x57318e||'','filename':_0x11d1d1||null}:null;})({'url':_0x4ffc29,'cdnBase':this['cfg']['cdnCname']});if(!_0x38aace)throw new Error('Invalid\x20CDN\x20URL');const _0x343064=this['_uploadCollection']['add']({'uuid':_0x38aace['uuid'],'cdnUrl':_0x4ffc29,'cdnUrlModifiers':_0x38aace['cdnUrlModifiers'],'fileName':_0x5662fc??_0x38aace['filename']??null,'silent':_0x3e18b3??!0x1,'source':_0x3dec3a??pB['API']});return this['getOutputItem'](_0x343064);};['addFileFromObject']=(_0x240465,{silent:_0x516347,fileName:_0x251920,source:_0x587abb,fullPath:_0x12ea31}={})=>{const _0x4bb18e=this['_uploadCollection']['add']({'file':_0x240465,'isImage':kB(_0x240465),'mimeType':_0x240465['type'],'fileName':_0x251920??_0x240465['name'],'fileSize':_0x240465['size'],'silent':_0x516347??!0x1,'source':_0x587abb??pB['API'],'fullPath':_0x12ea31??null});return this['getOutputItem'](_0x4bb18e);};['removeFileByInternalId']=_0x278b12=>{if(!this['_uploadCollection']['read'](_0x278b12))throw new Error('File\x20with\x20internalId\x20'+_0x278b12+'\x20not\x20found');this['_uploadCollection']['remove'](_0x278b12);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x1cf7b1=this['_uploadCollection']['items']()['filter'](_0x58d8f1=>{const _0x76eebc=this['_uploadCollection']['read'](_0x58d8f1);return!!_0x76eebc&&!(_0x76eebc['getValue']('isRemoved')||_0x76eebc['getValue']('isUploading')||_0x76eebc['getValue']('fileInfo')||0x0!==_0x76eebc['getValue']('errors')['length']||_0x76eebc['getValue']('isValidationPending')||_0x76eebc['getValue']('isQueuedForValidation'));});0x0!==_0x1cf7b1['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x1cf7b1),this['_ctx']['emit'](QV['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x4449e8={})=>{const _0x5d0be4=BV(IB([this['cfg']['accept']??'',...this['cfg']['imgOnly']?SB:[]])),_0x2c5281='uploadcare-file-input',_0x159192=document['createElement']('input');if(_0x159192['setAttribute'](_0x2c5281,''),GQ(_0x159192,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x159192['type']='file',_0x159192['multiple']=this['cfg']['multiple'],_0x4449e8['captureCamera']){_0x159192['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x317a8a,isVideoRecordingEnabled:_0x13e8d3}=WB(this['cfg']);_0x4449e8['modeCamera']===XB['PHOTO']&&_0x317a8a?_0x159192['accept']=EB:_0x4449e8['modeCamera']===XB['VIDEO']&&_0x13e8d3?_0x159192['accept']=AB:_0x159192['accept']=[EB,_0x13e8d3&&AB]['filter'](Boolean)['join'](',');}else _0x159192['accept']=_0x5d0be4;_0x159192['addEventListener']('change',()=>{_0x159192['files']&&([..._0x159192['files']]['forEach'](_0x5296c7=>{this['addFileFromObject'](_0x5296c7,{'source':_0x4449e8['captureCamera']?pB['CAMERA']:pB['LOCAL']});}),this['_ctx']['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'],_0x159192['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x2c5281+']')['forEach'](_0x45b7dc=>{_0x45b7dc['remove']();}),document['body']['appendChild'](_0x159192),_0x159192['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x5a06a4){const _0x3f898b=IQ['getCtx'](_0x5a06a4)['store'],_0x1470bb=_0x3f898b['fileInfo'],_0x115ed3=_0x3f898b['isRemoved']?'removed':_0x3f898b['errors']['length']>0x0?'failed':_0x3f898b['fileInfo']?'success':_0x3f898b['isUploading']?'uploading':'idle';return{'uuid':_0x1470bb?.['uuid']??_0x3f898b['uuid']??null,'internalId':_0x5a06a4,'name':_0x1470bb?.['originalFilename']??_0x3f898b['fileName'],'size':_0x1470bb?.['size']??_0x3f898b['fileSize'],'isImage':_0x1470bb?.['isImage']??_0x3f898b['isImage'],'mimeType':_0x1470bb?.['mimeType']??_0x3f898b['mimeType'],'file':_0x3f898b['file'],'externalUrl':_0x3f898b['externalUrl'],'cdnUrlModifiers':_0x3f898b['cdnUrlModifiers'],'cdnUrl':_0x3f898b['cdnUrl']??_0x1470bb?.['cdnUrl']??null,'fullPath':_0x3f898b['fullPath'],'uploadProgress':_0x3f898b['uploadProgress'],'fileInfo':_0x1470bb??null,'metadata':_0x3f898b['metadata']??_0x1470bb?.['metadata']??null,'isSuccess':'success'===_0x115ed3,'isUploading':'uploading'===_0x115ed3,'isFailed':'failed'===_0x115ed3,'isRemoved':'removed'===_0x115ed3,'isValidationPending':_0x3f898b['isValidationPending'],'errors':_0x3f898b['errors'],'status':_0x115ed3,'source':_0x3f898b?.['source']};}['getOutputCollectionState'](){return tF(this['_ctx']);}['initFlow']=(_0xad4c83=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0xad4c83)this['_ctx']['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':zU['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x25ffbf=this['_sourceList'][0x0];if('local'===_0x25ffbf)return this['_ctx']['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x25ffbf&&TB['htmlMediaCapture']){const {isPhotoEnabled:_0x2e1a38,isVideoRecordingEnabled:_0x39df18}=WB(this['cfg']);if(_0x2e1a38&&_0x39df18)return void this['_ctx']['set$']({'*currentActivity':zU['activities']['START_FROM']});if(_0x2e1a38||_0x39df18)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x2e1a38?XB['PHOTO']:XB['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':XB['PHOTO']});}const _0x4940e8=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x17a916=>'type'in _0x17a916&&_0x17a916['type']===_0x25ffbf);_0x4940e8?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](zU['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':zU['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']=(_0x362854,..._0x2ae028)=>{this['_ctx']['hasBlockInCtx'](_0x24bb5d=>_0x24bb5d['activityType']===_0x362854)?this['_ctx']['set$']({'*currentActivityParams':_0x2ae028??{},'*currentActivity':_0x362854}):console['warn']('Activity\x20type\x20\x22'+_0x362854+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x5021ac=>{!_0x5021ac||this['_ctx']['$']['*currentActivity']?_0x5021ac?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 _0x2c2bb0=[];return this['cfg']['sourceList']&&(_0x2c2bb0=tU(this['cfg']['sourceList'])),_0x2c2bb0;}},iF=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':UploadcareFile,'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})}),sF=class _UploaderBlock extends zU{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=CU(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x4c9057=>_0x4c9057 instanceof _UploaderBlock&&(_0x4c9057['isCtxOwner']&&_0x4c9057['isConnected']&&_0x4c9057!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x1d4f57=new ZB({'typedSchema':iF,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x1d4f57);}this['has']('*publicApi')||this['add']('*publicApi',new eF(this)),this['has']('*validationManager')||this['add']('*validationManager',new jB(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',_0x5dd9ec=>{this['$']['*uploadQueue']['concurrency']=Number(_0x5dd9ec)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new bB(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'](_0x17839b){const _0x3b2726=await this['getUploadClientOptions'](),_0x26b84d=_0x17839b['allEntries']['map'](_0x327796=>_0x327796['uuid']+(_0x327796['cdnUrlModifiers']?'/'+_0x327796['cdnUrlModifiers']:'')),_0x110fa5=new AbortController(),_0x492431=await W$(_0x26b84d,{..._0x3b2726,'signal':_0x110fa5['signal']});if(this['$']['*collectionState']!==_0x17839b)return void _0x110fa5['abort']();this['$']['*groupInfo']=_0x492431;const _0x4b970a=this['api']['getOutputCollectionState']();this['emit'](QV['GROUP_CREATED'],_0x4b970a),this['emit'](QV['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x4b970a;}['_flushOutputItems']=VV(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](QV['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x5f3d04,_0x12907b,_0x1e3608)=>{(_0x12907b['size']||_0x1e3608['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x12907b]['map'](_0x362ef7=>_0x362ef7['uid']));for(const _0x213f9d of _0x12907b)_0x213f9d['getValue']('silent')||this['emit'](QV['FILE_ADDED'],this['api']['getOutputItem'](_0x213f9d['uid']));this['validationManager']['runCollectionValidators']();for(const _0x5c0b17 of _0x1e3608){this['$']['*uploadTrigger']['delete'](_0x5c0b17['uid']),this['validationManager']['cleanupValidationForEntry'](_0x5c0b17),_0x5c0b17['getValue']('abortController')?.['abort'](),_0x5c0b17['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x3f0dbb=_0x5c0b17?.['getValue']('thumbUrl');_0x3f0dbb&&URL['revokeObjectURL'](_0x3f0dbb),this['emit'](QV['FILE_REMOVED'],this['api']['getOutputItem'](_0x5c0b17['uid']));}this['$']['*uploadList']=_0x5f3d04['map'](_0x44ecd8=>({'uid':_0x44ecd8})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x442540=>{this['_flushOutputItems']();const _0x3d73c0=this['uploadCollection'],_0x112cda=[...new Set(Object['entries'](_0x442540)['filter'](([_0x5d95c5])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x5d95c5))['flatMap'](([,_0x55662c])=>[..._0x55662c]))];if(_0x112cda['length']>0x0&&setTimeout(()=>{const _0x19f3f1=_0x112cda['filter'](_0x49141b=>_0x442540['fileInfo']?.['has'](_0x49141b)&&!!IQ['getCtx'](_0x49141b)['store']['fileInfo']);_0x19f3f1['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x19f3f1),this['validationManager']['runFileValidators']('change',_0x112cda);}),_0x442540['uploadProgress']){for(const _0x49f953 of _0x442540['uploadProgress']){const {isUploading:_0x502078,silent:_0x228bc0}=IQ['getCtx'](_0x49f953)['store'];_0x502078&&!_0x228bc0&&this['emit'](QV['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x49f953));}this['_flushCommonUploadProgress']();}if(_0x442540['isUploading'])for(const _0x31b9b9 of _0x442540['isUploading']){const {isUploading:_0x557fe9,silent:_0x4a92ee}=IQ['getCtx'](_0x31b9b9)['store'];_0x557fe9&&!_0x4a92ee&&this['emit'](QV['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x31b9b9));}if(_0x442540['fileInfo']){for(const _0x5d3291 of _0x442540['fileInfo']){const {fileInfo:_0x154157,silent:_0x8e205b}=IQ['getCtx'](_0x5d3291)['store'];_0x154157&&!_0x8e205b&&this['emit'](QV['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x5d3291));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x442540['errors']){this['validationManager']['runCollectionValidators']();for(const _0xf781f5 of _0x442540['errors']){const {errors:_0x129e7b}=IQ['getCtx'](_0xf781f5)['store'];_0x129e7b['length']>0x0&&(this['emit'](QV['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0xf781f5)),this['emit'](QV['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x7dbbf=_0x3d73c0['findItems'](_0x8889c=>!!_0x8889c['getValue']('fileInfo')),_0x2318b0=_0x3d73c0['findItems'](_0x110428=>_0x110428['getValue']('errors')['length']>0x0);_0x3d73c0['size']>0x0&&0x0===_0x2318b0['length']&&_0x3d73c0['size']===_0x7dbbf['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](QV['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}if(_0x442540['cdnUrl']){const _0x36539e=[..._0x442540['cdnUrl']]['filter'](_0x534057=>!!this['uploadCollection']['read'](_0x534057)?.['getValue']('cdnUrl'));_0x36539e['forEach'](_0x51d75e=>{this['emit'](QV['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x51d75e));}),this['$']['*groupInfo']=null;}};['_flushCommonUploadProgress']=()=>{let _0x1d06b9=0x0;const _0x25f8eb=[...this['$']['*uploadTrigger']]['filter'](_0x2b2a0e=>!!this['uploadCollection']['read'](_0x2b2a0e));_0x25f8eb['forEach'](_0x512534=>{const _0x536711=this['uploadCollection']['readProp'](_0x512534,'uploadProgress');'number'==typeof _0x536711&&(_0x1d06b9+=_0x536711);});const _0x5e7931=_0x25f8eb['length']?Math['round'](_0x1d06b9/_0x25f8eb['length']):0x0;this['$']['*commonProgress']!==_0x5e7931&&(this['$']['*commonProgress']=_0x5e7931,this['emit'](QV['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x2a285f]=this['uploadCollection']['findItems'](_0x5db1ef=>!!_0x5db1ef['getValue']('fileInfo')&&_0x5db1ef['getValue']('isImage'))['map'](_0x864f44=>this['uploadCollection']['read'](_0x864f44));_0x2a285f&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x5abd70=>_0x5abd70['activityType']===zU['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x2a285f['uid']},this['$']['*currentActivity']=zU['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](zU['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x246b8c=fB(this['cfg']['cropPreset']);if(_0x246b8c){const [_0x2d23ad]=_0x246b8c,_0x4956f2=this['uploadCollection']['findItems'](_0x533983=>!!_0x533983['getValue']('fileInfo')&&_0x533983['getValue']('isImage')&&!_0x533983['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x188d0e=>this['uploadCollection']['read'](_0x188d0e))['filter'](Boolean);for(const _0x2afe95 of _0x4956f2){const _0x3b335f=_0x2afe95['getValue']('fileInfo');if(!_0x3b335f||!_0x3b335f['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x2afe95['uid']);continue;}const {width:_0xd65ff3,height:_0x1921aa}=_0x3b335f['imageInfo'],_0x1eaaa4=lB(_0xd65ff3,_0x1921aa,'number'==typeof _0x2d23ad?.['width']&&'number'==typeof _0x2d23ad?.['height']&&_0x2d23ad['width']>0x0&&_0x2d23ad['height']>0x0?_0x2d23ad['width']/_0x2d23ad['height']:0x1),_0x3d3526=HV('crop/'+_0x1eaaa4['width']+'x'+_0x1eaaa4['height']+'/'+_0x1eaaa4['x']+','+_0x1eaaa4['y'],'preview'),_0x5a1e7f=_0x2afe95['getValue']('cdnUrl');_0x5a1e7f?(_0x2afe95['setMultipleValues']({'cdnUrlModifiers':_0x3d3526,'cdnUrl':KV(_0x5a1e7f,_0x3d3526)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x118f42=>_0x118f42['activityType']===zU['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x2afe95['uid']},this['$']['*currentActivity']=zU['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](zU['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x2afe95['uid']);}}}async['getMetadataFor'](_0x44e661){const _0x11b874=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x11b874){const _0x35070b=this['api']['getOutputItem'](_0x44e661);return await _0x11b874(_0x35070b);}return _0x11b874;}async['getUploadClientOptions'](){const _0x599678=this['$']['*secureUploadsManager'],_0x2ee468=await _0x599678['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':OB,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x2ee468?.['secureSignature'],'secureExpire':_0x2ee468?.['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'](_0x1eae33=>this['api']['getOutputItem'](_0x1eae33));}};sF['extSrcList']=Object['freeze']({...mB}),sF['sourceTypes']=Object['freeze']({...pB});var nF={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},rF=['camera','microphone'];function oF(_0x2efec1){return Math['floor'](_0x2efec1/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x2efec1%0x3c)['toString']()['padStart'](0x2,'0');}var aF='image/jpeg',cF='video/webm',lF=class extends sF{['couldBeCtxOwner']=!0x0;['activityType']=zU['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':void 0x0!==navigator['permissions'],'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':_0x5eaba3=>{const _0x143716=_0x5eaba3['target'];_0x143716&&(this['_selectedCameraId']=_0x143716['value'],this['_capture']());},'onAudioSelectChange':_0x2818e1=>{const _0x258dc3=_0x2818e1['target'];_0x258dc3&&(this['_selectedAudioId']=_0x258dc3['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':DV['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':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x46e15d=>{const _0x18eeec=_0x46e15d['currentTarget'],_0x152d48=_0x18eeec?.['getAttribute']('data-id');_0x152d48&&this['_handleActiveTab'](_0x152d48);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===XB['PHOTO']&&this['_shot'](),this['_activeTab']===XB['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x10c821=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x3a9262=this['cfg']['maxVideoRecordingDuration']-_0x10c821;if(_0x3a9262<=0x0){const _0x1c07b2=this['ref']['timer'];return _0x1c07b2&&(_0x1c07b2['textContent']=oF(_0x3a9262)),void this['_stopRecording']();}const _0x12507a=this['ref']['timer'];_0x12507a&&(_0x12507a['textContent']=oF(_0x3a9262));}else{const _0x2eea38=this['ref']['timer'];_0x2eea38&&(_0x2eea38['textContent']=oF(_0x10c821));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x7c97f5=this['ref']['video'];if(!_0x7c97f5)return;const _0x162604=_0x7c97f5['currentTime'],_0x2d228d=_0x7c97f5['duration']||0x1,_0x89dd12=this['ref']['line'];_0x89dd12&&(_0x89dd12['style']['transform']='scaleX('+_0x162604/_0x2d228d+')');const _0x3f7191=this['ref']['timer'];_0x3f7191&&(_0x3f7191['textContent']=oF(_0x162604)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x5984b2}=this['cfg']['mediaRecorderOptions']||{};_0x5984b2&&MediaRecorder['isTypeSupported'](_0x5984b2)?this['_options']['mimeType']=_0x5984b2:MediaRecorder['isTypeSupported'](cF)?this['_options']['mimeType']=cF:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x4199c6=>{this['_chunks']['push'](_0x4199c6['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](qB['PLAY']));}catch(_0x5eb172){console['error']('Failed\x20to\x20start\x20recording',_0x5eb172),this['telemetryManager']['sendEventError'](_0x5eb172,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](qB['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':DV['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'](_0x35367f=>{_0x35367f['enabled']=!_0x35367f['enabled'],this['$']['toggleMicrophoneIcon']=_0x35367f['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x35367f['enabled'];});};['_previewVideo']=()=>{try{const _0x59aa16=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x444189=URL['createObjectURL'](_0x59aa16),_0x1ecc74=this['ref']['video'];if(!_0x1ecc74)return;_0x1ecc74['muted']=!0x1,_0x1ecc74['volume']=0x1,this['$']['video']=null,_0x1ecc74['src']=_0x444189,_0x1ecc74['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x1ecc74['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x4609f1){console['error']('Failed\x20to\x20preview\x20video',_0x4609f1),this['telemetryManager']['sendEventError'](_0x4609f1,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](qB['RETAKE']),this['_activeTab']===XB['VIDEO']){this['$']['video']=this['_stream'];const _0x1b9670=this['ref']['video'];_0x1b9670&&(_0x1b9670['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](qB['ACCEPT']),this['_activeTab']===XB['PHOTO'])return void this['_canvas']?.['toBlob'](_0x87162=>{if(!_0x87162)return;const _0x16add4=this['_createFile']('camera','jpeg',aF,_0x87162);this['_toSend'](_0x16add4);},aF);const _0x594ee2=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x1337c3=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x24c03c=this['_createFile']('video',_0x1337c3,'video/'+_0x1337c3,_0x594ee2);this['_toSend'](_0x24c03c),this['_chunks']=[];};['_handlePhoto']=_0x796f2a=>{_0x796f2a===qB['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x796f2a!==qB['RETAKE']&&_0x796f2a!==qB['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](XB['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](XB['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x569629=>{_0x569629===qB['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'}),_0x569629===qB['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x569629!==qB['RETAKE']&&_0x569629!==qB['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](XB['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](XB['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']=_0x340695=>{this['_activeTab']!==XB['PHOTO']||'shot'!==_0x340695&&'retake'!==_0x340695&&'accept'!==_0x340695||this['_handlePhoto'](_0x340695),this['_activeTab']!==XB['VIDEO']||'play'!==_0x340695&&'stop'!==_0x340695&&'retake'!==_0x340695&&'accept'!==_0x340695&&'pause'!==_0x340695&&'resume'!==_0x340695||this['_handleVideo'](_0x340695);};['_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']=_0x1dadac=>{const _0x8108f=this['ref']['switcher'];_0x8108f?.['querySelectorAll']('button')['forEach'](_0x28b282=>{_0x28b282['classList']['toggle']('uc-active',_0x28b282['getAttribute']('data-id')===_0x1dadac);}),_0x1dadac===XB['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x1dadac===XB['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':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x1dadac}}}),this['_activeTab']=_0x1dadac;};['_createFile']=(_0x414062,_0x44d4a9,_0x14e743,_0x349f52)=>{const _0x58fd4d=Date['now']();return new File([_0x349f52],_0x414062+'-'+_0x58fd4d+'.'+_0x44d4a9,{'lastModified':_0x58fd4d,'type':_0x14e743});};['_guessExtensionByMime'](_0x98b086){const _0x403535={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x98b086)return'webm';if(_0x98b086){const _0x5d5595=_0x98b086['split']('/');if('video'===_0x5d5595?.[0x0]){const _0x3f8ffb=_0x5d5595['slice'](0x1)['join']('/'),_0x7f59e6=_0x3f8ffb?.['split'](';')[0x0];if(_0x7f59e6&&_0x403535[_0x7f59e6])return _0x403535[_0x7f59e6];}}return'avi';}['_toSend']=_0x5e504d=>{this['api']['addFileFromObject'](_0x5e504d,{'source':pB['CAMERA']}),this['set$']({'*currentActivity':zU['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return tU(this['cfg']['cameraModes'])['filter'](_0xe385b2=>_0xe385b2===XB['PHOTO']||_0xe385b2===XB['VIDEO']);}['_setPermissionsState']=VV(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===XB['VIDEO']&&this['cfg']['enableAudioRecording'],s=this['_activeTab']===XB['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](XB['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](XB['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':s,'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'](XB['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](XB['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x5c3a63=this['_stream']?.['getAudioTracks'](),_0x4bcf49=this['_stream']?.['getVideoTracks']();return _0x5c3a63['forEach'](_0x30a447=>{_0x30a447['stop']();}),_0x4bcf49['forEach'](_0x2a45e2=>{_0x2a45e2['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x4221d5=this['$']['video']?.['getTracks']?.();_0x4221d5?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x304c49={'video':{...nF},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x304c49['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x304c49['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x304c49),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x546d6a){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x546d6a),this['telemetryManager']['sendEventError'](_0x546d6a,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x174234 of rF){const _0x35e64e=await navigator['permissions']['query']({'name':_0x174234});this['_permissionResponses'][_0x174234]=_0x35e64e,_0x35e64e['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x4c0051){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x4c0051),this['telemetryManager']['sendEventError'](_0x4c0051,'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(_0x37418c){this['telemetryManager']['sendEventError'](_0x37418c,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x37418c);}};['_getDevices']=async()=>{try{const _0x2f1c9d=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x2f1c9d['filter'](_0x1fc373=>'videoinput'===_0x1fc373['kind'])['map']((_0x303a49,_0x1b1f59)=>({'text':_0x303a49['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x1b1f59+0x1),'value':_0x303a49['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x2f1c9d['filter'](_0x35d9c1=>'audioinput'===_0x35d9c1['kind'])['map'](_0x487a1b=>({'text':_0x487a1b['label']['trim'](),'value':_0x487a1b['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(_0x5e1f95){this['telemetryManager']['sendEventError'](_0x5e1f95,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x5e1f95);}};['_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']=_0x559cd0=>{this['$']['tabVideoHidden']=!_0x559cd0['includes'](XB['VIDEO']),this['$']['tabCameraHidden']=!_0x559cd0['includes'](XB['PHOTO']);const _0x487ec3=_0x559cd0[0x0];!_0x487ec3||this['_activeTab']&&_0x559cd0['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x487ec3);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x3ff06d=>{this['$']['videoTransformCss']=_0x3ff06d?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x102af8=>{this['$']['audioToggleMicrophoneHidden']=!_0x102af8,this['$']['audioSelectDisabled']=!_0x102af8;}),this['subConfigValue']('cameraModes',_0x5c8064=>{if(!this['isActivityActive'])return;const _0x598cc1=UV(_0x5c8064);this['_handleCameraModes'](_0x598cc1['filter'](_0x44e0f6=>_0x44e0f6===XB['PHOTO']||_0x44e0f6===XB['VIDEO']));});}['_destroy'](){for(const _0x2da1a0 of rF)this['_permissionResponses'][_0x2da1a0]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};lF['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 hF='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function uF(..._0x291b80){return _0x291b80['reduce']((_0x334f11,_0x13a9ed)=>{if('string'==typeof _0x13a9ed)return _0x334f11[_0x13a9ed]=!0x0,_0x334f11;for(const _0x5e1823 of Object['keys'](_0x13a9ed))_0x334f11[_0x5e1823]=_0x13a9ed[_0x5e1823];return _0x334f11;},{});}function dF(..._0x4bfe43){const _0x92b7f7=uF(..._0x4bfe43);return Object['keys'](_0x92b7f7)['reduce']((_0x56dcd7,_0x4ba8e3)=>(_0x92b7f7[_0x4ba8e3]&&_0x56dcd7['push'](_0x4ba8e3),_0x56dcd7),[])['join']('\x20');}var fF=_0x48d0a6=>hU['includes'](_0x48d0a6),mF='\x0a\x20\x20<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>\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'+hF+'\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',gF=class extends XU{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=VV(this['_showLoader']['bind'](this),0x12c);constructor(){var _0x525b73;super(),this['init$']={...this['init$'],...(_0x525b73=this,{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':hU,'*tabId':lU['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':hF,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':BV([...hU]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x18afa=_0x525b73['querySelectorAll']('img');for(const _0x1b8da1 of _0x18afa){const _0x44bf7c=_0x1b8da1['src'];_0x1b8da1['src']=hF,_0x1b8da1['src']=_0x44bf7c;}_0x525b73['$']['*networkProblems']=!0x1;},'*on.apply':_0x333240=>{if(!_0x333240)return;const _0x36a662=_0x525b73['$']['*originalUrl'],_0x36d9e0=HV(sU(_0x333240),'preview'),_0x44ada7={'originalUrl':_0x36a662,'cdnUrlModifiers':_0x36d9e0,'cdnUrl':KV(_0x36a662,_0x36d9e0),'transformations':_0x333240};_0x525b73['dispatchEvent'](new CustomEvent('apply',{'detail':_0x44ada7,'bubbles':!0x0,'composed':!0x0})),_0x525b73['remove']();},'*on.cancel':()=>{_0x525b73['remove'](),_0x525b73['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}})};}['_showLoader'](_0x33d369){this['$']['showLoader']=_0x33d369;}['_waitForSize'](){return new Promise((_0xfddb85,_0x12b32e)=>{const _0x419072=window['setTimeout'](()=>{_0x12b32e(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x8526b7=new ResizeObserver(_0x453fb5=>{const [_0x2572fc]=_0x453fb5;_0x2572fc&&_0x2572fc['contentRect']['width']>0x0&&_0x2572fc['contentRect']['height']>0x0&&(window['clearTimeout'](_0x419072),_0x8526b7['disconnect'](),window['setTimeout'](()=>_0xfddb85(),0x0));});_0x8526b7['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 _0x160b0f=this['$']['cdnUrl'],_0x3071e3=ZV(_0x160b0f),_0x4c7ed9=JV(_0x160b0f,_0x3071e3);if(_0x4c7ed9===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x4c7ed9;const _0x23bc73=cU(qV(_0x160b0f));this['$']['*editorTransformations']=_0x23bc73;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x7e6f14=JV(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x7e6f14===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x7e6f14,this['$']['*editorTransformations']={};}}this['$']['*tabId']===lU['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x3d9bde=this['$']['*originalUrl'],_0x4d53ff=await this['proxyUrl'](KV(_0x3d9bde,HV('json'))),_0x11478a=await fetch(_0x4d53ff)['then'](_0x360120=>_0x360120['json']()),{width:_0x9ed1b5,height:_0x31d2d7}=_0x11478a;this['$']['*imageSize']={'width':_0x9ed1b5,'height':_0x31d2d7},this['$']['*tabId']===lU['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x3d9bde});}catch(_0x26a30d){_0x26a30d&&(this['telemetryManager']['sendEventError'](_0x26a30d,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x26a30d));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0xd72335){return void(this['isConnected']&&console['error'](_0xd72335['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==hF&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0xb26131=>{const _0x2148c8=this['ref']['img-el'];_0x2148c8['src']!==_0xb26131&&(_0x2148c8['src']=_0xb26131||hF);}),this['sub']('tabs',_0x258597=>{this['$']['*tabList']=(_0x4783fb=>{if(!_0x4783fb)return hU;const _0x245767=UV(_0x4783fb)['filter'](fF);return 0x0===_0x245767['length']?hU:_0x245767;})(_0x258597);}),this['sub']('*tabId',_0x4525cd=>{this['ref']['img-el']['className']=dF('uc-image',{'uc-image_hidden_to_cropper':_0x4525cd===lU['CROP'],'uc-image_hidden_effects':_0x4525cd!==lU['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x23914e=>{this['$']['presence.networkProblems']=_0x23914e,this['$']['presence.modalCaption']=!_0x23914e;}),this['sub']('*editorTransformations',_0x5266db=>{if(0x0===Object['keys'](_0x5266db)['length'])return;const _0x197652=this['$']['*originalUrl'],_0x130cc7=HV(sU(_0x5266db),'preview'),_0x277ce8={'originalUrl':_0x197652,'cdnUrlModifiers':_0x130cc7,'cdnUrl':KV(_0x197652,_0x130cc7),'transformations':_0x5266db};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x277ce8,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x550e8a=>_0x550e8a&&this['updateImage']()),this['sub']('cdnUrl',_0x380c05=>_0x380c05&&this['updateImage']()),this['sub']('cropPreset',_0x141afd=>{const _0xd1497b=fB(_0x141afd);let _0x4fc72f=null;if(this['$']['cdnUrl']){const _0x3f526e=cU(qV(this['$']['cdnUrl']));if(Array['isArray'](_0x3f526e?.['crop']?.['dimensions'])){const [_0x568d76,_0x1b8144]=_0x3f526e['crop']['dimensions'];_0x4fc72f=((_0x5a97de,_0x285bf6,_0x159597,_0x4e2e34=0.1)=>{const _0x1067ab=_0x5a97de/_0x285bf6;let _0x50be00=null,_0xfcee76=0x1/0x0;for(const _0x3a0c86 of _0x159597){const [_0x19ab72,_0x4d3b76]=[_0x3a0c86['width'],_0x3a0c86['height']],_0x579140=_0x19ab72/_0x4d3b76,_0x25f279=Math['abs'](_0x1067ab-_0x579140);_0x25f279<_0xfcee76&&(_0xfcee76=_0x25f279,_0x50be00=_0x3a0c86);}if(_0x50be00){const [_0x1c3938,_0x1010d7]=[_0x50be00['width'],_0x50be00['height']],_0xcc8199=_0x1c3938/_0x1010d7;if(Math['abs'](_0x1067ab-_0xcc8199)/_0xcc8199>_0x4e2e34)return null;}return _0x50be00;})(_0x568d76,_0x1b8144,_0xd1497b,0.1);}}this['$']['*cropPresetList']=_0xd1497b,this['$']['*currentAspectRatio']=_0x4fc72f??_0xd1497b?.[0x0]??null;});}};gF['template']=mF,gF['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var pF=class extends XU{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+xQ['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'](_0x5bcbd7){const _0x59e1d7=this['$']['*imageBox'];if(!_0x59e1d7)return!0x1;if(''===_0x5bcbd7&&_0x59e1d7['height']<=0x1&&_0x59e1d7['width']<=0x1)return!0x0;const _0x42760c=_0x59e1d7['height']<=0x1&&(_0x5bcbd7['includes']('n')||_0x5bcbd7['includes']('s')),_0x4093f6=_0x59e1d7['width']<=0x1&&(_0x5bcbd7['includes']('e')||_0x5bcbd7['includes']('w'));return _0x42760c||_0x4093f6;}['_createBackdrop'](){const _0x47dd4f=this['$']['*cropBox'];if(!_0x47dd4f)return;const {x:_0x141221,y:_0x167aab,width:_0x55a320,height:_0x31d51f}=_0x47dd4f,_0x22e7bd=this['ref']['svg-el'],_0x4aa626=sB('mask',{'id':this['_backdropMaskId']}),_0x2118f4=sB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x370880=sB('rect',{'x':_0x141221,'y':_0x167aab,'width':_0x55a320,'height':_0x31d51f,'fill':'black'});_0x4aa626['appendChild'](_0x2118f4),_0x4aa626['appendChild'](_0x370880);const _0x450de7=sB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x22e7bd['appendChild'](_0x450de7),_0x22e7bd['appendChild'](_0x4aa626),this['_backdropMask']=_0x4aa626,this['_backdropMaskInner']=_0x370880;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x1b723a=this['$']['*cropBox'];if(!_0x1b723a)return;const {x:_0x1085ed,y:_0x409118,width:_0x2c9687,height:_0x2e0e65}=_0x1b723a;this['_backdropMaskInner']&&iB(this['_backdropMaskInner'],{'x':_0x1085ed,'y':_0x409118,'width':_0x2c9687,'height':_0x2e0e65});}['_updateFrame'](){const _0x212171=this['$']['*cropBox'];if(_0x212171&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x2343f5 of Object['values'](this['_frameThumbs'])){if(!_0x2343f5)continue;const {direction:_0xccae67,pathNode:_0x19fe59,interactionNode:_0xf97458,groupNode:_0x4116da}=_0x2343f5,_0x143755=''===_0xccae67,_0x2f21f3=0x2===_0xccae67['length'],{x:_0x387f55,y:_0x3d933c,width:_0x262ee7,height:_0x35ccf1}=_0x212171;if(_0x143755)iB(_0xf97458,{'x':_0x387f55,'y':_0x3d933c,'width':_0x262ee7,'height':_0x35ccf1});else{const _0x10b427=uB(Math['min'](_0x262ee7,_0x35ccf1)/0x52/0x2,0x0,0x1),_0x19d752=_0x2f21f3?nB(_0x212171,_0xccae67,_0x10b427):rB(_0x212171,_0xccae67,_0x10b427),_0x45945a=_0x19d752['center'];if(!_0x45945a)continue;const _0x50dbb4=Math['max'](0x18*uB(Math['min'](_0x262ee7,_0x35ccf1)/0x18/0x3,0x0,0x1),0x6);iB(_0xf97458,{'x':_0x45945a[0x0]-_0x50dbb4,'y':_0x45945a[0x1]-_0x50dbb4,'width':0x2*_0x50dbb4,'height':0x2*_0x50dbb4}),iB(_0x19fe59,{'d':_0x19d752['d']});}const _0x4c18bb=this['_shouldThumbBeDisabled'](_0xccae67);_0x4116da['setAttribute']('class',dF('uc-thumb',{'uc-thumb--hidden':_0x4c18bb,'uc-thumb--visible':!_0x4c18bb}));}iB(this['_frameGuides'],{'x':_0x212171['x']-0.5,'y':_0x212171['y']-0.5,'width':_0x212171['width']+0x1,'height':_0x212171['height']+0x1});}}['_createThumb'](_0x24acde,_0x31cfe9){const _0x18ab35=sB('g');_0x18ab35['classList']['add']('uc-thumb'),_0x18ab35['setAttribute']('with-effects','');const _0x287de1=sB('rect',{'fill':'transparent'}),_0x535147=sB('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x18ab35['appendChild'](_0x535147),_0x18ab35['appendChild'](_0x287de1),_0x24acde[_0x31cfe9]={'direction':_0x31cfe9,'pathNode':_0x535147,'interactionNode':_0x287de1,'groupNode':_0x18ab35},''===_0x31cfe9&&(_0x18ab35['style']['cursor']='move'),_0x287de1['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x31cfe9));}['_createThumbs'](){const _0x4d6899={};for(let _0x43738a=0x0;_0x43738a<0x3;_0x43738a++)for(let _0x598fac=0x0;_0x598fac<0x3;_0x598fac++){const _0x11d944=''+['n','','s'][_0x43738a]+['w','','e'][_0x598fac];''!==_0x11d944&&this['_createThumb'](_0x4d6899,_0x11d944);}return this['_createThumb'](_0x4d6899,''),_0x4d6899;}['_createGuides'](){const _0x5d2d57=sB('svg'),_0x1a3a02=sB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});_0x5d2d57['appendChild'](_0x1a3a02);for(let _0x5d690a=0x1;_0x5d690a<=0x2;_0x5d690a++){const _0x4eb711=sB('line',{'x1':eB*_0x5d690a+'%','y1':'0%','x2':eB*_0x5d690a+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x5d2d57['appendChild'](_0x4eb711);}for(let _0x163db4=0x1;_0x163db4<=0x2;_0x163db4++){const _0x23d77d=sB('line',{'x1':'0%','y1':eB*_0x163db4+'%','x2':'100%','y2':eB*_0x163db4+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x5d2d57['appendChild'](_0x23d77d);}return _0x5d2d57['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x5d2d57;}['_createFrame'](){const _0x566b4c=this['ref']['svg-el'],_0x1701cd=document['createDocumentFragment'](),_0x28bc90=this['_createGuides']();_0x1701cd['appendChild'](_0x28bc90);const _0x1e4e0b=this['_createThumbs']();for(const {groupNode:_0x1cc3ed}of Object['values'](_0x1e4e0b))_0x1701cd['appendChild'](_0x1cc3ed);_0x566b4c['appendChild'](_0x1701cd),this['_frameThumbs']=_0x1e4e0b,this['_frameGuides']=_0x28bc90;}['_handlePointerDown'](_0x425c89,_0x12b3df){if(!this['_frameThumbs'])return;const _0x12ddd9=this['_frameThumbs'][_0x425c89];if(!_0x12ddd9)return;if(this['_shouldThumbBeDisabled'](_0x425c89))return;const _0x386a41=this['$']['*cropBox'],_0x25fabd=this['ref']['svg-el'],{x:_0x3ce5f2,y:_0x4e8083}=_0x25fabd['getBoundingClientRect'](),_0x1df53c=_0x12b3df['x']-_0x3ce5f2,_0x4861cd=_0x12b3df['y']-_0x4e8083;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x12ddd9,this['_dragStartPoint']=[_0x1df53c,_0x4861cd],this['_dragStartCrop']={..._0x386a41};}['_handlePointerUp_'](_0x27374){this['_updateCursor'](),this['$']['dragging']&&(_0x27374['stopPropagation'](),_0x27374['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x30bac0){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x30bac0['stopPropagation'](),_0x30bac0['preventDefault']();const _0x2f2630=this['ref']['svg-el'],{x:_0x192f54,y:_0x11a716}=_0x2f2630['getBoundingClientRect'](),_0x191c32=_0x30bac0['x']-_0x192f54,_0x85b9a6=_0x30bac0['y']-_0x11a716,_0x3039e7=_0x191c32-this['_dragStartPoint'][0x0],_0x496860=_0x85b9a6-this['_dragStartPoint'][0x1],{direction:_0x71282a}=this['_draggingThumb'],_0x12f990=this['_calcCropBox'](_0x71282a,[_0x3039e7,_0x496860]);_0x12f990&&(this['$']['*cropBox']=_0x12f990);}['_calcCropBox'](_0x6feadb,_0x3efd01){const [_0x239800,_0x2f787a]=_0x3efd01,_0x2e298e=this['$']['*imageBox'];let _0x15ed4e=this['_dragStartCrop']??this['$']['*cropBox'];const _0x4de647=this['$']['*currentAspectRatio'],_0x32efdf=_0x4de647?_0x4de647['width']/_0x4de647['height']:void 0x0;if(_0x15ed4e=''===_0x6feadb?function({rect:_0x19146f,delta:[_0x1433d4,_0x5ac5bc],imageBox:_0x45ebf9}){return oB({..._0x19146f,'x':_0x19146f['x']+_0x1433d4,'y':_0x19146f['y']+_0x5ac5bc},_0x45ebf9);}({'rect':_0x15ed4e,'delta':[_0x239800,_0x2f787a],'imageBox':_0x2e298e}):aB({'rect':_0x15ed4e,'delta':[_0x239800,_0x2f787a],'direction':_0x6feadb,'aspectRatio':_0x32efdf,'imageBox':_0x2e298e}),Object['values'](_0x15ed4e)['every'](_0x57457b=>Number['isFinite'](_0x57457b)&&_0x57457b>=0x0))return oB(hB(_0x15ed4e),_0x2e298e);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x15ed4e});}['_handleSvgPointerMove_'](_0x2344c2){if(!this['_frameThumbs'])return;const _0x25e831=Object['values'](this['_frameThumbs'])['find'](_0x60535c=>{if(!_0x60535c)return!0x1;if(this['_shouldThumbBeDisabled'](_0x60535c['direction']))return!0x1;const _0x4190ce=_0x60535c['interactionNode']['getBoundingClientRect'](),_0x375ea9=function(_0x13c43e,[_0x4b7bb0,_0xc38b6e]){return _0x13c43e['x']<=_0x4b7bb0&&_0x4b7bb0<=_0x13c43e['x']+_0x13c43e['width']&&_0x13c43e['y']<=_0xc38b6e&&_0xc38b6e<=_0x13c43e['y']+_0x13c43e['height'];}({'x':_0x4190ce['x'],'y':_0x4190ce['y'],'width':_0x4190ce['width'],'height':_0x4190ce['height']},[_0x2344c2['x'],_0x2344c2['y']]);return _0x375ea9;});this['_hoverThumb']=_0x25e831,this['_updateCursor']();}['_updateCursor'](){const _0x83d1bc=this['_hoverThumb'];var _0x5bc18f;this['ref']['svg-el']['style']['cursor']=_0x83d1bc?''===(_0x5bc18f=_0x83d1bc['direction'])?'move':['e','w']['includes'](_0x5bc18f)?'ew-resize':['n','s']['includes'](_0x5bc18f)?'ns-resize':['nw','se']['includes'](_0x5bc18f)?'nwse-resize':'nesw-resize':'initial';}['_createMask'](_0x3c9162){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x3c9162);const _0x119c8f=this['ref']['svg-el'],_0x1134d2=document['createDocumentFragment'](),_0x5a20f2=sB('image',{'href':_0x3c9162});_0x5a20f2['setAttribute']('class','uc-cloud-mask'),_0x1134d2['appendChild'](_0x5a20f2),_0x119c8f['appendChild'](_0x1134d2),this['_frameImage']=_0x5a20f2;}['_updateMask'](){const _0x18505e=this['$']['*cropBox'];if(!_0x18505e||!this['_frameImage'])return;const {x:_0x12551b,y:_0x306d80,width:_0xe4c60c,height:_0x2a7841}=_0x18505e;iB(this['_frameImage'],{'x':_0x12551b,'y':_0x306d80,'height':_0x2a7841,'width':_0xe4c60c});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x598186){if(this['_frameThumbs'])for(const _0x25a4a6 of Object['values'](this['_frameThumbs'])){if(!_0x25a4a6)continue;const {groupNode:_0x2a7da0}=_0x25a4a6;_0x2a7da0['setAttribute']('class',dF('uc-thumb',{'uc-thumb--hidden':!_0x598186,'uc-thumb--visible':_0x598186}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x2cfda3=>{_0x2cfda3&&(this['_guidesHidden']=_0x2cfda3['height']<=0x1||_0x2cfda3['width']<=0x1,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x26dcff=>{_0x26dcff&&this['_createMask'](_0x26dcff);}),this['sub']('dragging',_0x3a4ef9=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',dF({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x3a4ef9,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x3a4ef9}));}),(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']));}};pF['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var OF=class extends XU{['_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',_0x333eaa=>{const _0x3733f9=this['_titleEl'];_0x3733f9&&(_0x3733f9['style']['display']=_0x333eaa?'block':'none');}),this['sub']('active',_0x5df1fd=>{this['className']=dF({'uc-active':_0x5df1fd,'uc-not_active':!_0x5df1fd});}),this['sub']('on.click',_0x4be1c3=>{this['onclick']=_0x4be1c3??null;});}};OF['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 wF=class extends OF{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x38b8a2=>{this['$']['title']=_0x38b8a2['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x38b8a2['width']+':'+_0x38b8a2['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};wF['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 bF=class extends OF{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x30f5f5=>{if(!_0x30f5f5)return;const _0x1aaf18=!!_0x30f5f5['hasFreeform'];this['$']['title']=_0x1aaf18?this['l10n']('custom'):_0x30f5f5['width']+':'+_0x30f5f5['height'],_0x1aaf18||this['_renderRectBasedOnAspectRatio'](_0x30f5f5),_0x1aaf18&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x30f5f5,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x1aaf18?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x30f5f5['width']+':'+_0x30f5f5['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x17d329=>{this['$']['active']=_0x17d329&&_0x17d329['id']===this['_aspectRatio']?.['id']||_0x17d329?.['width']===this['_aspectRatio']?.['width']&&_0x17d329?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x2301d2=this['$']['*currentAspectRatio'];_0x2301d2?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x88d851){const {width:_0x103269,height:_0x5b0063}=(_0x42d4ec=>{let _0x288de3=0xc,_0x175dc6=0xc;return _0x42d4ec['width']/_0x42d4ec['height']>=0x1?(_0x288de3=0xc,_0x175dc6=Math['round'](0xc*_0x42d4ec['height']/_0x42d4ec['width'])):(_0x175dc6=0xc,_0x288de3=Math['round'](0xc*_0x42d4ec['width']/_0x42d4ec['height'])),{'width':_0x288de3,'height':_0x175dc6};})(_0x88d851),_0x327eab=sB('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(0x10-_0x103269)/0x2,'y':(0x10-_0x5b0063)/0x2,'rx':0x2,'width':_0x103269,'height':_0x5b0063}),_0x3049b9=this['ref']['icon-el']?.['ref']?.['svg'];_0x3049b9&&(_0x3049b9['innerHTML']='',_0x3049b9['appendChild'](_0x327eab));}['_aspectRatio'];},yF=class extends OF{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x9bc7f1=>{_0x9bc7f1&&(this['_operation']=_0x9bc7f1,this['$']['icon']=_0x9bc7f1,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x9bc7f1)['toLowerCase']()})));}),this['$']['on.click']=_0x5bc256=>{if(!this['_operation'])return;const _0x5a5f2b=this['$']['*cropperEl'],_0x33cf07=_0x5a5f2b['getValue'](this['_operation']),_0x2dc6ce=function(_0x340b35,_0x542a8c){if('rotate'===_0x340b35)return function(_0x1c3b58){let _0x2e63ce=_0x1c3b58+0x5a;return _0x2e63ce=_0x2e63ce>=0x168?0x0:_0x2e63ce,_0x2e63ce;}('number'==typeof _0x542a8c?_0x542a8c:0x0);if('mirror'===_0x340b35||'flip'===_0x340b35)return!_0x542a8c;throw new Error('Unsupported\x20operation:\x20'+_0x340b35);}(this['_operation'],_0x33cf07);this['telemetryManager']['sendEventCloudImageEditor'](_0x5bc256,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x2dc6ce,'prev':_0x33cf07}),_0x5a5f2b['setValue'](this['_operation'],_0x2dc6ce);};}};function _F(_0x397bd8){const _0x47882b=new Image();return{'promise':new Promise((_0x47d748,_0x26c8a0)=>{_0x47882b['src']=_0x397bd8,_0x47882b['onload']=()=>_0x47d748(),_0x47882b['onerror']=_0x236ebb=>_0x26c8a0(_0x236ebb);}),'image':_0x47882b,'cancel':()=>{0x0===_0x47882b['naturalWidth']&&(_0x47882b['src']=hF);}};}function vF(_0x33b861){const _0xcb04da=[];for(const _0x50d243 of _0x33b861){const _0x3ece32=_F(_0x50d243);_0xcb04da['push'](_0x3ece32);}const _0x57cfc1=_0xcb04da['map'](_0x2a2837=>_0x2a2837['image']);return{'promise':Promise['allSettled'](_0xcb04da['map'](_0x46369c=>_0x46369c['promise'])),'images':_0x57cfc1,'cancel':()=>{_0xcb04da['forEach'](_0x55b01d=>{_0x55b01d['cancel']();});}};}var TF='original',EF=class extends XU{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x54b7c7=>{const _0x236d4c=this['$']['*faderEl'];_0x236d4c?.['set'](_0x54b7c7),this['$']['value']=_0x54b7c7;}};}['setOperation'](_0x2ab80a,_0x5b70ff){this['_operation']=_0x2ab80a,this['_filter']=_0x5b70ff,this['_initializeValues']();const _0x1ccf9c=this['$']['*faderEl'],_0x1bb7b1=this['_originalUrl']||this['$']['*originalUrl'];_0x1ccf9c&&_0x1bb7b1&&_0x1ccf9c['activate']({'url':_0x1bb7b1,'operation':this['_operation'],'value':this['_filter']===TF?void 0x0:this['$']['value'],'filter':this['_filter']===TF?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x141b78=this['_operation'],{range:_0x352d5c,zero:_0x538f25}=gU[_0x141b78],[_0x26fca9,_0x903fc2]=_0x352d5c;this['$']['min']=_0x26fca9,this['$']['max']=_0x903fc2,this['$']['zero']=_0x538f25;const _0x14484f=this['$']['*editorTransformations'][_0x141b78];if('filter'===_0x141b78){let _0x279687=Number(_0x903fc2);const _0x2b6c0c=_0x14484f;if(_0x2b6c0c){const {name:_0x31b261,amount:_0xd98ba0}=_0x2b6c0c;_0x279687=_0x31b261===this['_filter']?_0xd98ba0:_0x903fc2;}return this['$']['value']=_0x279687,void(this['$']['defaultValue']=_0x279687);}const _0x54240f=void 0x0!==_0x14484f?_0x14484f:_0x538f25;this['$']['value']=_0x54240f,this['$']['defaultValue']=_0x54240f;}['apply'](){const _0xe26735={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==TF?_0xe26735['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0xe26735['filter']:_0xe26735[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0xe26735;}['cancel'](){const _0x5e0092=this['$']['*faderEl'];_0x5e0092?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x4612bb=>{this['_originalUrl']=_0x4612bb;}),this['sub']('value',_0x3c7699=>{const _0x5c05fc=(this['_filter']??this['_operation'])+'\x20'+_0x3c7699;this['$']['*operationTooltip']=_0x5c05fc;});}};function AF(_0x47c3d4){const _0x70f6e=_0x47c3d4['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x70f6e)return null;const [,_0x49d076,_0x36df7c]=_0x70f6e;return _0x49d076&&void 0x0!==_0x36df7c?{'filter':_0x49d076,'value':Number(_0x36df7c)}:null;}EF['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 SF=class extends OF{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x1b2b4b=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x4f782f=window['devicePixelRatio'],_0x511958=Math['ceil'](_0x4f782f*_0x1b2b4b),_0x383b8d=_0x4f782f>=0x2?'lightest':'normal',_0xf1bb3f={...this['$']['*editorTransformations']};return _0xf1bb3f[this['_operation']]=this['_filter']!==TF?{'name':this['_filter'],'amount':0x64}:void 0x0,KV(this['_originalUrl'],HV(nU,sU(_0xf1bb3f),'quality/'+_0x383b8d,'scale_crop/'+_0x511958+'x'+_0x511958+'/center'));}async['_observerCallback'](_0x1538d8,_0xeadd22){const _0x51eb65=_0x1538d8[0x0];if(_0x51eb65?.['isIntersecting']){const _0x14cc60=await this['proxyUrl'](this['_previewSrc']()),_0x472721=this['ref']['preview-el'],{promise:_0x32ab7c,cancel:_0x2ffdc9}=_F(_0x14cc60);this['_cancelPreload']=_0x2ffdc9,_0x32ab7c['catch'](_0x32789c=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x32789c});})['finally'](()=>{_0x472721['style']['backgroundImage']='url('+_0x14cc60+')',_0x472721['setAttribute']('loaded',''),_0xeadd22['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x1be6a3=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x6245ca=this['$']['*sliderEl'];_0x6245ca['setOperation'](this['_operation'],this['_filter']),_0x6245ca['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x1be6a3,this['$']['*tabId'],{'operation':AF(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x4861be=>{this['_operation']='filter',this['_filter']=_0x4861be,this['$']['isOriginal']=_0x4861be===TF,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x4861be['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x5d0018=this['$']['*originalUrl'];if(this['_originalUrl']=_0x5d0018,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x585e20=>{this['$']['active']=_0x585e20&&_0x585e20===this['_filter'];}),this['sub']('isOriginal',_0x2b224b=>{this['$']['iconSize']=_0x2b224b?0x28:0x14;}),this['sub']('active',_0xd9adc7=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0xd9adc7?'1':'0';const _0x404889=this['ref']['preview-el'];_0xd9adc7?_0x404889['style']['opacity']='0':_0x404889['style']['backgroundImage']&&(_0x404889['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x4e3095=>{if(!_0x4e3095){const _0xd49ec5=await this['proxyUrl'](this['_previewSrc']()),_0x580399=this['ref']['preview-el'];_0x580399['style']['backgroundImage']&&(_0x580399['style']['backgroundImage']='none',_0x580399['style']['backgroundImage']='url('+_0xd49ec5+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};SF['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 IF=(_0x58b242,_0x1e47fe)=>{let _0x5ef3a1,_0x41f919=!0x1,_0x4914a9=0x0;const _0x248801=(..._0x3f598e)=>{_0x41f919?(_0x5ef3a1&&clearTimeout(_0x5ef3a1),_0x5ef3a1=setTimeout(()=>{Date['now']()-_0x4914a9>=_0x1e47fe&&(_0x58b242(..._0x3f598e),_0x4914a9=Date['now']());},Math['max'](_0x1e47fe-(Date['now']()-_0x4914a9),0x0))):(_0x58b242(..._0x3f598e),_0x4914a9=Date['now'](),_0x41f919=!0x0);};return Object['defineProperty'](_0x248801,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x5ef3a1&&clearTimeout(_0x5ef3a1);}}),_0x248801;};function CF(_0x1e5d2a,_0x16573d,_0x57bb1e){const _0x53e1a4=window['devicePixelRatio'],_0x50b381=Math['min'](Math['ceil'](_0x16573d*_0x53e1a4),0xbb8),_0xca2fbd=_0x53e1a4>=0x2?'lightest':'normal';return KV(_0x1e5d2a,HV(nU,sU(_0x57bb1e),'quality/'+_0xca2fbd,'stretch/off/-/resize/'+_0x50b381+'x','@clib/'+FU+'/'+jU+'/uc-cloud-image-editor/'));}var kF=class extends XU{['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':0x14,'*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']=VV(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=IF(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x35b2f4=function(_0x567cf4,_0x57cb73){const _0x167590={};for(const _0x1b9f56 of _0x57cb73){const _0x77b032=_0x567cf4[_0x1b9f56];(Object['hasOwn'](_0x567cf4,_0x1b9f56)||void 0x0!==_0x77b032)&&(_0x167590[_0x1b9f56]=_0x77b032);}return _0x167590;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0xee4e4={...this['$']['*operations'],..._0x35b2f4};this['$']['*operations']=_0xee4e4;}['_initCanvas'](){const _0x20a307=this['ref']['canvas-el'],_0xf9c76a=_0x20a307['getContext']('2d'),_0x58298b=this['offsetWidth'],_0x506133=this['offsetHeight'],_0x34264e=window['devicePixelRatio'];_0x20a307['style']['width']=_0x58298b+'px',_0x20a307['style']['height']=_0x506133+'px',_0x20a307['width']=_0x58298b*_0x34264e,_0x20a307['height']=_0x506133*_0x34264e,_0xf9c76a?.['scale'](_0x34264e,_0x34264e),this['_canvas']=_0x20a307,this['_ctx']=_0xf9c76a;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x3c74f0=this['$']['image'],_0x115612=this['$']['*padding'],_0x484a69=this['$']['*operations'],{rotate:_0x19573d}=_0x484a69,_0x4f3f7b=this['offsetWidth'],_0xbe5570=this['offsetHeight'],_0xb33910=cB({'width':_0x3c74f0['naturalWidth'],'height':_0x3c74f0['naturalHeight']},_0x19573d);let _0x8c9869;if(_0xb33910['width']>_0x4f3f7b-0x2*_0x115612||_0xb33910['height']>_0xbe5570-0x2*_0x115612){const _0x46079e=_0xb33910['width']/_0xb33910['height'];if(_0x46079e>_0x4f3f7b/_0xbe5570){const _0x162aa3=_0x4f3f7b-0x2*_0x115612,_0x4a3e3e=_0x162aa3/_0x46079e;_0x8c9869={'x':0x0+_0x115612,'y':_0x115612+(_0xbe5570-0x2*_0x115612)/0x2-_0x4a3e3e/0x2,'width':_0x162aa3,'height':_0x4a3e3e};}else{const _0x47205a=_0xbe5570-0x2*_0x115612,_0x3190bf=_0x47205a*_0x46079e;_0x8c9869={'x':_0x115612+(_0x4f3f7b-0x2*_0x115612)/0x2-_0x3190bf/0x2,'y':0x0+_0x115612,'width':_0x3190bf,'height':_0x47205a};}}else{const {width:_0xf32f0a,height:_0x40196c}=_0xb33910;_0x8c9869={'x':_0x115612+(_0x4f3f7b-0x2*_0x115612)/0x2-_0xf32f0a/0x2,'y':_0x115612+(_0xbe5570-0x2*_0x115612)/0x2-_0x40196c/0x2,'width':_0xf32f0a,'height':_0x40196c};}this['$']['*imageBox']=hB(_0x8c9869);}['_alignCrop'](){let _0x4c85af=this['$']['*cropBox'];const _0x106134=this['$']['*imageBox'],_0x10fd6b=this['$']['*operations'],{rotate:_0x39c383}=_0x10fd6b,_0xc26a83=this['$']['*editorTransformations']['crop'],{width:_0x5c4604,x:_0x3f3086,y:_0x645500}=_0x106134;if(_0xc26a83){const {dimensions:[_0x5f225d,_0x1b3995],coords:[_0x5c82ca,_0x57d672]}=_0xc26a83,{width:_0x6e86d1}=cB(this['_imageSize'],_0x39c383),_0x28855e=_0x5c4604/_0x6e86d1;_0x4c85af=oB(hB({'x':_0x3f3086+_0x5c82ca*_0x28855e,'y':_0x645500+_0x57d672*_0x28855e,'width':_0x5f225d*_0x28855e,'height':_0x1b3995*_0x28855e}),_0x106134);}const _0x561c01=this['$']['*currentAspectRatio'],_0x4ea2fe=_0x561c01?_0x561c01['width']/_0x561c01['height']:void 0x0;if(_0x339ee4=_0x106134,!((_0x2d7ba9=_0x4c85af)['x']>=_0x339ee4['x']&&_0x2d7ba9['y']>=_0x339ee4['y']&&_0x2d7ba9['x']+_0x2d7ba9['width']<=_0x339ee4['x']+_0x339ee4['width']&&_0x2d7ba9['y']+_0x2d7ba9['height']<=_0x339ee4['y']+_0x339ee4['height'])||_0x4ea2fe&&(_0x4b7efa=_0x4c85af,_0x55c847=_0x4ea2fe,!(Math['abs'](_0x4b7efa['width']/_0x4b7efa['height']-_0x55c847)<0.1))){const _0x200d7f=_0x106134['width']/_0x106134['height'];let _0x5ec221=_0x106134['width'],_0x33ce17=_0x106134['height'];_0x4ea2fe&&(_0x200d7f>_0x4ea2fe?_0x5ec221=Math['min'](_0x106134['height']*_0x4ea2fe,_0x106134['width']):_0x33ce17=Math['min'](_0x106134['width']/_0x4ea2fe,_0x106134['height'])),_0x4c85af={'x':_0x106134['x']+_0x106134['width']/0x2-_0x5ec221/0x2,'y':_0x106134['y']+_0x106134['height']/0x2-_0x33ce17/0x2,'width':_0x5ec221,'height':_0x33ce17};}var _0x4b7efa,_0x55c847,_0x2d7ba9,_0x339ee4;this['$']['*cropBox']=oB(hB(_0x4c85af),_0x106134);}['_drawImage'](){const _0x5ba868=this['_ctx'];if(!_0x5ba868)return;const _0xf72851=this['$']['image'],_0x1202dc=this['$']['*imageBox'],_0x18fcad=this['$']['*operations'],{mirror:_0x677e2c,flip:_0x3ea719,rotate:_0x64ed5a}=_0x18fcad,_0x3f0c48=cB({'width':_0x1202dc['width'],'height':_0x1202dc['height']},_0x64ed5a);_0x5ba868['save'](),_0x5ba868['translate'](_0x1202dc['x']+_0x1202dc['width']/0x2,_0x1202dc['y']+_0x1202dc['height']/0x2),_0x5ba868['rotate'](_0x64ed5a*Math['PI']*-0x1/0xb4),_0x5ba868['scale'](_0x677e2c?-0x1:0x1,_0x3ea719?-0x1:0x1),_0x5ba868['drawImage'](_0xf72851,-_0x3f0c48['width']/0x2,-_0x3f0c48['height']/0x2,_0x3f0c48['width'],_0x3f0c48['height']),_0x5ba868['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x3a4782=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x3a4782['width'],_0x3a4782['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x21d8c4}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=dF({'uc-active_from_viewer':_0x21d8c4,'uc-active_from_editor':!_0x21d8c4,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0xe1872d=this['$']['*cropBox'],_0x49e641=this['$']['*imageBox'],_0x3665ab=this['$']['*operations'],{rotate:_0xbae7bb}=_0x3665ab,{width:_0x1bddf8,height:_0x2ddd86}=_0x49e641,{width:_0x46c7d8,height:_0x1c4717}=cB(this['_imageSize'],_0xbae7bb),{width:_0x8645a8,height:_0x5b5021}=_0xe1872d,_0x3c0117=_0x1bddf8/_0x46c7d8,_0x28660c=_0x2ddd86/_0x1c4717;return[uB(Math['round'](_0x8645a8/_0x3c0117),0x1,_0x46c7d8),uB(Math['round'](_0x5b5021/_0x28660c),0x1,_0x1c4717)];}['_getCropTransformation'](){const _0x205888=this['$']['*cropBox'],_0x5773d3=this['$']['*imageBox'],_0x52363e=this['$']['*operations'],{rotate:_0x36af76}=_0x52363e,{width:_0xb87b95,height:_0x8292e5,x:_0x525d76,y:_0x14fd3e}=_0x5773d3,{width:_0x1b7e9d,height:_0x4eed18}=cB(this['_imageSize'],_0x36af76),{x:_0x446307,y:_0x3df993}=_0x205888,_0xfb6d79=_0xb87b95/_0x1b7e9d,_0x5c8535=_0x8292e5/_0x4eed18,_0x33a334=this['_getCropDimensions'](),_0x4b81b3={'dimensions':_0x33a334,'coords':[uB(Math['round']((_0x446307-_0x525d76)/_0xfb6d79),0x0,_0x1b7e9d-_0x33a334[0x0]),uB(Math['round']((_0x3df993-_0x14fd3e)/_0x5c8535),0x0,_0x4eed18-_0x33a334[0x1])]};if(function(_0x311da5){if(!_0x311da5)return!0x0;const _0x54ee07=[({dimensions:_0x48bd5f,coords:_0x5b1958})=>[..._0x48bd5f,..._0x5b1958]['every'](_0x54a7b0=>Number['isInteger'](_0x54a7b0)&&Number['isFinite'](_0x54a7b0)),({dimensions:_0x5b3102,coords:_0x3fef86})=>_0x5b3102['every'](_0x50f8ad=>_0x50f8ad>0x0)&&_0x3fef86['every'](_0x463c4e=>_0x463c4e>=0x0)];return _0x54ee07['every'](_0x12f77a=>_0x12f77a(_0x311da5));}(_0x4b81b3)){if(_0x33a334[0x0]!==_0x1b7e9d||_0x33a334[0x1]!==_0x4eed18)return _0x4b81b3;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x4b81b3});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x10aa1d=this['$']['*operations'],{rotate:_0xd0e3a0,mirror:_0x84793e,flip:_0x6f83f4}=_0x10aa1d,_0x33d9b0=this['_getCropTransformation'](),_0x4554ab={...this['$']['*editorTransformations'],'crop':_0x33d9b0,'rotate':_0xd0e3a0,'mirror':_0x84793e,'flip':_0x6f83f4};this['$']['*editorTransformations']=_0x4554ab;}['setValue'](_0x344c55,_0xa7b1ff){this['$']['*operations']={...this['$']['*operations'],[_0x344c55]:_0xa7b1ff},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x1dad4f){return this['$']['*operations'][_0x1dad4f];}async['activate'](_0x3afe74,{fromViewer:_0x4f6963}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x3afe74,this['removeEventListener']('transitionend',this['_reset']);try{const _0x232894=this['$']['*originalUrl'],_0x51f078=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x232894,_0x51f078),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x4f6963});}catch(_0x3db6e5){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x3db6e5}),this['telemetryManager']['sendEventError'](_0x3db6e5,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x5d1924=>{const [_0xdcf948]=_0x5d1924;if(!_0xdcf948)return;_0xdcf948['contentRect']['width']>0x0&&_0xdcf948['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x4c2549=!0x1}={}){this['_isActive']&&(!_0x4c2549&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=dF({'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 _0x366976=this['_getCropDimensions'](),_0xaf50e2=this['$']['*cropBox'],_0xecca07=Math['min'](this['offsetWidth'],_0x366976[0x0])/_0xaf50e2['width'],_0x464fe8=Math['min'](this['offsetHeight'],_0x366976[0x1])/_0xaf50e2['height'],_0x232634=Math['min'](_0xecca07,_0x464fe8),_0x61de54=_0xaf50e2['x']+_0xaf50e2['width']/0x2,_0x589561=_0xaf50e2['y']+_0xaf50e2['height']/0x2;this['style']['transform']='scale('+_0x232634+')\x20translate('+(this['offsetWidth']/0x2-_0x61de54)/_0x232634+'px,\x20'+(this['offsetHeight']/0x2-_0x589561)/_0x232634+'px)',this['style']['transformOrigin']=_0x61de54+'px\x20'+_0x589561+'px';}['_transitionToImage'](){const _0x1597ba=this['$']['*cropBox'],_0x5a28e7=_0x1597ba['x']+_0x1597ba['width']/0x2,_0x4e6f5d=_0x1597ba['y']+_0x1597ba['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x5a28e7+'px\x20'+_0x4e6f5d+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x28f8ae,_0x4bc4ea){const _0x2e276c=this['offsetWidth'];_0x4bc4ea={..._0x4bc4ea,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x524aea=await this['proxyUrl'](CF(_0x28f8ae,_0x2e276c,_0x4bc4ea)),{promise:_0x99832c,cancel:_0x3fa3ab,image:_0x1d715e}=_F(_0x524aea),_0x30b02f=this['_handleImageLoading'](_0x524aea);return _0x1d715e['addEventListener']('load',_0x30b02f,{'once':!0x0}),_0x1d715e['addEventListener']('error',_0x30b02f,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x3fa3ab,_0x99832c['then'](()=>_0x1d715e)['catch'](_0x402130=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x402130}),this['$']['*networkProblems']=!0x0,_0x1d715e));}['_handleImageLoading'](_0x35c81b){const _0x14b5d6='crop',_0x3bba38=this['$']['*loadingOperations'];let _0x4df64a=_0x3bba38['get'](_0x14b5d6);return _0x4df64a||(_0x4df64a=new Map(),_0x3bba38['set'](_0x14b5d6,_0x4df64a)),_0x4df64a['get'](_0x35c81b)||(_0x4df64a['set'](_0x35c81b,!0x0),this['$']['*loadingOperations']=_0x3bba38),()=>{const _0x4ea95a=_0x3bba38['get'](_0x14b5d6);_0x4ea95a?.['has'](_0x35c81b)&&(_0x4ea95a['delete'](_0x35c81b),this['$']['*loadingOperations']=_0x3bba38);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x35cdb2=>{_0x35cdb2||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function xF(_0x4e7b28,_0x3bdc17,_0x14ff17){const _0x3a0503=_0x14ff17-0x1,_0x5d75f3=new Array(_0x14ff17);for(let _0x38f108=_0x3a0503;_0x38f108>=0x0;_0x38f108-=0x1)_0x5d75f3[_0x38f108]=Math['ceil']((_0x38f108*_0x3bdc17+(_0x3a0503-_0x38f108)*_0x4e7b28)/_0x3a0503);return _0x5d75f3;}function RF(_0x418661,_0x15c510){const _0x319edb=gU[_0x418661]['keypointsNumber'],{range:_0x131041,zero:_0x279e27}=gU[_0x418661];return[...new Set([...xF(_0x131041[0x0],_0x279e27,_0x319edb+0x1),...xF(_0x279e27,_0x131041[0x1],_0x319edb+0x1),_0x279e27,_0x15c510])]['sort']((_0x3b05fe,_0x19af49)=>_0x3b05fe-_0x19af49);}kF['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 PF=class extends OF{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2b0095=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x2b0095,this['$']['*tabId'],{'operation':AF(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x2a0745=>{_0x2a0745&&(this['_operation']=_0x2a0745,this['$']['icon']=_0x2a0745,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x2a0745)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x2a0745)));}),this['sub']('*editorTransformations',_0x5c409d=>{if(!this['_operation'])return;const {zero:_0x32d226}=gU[this['_operation']],_0xd07e7d=_0x5c409d[this['_operation']],_0x21ccc6=void 0x0!==_0xd07e7d&&_0xd07e7d!==_0x32d226;this['$']['active']=_0x21ccc6;});}},MF=class extends XU{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x504dbc=>{_0x504dbc['preventDefault']();const {deltaY:_0x3f1006,deltaX:_0x29d0b8}=_0x504dbc;Math['abs'](_0x29d0b8)>0x1?this['scrollLeft']+=_0x29d0b8:this['scrollLeft']+=_0x3f1006;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};MF['template']='\x20<slot></slot>\x20';var NF=class extends XU{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':TF,'*currentOperation':null,'showLoader':!0x1,'filters':dU,'colorOperations':uU,'cropOperations':fU,'*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':_0x4c3e76=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x4c3e76,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0x4fdafe=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x4fdafe,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x4c7cd8=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x4c7cd8,this['$']['*tabId'],{'action':'apply-slider','operation':AF(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0xb71e6c=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xb71e6c,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x5b129c=>{const _0x14d83d=_0x5b129c['currentTarget'],_0x232e8e=_0x14d83d?.['getAttribute']('data-id');_0x232e8e&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x5b129c,_0x232e8e),this['_activateTab'](_0x232e8e,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+lU['TUNING']]:'tab_'+lU['TUNING'],['tab_'+lU['CROP']]:'tab_'+lU['CROP'],['tab_'+lU['FILTERS']]:'tab_'+lU['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']=VV(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=VV(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===lU['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===lU['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x4973fe){const _0x11fa82=new PF();return _0x11fa82['operation']=_0x4973fe,_0x11fa82;}['_createFilterControl'](_0x1cd331){const _0x1d0536=new SF();return _0x1d0536['filter']=_0x1cd331,_0x1d0536;}['_createToggleControl'](_0x36e592){const _0x49e15e=new yF();return _0x49e15e['operation']=_0x36e592,_0x49e15e;}['_createAspectRatioControl'](_0x3f25e2){const _0x522c85=new bF();return _0x522c85['aspectRatio']=_0x3f25e2,_0x522c85;}['_createFreeformControl'](){return new wF();}['_clearListAspectRatio'](){const _0x9dc39f=this['$']['*listAspectRatioEl'];_0x9dc39f&&(_0x9dc39f['innerHTML']='');}['_renderControlsList'](_0x1efcd5){const _0x563b24=this['ref']['controls-list-'+_0x1efcd5],_0x30e209=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x1efcd5===lU['CROP']){const _0x1321d2=this['$']['*cropPresetList'],_0x2b5d15=_0x1321d2['length']>=0x3;if(_0x2b5d15){const _0x325d05=this['_createFreeformControl']();_0x30e209['appendChild'](_0x325d05);}for(const _0x4c9e0a of _0x1321d2){const _0xcbcdb1=this['_createAspectRatioControl'](_0x4c9e0a);if(_0x30e209['appendChild'](_0xcbcdb1),_0x2b5d15){const _0x429492=this['$']['*listAspectRatioEl'];_0x429492?.['appendChild'](_0xcbcdb1);}}for(const _0x517853 of this['$']['cropOperations']){const _0x2a7a16=this['_createToggleControl'](_0x517853);_0x30e209['appendChild'](_0x2a7a16);}}else{if(_0x1efcd5===lU['FILTERS']){const _0x41ce00=this['$']['filters'];[TF,..._0x41ce00]['forEach'](_0x3d08ae=>{const _0x4843d6=this['_createFilterControl'](_0x3d08ae);_0x30e209['appendChild'](_0x4843d6);});}else{if(_0x1efcd5===lU['TUNING'])for(const _0x5c04dd of this['$']['colorOperations']){const _0x25b1c1=this['_createOperationControl'](_0x5c04dd);_0x30e209['appendChild'](_0x25b1c1);}}}[..._0x30e209['children']]['forEach']((_0x4e1eae,_0x5affdc)=>{_0x5affdc===_0x30e209['childNodes']['length']-0x1&&_0x4e1eae['classList']['add']('uc-controls-list_last-item');}),_0x563b24['innerHTML']='',_0x563b24['appendChild'](_0x30e209);}['_activateTab'](_0x90c384,{fromViewer:_0xc56979}={}){this['$']['*tabId']=_0x90c384;const _0x2ab583=this['$']['*faderEl'],_0x215443=this['$']['*cropperEl'];_0x90c384===lU['CROP']?(_0x2ab583?.['deactivate'](),_0x215443?.['activate'](this['$']['*imageSize'],{'fromViewer':_0xc56979})):(_0x2ab583?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0xc56979}),_0x215443?.['deactivate']());for(const _0x56a8f9 of hU){const _0x510343=_0x56a8f9===_0x90c384;this['ref']['tab-toggle-'+_0x56a8f9]['active']=_0x510343,_0x510343?(this['_renderControlsList'](_0x90c384),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x56a8f9),this['$']['presence.tabContent.'+_0x56a8f9]=_0x510343;}}['_unmountTabControls'](_0x39663b){const _0x2fc226=this['ref']['controls-list-'+_0x39663b];_0x2fc226&&(_0x2fc226['innerHTML']='');}['_syncTabIndicator'](){const _0x45bfba=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x45bfba['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x13d3c8=this['$']['*imgContainerEl']['offsetWidth'],_0x5c964a=await this['proxyUrl'](CF(this['$']['*originalUrl'],_0x13d3c8,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x4c6361}=vF([_0x5c964a]);this['_cancelPreload']=()=>{_0x4c6361(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x1647cd){this['$']['showLoader']=_0x1647cd;}['_updateInfoTooltipHandler'](){const _0x5b331c=this['$']['*editorTransformations'],_0x244b6c=this['$']['*currentOperation'];let _0x291c34='',_0x3e9ebd=!0x1;if(this['$']['*tabId']===lU['FILTERS']){if(_0x3e9ebd=!0x0,this['$']['*currentFilter']&&_0x5b331c?.['filter']?.['name']===this['$']['*currentFilter']){const _0x5cfade=_0x5b331c?.['filter']?.['amount']||0x64;_0x291c34=this['$']['*currentFilter']+'\x20'+_0x5cfade;}else _0x291c34=this['l10n'](TF);}else{if(this['$']['*tabId']===lU['TUNING']&&_0x244b6c){_0x3e9ebd=!0x0;const _0x4b7b0e=_0x5b331c?.[_0x244b6c]||gU[_0x244b6c]['zero'];_0x291c34=this['l10n'](_0x244b6c)+'\x20'+_0x4b7b0e;}}_0x3e9ebd&&(this['$']['*operationTooltip']=_0x291c34),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x3e9ebd);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x5a0f67=>{_0x5a0f67&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x50b609=>{const _0x228219=_0x50b609?.['filter']?.['name'];this['$']['*currentFilter']!==_0x228219&&(this['$']['*currentFilter']=_0x228219);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0xbc3552=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0xbc3552);}),this['sub']('*loadingOperations',_0x420688=>{let _0x4c797c=!0x1;for(const [,_0x3c554d]of _0x420688['entries']()){if(_0x4c797c)break;for(const [,_0x2edd15]of _0x3c554d['entries']())if(_0x2edd15){_0x4c797c=!0x0;break;}}this['_debouncedShowLoader'](_0x4c797c);}),this['sub']('*showSlider',_0x288cc0=>{this['$']['presence.subToolbar']=_0x288cc0,this['$']['presence.mainToolbar']=!_0x288cc0,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x300e66=>{this['$']['presence.subToolbar']=_0x300e66,this['$']['presence.mainToolbar']=!_0x300e66,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x93d59=>{this['$']['presence.tabToggles']=_0x93d59['length']>0x1;for(const _0x44e9f1 of hU){this['$']['presence.tabToggle.'+_0x44e9f1]=_0x93d59['includes'](_0x44e9f1),this['ref']['tab-toggle-'+_0x44e9f1]['style']['gridColumn']=''+(_0x93d59['indexOf'](_0x44e9f1)+0x1);}if(!_0x93d59['includes'](this['$']['*tabId'])&&_0x93d59['length']>0x0){const [_0x27c37a]=_0x93d59;_0x27c37a&&this['_activateTab'](_0x27c37a,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};NF['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>'+hU['map'](function(_0x142afc){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x142afc+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x142afc+';\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-'+_0x142afc+'\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';})['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'+hU['map'](function(_0x4195e5){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.'+_0x4195e5+';\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-'+_0x4195e5+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x4195e5+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x4195e5+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x4195e5+';\x20title-prop:\x20a11y-editor-tab-'+_0x4195e5+'\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';})['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 LF=class extends XU{['_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',_0x28906a=>{_0x28906a?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return dF('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',_0x41b10a=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x41b10a,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x4e580c=>{_0x4e580c&&'custom'!==_0x4e580c&&(this['className']='uc-'+_0x4e580c);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x1e7a34=>{this['$']['aria-role']=_0x1e7a34||'';}),this['defineAccessor']('aria-controls',_0x6f8452=>{this['$']['aria-controls']=_0x6f8452||'';}),this['defineAccessor']('title-prop',_0x55aacf=>{this['$']['title-prop']=_0x55aacf||'';});}set['reverse'](_0x4136b0){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};LF['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),LF['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 DF=class extends XU{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x5bee7c=this['ref']['line-el'];_0x5bee7c['style']['transition']='initial',_0x5bee7c['style']['opacity']='0',_0x5bee7c['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x25ddf8=>{'boolean'==typeof _0x25ddf8&&(_0x25ddf8?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x1acb59}=this['getBoundingClientRect'](),_0x288a40=this['ref']['line-el'];_0x288a40['style']['transition']='transform\x201s',_0x288a40['style']['opacity']='1',_0x288a40['style']['transform']='translateX('+_0x1acb59+'px)',_0x288a40['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};DF['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 QF='uc-transition',$F='uc-visible',VF='uc-hidden',UF=class extends XU{['_visible']=!0x1;['_visibleStyle']=$F;['_hiddenStyle']=VF;['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x50432b=>{_0x50432b&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x50432b['visible']??$F,this['_hiddenStyle']=_0x50432b['hidden']??VF);}),this['defineAccessor']('visible',_0x19cb8c=>{'boolean'==typeof _0x19cb8c&&(this['_visible']=_0x19cb8c,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',function(_0x5c5c6d,..._0x36d042){const _0x33d076=uF(..._0x36d042);for(const _0x4620d5 of Object['keys'](_0x33d076))_0x5c5c6d['classList']['toggle'](_0x4620d5,Boolean(_0x33d076[_0x4620d5]));}(this,{[QF]:!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'](QF),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};UF['template']='<slot></slot>\x20';var BF=class extends XU{['_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 _0x78b57c=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x78b57c),this['$']['onInput']?.(_0x78b57c);},'on.sliderChange':()=>{const _0x3a9404=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x3a9404);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x20b93d=>{this['$']['disabled']=_0x20b93d;}),this['defineAccessor']('min',_0x384782=>{this['$']['min']=_0x384782;}),this['defineAccessor']('max',_0xfb54d7=>{this['$']['max']=_0xfb54d7;}),this['defineAccessor']('defaultValue',_0x34bd85=>{this['$']['defaultValue']=_0x34bd85,(this['_inputEl']()['value']=String(_0x34bd85),this['_updateValue'](_0x34bd85));}),this['defineAccessor']('zero',_0x485909=>{this['_zero']=_0x485909;}),this['defineAccessor']('onInput',_0x285ac7=>{_0x285ac7&&(this['$']['onInput']=_0x285ac7);}),this['defineAccessor']('onChange',_0x30733b=>{_0x30733b&&(this['$']['onChange']=_0x30733b);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x50286d=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x50286d);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x417547=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x417547);},0x0),this['sub']('disabled',_0xdd0305=>{const _0x5a1729=this['_inputEl']();_0xdd0305?_0x5a1729['setAttribute']('disabled','disabled'):_0x5a1729['removeAttribute']('disabled');});const _0x4189df=this['_inputEl']();_0x4189df['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x4189df['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'](_0x2d3ea3){this['_updateZeroDot'](_0x2d3ea3);const {width:_0x466d71}=this['getBoundingClientRect'](),_0x249a47=0x64/(this['$']['max']-this['$']['min'])*(_0x2d3ea3-this['$']['min'])*(_0x466d71-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x249a47+'px)';});}['_updateZeroDot'](_0x42b8bb){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x42b8bb===this['_zero']?'0':'1';const {width:_0x462a78}=this['getBoundingClientRect'](),_0xfc1bec=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x462a78-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0xfc1bec+'px)');});}['_updateSteps'](){const _0x497a75=this['_stepsEl'](),{width:_0x129986}=_0x497a75['getBoundingClientRect'](),_0x5e14d7=Math['ceil'](_0x129986/0x2),_0x41e6b4=Math['ceil'](_0x5e14d7/0xf)-0x2;if(this['_stepsCount']===_0x41e6b4)return;const _0x21a86a=document['createDocumentFragment'](),_0x79e331=document['createElement']('div'),_0x3bd36b=document['createElement']('div');_0x79e331['className']='uc-minor-step',_0x3bd36b['className']='uc-border-step',_0x21a86a['appendChild'](_0x3bd36b);for(let _0x3a947f=0x0;_0x3a947f<_0x41e6b4;_0x3a947f+=0x1)_0x21a86a['appendChild'](_0x79e331['cloneNode']());_0x21a86a['appendChild'](_0x3bd36b['cloneNode']());for(let _0x2b15ce=0x0;_0x2b15ce<_0x41e6b4;_0x2b15ce+=0x1)_0x21a86a['appendChild'](_0x79e331['cloneNode']());_0x21a86a['appendChild'](_0x3bd36b['cloneNode']());const _0x3b95bb=document['createElement']('div');_0x3b95bb['className']='uc-zero-dot',_0x21a86a['appendChild'](_0x3b95bb),this['_zeroDotEl']=_0x3b95bb,_0x497a75['innerHTML']='',_0x497a75['appendChild'](_0x21a86a),this['_stepsCount']=_0x41e6b4;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};BF['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 FF=_0x136cd7=>_0x136cd7['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x400ca1=>_0x400ca1['toLowerCase']())['join']('-'),jF=[{'test':_0x37c695=>!!_0x37c695['accept']&&!!_0x37c695['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':_0x45358c=>null!==_0x45358c['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':_0x5d067b=>null!==_0x5d067b['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],HF=VV(_0x262bde=>{for(const {test:_0x1aef54,message:_0x1801e7}of jF)_0x1aef54(_0x262bde)&&JB(_0x1801e7);},0x0),GF=_0x586cc9=>_0x586cc9 instanceof Promise||Boolean(_0x586cc9&&'object'==typeof _0x586cc9&&'then'in _0x586cc9&&'function'==typeof _0x586cc9['then']),ZF=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x5e568d,enableVideoRecording:_0x4738ea})=>{if(null===_0x4738ea)return _0x5e568d;let _0x587d57=UV(_0x5e568d);return _0x4738ea&&!_0x587d57['includes']('video')?_0x587d57=_0x587d57['concat']('video'):_0x4738ea||(_0x587d57=_0x587d57['filter'](_0x21fc32=>'video'!==_0x21fc32)),BV(_0x587d57);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x586364,defaultCameraMode:_0x34ca7b})=>{if(null===_0x34ca7b)return _0x586364;let _0x24920f=UV(_0x586364);return _0x24920f=_0x24920f['sort']((_0xeb8282,_0x297ed9)=>_0xeb8282===_0x34ca7b?-0x1:_0x297ed9===_0x34ca7b?0x1:0x0),BV(_0x24920f);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x1e418f,cdnCname:_0x593277,cdnCnamePrefixed:_0x182928})=>_0x1e418f&&(_0x593277===pU||((_0x29f24f,_0x139e4a)=>{try{const _0x271a9f=new URL(_0x29f24f),t=new URL(_0x139e4a);return _0x271a9f['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}})(_0x593277,_0x182928))?oV(_0x1e418f,_0x182928):_0x593277}],XF=({key:_0x1ae891,setValue:_0x5f44cc,getValue:_0x1dc8a7,computationControllers:_0x4c1f99})=>{for(const _0x221393 of ZF)if(_0x221393['deps']['includes'](_0x1ae891)){const _0x77f13f={[_0x221393['key']]:_0x1dc8a7(_0x221393['key'])};for(const _0x45c9fc of _0x221393['deps'])_0x77f13f[_0x45c9fc]=_0x1dc8a7(_0x45c9fc);const _0x32d536=new AbortController();let _0x27f271;_0x4c1f99['get'](_0x221393['key'])?.['abort'](),_0x4c1f99['set'](_0x221393['key'],_0x32d536);try{_0x27f271=_0x221393['fn'](_0x77f13f,{'signal':_0x32d536['signal']});}catch(_0x46a5d7){return _0x4c1f99['get'](_0x221393['key'])===_0x32d536&&_0x4c1f99['delete'](_0x221393['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x221393['key']+'\x22',_0x46a5d7);}GF(_0x27f271)?_0x27f271['then'](_0x1b863c=>{_0x32d536['signal']['aborted']||_0x5f44cc(_0x221393['key'],_0x1b863c);})['catch'](_0x815605=>{_0x32d536['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x221393['key']+'\x22',_0x815605);})['finally'](()=>{_0x4c1f99['get'](_0x221393['key'])===_0x32d536&&_0x4c1f99['delete'](_0x221393['key']);}):_0x5f44cc(_0x221393['key'],_0x27f271);}},qF=_0x10bb4f=>String(_0x10bb4f),WF=_0x27bc00=>{const _0x536596=Number(_0x27bc00);if(Number['isNaN'](_0x536596))throw new Error('Invalid\x20number:\x20\x22'+_0x27bc00+'\x22');return _0x536596;},zF=_0x12a1c3=>{if(null==_0x12a1c3)return!0x1;if('boolean'==typeof _0x12a1c3)return _0x12a1c3;if('true'===_0x12a1c3)return!0x0;if(''===_0x12a1c3)return!0x0;if('false'===_0x12a1c3)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x12a1c3+'\x22');},YF=_0x4be2e6=>{if('object'==typeof _0x4be2e6)return _0x4be2e6;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},KF=_0x12a495=>{if('function'==typeof _0x12a495)return _0x12a495;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},JF=_0x10a2c0=>{if(Array['isArray'](_0x10a2c0))return _0x10a2c0;throw new Error('Must\x20be\x20an\x20array.');},tj={'pubkey':qF,'multiple':zF,'multipleMin':WF,'multipleMax':WF,'confirmUpload':zF,'imgOnly':zF,'accept':qF,'externalSourcesPreferredTypes':qF,'externalSourcesEmbedCss':qF,'store':_0x4b4c37=>'auto'===_0x4b4c37?_0x4b4c37:zF(_0x4b4c37),'cameraMirror':zF,'cameraCapture':_0x30172f=>{const _0x2663f5=qF(_0x30172f);if('user'!==_0x2663f5&&'environment'!==_0x2663f5&&''!==_0x2663f5)throw new Error('Invalid\x20value:\x20\x22'+_0x2663f5+'\x22');return _0x2663f5;},'sourceList':qF,'topLevelOrigin':qF,'maxLocalFileSizeBytes':WF,'thumbSize':WF,'showEmptyList':zF,'useLocalImageEditor':zF,'useCloudImageEditor':zF,'cloudImageEditorTabs':qF,'removeCopyright':zF,'cropPreset':qF,'imageShrink':qF,'modalScrollLock':zF,'modalBackdropStrokes':zF,'sourceListWrap':zF,'remoteTabSessionKey':qF,'cdnCname':qF,'cdnCnamePrefixed':qF,'baseUrl':qF,'socialBaseUrl':qF,'secureSignature':qF,'secureExpire':qF,'secureDeliveryProxy':qF,'retryThrottledRequestMaxTimes':WF,'retryNetworkErrorMaxTimes':WF,'multipartMinFileSize':WF,'multipartChunkSize':WF,'maxConcurrentRequests':WF,'multipartMaxConcurrentRequests':WF,'multipartMaxAttempts':WF,'checkForUrlDuplicates':zF,'saveUrlForRecurrentUploads':zF,'groupOutput':zF,'userAgentIntegration':qF,'debug':zF,'localeName':qF,'metadata':_0x4efa63=>{if('object'==typeof _0x4efa63&&!Array['isArray'](_0x4efa63))return _0x4efa63;if('function'==typeof _0x4efa63)return _0x4efa63;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':WF,'localeDefinitionOverride':_0x577c88=>YF(_0x577c88),'secureUploadsSignatureResolver':_0x3394c4=>KF(_0x3394c4),'secureDeliveryProxyUrlResolver':_0x2326ad=>KF(_0x2326ad),'iconHrefResolver':_0x2318f3=>KF(_0x2318f3),'fileValidators':JF,'collectionValidators':JF,'validationTimeout':WF,'validationConcurrency':WF,'cameraModes':_0x40f1c5=>{const _0x58a60b=qF(_0x40f1c5),_0x2695c5=UV(_0x58a60b);if(_0x2695c5['some'](_0x55230b=>!Object['values'](XB)['includes'](_0x55230b)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x2695c5)+'\x22');return _0x58a60b;},'defaultCameraMode':_0x4277b1=>{const _0x5364c0=qF(_0x4277b1);if(!Object['values'](XB)['includes'](_0x5364c0))throw new Error('Invalid\x20value:\x20\x22'+_0x5364c0+'\x22');return _0x5364c0;},'enableAudioRecording':zF,'enableVideoRecording':zF,'mediaRecorderOptions':YF,'maxVideoRecordingDuration':WF,'filesViewMode':_0x243f6e=>{const _0x4d5d11=qF(_0x243f6e);if(['grid','list']['includes'](_0x4d5d11))return _0x4d5d11;throw new Error('Invalid\x20value:\x20\x22'+_0x4d5d11+'\x22');},'gridShowFileNames':zF,'cloudImageEditorAutoOpen':zF,'cloudImageEditorMaskHref':qF,'testMode':zF,'qualityInsights':zF},ej=[...new Set(['debug',...Object['keys'](wU)])],ij=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],sj=_0x1f5cf2=>ij['includes'](_0x1f5cf2),nj=ej['filter'](_0x4ee5d6=>!sj(_0x4ee5d6)),rj={...Object['fromEntries'](nj['map'](_0x5287db=>[FF(_0x5287db),_0x5287db])),...Object['fromEntries'](nj['map'](_0x115a74=>[_0x115a74['toLowerCase'](),_0x115a74]))},oj={...Object['fromEntries'](nj['map'](_0x461aae=>[FF(_0x461aae),GU(_0x461aae)])),...Object['fromEntries'](nj['map'](_0x361ace=>[_0x361ace['toLowerCase'](),GU(_0x361ace)]))},aj=_0x5a230d=>'__'+_0x5a230d,cj=class extends XU{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](wU)['map'](([_0xa16bc3,_0x41f0a3])=>[GU(_0xa16bc3),_0x41f0a3])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x1f9340,_0x240621){if(!sj(_0x1f9340)){const _0x50b6a5=[...new Set([FF(_0x1f9340),_0x1f9340['toLowerCase']()])];for(const _0x3ffaa8 of _0x50b6a5)null==_0x240621?this['removeAttribute'](_0x3ffaa8):this['getAttribute'](_0x3ffaa8)!==_0x240621['toString']()&&this['setAttribute'](_0x3ffaa8,_0x240621['toString']());}}['_flushValueToState'](_0x536298,_0x58175b){this['$'][GU(_0x536298)]!==_0x58175b&&(this['$'][GU(_0x536298)]=null==_0x58175b?wU[_0x536298]:_0x58175b);}['_setValue'](_0x47cda7,_0x5dbe68){const _0x51a7a4=this,_0x1feed3=((_0x498f8b,_0x303b62)=>{if(null!=_0x303b62)try{return tj[_0x498f8b](_0x303b62);}catch(_0x3039d5){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x498f8b+'\x22.',_0x3039d5),wU[_0x498f8b];}})(_0x47cda7,_0x5dbe68),_0x417707=aj(_0x47cda7);_0x51a7a4[_0x417707]!==_0x1feed3&&(this['_assertSameValueDifferentReference'](_0x47cda7,_0x51a7a4[_0x417707],_0x1feed3),_0x51a7a4[_0x417707]=_0x1feed3,this['_flushValueToAttribute'](_0x47cda7,_0x1feed3),this['_flushValueToState'](_0x47cda7,_0x1feed3),this['debugPrint']('[uc-config]\x20\x22'+_0x47cda7+'\x22',_0x1feed3),HF(this['cfg']));}['_getValue'](_0x5e826a){return this[aj(_0x5e826a)]??this['$'][GU(_0x5e826a)];}['_assertSameValueDifferentReference'](_0x4e04a8,_0x196e2d,_0x327b4a){this['cfg']['debug']&&_0x327b4a!==_0x196e2d&&'object'==typeof _0x327b4a&&'object'==typeof _0x196e2d&&JSON['stringify'](_0x327b4a)===JSON['stringify'](_0x196e2d)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x4e04a8+'\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'+_0x4e04a8+'\x22\x20previous\x20value:',_0x196e2d),console['warn']('[uc-config]\x20\x22'+_0x4e04a8+'\x22\x20new\x20value:',_0x327b4a));}['initCallback'](){super['initCallback']();const _0x502fc7=this;for(const _0x5240de of nj)this['sub'](GU(_0x5240de),_0x38675d=>{this['_setValue'](_0x5240de,_0x38675d);},!0x1);for(const _0x2a1368 of ej){const _0x306be2=_0x502fc7[_0x2a1368]??this['$'][GU(_0x2a1368)];_0x306be2!==wU[_0x2a1368]&&this['_setValue'](_0x2a1368,_0x306be2),Object['defineProperty'](this,_0x2a1368,{'set':_0x20411d=>{this['_setValue'](_0x2a1368,_0x20411d);},'get':()=>this['_getValue'](_0x2a1368)});}for(const _0x24dd13 of ej)this['sub'](GU(_0x24dd13),()=>{XF({'key':_0x24dd13,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x54b23c,_0x212426,_0x59b8a9){if(_0x212426===_0x59b8a9)return;const _0x3ed08d=this,_0xee1b06=rj[_0x54b23c];_0xee1b06&&(_0x3ed08d[_0xee1b06]=_0x59b8a9);}get['computationControllers'](){return this['$']['computationControllers'];}};cj['bindAttributes'](oj);for(const e of ej)cj['prototype'][e]=void 0x0;function lj(_0x5e2458){return new Promise(_0x30a608=>{'function'!=typeof window['FileReader']&&_0x30a608(!0x1);try{const _0x3296df=new FileReader();_0x3296df['onerror']=()=>{_0x30a608(!0x0);};const _0x18acda=_0x1e0489=>{'loadend'!==_0x1e0489['type']&&_0x3296df['abort'](),_0x30a608(!0x1);};_0x3296df['onloadend']=_0x18acda,_0x3296df['onprogress']=_0x18acda,_0x3296df['readAsDataURL'](_0x5e2458);}catch{_0x30a608(!0x1);}});}function hj(_0x45d472,_0x22cedd){return new Promise(_0xf7e311=>{let _0x67e985=0x0;const _0x5d828a=[],_0x3d0124=_0x46911a=>{if(!_0x46911a)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0xf7e311(null);_0x46911a['isFile']?(_0x67e985++,_0x46911a['file'](_0x405b1f=>{_0x67e985--;const _0x3889ef=new File([_0x405b1f],_0x405b1f['name'],{'type':_0x405b1f['type']||_0x22cedd});_0x5d828a['push']({'type':'file','file':_0x3889ef,'fullPath':_0x46911a['fullPath']}),0x0===_0x67e985&&_0xf7e311(_0x5d828a);})):_0x46911a['isDirectory']&&_0x492ab3(_0x46911a['createReader']());},_0x492ab3=_0x10a815=>{_0x67e985++,_0x10a815['readEntries'](_0x4723c5=>{_0x67e985--;for(const _0x51da4 of _0x4723c5)_0x3d0124(_0x51da4);0x0===_0x67e985&&_0xf7e311(_0x5d828a);});};_0x3d0124(_0x45d472);});}var uj=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),dj=['focus'],fj=new Map();function mj(_0x3298e2){let _0x506785=0x0;const _0x1879ed=document['body'],_0x908daf=new Set();let _0x227f8b=uj['INACTIVE'];const _0x83f245=_0x28d94e=>{_0x3298e2['shouldIgnore']()&&_0x28d94e!==uj['INACTIVE']||(_0x227f8b!==_0x28d94e&&_0x908daf['forEach'](_0x291cbb=>{_0x291cbb(_0x28d94e);}),_0x227f8b=_0x28d94e);},_0x5bd1c4=()=>_0x506785>0x0;var _0x2bcc6b;_0x2bcc6b=_0x191f84=>_0x3298e2['onChange'](_0x191f84),_0x908daf['add'](_0x2bcc6b);const _0x2414c3=()=>{_0x506785=0x0,_0x83f245(uj['INACTIVE']);},_0x15f825=()=>{_0x506785+=0x1,_0x227f8b===uj['INACTIVE']&&_0x83f245(uj['ACTIVE']);},_0x21b85a=()=>{_0x506785-=0x1,_0x5bd1c4()||_0x83f245(uj['INACTIVE']);},_0x46f5c5=_0x2cacb1=>{_0x2cacb1['preventDefault'](),_0x506785=0x0,_0x83f245(uj['INACTIVE']);},_0xae697a=_0x50dcba=>{if(_0x3298e2['shouldIgnore']())return;_0x5bd1c4()||(_0x506785+=0x1);const _0x44ba26=[_0x50dcba['x'],_0x50dcba['y']],_0x5d65ae=_0x3298e2['element']['getBoundingClientRect'](),_0x1a8c4d=Math['floor'](function(_0x32a506,_0xc37ed9){const _0x572ed=Math['max'](Math['min'](_0x32a506[0x0],_0xc37ed9['x']+_0xc37ed9['width']),_0xc37ed9['x']),_0x264fa0=Math['max'](Math['min'](_0x32a506[0x1],_0xc37ed9['y']+_0xc37ed9['height']),_0xc37ed9['y']);return Math['sqrt']((_0x32a506[0x0]-_0x572ed)*(_0x32a506[0x0]-_0x572ed)+(_0x32a506[0x1]-_0x264fa0)*(_0x32a506[0x1]-_0x264fa0));}(_0x44ba26,_0x5d65ae)),_0x2490d2=_0x1a8c4d<0x64,_0x2400f9=_0x50dcba['composedPath']()['includes'](_0x3298e2['element']);fj['set'](_0x3298e2['element'],_0x1a8c4d);const _0x5b69ee=Math['min'](...fj['values']())===_0x1a8c4d;_0x2400f9&&_0x5b69ee?(_0x50dcba['preventDefault'](),_0x83f245(uj['OVER'])):_0x83f245(_0x2490d2&&_0x5b69ee?uj['NEAR']:uj['ACTIVE']);},_0x1aac5f=async _0x42169b=>{if(_0x3298e2['shouldIgnore']())return;_0x42169b['preventDefault']();const {dataTransfer:_0x2856b3}=_0x42169b;if(!_0x2856b3)return;const _0x563590=await function(_0x3021a1){const _0x281778=[],_0x49dc01=[];for(let _0x5b02c8=0x0;_0x5b02c8<_0x3021a1['items']['length'];_0x5b02c8++){const _0x471a43=_0x3021a1['items'][_0x5b02c8];if(_0x471a43){if('file'===_0x471a43['kind']){const _0x165f0f=_0x471a43['type'],_0x20fd7d=_0x471a43;if('function'==typeof _0x20fd7d['webkitGetAsEntry']||'function'==typeof _0x20fd7d['getAsEntry']){const _0x464c44='function'==typeof _0x20fd7d['webkitGetAsEntry']?_0x20fd7d['webkitGetAsEntry']():_0x20fd7d['getAsEntry']?.();_0x464c44&&_0x49dc01['push'](hj(_0x464c44,_0x165f0f)['then'](_0x4efc5d=>{_0x4efc5d&&_0x281778['push'](..._0x4efc5d);}));continue;}const _0x2814f8=_0x471a43['getAsFile']();_0x2814f8&&_0x49dc01['push'](lj(_0x2814f8)['then'](_0x448c7e=>{_0x448c7e||_0x281778['push']({'type':'file','file':_0x2814f8});}));}else'string'===_0x471a43['kind']&&/^text\/uri-list/['test'](_0x471a43['type'])&&_0x49dc01['push'](new Promise(_0x344f90=>{_0x471a43['getAsString'](_0x4ae019=>{_0x281778['push']({'type':'url','url':_0x4ae019}),_0x344f90();});}));}}return Promise['all'](_0x49dc01)['then'](()=>_0x281778);}(_0x2856b3);_0x3298e2['onItems'](_0x563590),_0x83f245(uj['INACTIVE']);};return _0x1879ed['addEventListener']('drop',_0x46f5c5),_0x1879ed['addEventListener']('dragleave',_0x21b85a),_0x1879ed['addEventListener']('dragenter',_0x15f825),_0x1879ed['addEventListener']('dragover',_0xae697a),_0x3298e2['element']['addEventListener']('drop',_0x1aac5f),dj['forEach'](_0x405c84=>{window['addEventListener'](_0x405c84,_0x2414c3);}),()=>{fj['delete'](_0x3298e2['element']),_0x1879ed['removeEventListener']('drop',_0x46f5c5),_0x1879ed['removeEventListener']('dragleave',_0x21b85a),_0x1879ed['removeEventListener']('dragenter',_0x15f825),_0x1879ed['removeEventListener']('dragover',_0xae697a),_0x3298e2['element']['removeEventListener']('drop',_0x1aac5f),dj['forEach'](_0x47a781=>{window['removeEventListener'](_0x47a781,_0x2414c3);});};}var gj='uc-drop-area',pj=gj+'/registry',Oj=class extends sF{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':uj['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[pj]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0xf74f=this['getBoundingClientRect'](),_0x1a9ed6=_0xf74f['width']>0x0&&_0xf74f['height']>0x0,_0x238641=_0xf74f['top']>=0x0&&_0xf74f['left']>=0x0&&_0xf74f['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0xf74f['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x203a8a=window['getComputedStyle'](this),_0x26cac1='hidden'!==_0x203a8a['visibility']&&'none'!==_0x203a8a['display'];return _0x1a9ed6&&_0x26cac1&&_0x238641;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][pj]['add'](this),this['defineAccessor']('disabled',_0x412e8b=>{this['set$']({'isEnabled':!zF(_0x412e8b)});}),this['defineAccessor']('clickable',_0x2fc40e=>{this['set$']({'isClickable':zF(_0x2fc40e)});}),this['defineAccessor']('initflow',_0xc768f0=>{this['set$']({'isInitFlow':zF(_0xc768f0)});}),this['defineAccessor']('with-icon',_0x3d30a9=>{this['set$']({'withIcon':zF(_0x3d30a9)});}),this['defineAccessor']('fullscreen',_0xa9c384=>{this['set$']({'isFullscreen':zF(_0xa9c384)});}),this['defineAccessor']('text',_0x3cebaf=>{'string'==typeof _0x3cebaf?this['bindL10n']('text',()=>this['l10n'](_0x3cebaf)||_0x3cebaf):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=mj({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x5892b6=>{this['$']['state']=_0x5892b6;},'onItems':_0x21b8d2=>{_0x21b8d2['length']&&(_0x21b8d2['forEach'](_0x118bb9=>{'url'===_0x118bb9['type']?this['api']['addFileFromUrl'](_0x118bb9['url'],{'source':pB['DROP_AREA']}):'file'===_0x118bb9['type']&&this['api']['addFileFromObject'](_0x118bb9['file'],{'source':pB['DROP_AREA'],'fullPath':_0x118bb9['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':zU['activities']['UPLOAD_LIST']})));}}));const _0x4f4d9f=this['ref']['content-wrapper'];if(_0x4f4d9f&&(this['_destroyContentWrapperDropzone']=mj({'element':_0x4f4d9f,'onChange':_0x3091ec=>{const _0x168f5e=Object['entries'](uj)['find'](([,_0x3812bb])=>_0x3812bb===_0x3091ec)?.[0x0]['toLowerCase']();_0x168f5e&&_0x4f4d9f['setAttribute']('drag-state',_0x168f5e);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x27f58d=>{const _0x7eb8ce=Object['entries'](uj)['find'](([,_0x532063])=>_0x532063===_0x27f58d)?.[0x0]['toLowerCase']();_0x7eb8ce&&this['setAttribute']('drag-state',_0x7eb8ce);}),this['subConfigValue']('sourceList',_0x242ba6=>{const _0x4a0458=tU(_0x242ba6);this['$']['isEnabled']=_0x4a0458['includes'](pB['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x48406a=>{this['toggleAttribute']('hidden',!_0x48406a);}),this['sub']('isClickable',_0xc199a3=>{this['toggleAttribute']('clickable',_0xc199a3);}),this['$']['isClickable']){const _0x440a5b=_0x5c72a9=>{if(_0x5c72a9 instanceof KeyboardEvent){if('Space'===_0x5c72a9['code']||'Enter'===_0x5c72a9['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x5c72a9 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x440a5b,this['addEventListener']('keydown',_0x440a5b),this['addEventListener']('click',_0x440a5b);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x89ab49=this['$'][pj];if(0x0===_0x89ab49['size'])return!0x1;return[..._0x89ab49]['filter'](_0x1cb67f=>_0x1cb67f!==this)['filter'](_0x5bb3d6=>_0x5bb3d6['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x3128b9=this['cfg']['multiple'],_0x470d96=this['cfg']['multipleMax'],_0x2b5412=this['uploadCollection']['size'];return!(_0x3128b9&&_0x470d96&&_0x2b5412>=_0x470d96)&&!(!_0x3128b9&&_0x2b5412>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x561391=this['$'][pj];_0x561391['delete'](this),0x0===_0x561391['size']&&IQ['deleteCtx'](gj),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};Oj['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',Oj['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var wj=()=>{const _0x8c6152=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x8c6152['location']['origin'];}catch(_0x454e4e){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x454e4e),globalThis['location']['origin'];}},bj=_0x4588f6=>_0x4588f6['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),yj=(_0x31fddb,_0x5e917f='i')=>{const _0x1ced22=_0x31fddb['split']('*')['map'](bj);return new RegExp('^'+_0x1ced22['join']('.+')+'$',_0x5e917f);},_j=['--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'],vj=(_0x591d4b,_0xf273ca)=>window['getComputedStyle'](_0x591d4b)['getPropertyValue'](_0xf273ca)['trim'](),Tj=_0xe72206=>{const _0x1a724e={};for(const _0x3e2b74 of _j){const _0x14d563=vj(_0xe72206,_0x3e2b74);_0x14d563&&(_0x1a724e[_0x3e2b74]=_0x14d563);}return _0x1a724e;},Ej=['selected-files-change','toolbar-state-change'],Aj=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x11f381,_0x268406){this['_context']=_0x11f381,this['_getTargetOrigin']=_0x268406,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x304aa0=>{if(_0x304aa0['source']!==this['_context'])return;const _0x6fbad2=_0x304aa0['data'];if(!(_0x59e6d8=>{if(!_0x59e6d8)return!0x1;if('object'!=typeof _0x59e6d8)return!0x1;if(!('type'in _0x59e6d8))return!0x1;const _0x4b616b=_0x59e6d8['type'];return'string'==typeof _0x4b616b&&!!Ej['includes'](_0x4b616b);})(_0x6fbad2))return;const _0x366a4e=this['_handlerMap']['get'](_0x6fbad2['type']);if(_0x366a4e){for(const _0x2f33ed of _0x366a4e)_0x2f33ed(_0x6fbad2);}};['on'](_0x2873d,_0x3a4879){const _0x92b71d=this['_handlerMap']['get'](_0x2873d)??new Set();this['_handlerMap']['has'](_0x2873d)||this['_handlerMap']['set'](_0x2873d,_0x92b71d),_0x92b71d['add'](_0x3a4879);}['send'](_0x4b2d68){const _0x240352=this['_getTargetOrigin']();this['_context']['postMessage'](_0x4b2d68,_0x240352);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}},Sj={[mB['GDRIVE']]:'ngdrive'},Ij=class extends sF{['couldBeCtxOwner']=!0x0;['activityType']=zU['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 _0x1209b7 of this['$']['selectedList']){const _0x2fe63f=this['extractUrlFromSelectedFile'](_0x1209b7),{filename:_0x24a37e}=_0x1209b7,{externalSourceType:_0x514d7b}=this['activityParams'];this['api']['addFileFromUrl'](_0x2fe63f,{'fileName':_0x24a37e,'source':_0x514d7b});}this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x33c8aa=super['activityParams'];if('externalSourceType'in _0x33c8aa)return _0x33c8aa;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x1e55f1}=this['activityParams'];if(!_0x1e55f1)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':''+_0x1e55f1[0x0]?.['toUpperCase']()+_0x1e55f1?.['slice'](0x1),'activityIcon':_0x1e55f1}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x5a5766=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x294710=>{_0x294710!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x4d6e3f=>{this['$']['showSelectionStatus']=_0x4d6e3f;}),this['subConfigValue']('localeName',_0x122308=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0xa14114=>{this['applyEmbedCss'](_0xa14114);});}['extractUrlFromSelectedFile'](_0x491125){if(_0x491125['alternatives']){const _0xd914fb=tU(this['cfg']['externalSourcesPreferredTypes']);for(const _0x30e8f0 of _0xd914fb){const _0x5a4458=yj(_0x30e8f0);for(const [_0x11ce31,_0x13d419]of Object['entries'](_0x491125['alternatives']))if(_0x5a4458['test'](_0x11ce31))return _0x13d419;}}return _0x491125['url'];}['handleToolbarStateChange'](_0x5ab6e3){this['set$']({'toolbarVisible':_0x5ab6e3['isVisible']});}async['handleSelectedFilesChange'](_0x4094c1){this['cfg']['multiple']===_0x4094c1['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x4094c1['selectedCount'],'total':_0x4094c1['total']})),this['set$']({'doneBtnTextClass':_0x4094c1['isReady']?'':'uc-hidden','isSelectionReady':_0x4094c1['isReady'],'isDoneBtnEnabled':_0x4094c1['isReady']&&_0x4094c1['selectedFiles']['length']>0x0,'showSelectionStatus':_0x4094c1['isMultipleMode']&&_0x4094c1['total']>0x0,'couldSelectAll':_0x4094c1['selectedCount']<_0x4094c1['total'],'couldDeselectAll':_0x4094c1['selectedCount']===_0x4094c1['total'],'selectedList':_0x4094c1['selectedFiles'],'showDoneBtn':_0x4094c1['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':Tj(this)});}['applyEmbedCss'](_0x112995){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x112995});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x2476ee,remoteTabSessionKey:_0x5c71a6,socialBaseUrl:_0xc2c17,multiple:_0x578da0}=this['cfg'],{externalSourceType:_0x1a2d37}=this['activityParams'],_0x5ee7bd=Sj[_0x1a2d37]??_0x1a2d37,_0xb64630={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x2476ee,'images_only':(!0x1)['toString'](),'session_key':_0x5c71a6,'wait_for_theme':!0x0,'multiple':_0x578da0['toString'](),'origin':this['cfg']['topLevelOrigin']||wj(),'debug':this['cfg']['debug']},_0x244fb4=new URL('/window4/'+_0x5ee7bd,_0xc2c17);return _0x244fb4['search']=function(_0x309fdf){const _0x424f66=[];for(const [_0xb7a157,_0x1946fc]of Object['entries'](_0x309fdf))null==_0x1946fc||'string'==typeof _0x1946fc&&0x0===_0x1946fc['length']||_0x424f66['push'](_0xb7a157+'='+encodeURIComponent(_0x1946fc));return _0x424f66['join']('&');}(_0xb64630),_0x244fb4['toString']();}['mountIframe'](){const _0x5dadcc=ZQ({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x5dadcc['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x5dadcc),_0x5dadcc['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new Aj(_0x5dadcc['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});}};Ij['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 Cj=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,kj=class extends sF{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x1b4f8d){return(..._0x2cc1f0)=>{const _0x32c056=this['_entry'];if(_0x32c056)return _0x1b4f8d(_0x32c056,..._0x2cc1f0);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x1c6f47,_0x59f3df){this['_withEntry']((_0x58ca56,_0x1187eb,_0x3be7a9)=>{const _0x5c1725=_0x58ca56['subscribe'](_0x1187eb,_0x454427=>{this['isConnected']&&_0x3be7a9(_0x454427);});this['_entrySubs']['add'](_0x5c1725);})(_0x1c6f47,_0x59f3df);}['_reset'](){for(const _0x2655ad of this['_entrySubs'])_0x2655ad['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},xj=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')}),Rj=class extends XU{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x2e2e76=>{if(!_0x2e2e76)return;let _0x134648='#uc-icon-'+_0x2e2e76;this['subConfigValue']('iconHrefResolver',_0x4fea37=>{if(_0x4fea37){const _0x1fe841=_0x4fea37(_0x2e2e76);_0x134648=_0x1fe841??_0x134648;}this['$']['href']=_0x134648;});}),this['setAttribute']('aria-hidden','true');}};Rj['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',Rj['bindAttributes']({'name':'name'});var Pj='--uc-img-',Mj='unresolved',Nj=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),Lj=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),Dj=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':'https://ucarecdn.com'},'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}}),Qj=Object['create'](null);for(const e in Dj)Qj[Pj+e]=Dj[e]?.['default']||'';var $j=class extends HQ{['cssInit$']=Qj;['$$'](_0x40225d){return this['$'][Pj+_0x40225d];}['set$$'](_0x2ee7a0){for(const _0x2f88c7 in _0x2ee7a0)this['$'][Pj+_0x2f88c7]=_0x2ee7a0[_0x2f88c7];}['sub$$'](_0x4881e5,_0xecdd8c){this['sub'](Pj+_0x4881e5,_0x190af2=>{null!==_0x190af2&&''!==_0x190af2&&_0xecdd8c(_0x190af2);});}['analyticsParams'](){return'-/@clib/'+FU+'/'+jU+'/uc-img/';}['initAttributes'](_0x3ef0b6){[...this['attributes']]['forEach'](_0x388d17=>{Dj[_0x388d17['name']]||_0x3ef0b6['setAttribute'](_0x388d17['name'],_0x388d17['value']);});}['initIntersection'](_0xad3721,_0x3d2844){this['_isnObserver']=new IntersectionObserver(_0x418590=>{_0x418590['forEach'](_0x145786=>{_0x145786['isIntersecting']&&(_0x3d2844(),this['_isnObserver']['unobserve'](_0xad3721));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0xad3721),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0xad3721);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x4a2ddc=>{this['_isnObserver']['unobserve'](_0x4a2ddc);}),this['_isnObserver']=null),IQ['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](Dj);}['attributeChangedCallback'](_0x2f9a30,_0x538d06,_0x454f6b){window['setTimeout'](()=>{this['$'][Pj+_0x2f9a30]=_0x454f6b;});}},Vj=class extends $j{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x46dc27){return!_0x46dc27['includes']('//')&&!Nj&&(_0x46dc27=new URL(_0x46dc27,document['baseURI'])['href']),_0x46dc27;}['_validateSize'](_0x5c6720){if(''!==_0x5c6720?.['trim']()){const _0x527568=_0x5c6720['match'](/\d+/)[0x0],_0x12a006=_0x5c6720['match'](/[a-zA-Z]+/)[0x0],_0x200270=parseInt(_0x527568,0xa);if(Number(_0x200270)>0x1388&&this['hasFormatJPG'])return 0x1388+_0x12a006;if(Number(_0x200270)>0xbb8&&!this['hasFormatJPG'])return 0xbb8+_0x12a006;}return _0x5c6720;}['_getCdnModifiers'](_0x5260ff,_0x480459){const _0x315f25={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x5260ff),'blur':_0x480459,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return HV(...(_0x3c0d66=>Object['entries'](_0x3c0d66)['filter'](([_0x4bec72,_0xc248bc])=>void 0x0!==_0xc248bc&&''!==_0xc248bc)['map'](([_0x29cbf5,_0x1152a6])=>'cdn-operations'===_0x29cbf5||'analytics'===_0x29cbf5?_0x1152a6:_0x29cbf5+'/'+_0x1152a6))(_0x315f25));}['_getUrlBase'](_0x3ac531='',_0x1a743a=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(Nj&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0xc50a5c=this['_getCdnModifiers'](_0x3ac531,_0x1a743a);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?KV(this['$$']('src'),_0xc50a5c):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](KV(JV(this['$$']('cdn-cname'),this['$$']('uuid')),_0xc50a5c)):this['$$']('proxy-cname')?this['_proxyUrl'](KV(this['$$']('proxy-cname'),_0xc50a5c,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](KV('https://'+this['$$']('pubkey')+'.ucr.io/',_0xc50a5c,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x3fd417){return this['$$']('secure-delivery-proxy')?EU(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x3fd417},{'transform':_0x4e80c1=>window['encodeURIComponent'](_0x4e80c1)}):_0x3fd417;}['_getElSize'](_0x579d9f,_0x1aad89=0x1,_0x1c0ac5=!0x0){const _0x5d582d=_0x579d9f['getBoundingClientRect'](),_0x4b778d=_0x1aad89*Math['round'](_0x5d582d['width']),_0x2a7a3d=_0x1c0ac5?'':_0x1aad89*Math['round'](_0x5d582d['height']);return _0x4b778d||_0x2a7a3d?(_0x4b778d||'')+'x'+(_0x2a7a3d||''):null;}['_setupEventProxy'](_0x4a84a8){const _0x2d7e0c=_0x5e0add=>{_0x5e0add['stopPropagation']();const _0x446465=new Event(_0x5e0add['type'],_0x5e0add);this['dispatchEvent'](_0x446465);},_0x40aaf1=['load','error'];for(const _0xf904fa of _0x40aaf1)_0x4a84a8['addEventListener'](_0xf904fa,_0x2d7e0c);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':Lj['PREVIEW'],'img':this['_imgPreview']}:{'type':Lj['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x1ffe45=tU(this['$$']('breakpoints'));return _0x340736=_0x1ffe45['map'](_0x262369=>parseInt(_0x262369,0xa)),[...new Set(_0x340736)];}return null;var _0x340736;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x28c220){const _0x27a99e=new Set();_0x27a99e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x28c220))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x27a99e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x28c220,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x27a99e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x28c220,0x3))+'\x22)\x203x');const _0x550465='image-set('+[..._0x27a99e]['join'](',\x20')+')';_0x28c220['style']['setProperty']('background-image',_0x550465),_0x28c220['style']['setProperty']('background-image','-webkit-'+_0x550465);}['getSrcset'](){const _0x5538a5=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x3b21d2=>{_0x5538a5['add'](this['_getUrlBase'](_0x3b21d2+'x')+('\x20'+this['_validateSize'](_0x3b21d2+'w'))),this['$$']('hi-res-support')&&_0x5538a5['add'](this['_getUrlBase'](0x2*_0x3b21d2+'x')+('\x20'+this['_validateSize'](0x2*_0x3b21d2+'w'))),this['$$']('ultra-res-support')&&_0x5538a5['add'](this['_getUrlBase'](0x3*_0x3b21d2+'x')+('\x20'+this['_validateSize'](0x3*_0x3b21d2+'w')));}):(_0x5538a5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x5538a5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x5538a5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x5538a5]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x33f982=>{this['$$']('intersection')?this['initIntersection'](_0x33f982,()=>{this['renderBg'](_0x33f982);}):this['renderBg'](_0x33f982);});}['_appendURL']({elNode:_0x24de78,src:_0x4f8c3d,srcset:_0xf743f2}){_0x4f8c3d&&(_0x24de78['src']=_0x4f8c3d),_0xf743f2&&(_0x24de78['srcset']=_0xf743f2);}['_setupConfigForImage']({elNode:_0x29f2b2}){this['_setupEventProxy'](_0x29f2b2),this['initAttributes'](_0x29f2b2);}['loaderImage']({src:_0x2c7787,srcset:_0x3d214e,elNode:_0x212a23}){return new Promise((_0x501cdf,_0x1e0cc9)=>{this['_setupConfigForImage']({'elNode':_0x212a23}),_0x212a23['setAttribute'](Mj,''),_0x212a23['addEventListener']('load',()=>{_0x212a23['removeAttribute'](Mj),_0x501cdf(_0x212a23);}),_0x212a23['addEventListener']('error',()=>{_0x1e0cc9(!0x1);}),this['_appendURL']({'elNode':_0x212a23,'src':_0x2c7787,'srcset':_0x3d214e});});}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(_0x484bae){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(_0x140ad4){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},Uj=null,Bj=class extends XU{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']=_0x12643b=>{this['_mouseDownTarget']=_0x12643b['target'];};['_handleDialogMouseUp']=_0x1a18f4=>{const _0x3fd25b=_0x1a18f4['target'];_0x3fd25b===this['ref']['dialog']&&_0x3fd25b===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x34bf85=this['ref']['dialog'];'function'==typeof _0x34bf85['showModal']?(this['setAttribute']('aria-modal','true'),_0x34bf85['showModal']()):_0x34bf85['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x17e104=this['ref']['dialog'];'function'==typeof _0x17e104['close']?(this['setAttribute']('aria-modal','false'),_0x17e104['close']()):_0x17e104['removeAttribute']('open');}['_handleModalOpen']({id:_0x26fdef}){_0x26fdef===this['id']?(Uj=_0x26fdef,this['show'](),this['emit'](QV['MODAL_OPEN'],{'modalId':_0x26fdef},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x1b12d2}){_0x1b12d2===this['id']&&(this['hide'](),this['emit'](QV['MODAL_CLOSE'],{'modalId':_0x1b12d2,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x218f13){this['hide'](),Uj===this['id']&&this['emit'](QV['MODAL_CLOSE'],{'modalId':Uj,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x10c788=this['ref']['dialog'];_0x10c788['addEventListener']('close',this['_handleDialogClose']),_0x10c788['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x10c788['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x5555dc=>{_0x5555dc?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'](UU['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](UU['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](UU['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x4525c6=this['ref']['dialog'];_0x4525c6['removeEventListener']('close',this['_handleDialogClose']),_0x4525c6['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x4525c6['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](UU['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](UU['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](UU['CLOSE_ALL'],this['handleModalCloseAll']);}};Bj['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var Fj=class extends XU{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x5d109a=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x5d109a['classList']['add']('uc-fake-progress--hidden'):_0x5d109a['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0xab7e29=>{null!=_0xab7e29&&(this['_value']=_0xab7e29,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x3b6708=>{this['_visible']=_0x3b6708,this['classList']['toggle']('uc-progress-bar--hidden',!_0x3b6708);}));}};Fj['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 jj=class extends sF{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x923f28=this['uploadCollection']['items']()['some'](_0x2300fc=>{const _0x182b68=this['uploadCollection']['read'](_0x2300fc);return _0x182b68?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x923f28;}),this['sub']('visible',_0x1c9dd9=>{_0x1c9dd9?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0xa0f874=>{this['$']['value']=_0xa0f874;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};jj['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Hj=class extends XU{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x308476=>{_0x308476['preventDefault'](),_0x308476['stopPropagation']();const _0x19034e=this['ref']['select'];this['value']=_0x19034e['value'],this['$']['currentText']=this['$']['options']['find'](_0x5f4537=>_0x5f4537['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x18c4df=>{this['$']['currentText']=_0x18c4df?.[0x0]?.['text']||'';let _0x32ffd9='';_0x18c4df?.['forEach'](_0x3a0e7a=>{_0x32ffd9+='<option\x20value=\x22'+_0x3a0e7a['value']+'\x22>'+_0x3a0e7a['text']+'</option>';}),this['$']['selectHtml']=_0x32ffd9;});}};Hj['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var Gj=class extends sF{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',_0xf1cd14=>{void 0x0!==_0xf1cd14&&(this['$']['withDropZone']=zF(_0xf1cd14));}),this['subConfigValue']('multiple',_0x33f107=>{this['$']['button-text']=_0x33f107?'upload-files':'upload-file';});}};Gj['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',Gj['bindAttributes']({'dropzone':null});var Zj=class extends sF{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':pB['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':pB['URL'],'activity':zU['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':pB['CAMERA'],'activity':zU['activities']['CAMERA'],'activate':()=>{const _0x59191d=TB['htmlMediaCapture'];return _0x59191d&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x59191d;}}),this['registerType']({'type':'draw','activity':zU['activities']['DRAW'],'icon':'edit-draw'});for(const _0x20499c of Object['values'](gB))this['registerType']({'type':_0x20499c,'activity':zU['activities']['CAMERA'],'activate':()=>{const _0x4d0859=TB['htmlMediaCapture'];return _0x4d0859&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x20499c?XB['PHOTO']:XB['VIDEO']}),!_0x4d0859;}});for(const _0x26b15e of Object['values'](mB))this['registerType']({'type':_0x26b15e,'activity':zU['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x26b15e}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x2383f6=>{_0x2383f6&&this['applyType'](_0x2383f6);});}['registerType'](_0x572e93){this['_registeredTypes'][_0x572e93['type']]=_0x572e93;}['getType'](_0x5b1ed4){return this['_registeredTypes'][_0x5b1ed4];}['activate'](){if(!this['type'])return;const _0x373442=this['_registeredTypes'][this['type']];if(!_0x373442)return;const {activity:_0x6628fd,activate:_0x2ac973,activityParams:_0x1ca56a={}}=_0x373442;(_0x2ac973?_0x2ac973():!!_0x6628fd)&&_0x6628fd&&(this['modalManager']?.['open'](_0x6628fd),this['set$']({'*currentActivityParams':_0x1ca56a,'*currentActivity':_0x6628fd}));}['applyType'](_0x5bf864){const _0x3b656e=this['_registeredTypes'][_0x5bf864];if(!_0x3b656e)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x5bf864);const {textKey:_0xf66ce8=_0x5bf864,icon:_0x450864=_0x5bf864}=_0x3b656e;this['$']['src-type']='src-type-'+_0xf66ce8,this['$']['iconName']=_0x450864,this['onclick']=()=>{this['activate']();};}};Zj['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',Zj['bindAttributes']({'type':null});var Xj=class extends HQ{};Xj['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var qj=class extends zU{['historyTracked']=!0x0;['activityType']=zU['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function Wj(_0x342074,_0x5967c8=0x28){if('image/svg+xml'===_0x342074['type'])return URL['createObjectURL'](_0x342074);const _0x4791a1=document['createElement']('canvas'),_0x6fa0e=_0x4791a1['getContext']('2d');if(!_0x6fa0e)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x511573=new Image(),_0x4faa5=new Promise((_0x3ccc8c,_0x31a613)=>{_0x511573['onload']=()=>{const _0x31e927=_0x511573['height']/_0x511573['width'];_0x31e927>0x1?(_0x4791a1['width']=_0x5967c8,_0x4791a1['height']=_0x5967c8*_0x31e927):(_0x4791a1['height']=_0x5967c8,_0x4791a1['width']=_0x5967c8/_0x31e927),_0x6fa0e['fillStyle']='rgb(240,\x20240,\x20240)',_0x6fa0e['fillRect'](0x0,0x0,_0x4791a1['width'],_0x4791a1['height']),_0x6fa0e['drawImage'](_0x511573,0x0,0x0,_0x4791a1['width'],_0x4791a1['height']),_0x4791a1['toBlob'](_0x583193=>{if(!_0x583193)return void _0x31a613();const _0x4e577b=URL['createObjectURL'](_0x583193);_0x3ccc8c(_0x4e577b);});},_0x511573['onerror']=_0x49a6cf=>{_0x31a613(_0x49a6cf);};});return _0x511573['src']=URL['createObjectURL'](_0x342074),_0x4faa5;}function zj(_0x517191='hsl(209,\x2021%,\x2065%)',_0x258abf=0x20,_0x595cba=0x20){return function(_0x524f5e){const _0x29792b=new Blob([_0x524f5e],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x29792b);}('\x0a\x20\x20<svg\x20width=\x22'+_0x258abf+'\x22\x20height=\x22'+_0x595cba+'\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'+_0x517191+'\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');}qj['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var Yj=class extends kj{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x5f2f61=!0x1){_0x5f2f61&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x5a6fa9=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x5a6fa9*=window['devicePixelRatio']),Math['min'](_0x5a6fa9,0xbb8);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const s=e['getValue']('fileInfo'),n=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(s&&n&&r){const i=await this['proxyUrl'](KV(JV(this['cfg']['cdnCname'],r),HV(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:s}=_F(i);return void s['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 s=await Wj(i,a);e['setValue']('thumbUrl',s);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',zj(s));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await Wj(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',zj(s));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',zj(i));}});['_debouncedGenerateThumb']=VV(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x4c453c){const [_0x31dc72]=_0x4c453c;_0x31dc72&&(this['_isIntersecting']=_0x31dc72['isIntersecting'],_0x31dc72['isIntersecting']&&(this['_thumbRect']=_0x31dc72['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x31dc72['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x1e0199){this['_reset']();const _0x48c5f2=this['uploadCollection']?.['read'](_0x1e0199);this['_entry']=_0x48c5f2,_0x48c5f2&&(this['_subEntry']('fileInfo',_0x240c59=>{_0x240c59?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x5c9e7b=>{this['$']['thumbUrl']=_0x5c9e7b?'url('+_0x5c9e7b+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x185a46=>{this['$']['badgeIcon']=_0x185a46;}),this['defineAccessor']('uid',_0x139b3e=>{this['set$']({'uid':_0x139b3e});}),this['sub']('uid',_0x11218e=>{this['_handleEntryId'](_0x11218e);}),this['subConfigValue']('filesViewMode',_0x5ac5e5=>{'grid'!==_0x5ac5e5||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']();}};Yj['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',Yj['bindAttributes']({'badgeIcon':null,'uid':null});var Kj=class extends sF{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=zU['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':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](QV['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](QV['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=IF(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x3a99f5=this['api']['getOutputCollectionState'](),_0x4276f2={'total':_0x3a99f5['totalCount'],'succeed':_0x3a99f5['successCount'],'uploading':_0x3a99f5['uploadingCount'],'failed':_0x3a99f5['failedCount'],'validatingBeforeUploading':_0x3a99f5['idleEntries']['filter'](_0x2d2955=>_0x2d2955['isValidationPending'])['length']},_0x539120=!_0x3a99f5['errors']['some'](_0x1cc020=>'TOO_MANY_FILES'===_0x1cc020['type']||'TOO_FEW_FILES'===_0x1cc020['type']),_0x105814=_0x3a99f5['errors']['some'](_0x24b527=>'TOO_MANY_FILES'===_0x24b527['type']),_0x2294b2=_0x3a99f5['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0xa0a97b=_0x3a99f5['allEntries']['some'](_0x33a9d6=>_0x33a9d6['isValidationPending']),_0x2b67e5=0x0===_0x4276f2['failed']&&0x0===_0x3a99f5['errors']['length']&&!_0xa0a97b;let _0x29c1c4=!0x1,_0x519868=!0x1,_0x1d1922=!0x1;if(_0x4276f2['total']-_0x4276f2['succeed']-_0x4276f2['uploading']-_0x4276f2['failed']>0x0&&_0x539120&&_0x2b67e5)_0x29c1c4=!0x0;else{_0x519868=!0x0;const _0x3fc135=!this['cfg']['groupOutput']||!!_0x3a99f5['group'];_0x1d1922=_0x4276f2['total']===_0x4276f2['succeed']&&_0x539120&&_0x2b67e5&&_0x3fc135;}this['set$']({'doneBtnVisible':_0x519868,'doneBtnEnabled':_0x1d1922,'uploadBtnVisible':_0x29c1c4,'addMoreBtnEnabled':0x0===_0x4276f2['total']||!_0x105814&&!_0x2294b2,'addMoreBtnVisible':!_0x2294b2||this['cfg']['multiple'],'hasFiles':_0x4276f2['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x4276f2));}['_getHeaderText'](_0x1421ec){const _0x22b087=_0x24092f=>{let _0x4b8cbf=_0x1421ec[_0x24092f];return'uploading'===_0x24092f&&(_0x4b8cbf+=_0x1421ec['validatingBeforeUploading']),this['l10n']('header-'+_0x24092f,{'count':_0x4b8cbf});};return _0x1421ec['uploading']>0x0||_0x1421ec['validatingBeforeUploading']>0x0?_0x22b087('uploading'):_0x1421ec['failed']>0x0?_0x22b087('failed'):_0x1421ec['succeed']>0x0?_0x22b087('succeed'):_0x22b087('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',_0x886987=>{_0x886987&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x159ca7=>{this['setAttribute']('mode',_0x159ca7);}),this['sub']('*currentActivity',_0x2f3524=>{this['couldOpenActivity']||_0x2f3524!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x2a44f7=>{const _0x1f0681=_0x2a44f7['filter'](_0x1699e0=>'SOME_FILES_HAS_ERRORS'!==_0x1699e0['type'])[0x0];_0x1f0681?this['set$']({'commonErrorMessage':_0x1f0681['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};Kj['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 Jj=class extends sF{['couldBeCtxOwner']=!0x0;['activityType']=zU['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x45a089=>{_0x45a089['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x218e45=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x218e45,{'source':pB['URL']}),this['modalManager']?.['open'](zU['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x1d1eff=>{const _0x32040b=_0x1d1eff['target']?.['value']??'';this['set$']({'importDisabled':!_0x32040b});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0x4af2d3=this['ref']['input'];_0x4af2d3['value']='',_0x4af2d3['focus']();}});}};Jj['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 tH=class extends gF{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':DV['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},eH=class extends JU{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x3776e4=this['$']['*historyBack'];return void _0x3776e4?.();}this['couldShowList']&&(this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x39482a=this['$']['*history'];return!(!_0x39482a||_0x39482a['length']<=0x1)&&_0x39482a[_0x39482a['length']-0x1]!==zU['activities']['START_FROM'];}get['couldShowList'](){const _0x4a48d0=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x4a48d0)&&_0x4a48d0['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':DV['INIT_SOLUTION']});const _0x51207d=this['ref']['uBlock'];_0x51207d&&(this['sub']('*currentActivity',_0x2a45d8=>{_0x2a45d8||(this['$']['*currentActivity']=_0x51207d['initActivity']||zU['activities']['START_FROM']);}),this['sub']('*uploadList',_0x1fc987=>{Array['isArray'](_0x1fc987)&&_0x1fc987['length']>0x0&&this['$']['*currentActivity']===(_0x51207d['initActivity']||zU['activities']['START_FROM'])&&(this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};eH['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 iH='active',sH=class extends JU{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':'','classStartFrom':'','*solution':this['tagName']};}['_handleModalOpen'](_0xdb7ca6){_0xdb7ca6['id']===zU['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':iH}),this['$']['*currentActivity']===zU['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':iH,'isHiddenStartFrom':!0x0});const _0x3039bb=this['$']['*uploadList'];(!_0x3039bb||_0x3039bb['length']<=0x0)&&this['set$']({'classStartFrom':iH});}['_handleModalClose'](_0xe474fa){_0xe474fa['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0xe474fa['id']===zU['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':DV['INIT_SOLUTION']});const _0x4de117=this['ref']['uBlock'];_0x4de117&&(this['sub']('*currentActivity',_0x3b8fd6=>{_0x3b8fd6===zU['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x3b8fd6||(this['$']['*currentActivity']=_0x4de117['initActivity']||zU['activities']['START_FROM']);}),this['sub']('*uploadList',_0x4b6c1c=>{Array['isArray'](_0x4b6c1c)&&_0x4b6c1c['length']>0x0?(this['$']['*currentActivity']=zU['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':''})):(this['set$']({'classUploadList':'','isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x4de117['initActivity']||zU['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x5f3730=>{!0x1!==_0x5f3730&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x386098=>{this['setAttribute']('mode',_0x386098),this['subConfigValue']('multiple',_0x1048c8=>{'grid'===_0x386098?(_0x1048c8?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x1048c8):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x28ecbb=>{this['_handleModalOpen'](_0x28ecbb);},this['handleModalClose']=_0x5b3d71=>{this['_handleModalClose'](_0x5b3d71);},this['modalManager']?.['subscribe'](UU['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](UU['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](UU['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](UU['CLOSE'],this['handleModalClose']);}};sH['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 nH=class extends JU{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x3d96e8={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x3d96e8;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':DV['INIT_SOLUTION']}),this['defineAccessor']('headless',_0xd9fe7e=>{this['set$']({'isHidden':zF(_0xd9fe7e)});});}};nH['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',nH['bindAttributes']({'headless':null});var rH=Object['freeze']({'__proto__':null,'ActivityBlock':zU,'ActivityHeader':class extends zU{},'BaseComponent':HQ,'Block':XU,'BtnUi':LF,'CameraSource':lF,'CloudImageEditor':tH,'CloudImageEditorActivity':class extends sF{['couldBeCtxOwner']=!0x0;['activityType']=zU['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x31dc27=super['activityParams'];if('internalId'in _0x31dc27)return _0x31dc27;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',_0x3d96a9=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x3d96a9&&this['_instance']['setAttribute']('crop-preset',_0x3d96a9);}),this['subConfigValue']('cloudImageEditorTabs',_0x31e2f5=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x31e2f5&&this['_instance']['setAttribute']('tabs',_0x31e2f5);});}['handleApply'](_0x2e3d0a){if(!this['_entry'])return;const _0x361151=_0x2e3d0a['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x361151['cdnUrl'],'cdnUrlModifiers':_0x361151['cdnUrlModifiers']}),this['modalManager']?.['close'](zU['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](zU['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x4c48db}=this['activityParams'],_0x373bd4=this['uploadCollection']['read'](_0x4c48db);if(!_0x373bd4)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x4c48db+'\x22\x20not\x20found');this['_entry']=_0x373bd4;const _0x53ec73=this['_entry']['getValue']('cdnUrl');if(!_0x53ec73)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x4c48db+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x53532e=new gF(),_0x3c3486=this['cfg']['cropPreset'],_0x4c1563=this['cfg']['cloudImageEditorTabs'];_0x53532e['setAttribute']('ctx-name',this['ctxName']),_0x53532e['setAttribute']('cdn-url',_0x53ec73),_0x3c3486&&_0x53532e['setAttribute']('crop-preset',_0x3c3486),_0x4c1563&&_0x53532e['setAttribute']('tabs',_0x4c1563),_0x53532e['addEventListener']('apply',_0x93a1fd=>{const _0x3b0d60=_0x93a1fd;this['handleApply'](_0x3b0d60),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x3b0d60['detail']);}),_0x53532e['addEventListener']('cancel',_0x2bf29c=>{const _0x2a979c=_0x2bf29c;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x2a979c['detail']);}),_0x53532e['addEventListener']('change',_0x2a7660=>{const _0x26c8cf=_0x2a7660;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x26c8cf['detail']);}),this['innerHTML']='',this['appendChild'](_0x53532e),this['_instance']=_0x53532e;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},'CloudImageEditorBlock':gF,'Config':cj,'Copyright':class extends XU{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x9bbf3a=>{this['toggleAttribute']('hidden',!!_0x9bbf3a);});}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';},'CropFrame':pF,'Data':IQ,'DropArea':Oj,'EditorAspectRatioButtonControl':bF,'EditorCropButtonControl':yF,'EditorFilterControl':SF,'EditorFreeformButtonControl':wF,'EditorImageCropper':kF,'EditorImageFader':class extends XU{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=VV(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x2e44bd){const _0x29356d=this['_operation'],_0x9ebdd6=this['$']['*loadingOperations'];_0x9ebdd6['has'](_0x29356d)||_0x9ebdd6['set'](_0x29356d,new Map());const _0x38ac45=_0x9ebdd6['get'](_0x29356d);return _0x38ac45&&!_0x38ac45['get'](_0x2e44bd)&&(_0x38ac45['set'](_0x2e44bd,!0x0),this['$']['*loadingOperations']=_0x9ebdd6),()=>{const _0x4ee9ec=_0x9ebdd6['get'](_0x29356d);_0x4ee9ec?.['has'](_0x2e44bd)&&(_0x4ee9ec['delete'](_0x2e44bd),this['$']['*loadingOperations']=_0x9ebdd6);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x2458e8 of this['_keypoints']){const {image:_0x509d04}=_0x2458e8;_0x509d04&&(_0x509d04['style']['opacity']=_0x2458e8['opacity']['toString'](),_0x509d04['style']['zIndex']=_0x2458e8['zIndex']['toString']());}});}['_imageSrc']({url:_0x366978=this['_url'],filter:_0x178622=this['_filter']??void 0x0,operation:_0x297e90,value:_0x4575ca}={}){if(!_0x366978)throw new Error('URL\x20is\x20not\x20defined');const _0xed86a6={...this['_transformations']};_0x297e90&&('filter'===_0x297e90?_0x178622&&'number'==typeof _0x4575ca&&(_0xed86a6['filter']={'name':_0x178622,'amount':_0x4575ca}):'number'==typeof _0x4575ca&&(_0xed86a6[_0x297e90]=_0x4575ca));const _0x672184=this['offsetWidth'];return this['proxyUrl'](CF(_0x366978,_0x672184,_0xed86a6));}async['_constructKeypoint'](_0x47ef28,_0x240af8){return{'src':await this['_imageSrc']({'operation':_0x47ef28,'value':_0x240af8}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x240af8};}['_isSame'](_0x36bd2d,_0x4b1ffc){return this['_operation']===_0x36bd2d&&this['_filter']===_0x4b1ffc;}async['_addKeypoint'](_0x36c73b,_0x571752,_0x210f7f){const _0x5a5490=()=>!this['_isSame'](_0x36c73b,_0x571752)||this['_value']!==_0x210f7f||!!this['_keypoints']['find'](_0x8c19c8=>_0x8c19c8['value']===_0x210f7f);if(_0x5a5490())return;const _0x3ff651=await this['_constructKeypoint'](_0x36c73b,_0x210f7f),_0x17b533=new Image();_0x17b533['src']=_0x3ff651['src'];const _0x4ad1a3=this['_handleImageLoading'](_0x3ff651['src']);_0x17b533['addEventListener']('load',_0x4ad1a3,{'once':!0x0}),_0x17b533['addEventListener']('error',_0x4ad1a3,{'once':!0x0}),_0x3ff651['image']=_0x17b533,_0x17b533['classList']['add']('uc-fader-image'),_0x17b533['addEventListener']('load',()=>{if(_0x5a5490())return;const _0x1edb5b=this['_keypoints'];let _0x1e6e5f=_0x1edb5b['findIndex'](_0x185d02=>_0x185d02['value']>_0x210f7f);-0x1===_0x1e6e5f&&(_0x1e6e5f=_0x1edb5b['length']);const _0x2a2387=_0x1edb5b[_0x1e6e5f],_0x570232=_0x2a2387?.['image'],_0x29fec2=this['_container'];!_0x29fec2||_0x570232&&!_0x29fec2['contains'](_0x570232)||(_0x1edb5b['splice'](_0x1e6e5f,0x0,_0x3ff651),_0x570232&&_0x29fec2['insertBefore'](_0x17b533,_0x570232),this['_update'](_0x36c73b,_0x210f7f));},{'once':!0x0}),_0x17b533['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x39fc50){const _0x3f35be='string'==typeof _0x39fc50?parseInt(_0x39fc50,0xa):_0x39fc50;(function(_0x31b199){return'string'==typeof _0x31b199&&_0x31b199 in gU;}(this['_operation'])&&Number['isFinite'](_0x3f35be)&&(this['_update'](this['_operation'],_0x3f35be),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x3f35be)));}['_update'](_0x4ce503,_0x485a27){this['_operation']=_0x4ce503,this['_value']=_0x485a27;const {zero:_0x26e716}=gU[_0x4ce503],_0x3a4f33=this['_keypoints']['map'](_0x192fa9=>_0x192fa9['value']),_0x36109d=function(_0x1777f2,_0xe097bb,_0x3d747a){const _0x27c730=function(_0x5f12ea){const _0x3ea3cf=[];for(let _0x3b4f57=0x0;_0x3b4f57<_0x5f12ea['length']-0x1;_0x3b4f57+=0x1){const _0x281614=_0x5f12ea[_0x3b4f57],_0x1256a2=_0x5f12ea[_0x3b4f57+0x1];'number'==typeof _0x281614&&'number'==typeof _0x1256a2&&_0x3ea3cf['push']([_0x281614,_0x1256a2]);}return _0x3ea3cf;}(_0x1777f2)['find'](([_0x32999e,_0x5f05fb])=>_0x32999e<=_0xe097bb&&_0xe097bb<=_0x5f05fb);if(!_0x27c730)return _0x1777f2['map'](()=>0x0);const [_0x2c615c,_0x40d148]=_0x27c730;return _0x1777f2['map'](_0x2fe626=>{const _0x20655a=Math['abs'](_0x2c615c-_0x40d148)||0x1,_0x3ece64=Math['abs'](_0xe097bb-_0x2c615c)/_0x20655a;return _0x2c615c===_0x2fe626?_0xe097bb>_0x3d747a?0x1:0x1-_0x3ece64:_0x40d148===_0x2fe626?_0xe097bb>=_0x3d747a?_0x3ece64:0x1:0x0;});}(_0x3a4f33,_0x485a27,_0x26e716),_0x2cd941=function(_0x6e51e3,_0x40187f){return _0x6e51e3['map']((_0x1b6b10,_0x4a0c4b)=>_0x1b6b10<_0x40187f?_0x6e51e3['length']-_0x4a0c4b:_0x4a0c4b);}(_0x3a4f33,_0x26e716);this['_keypoints']['forEach']((_0x1bd602,_0xf8225c)=>{const _0x4dbfed=_0x36109d[_0xf8225c],_0x4f7427=_0x2cd941[_0xf8225c];'number'==typeof _0x4dbfed&&(_0x1bd602['opacity']=_0x4dbfed),'number'==typeof _0x4f7427&&(_0x1bd602['zIndex']=_0x4f7427);}),this['_flush']();}['_createPreviewImage'](){const _0x9bba11=new Image();return _0x9bba11['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x9bba11['style']['opacity']='0',_0x9bba11;}async['_initNodes'](){const _0x5f0f9d=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x595b6b=this['_previewImage'];this['contains'](_0x595b6b)||_0x5f0f9d['appendChild'](_0x595b6b);const _0x3c4fa5=document['createElement']('div');_0x5f0f9d['appendChild'](_0x3c4fa5);const _0x305a02=this['_keypoints']['map'](_0x4505ff=>_0x4505ff['src']),{images:_0x55d813,promise:_0x281e15,cancel:_0x541cb2}=vF(_0x305a02);_0x55d813['forEach'](_0x1a9666=>{const _0x4496c7=this['_handleImageLoading'](_0x1a9666['src']);_0x1a9666['addEventListener']('load',_0x4496c7),_0x1a9666['addEventListener']('error',_0x4496c7);}),this['_cancelLastImages']=()=>{_0x541cb2(),this['_cancelLastImages']=void 0x0;};const _0xfeac79=this['_operation'],_0xb4e9a1=this['_filter'];await _0x281e15,this['_isActive']&&this['_isSame'](_0xfeac79,_0xb4e9a1)&&(this['_container']?.['remove'](),this['_container']=_0x3c4fa5,this['_keypoints']['forEach']((_0x1991c1,_0x115dd1)=>{const _0x472cf5=_0x55d813[_0x115dd1];_0x472cf5&&(_0x472cf5['classList']['add']('uc-fader-image'),_0x1991c1['image']=_0x472cf5,this['_container']?.['appendChild'](_0x472cf5));}),this['appendChild'](_0x5f0f9d),this['_flush']());}async['setTransformations'](_0x57b5dd){if(this['_transformations']=_0x57b5dd,this['_previewImage']){const _0x17b335=await this['_imageSrc'](),_0x173b59=this['_handleImageLoading'](_0x17b335);this['_previewImage']['src']=_0x17b335,this['_previewImage']['addEventListener']('load',_0x173b59,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x173b59,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x1251c4,filter:_0x1cf159,operation:_0x5ed583,value:_0x21d761}){if(!_0x5ed583||'number'!=typeof _0x21d761)return;this['_cancelBatchPreload']?.();const _0x137071=RF(_0x5ed583,_0x21d761),_0x37d15d=await Promise['all'](_0x137071['map'](_0x5ac15a=>this['_imageSrc']({'url':_0x1251c4,'filter':_0x1cf159,'operation':_0x5ed583,'value':_0x5ac15a}))),{cancel:_0x51a714}=vF(_0x37d15d);this['_cancelBatchPreload']=_0x51a714;}['_setOriginalSrc'](_0x461d8b){const _0x44550a=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x44550a)||this['appendChild'](_0x44550a),this['_previewImage']=_0x44550a,_0x44550a['src']===_0x461d8b)return _0x44550a['style']['opacity']='1',_0x44550a['style']['transform']='scale(1)',void(this['className']=dF({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x44550a['style']['opacity']='0';const _0xde2670=this['_handleImageLoading'](_0x461d8b);_0x44550a['addEventListener']('error',_0xde2670,{'once':!0x0}),_0x44550a['src']=_0x461d8b,_0x44550a['addEventListener']('load',()=>{_0xde2670(),_0x44550a&&(_0x44550a['style']['opacity']='1',_0x44550a['style']['transform']='scale(1)',this['className']=dF({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x44550a['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x34bf87,operation:_0x3ca863,value:_0x809e2a,filter:_0x45ffb0,fromViewer:_0x418271}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x34bf87,this['_operation']=_0x3ca863??'initial',this['_value']=_0x809e2a,this['_filter']=_0x45ffb0,this['_fromViewer']=_0x418271;if('number'!=typeof _0x809e2a&&!_0x45ffb0){const _0x52a081=await this['_imageSrc']({'operation':_0x3ca863,'value':_0x809e2a});return this['_setOriginalSrc'](_0x52a081),void this['_container']?.['remove']();}_0x3ca863&&'number'==typeof _0x809e2a&&(this['_keypoints']=await Promise['all'](RF(_0x3ca863,_0x809e2a)['map'](_0x48b449=>this['_constructKeypoint'](_0x3ca863,_0x48b449))),this['_update'](_0x3ca863,_0x809e2a),this['_initNodes']());}['deactivate']({hide:_0x322b11=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x322b11&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=dF({'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':PF,'EditorScroller':MF,'EditorSlider':EF,'EditorToolbar':NF,'ExternalSource':Ij,'ExternalUploadSource':mB,'FileItem':class _FileItem extends kj{['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':xj['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x527a6b=>{this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x527a6b['uid']},this['modalManager']?.['open'](zU['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=zU['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':DV['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=xj['IDLE'];e['getValue']('errors')['length']>0x0?i=xj['FAILED']:e['getValue']('isQueuedForUploading')?i=xj['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=xj['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=xj['VALIDATION']:e['getValue']('isUploading')?i=xj['UPLOADING']:e['getValue']('fileInfo')&&(i=xj['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=VV(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](IF((e,i)=>{const s=e['getValue']('errors')?.[0x0]?.['message'],n=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===xj['FINISHED'],a=i===xj['UPLOADING'],c=i===xj['QUEUED_UPLOADING'],l=i===xj['QUEUED_VALIDATION'],h=i===xj['VALIDATION'],u=e['getValue']('fileName');let d='';s?d='':!o&&r&&n&&Object['values'](mB)['includes'](n)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+n)})),this['set$']({'hint':d,'errorText':s,'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===xj['FAILED']?this['$']['badgeIcon']='badge-error':i===xj['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===xj['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===xj['FAILED'],'isUploading':i===xj['UPLOADING'],'isFinished':i===xj['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x2ff4b9){const [_0x386f21]=_0x2ff4b9;_0x386f21&&(this['_isIntersecting']=_0x386f21['isIntersecting'],this['_thumbRect']=_0x386f21['boundingClientRect'],_0x386f21['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x27bb65){this['_reset']();const _0x59131b=this['uploadCollection']?.['read'](_0x27bb65);this['_entry']=_0x59131b,_0x59131b&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x313567=>{this['$']['itemName']=_0x313567||_0x59131b['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x11787b=>{this['$']['itemName']=_0x59131b['getValue']('fileName')||_0x11787b||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'](_0xc59b52){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0xc59b52;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x9244f0=>{this['_handleEntryId'](_0x9244f0);}),this['sub']('state',_0x5a498e=>{this['_handleState'](_0x5a498e);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x410f1e=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x410f1e);}),this['subConfigValue']('gridShowFileNames',_0x2cbda7=>{this['_updateShowFileNames'](_0x2cbda7);}),this['onclick']=()=>{_FileItem['activeInstances']['forEach'](_0x21eee8=>{_0x21eee8===this?_0x21eee8['setAttribute']('focused',''):_0x21eee8['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x223402=>{this['_entry']&&!_0x223402['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_FileItem['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_FileItem['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(_0x4a3749=>{if('string'!=typeof _0x4a3749)return!0x1;const _0x5620a6=Cj['exec'](_0x4a3749['toLocaleLowerCase']())??[];if(0x0===_0x5620a6['length'])return!0x1;const _0x3583b2=Number(_0x5620a6[0x1])*Number(_0x5620a6[0x2]);return _0x3583b2>0x10000000?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x5620a6[0x1]+'x'+_0x5620a6[0x2]+'\x20('+Math['ceil'](_0x3583b2/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x5620a6[0x3]?Number(_0x5620a6[0x3])/0x64:void 0x0,'size':_0x3583b2};})(this['cfg']['imageShrink']);}async['_processShrink'](_0x4bd4ab){const _0x4965e5=this['_settingsOfShrink']();return _0x4965e5?await LV(_0x4bd4ab,_0x4965e5):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x4bd4ab);}['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 s=async()=>{e['setValue']('isQueuedForUploading',!0x1);let s=e['getValue']('file');if(s instanceof File&&this['cfg']['imageShrink'])try{s=await this['_processShrink'](s);}catch{}const n=s||e['getValue']('externalUrl')||e['getValue']('uuid');if(!n)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 s=0x64*i['value'];e['setValue']('uploadProgress',s);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',n,r),q$(n,r);},n=await this['$']['*uploadQueue']['add'](s);e['setMultipleValues']({'fileInfo':n,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':n['originalFilename'],'fileSize':n['size'],'isImage':n['isImage']??!0x1,'mimeType':n['contentInfo']?.['mime']?.['mime']??n['mimeType'],'uuid':n['uuid'],'cdnUrl':e['getValue']('cdnUrl')??n['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 CancelError&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof UploadcareError?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();},'FileUploaderInline':eH,'FileUploaderMinimal':sH,'FileUploaderRegular':nH,'FormInput':class extends sF{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x50e571=document['createElement']('input');return _0x50e571['type']='text',_0x50e571['name']=this['ctxName'],_0x50e571['required']=this['cfg']['multipleMin']>0x0,_0x50e571['tabIndex']=-0x1,GQ(_0x50e571,{'opacity':0x0,'height':0x0,'width':0x0}),_0x50e571;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x4d40c8=>{{if(!this['_dynamicInputsContainer']){const _0x29ff9=document['createElement']('div');this['appendChild'](_0x29ff9),this['_dynamicInputsContainer']=_0x29ff9;}if(!this['_validationInputElement']){const _0x57780d=this['_createValidationInput']();this['appendChild'](_0x57780d),this['_validationInputElement']=_0x57780d;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x4d40c8['status']||'idle'===_0x4d40c8['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x4d40c8['status']){const _0x3b48e5=_0x4d40c8['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x3b48e5??'');}const _0x32070d=_0x4d40c8['group']?_0x4d40c8['group']:null;if(_0x32070d)return this['_validationInputElement']['value']=_0x32070d['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x17dcef=_0x4d40c8['allEntries']['map'](_0xd8d02d=>_0xd8d02d['cdnUrl'])['filter'](_0x2c73c3=>'string'==typeof _0x2c73c3);if(!this['cfg']['multiple']&&0x1===_0x17dcef['length']&&_0x17dcef[0x0])return this['_validationInputElement']['value']=_0x17dcef[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x46b43d=new DocumentFragment();for(const _0x2f65f9 of _0x17dcef){const _0x5a2dc3=document['createElement']('input');_0x5a2dc3['type']='hidden',_0x5a2dc3['name']=this['ctxName']+'[]',_0x5a2dc3['value']=_0x2f65f9,_0x46b43d['appendChild'](_0x5a2dc3);}this['_dynamicInputsContainer']['replaceChildren'](_0x46b43d);}},!0x1);}},'Icon':Rj,'Img':class extends Vj{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x2c1fcd=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x2c1fcd?'lazy':'eager');});}},'LineLoaderUi':DF,'Modal':Bj,'ModalEvents':UU,'PACKAGE_NAME':FU,'PACKAGE_VERSION':jU,'PresenceToggle':UF,'ProgressBar':Fj,'ProgressBarCommon':jj,'Select':Hj,'SimpleBtn':Gj,'SliderUi':BF,'SolutionBlock':JU,'SourceBtn':Zj,'SourceList':class extends XU{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x18c700=>{const _0x49c6db=tU(_0x18c700);let _0x21419d='';_0x49c6db['forEach'](_0x223d04=>{'instagram'!==_0x223d04?'camera'===_0x223d04&&TB['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0xcc3a9a=>{const _0x1de9b7=UV(_0xcc3a9a);_0x1de9b7['forEach'](_0x441ac5=>{_0x21419d+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x441ac5+'-camera\x22></uc-source-btn>';}),0x0===_0x1de9b7['length']&&(_0x21419d+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x21419d+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x223d04+'\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']=_0x21419d:this['outerHTML']=_0x21419d;});}},'Spinner':Xj,'StartFrom':qj,'Thumb':Yj,'UID':xQ,'UploadCtxProvider':class extends sF{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=QV;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},'UploadList':Kj,'UploadSource':pB,'UploaderBlock':sF,'UrlSource':Jj,'defineComponents':YU,'defineLocale':MU,'loadFileUploaderFrom':function(_0x1fdb6d,_0x2ace13=!0x1){return new Promise((_0x2c9bb7,_0x3dd8d3)=>{if('object'!=typeof document)return void _0x2c9bb7(null);if('object'==typeof window&&window[KU])return void _0x2c9bb7(window[KU]);const _0x59086c=document['createElement']('script');_0x59086c['async']=!0x0,_0x59086c['src']=_0x1fdb6d,_0x59086c['onerror']=()=>{_0x3dd8d3();},_0x59086c['onload']=()=>{const _0x5d98c7=window[KU];_0x2ace13&&YU(_0x5d98c7),_0x2c9bb7(_0x5d98c7);},document['head']['appendChild'](_0x59086c);});},'toKebabCase':FF});class Uploadcare extends _0x4ac504{static get['requires'](){return[UploadcareEditing,UploadcareUI];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2466d1){super(_0x2466d1),_0x2466d1['config']['define']('uploadcare.uploader.sourceList',[gD['Local'],gD['URL']]),YU(rH),this['_defineLocale']();}['_defineLocale'](){const _0x314f68=this['editor']['config']['get']('uploadcare.locale'),_0x3883ee=this['editor']['locale']['contentLanguage'];_0x314f68&&MU(_0x3883ee,_0x314f68);}}class UploadcareImageEditFormLoadingView extends _0x268b55{constructor(_0x25e7e8){super(_0x25e7e8);const t=_0x25e7e8['t'],_0x4ac062=this['bindTemplate'],_0x51c360=new _0x513369();_0x51c360['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':[_0x51c360,{'text':_0x4ac062['to']('imageUploadProgress',_0x40adb6=>t('Loading\x20image...')+'\x20('+(_0x40adb6||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 _0x268b55{constructor(_0x28a0f0){super(_0x28a0f0);const t=_0x28a0f0['t'];this['set']('errorType',null);const _0x3bc7c3=new _0x13bcd9(_0x28a0f0);_0x3bc7c3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3bc7c3['withText']=!0x0,_0x3bc7c3['class']='ck-button-action',_0x3bc7c3['on']('execute',()=>{this['fire']('retry');}),_0x3bc7c3['bind']('isVisible')['to'](this,'errorType',_0x34f674=>'NotFound'!==_0x34f674);const _0x5e1433=new _0x2b9920();_0x5e1433['content']=_0x36c010,_0x5e1433['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x39e0bb=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':[_0x5e1433,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x39e0bb['to']('errorType',_0x35a71b=>t('NotFound'!==_0x35a71b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3bc7c3]},{'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 _0x268b55{constructor(_0xa41a2e,_0x1468ef){super(_0xa41a2e);const _0x3907cb=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1468ef,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3907cb['to']('imageSrc')}});}}class UploadcareImageEditFormView extends DialogFocusManagerView{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4f7175,_0x868d7a,_0x41dfdf){super(_0x4f7175),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x4f7175),this['_errorView']=new UploadcareImageEditFormErrorView(_0x4f7175),this['_editingView']=new UploadcareImageEditFormEditingView(_0x4f7175,_0x41dfdf),this['_focusableView']=new _0x268b55(_0x4f7175),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x868d7a),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'],_0x3b6e32=>{this['_addUploadcareImageEditorListeners'](_0x3b6e32);});}),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'](_0x2e8992,_0x2cfd2f){const _0x54c402='uc-cloud-image-editor',_0x3120ef=_0x2e8992['querySelector'](_0x54c402);if(_0x3120ef)return _0x2cfd2f(_0x3120ef);const _0x4a2a86=new MutationObserver(_0x6fa8aa=>{const _0x50c006=_0x6fa8aa['filter'](_0x52fd0e=>_0x52fd0e['target']===_0x2e8992&&_0x52fd0e['addedNodes']['length']>0x0&&_0x52fd0e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x54c402);_0x50c006['length']&&(_0x4a2a86['disconnect'](),_0x2cfd2f(_0x50c006[0x0]['addedNodes'][0x0]));});_0x4a2a86['observe'](_0x2e8992,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4ca317){_0x4ca317['addEventListener']('apply',_0x38a198=>{this['fire']('apply',{'imageSrc':_0x38a198['detail']['cdnUrl']});}),_0x4ca317['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x266f1a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x43bb72,_0x58427f,_0x62d579){super(),this['_editor']=_0x43bb72,this['_dialog']=_0x58427f,this['_imageElement']=_0x62d579,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 _0x1032f4=this['_imageElement'],_0x499f1c=_0x1032f4['getAttribute']('uploadcareImageId'),_0xc3ce70=_0x1032f4['getAttribute']('src');if(_0x499f1c)await this['_loadImageInfo'](_0x499f1c,_0xc3ce70);else{if(this['_imageCache']['has'](_0xc3ce70)){const _0x59a6b5=this['_imageCache']['get'](_0xc3ce70);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59a6b5['url'],this['imageDimension']=_0x59a6b5['dimension'],this['imageId']=_0x59a6b5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5828fb}=this['_editor'],t=_0x5828fb['t'],_0x1bb97a=new UploadcareImageEditFormView(_0x5828fb,this['imageStatus'],this['_attributes']);_0x1bb97a['bind']('status')['to'](this,'imageStatus'),_0x1bb97a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1bb97a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1bb97a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1bb97a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4cf505,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1bb97a,'position':at['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1bb97a['focus']();},'onHide':()=>{_0x1bb97a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x316d0b=>!_D(_0x316d0b,_0x1bb97a['element'])}});}['_loadImageInfo'](_0x703f2,_0x51bc5b){return UploadUtils['getInfo'](_0x703f2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x573ee8=>{const {width:_0x3e8519,height:_0x41294c}=_0x573ee8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51bc5b,this['imageDimension']={'width':_0x3e8519,'height':_0x41294c},this['imageId']=_0x703f2;})['catch'](_0x44c537=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x44c537['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fe0cd,_0x2a9937){return this['_getImageAsFile'](_0x1fe0cd)['then'](_0x5bdaa6=>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':_0x2a9937['signal'],'file':_0x5bdaa6,'onProgress':_0x2623ad=>{_0x2623ad&&_0x2623ad['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2623ad['value']));}}))['then'](_0x57edad=>{const {width:_0x281079,height:_0x268f6e}=_0x57edad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57edad['cdnUrl'],this['imageDimension']={'width':_0x281079,'height':_0x268f6e},this['imageId']=_0x57edad['uuid'],this['imageUploadProgress']=null;const _0xb2fae3=_0x1fe0cd['getAttribute']('src');this['_imageCache']['set'](_0xb2fae3,{'id':_0x57edad['uuid'],'url':_0x57edad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2d9063=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2d9063['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x50399a,_0x3226a0){_0x50399a['on']('apply',(_0x554aae,_0x1f2158)=>{this['_replaceImage'](_0x3226a0,_0x1f2158['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x50399a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x50399a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x266989,_0x132f5f,_0x407d9b){const _0x543312=this['_editor'],{width:_0x573b85,height:_0x3e099c}=wD(_0x132f5f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x89dd1c,imageSources:_0x41b6e8}=OD(_0x132f5f,_0x573b85);_0x543312['model']['change'](_0x4b9dac=>{if('$graveyard'===_0x266989['root']['rootName']){_0x543312['execute']('insertImage',{'imageType':_0x266989['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x266989['getAttributes']()),'uploadcareImageId':_0x407d9b,'src':_0x89dd1c,'sources':_0x41b6e8,'width':_0x573b85,'height':_0x3e099c}});const _0x20374f=_0x266989['getChildren']();_0x266989=_0x543312['model']['document']['selection']['getSelectedElement']();for(const _0x2b8bea of _0x20374f)_0x4b9dac['append'](_0x4b9dac['cloneElement'](_0x2b8bea),_0x266989);}else _0x4b9dac['setSelection'](_0x266989,'on'),_0x543312['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x266989['getAttributes']()),'uploadcareImageId':_0x407d9b,'src':_0x89dd1c,'sources':_0x41b6e8,'width':_0x573b85,'height':_0x3e099c},_0x266989);_0x4b9dac['setSelection'](_0x266989,'on');});}async['_getImageAsFile'](_0x5b513a){const _0x3428ee=_0x81fd87['window'],_0x3a6cb8=_0x81fd87['document']['location']['href'],_0x2d0b5d=new _0x3428ee['URL'](_0x5b513a['getAttribute']('src'),_0x3a6cb8);if('data:'===_0x2d0b5d['protocol']){const _0x9ed8a7=_0x2d0b5d['href']['split'](','),_0x2f4c64=_0x9ed8a7[0x0]['match'](/:(.*?);/)[0x1],_0x35bdaa=_0x2f4c64['split']('/')[0x1],_0x1f502d=_0x3428ee['atob'](_0x9ed8a7[_0x9ed8a7['length']-0x1]);let _0x59fe23=_0x1f502d['length'];const _0x2bbf70=new _0x3428ee['Uint8Array'](_0x59fe23);for(;_0x59fe23--;)_0x2bbf70[_0x59fe23]=_0x1f502d['charCodeAt'](_0x59fe23);return new _0x3428ee['File']([_0x2bbf70],'image.'+_0x35bdaa,{'type':_0x2f4c64});}const _0x257dcf=_0x2d0b5d['href']['split']('/'),_0x52baf7=_0x257dcf[_0x257dcf['length']-0x1],_0x553cf6=_0x52baf7['split']('.')[0x1];return _0x3428ee['fetch'](_0x2d0b5d['href'])['then'](_0x1b8413=>_0x1b8413['clone']()['blob']())['then'](_0x59da46=>new _0x3428ee['File']([_0x59da46],_0x52baf7,{'type':'image/'+_0x553cf6}));}}class UploadcareImageEditCommand extends _0x1110b9{['imageEditController'];static get['requires'](){return[it];}['_isEditable'];constructor(_0x372edc){super(_0x372edc),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x55943b){const _0x16661e=yD(_0x55943b);return _0x3d7b42=>!(!_0x3d7b42||!_0x3d7b42['is']('element','imageBlock')&&!_0x3d7b42['is']('element','imageInline'))&&(!!_0x3d7b42['hasAttribute']('uploadcareImageId')||!!_0x3d7b42['hasAttribute']('src')&&_0x16661e(_0x3d7b42['getAttribute']('src')));}(_0x372edc['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3d11e3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3d11e3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3a0f00=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3a0f00&&(_0x3a0f00['is']('element','imageBlock')||_0x3a0f00['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](it),_0x3a0f00),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class UploadcareImageReplaceCommand extends _0x1110b9{['refresh'](){const _0x18d196=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x18d196&&(_0x18d196['is']('element','imageBlock')||_0x18d196['is']('element','imageInline')));}['execute'](_0x7410f0){const _0x4d4476=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5d0e8c=>{_0x5d0e8c['setAttributes'](_0x7410f0,_0x4d4476),_0x5d0e8c['removeAttribute']('srcset',_0x4d4476),_0x5d0e8c['removeAttribute']('sizes',_0x4d4476);});}}class UploadcareImageEditEditing extends _0x4ac504{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,Qt,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc84bc4}=this;_0xc84bc4['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0xc84bc4)),_0xc84bc4['commands']['add']('uploadcareImageReplace',new UploadcareImageReplaceCommand(_0xc84bc4));}}class UploadcareImageEditUI extends _0x4ac504{['_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 _0x15b4dc=this['editor'];_0x15b4dc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f3cd8=>{const _0xa59e85=_0x15b4dc['commands']['get']('uploadcareImageEdit'),_0x5c0cf5=new _0x13bcd9(_0x5f3cd8),t=_0x5f3cd8['t'];return _0x5c0cf5['set']({'icon':_0x4cf505,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c0cf5['bind']('isEnabled')['to'](_0xa59e85),_0x5c0cf5['bind']('isOn')['to'](_0xa59e85,'isActive'),this['listenTo'](_0x5c0cf5,'execute',()=>{_0x15b4dc['execute']('uploadcareImageEdit'),_0x15b4dc['editing']['view']['focus']();}),_0x5c0cf5;}),this['_initConfig']();}['_initConfig'](){const _0x455bfa=_0x2d330b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x455bfa),this['listenTo'](this['editor'],'destroy',()=>{_0x455bfa['remove']();});}}class UploadcareImageEdit extends _0x4ac504{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{AIActions,AIAdapter,AIAssistant,AIAssistantUI,AIBalloon,AIChat,AIChatController,AIChatHistory,AIChatHistoryController,AIChatHistoryUI,AIChatShortcuts,AIChatUI,AIConnector,AIEditing,AIEditorIntegration,bm as AIQuickActionType,AIQuickActions,AIQuickActionsUI,AIRequestError,AIReviewCheck,AIReviewCheckResult,AIReviewCheckRun,AIReviewMode,AIReviewCoreController as AIReviewModeController,AIReviewCoreEditing as AIReviewModeEditing,AIReviewModeUI,AITabs,AITextAdapter,AIToggleButtonUI,AITranslate,AITranslateController,AITranslateUI,AWSTextAdapter,AcceptSuggestionCommand,AddCommentThreadCommand,xm as Annotation,AnnotationCollection,AnnotationCounterButtonView,AnnotationView,Annotations,AnnotationsSidebarItemView,AnnotationsSidebarView,AnnotationsUIs,AriaDescriptionView,BaseCommentThreadView,BaseCommentView,BaseSuggestionThreadView,CaseChange,CaseChangeCommand,CaseChangeEditing,CaseChangeUI,CloudServicesCommentsAdapter,CloudServicesRevisionHistoryAdapter,CloudServicesTrackChangesAdapter,Comment,CommentThread,CommentThreadController,CommentThreadInputView,CommentThreadView,CommentView,Comments,CommentsArchive,CommentsArchiveUI,CommentsEditing,CommentsListView,CommentsOnly,CommentsRepository,CommentsUI,Ku as ConfirmMixin,CopyFormatCommand,pd as DATA_ID_MODEL_ATTRIBUTE,Od as DATA_ID_VIEW_ATTRIBUTE,DiscardSuggestionCommand,DocumentCompare,DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,EditSourceCommand,EditorAnnotations,EmailConfigurationHelper,EmailConfigurationLogger,EmptyBlockEmailIntegration,ExecuteOnAllSuggestionsCommand,ExecuteOnSelectedSuggestionsCommand,ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,ExportInlineStylesEmailIntegration,ExportPdf,ExportPdfCommand,ExportWord,ExportWordCommand,hd as FOCUS_ANNOTATION_KEYSTROKE,FontEmailIntegration,Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,FormatPainter,FormatPainterEditing,FormatPainterUI,GeneralHtmlIntegrationSupport,HeadingId,HighlightEmailIntegration,ImageEmailIntegration,ImportWord,ImportWordCommand,ImportWordEditing,ImportWordUI,InlineAnnotations,InsertFootnoteCommand,InsertMergeFieldBlockCommand,InsertMergeFieldCommand,InsertMergeFieldImageCommand,LateFocusButtonView,LateFocusDropdownButtonView,LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI,LinkEmailIntegration,ListEmailIntegration,MarkdownEmailIntegration,MathTypeEmailIntegration,MediaEmbedEmailIntegration,MergeFields,MergeFieldsEditing,MergeFieldsEmailIntegration,MergeFieldsUI,MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListEmailIntegration,MultiLevelListUI,NarrowSidebar,OpenAITextAdapter,Pagination,PaginationRenderer,PasteFormatCommand,PasteFromOfficeEnhanced,Permissions,PresenceList,PresenceListUI,PreviewFinalContentCommand,PreviewMergeFieldsCommand,RealTimeCollaborationClient,RealTimeCollaborativeComments,RealTimeCollaborativeEditing,RealTimeCollaborativeRevisionHistory,RealTimeCollaborativeTrackChanges,ReplaceSourceCommand,RestoreRevisionCommand,Revision,RevisionHistory,RevisionHistoryUI,RevisionHistoryUtils,RevisionTracker,RevisionViewer,RevisionViewerEditor,RevisionViewerIntegration,RevisionViewerLoadingOverlay,RevisionViewerUI,RevisionsRepository,RevisionsSidebar,Sessions,ShowAIAssistantCommand,ShowChangeCommand,Sidebar,SlashCommand,SlashCommandConfig,SlashCommandEditing,SlashCommandUI,SourceEditingEmailIntegration,SourceEditingEnhanced,Suggestion,SuggestionDescriptionFactory,SuggestionThreadView,SuggestionView,SuggestionsConversion,TableEmailIntegration,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI,Template,TemplateCommand,TemplateEditing,TemplateEmailIntegration,TemplateUI,TodoListEmailIntegration,ToggleAICommand,TrackChanges,TrackChangesCommand,TrackChangesData,TrackChangesDataGetter,TrackChangesEditing,TrackChangesPreview,TrackChangesUI,UploadEmailIntegration,Uploadcare,UploadcareCommand,UploadcareEditing,UploadcareImageEdit,UploadcareImageEditCommand,UploadcareImageEditEditing,UploadcareImageEditUI,UploadcareUI,UploadcareUploadAdapter,UserView,Users,WebSocketGateway,WideSidebar,Pm as bindAnnotationCollections,uo as createResizeButton,rg as dropImportantStyleSuffix,Ja as fixElementSuggestionRange,Wu as getAllMarkersDomElementsSorted,Xu as getDateTimeFormatter,ro as getDefaultAICommands,dg as getEmailInlineStylesTransformations,qu as getMarkerDomElement,Ju as hashObject,eg as isUnsupportedEmailColorFormat,tg as isUnsupportedEmailColorValue,cd as sanitizeEditorConfig,ud as setupThreadKeyboardNavigation,Ka as splitSuggestionMarkerName,ld as surroundingMarkersDetector,Og as transformEmailFigcaptionToDiv,pg as transformEmailFigureToTable,fg as transformEmailFloatToAlign,gg as transformEmailImageWidthAttributes,mg as transformEmailMarginToAlign,zu as trimHtml};